diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6704566 --- /dev/null +++ b/.gitignore @@ -0,0 +1,104 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env +.env.test + +# parcel-bundler cache (https://parceljs.org/) +.cache + +# Next.js build output +.next + +# Nuxt.js build / generate output +.nuxt +dist + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and *not* Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port diff --git a/3rdpartylicenses.txt b/3rdpartylicenses.txt deleted file mode 100644 index 1645071..0000000 --- a/3rdpartylicenses.txt +++ /dev/null @@ -1,2456 +0,0 @@ -@angular-devkit/build-angular -MIT -The MIT License - -Copyright (c) 2017 Google, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -@angular/animations -MIT - -@angular/cdk -MIT -The MIT License - -Copyright (c) 2020 Google LLC. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -@angular/common -MIT - -@angular/core -MIT - -@angular/elements -MIT - -@angular/forms -MIT - -@angular/material -MIT -The MIT License - -Copyright (c) 2020 Google LLC. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -@angular/platform-browser -MIT - -@angular/router -MIT - -@braintree/sanitize-url -MIT -MIT License - -Copyright (c) 2017 Braintree - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -@ledge-framework/render -MPL-2.0 - -@tweenjs/tween.js -MIT -The MIT License - -Copyright (c) 2010-2012 Tween.js authors. - -Easing equations Copyright (c) 2001 Robert Penner http://robertpenner.com/easing/ - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -angular-split -Apache-2.0 - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - -brace -MIT -Copyright 2013 Thorsten Lorenz. -All rights reserved. - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. - - -core-js -MIT -Copyright (c) 2014-2020 Denis Pushkarev - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -crypto-random-string -MIT -MIT License - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -d3 -BSD-3-Clause -Copyright 2010-2017 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-array -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-axis -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-brush -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-chord -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-collection -BSD-3-Clause -Copyright 2010-2016, Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-color -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-contour -BSD-3-Clause -Copyright 2012-2017 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-dispatch -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-drag -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-dsv -BSD-3-Clause -Copyright 2013-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-ease -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -Copyright 2001 Robert Penner -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-fetch -BSD-3-Clause -Copyright 2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-force -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-format -BSD-3-Clause -Copyright 2010-2015 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-geo -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - -This license applies to GeographicLib, versions 1.12 and later. - -Copyright (c) 2008-2012, Charles Karney - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -d3-hierarchy -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-interpolate -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-path -BSD-3-Clause -Copyright 2015-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-polygon -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-quadtree -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-random -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-scale -BSD-3-Clause -Copyright 2010-2015 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-scale-chromatic -BSD-3-Clause -Copyright 2010-2018 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - -Apache-Style Software License for ColorBrewer software and ColorBrewer Color -Schemes - -Copyright (c) 2002 Cynthia Brewer, Mark Harrower, and The Pennsylvania State -University. - -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed -under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, either express or implied. See the License for the -specific language governing permissions and limitations under the License. - - -d3-selection -BSD-3-Clause -Copyright (c) 2010-2018, Michael Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* The name Michael Bostock may not be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -OF 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. - - -d3-shape -BSD-3-Clause -Copyright 2010-2015 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-time -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-time-format -BSD-3-Clause -Copyright 2010-2017 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-timer -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-transition -BSD-3-Clause -Copyright (c) 2010-2015, Michael Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* The name Michael Bostock may not be used to endorse or promote products - derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT, -INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY -OF 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. - -TERMS OF USE - EASING EQUATIONS - -Open source under the BSD License. - -Copyright 2001 Robert Penner -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -- Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -- Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -- Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -d3-voronoi -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - -Copyright (C) 2010-2013 Raymond Hill -https://github.com/gorhill/Javascript-Voronoi - -Licensed under The MIT License -http://en.wikipedia.org/wiki/MIT_License - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -d3-zoom -BSD-3-Clause -Copyright 2010-2016 Mike Bostock -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, -are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the author nor the names of contributors may be used to - endorse or promote products derived from this software without specific prior - written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND -ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR -ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES -(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON -ANY THEORY OF 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. - - -dagre -MIT -Copyright (c) 2012-2014 Chris Pettitt - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -dagre-d3 -MIT -Copyright (c) 2013 Chris Pettitt - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -document-register-element -ISC -ISC License - -Copyright (c) 2014-2018, Andrea Giammarchi, @WebReflection - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM -LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE -OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -PERFORMANCE OF THIS SOFTWARE. - - -echarts -Apache-2.0 - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - - - -======================================================================== -Apache ECharts Subcomponents: - -The Apache ECharts project contains subcomponents with separate copyright -notices and license terms. Your use of the source code for these -subcomponents is also subject to the terms and conditions of the following -licenses. - -BSD 3-Clause (d3.js): -The following files embed [d3.js](https://github.com/d3/d3) BSD 3-Clause: - `/src/chart/treemap/treemapLayout.js`, - `/src/chart/tree/layoutHelper.js`, - `/src/chart/graph/forceHelper.js`, - `/src/util/number.js`, - `/src/scale/Time.js`, -See `/licenses/LICENSE-d3` for details of the license. - - -escaper -MIT -The MIT License (MIT) - -Copyright (c) 2014-2018 Andrey Kobets (kobezzza) - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of -the Software, and to permit persons to whom the Software is furnished to do so, -subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR -COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -graphlib -MIT -Copyright (c) 2012-2014 Chris Pettitt - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -graphlib-dot -MIT -Copyright (c) 2012-2013 Chris Pettitt - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -he -MIT -Copyright Mathias Bynens - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -is-regexp -MIT - -lodash -MIT -Copyright OpenJS Foundation and other contributors - -Based on Underscore.js, copyright Jeremy Ashkenas, -DocumentCloud and Investigative Reporters & Editors - -This software consists of voluntary contributions made by many -individuals. For exact contribution history, see the revision history -available at https://github.com/lodash/lodash - -The following license applies to all parts of this software except as -documented below: - -==== - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -==== - -Copyright and related rights for sample code are waived via CC0. Sample -code is defined as all source code displayed within the prose of the -documentation. - -CC0: http://creativecommons.org/publicdomain/zero/1.0/ - -==== - -Files located in the node_modules and vendor directories are externally -maintained libraries used by this software which have their own -licenses; we recommend you read them, as their terms may differ from the -terms above. - - -marked -MIT -# License information - -## Contribution License Agreement - -If you contribute code to this project, you are implicitly allowing your code -to be distributed under the MIT license. You are also implicitly verifying that -all code is your original work. `` - -## Marked - -Copyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - -## Markdown - -Copyright © 2004, John Gruber -http://daringfireball.net/ -All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -* Neither the name “Markdown” nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of 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. - - -mermaid -MIT -The MIT License (MIT) - -Copyright (c) 2014 - 2018 Knut Sveidqvist - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -moment-mini -MIT - -ngx-ace-tern -MIT -The MIT License (MIT) - -Copyright (c) 2016 Nickbing Lao - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -ngx-virtual-scroller -MIT -The MIT License (MIT) - -Copyright (c) 2016 Rinto Jose (rintoj) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -prismjs -MIT -MIT LICENSE - -Copyright (c) 2012 Lea Verou - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -regenerator-runtime -MIT -MIT License - -Copyright (c) 2014-present, Facebook, Inc. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -rxjs -Apache-2.0 - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - - - -scope-css -MIT - -slugify -MIT -The MIT License (MIT) - -Copyright (c) Simeon Velichkov - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - -strip-css-comments -MIT -The MIT License (MIT) - -Copyright (c) Sindre Sorhus (sindresorhus.com) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -webpack -MIT -Copyright JS Foundation and other contributors - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -'Software'), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. -IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY -CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE -SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -zone.js -MIT -The MIT License - -Copyright (c) 2010-2020 Google LLC. http://angular.io/license - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - - -zrender -BSD-3-Clause -BSD 3-Clause License - -Copyright (c) 2017, Baidu Inc. -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF 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. diff --git a/404.html b/404.html deleted file mode 100644 index 25177e7..0000000 --- a/404.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Ledge - - - - - - - - diff --git a/5-es2015.js b/5-es2015.js deleted file mode 100644 index aebc100..0000000 --- a/5-es2015.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{"5th3":function(e,t,i){"use strict";i.r(t);var n=i("ofXK"),s=i("3Pt+"),o=i("tyNb"),r=i("Nj8z"),a=i("cdP3"),l=i("fXoL");let h=(()=>{let e=class{constructor(e){this.elementRef=e,this.textChanged=new l.n,this.editorRef=new l.n;const t=this.elementRef.nativeElement;t.classList.add("editor"),this.editor=window.ace.edit(t),setTimeout(()=>{this.editorRef.emit(this.editor)}),this.editor.on("change",()=>{const e=this.editor.getValue();e!==this.oldVal&&(void 0!==this.oldVal&&this.textChanged.emit(e),this.oldVal=e)})}set options(e){this.editor.setOptions(e||{enableBasicAutocompletion:!0,enableLiveAutocompletion:!0})}set readOnly(e){this._readOnly=e,this.editor.setReadOnly(e)}set theme(e){this._theme=e||"chrome",this.editor.setTheme("ace/theme/"+e)}set mode(e){this._mode=e||"javascript",this.editor.getSession().setMode("ace/mode/"+e)}set text(e){e!==this.oldVal&&(this.editor.setValue(e),this.editor.clearSelection(),this.editor.focus())}ngOnInit(){var e;e=this.editor,window.ace.config.loadModule("ace/ext/tern",(function(){e.setOptions({enableTern:{defs:["browser","ecma5"],plugins:{doc_comment:{fullDocs:!0}},useWorker:e.getSession().getUseWorker(),switchToDoc:function(e,t){console.log("switchToDoc called but not defined. name="+e+"; start=",t)},startedCb:function(){console.log("editor.ternServer:",e.ternServer)}},enableSnippets:!0,enableBasicAutocompletion:!0})}))}};return e.\u0275fac=function(t){return new(t||e)(l.Ob(l.l))},e.\u0275dir=l.Jb({type:e,selectors:[["","ace-editor",""]],inputs:{options:"options",readOnly:"readOnly",theme:"theme",mode:"mode",text:"text"},outputs:{textChanged:"textChanged",editorRef:"editorRef"}}),e})(),c=(()=>{let e=class{};return e.\u0275mod=l.Mb({type:e}),e.\u0275inj=l.Lb({factory:function(t){return new(t||e)},providers:[]}),e})();var u=i("XNiG"),d=i("EY2u"),g=i("Kj3r"),f=i("/uUt"),m=i("eIep");i("Bhyg"),i("YqIF");const p=["split"],A=["area1"],C=["area2"];let F=(()=>{class e{constructor(){this.content='# Ledge \u8bed\u6cd5\u5e2e\u52a9\n\n```process-step\n - \u4f7f\u7528\u5f00\u6e90\n - [1] \u5236\u5b9a\u5f00\u6e90\u4f7f\u7528\u6307\u5357\n - [1] \u5f00\u6e90\u5408\u89c4\u5ba1\u67e5\n - \u53c2\u4e0e\u5f00\u6e90\n - [2] \u5f15\u5165\u5f00\u6e90\u6280\u672f\u5b9e\u8df5\n - [1] \u5236\u5b9a\u5f00\u6e90\u53c2\u4e0e\u6307\u5357\n - [1] \u5f00\u6e90\u6cbb\u7406\u7b56\u7565\n - [3] \u5efa\u8bae\u56e2\u961f\u56de\u9988\u5f00\u6e90\n - [5] \u53c2\u4e0e\u793e\u533a\u5efa\u8bbe\n - \u8d70\u5411\u5f00\u6e90\n - [3] \u5185\u90e8\u9879\u76ee\u5f00\u6e90\u5171\u4eab\n - [5] \u793e\u533a\u63a8\u5e7f\u7b56\u7565\n - [2] \u654f\u6377\u6d4b\u8bd5\u5b9e\u8df5\n - [4] \u548c\u4ea7\u54c1\u7b56\u7565\u4e00\u81f4\n - [1] \u5236\u5b9a\u8d21\u732e\u6307\u5357\n - [1] \u8bbe\u8ba1\u6210\u719f\u5ea6\u6a21\u578b\n - [1] \u5f00\u6e90\u9879\u76ee\u7ba1\u7406\u90e8\u95e8\n - [4] \u5236\u5b9a\u5f00\u6e90\u9879\u76ee\u8425\u9500\u7b56\u7565\n - \u6784\u5efa\u751f\u6001\n - [5] \u6280\u672f\u5e03\u9053\n - [5] \u521b\u5efa\u5f00\u53d1\u8005\u793e\u533a\n - [2] \u5f00\u53d1\u8005\u4f53\u9a8c\n - [3] \u53bb\u4e2d\u5fc3\u5316\u7684\u793e\u533a\u7ba1\u7406\n - [3] \u900f\u660e\u51b3\u7b56\u548c\u8ba8\u8bba\n - [5] \u793e\u533a\u53c2\u4e0e\u591a\u6837\u6027\n - [1] \u751f\u6001\u6218\u7565\u6295\u8d44\n\nconfig: {"heads": ["\u7ec4\u7ec7\u652f\u6301", "\u5de5\u7a0b\u80fd\u529b", "\u5f00\u6e90\u6587\u5316", "\u4ea7\u54c1\u601d\u7ef4", "\u793e\u533a\u4e0e\u751f\u6001"]}\n```\n\n```maturity\n - \u6301\u7eed\u4ea4\u4ed8\n - \u914d\u7f6e\u7ba1\u7406: 3\n - \u7248\u672c\u63a7\u5236\n - \u53d8\u66f4\u7ba1\u7406\n - \u6301\u7eed\u6784\u5efa\u4e0e\u6301\u7eed\u96c6\u6210: 3\n - \u6784\u5efa\u5b9e\u8df5\n - \u6301\u7eed\u96c6\u6210\n - \u6d4b\u8bd5\u7ba1\u7406: 3\n - \u6d4b\u8bd5\u5206\u5c42\u7b56\u7565\n - \u4ee3\u7801\u8d28\u91cf\u7ba1\u7406\n - \u81ea\u52a8\u5316\u6d4b\u8bd5\n - \u90e8\u7f72\u4e0e\u53d1\u5e03\u7ba1\u7406: 3\n - \u90e8\u7f72\u4e0e\u53d1\u5e03\u7ba1\u7406\n - \u90e8\u7f72\u6d41\u6c34\u7ebf\n - \u73af\u5883\u7ba1\u7406: 3\n - \u6570\u636e\u7ba1\u7406: 3\n - \u6d4b\u8bd5\u6570\u636e\u7ba1\u7406\n - \u6570\u636e\u53d8\u66f4\u7ba1\u7406\n - \u5ea6\u91cf\u4e0e\u53cd\u9988: 3\n - \u5ea6\u91cf\u6307\u6807\n - \u5ea6\u91cf\u9a71\u52a8\u6539\u8fdb\n```\n\n```tree\n - CI \u5efa\u8bbe\n - \u5f00\u53d1\u9636\u6bb5\u51c6\u5907\n - \u62c9 Aimeituan \u5de5\u7a0b\u7684\u5f00\u53d1\u5206\u652f\n - \u4fee\u6539\u5f00\u53d1\u5206\u652f\u7248\u672c\u53f7\n - Aimeituan \u5de5\u7a0b\u72ec\u7acb\u7f16\u8bd1\u81ea\u52a8\u914d\u7f6e\n - PR \u68c0\u6d4b\n - \u9759\u6001\u68c0\u6d4b\n - \u589e\u91cf\u68c0\u6d4b\n - SDK\n - \u5305\u5927\u5c0f\n - \u5355\u6d4b\n - \u5f00\u53d1\u9636\u6bb5\n - \u5b9a\u65f6\u68c0\u6d4b\u58f3\u5de5\u7a0b\u662f\u5426\u6709\u66f4\u65b0\uff0c\u89e6\u53d1\u81ea\u52a8\u6253\u5305\n - \u6bcf\u65e5\u6700\u65b0\u7248\u672c\u53f7\u63d0\u9192\n - \u63d0\u6d4b\u9636\u6bb5\n - \u5192\u70df\u63d0\u9192\n - \u81ea\u52a8\u62c9\u63d0\u6d4b\u5206\u652f\n - \u4e1a\u52a1\u5e93\u68c0\u6d4b\u662f\u5426\u6709 PR \u672a\u5408\u5165\n - \u63d0\u6d4b\u6253\u5305\u3001\u53d1\u63d0\u6d4b\u90ae\u4ef6\n - \u53d1\u7248\u9636\u6bb5\n - \u5206\u652f\u5408\u5e76\n - \u5916\u5356\u4e1a\u52a1\u5e93\u5408\u5165 Aimeituan \u63d0\u6d4b\u5206\u652f\n - \u5168\u91cf\u63d0\u9192\n\nconfig: {"collapse": true, "height": 400, "width": 800}\n```\n\n```maturity\n - \u654f\u6377\u6210\u719f\u5ea6\u6a21\u578b\n - \u7ec4\u7ec7\u6cbb\u7406: 3\n - \u9700\u6c42\u7ba1\u7406: 4\n - \u4ea4\u6d41\u534f\u4f5c: 5\n - \u6784\u5efa\u7ba1\u7406: 2\n - \u7b80\u5355\u8bbe\u8ba1: 3\n - \u6d4b\u8bd5\u7b56\u7565: 3\n - \u5feb\u901f\u54cd\u5e94: 5\n - \u804c\u8d23\u5171\u4eab: 3\n - \u7cbe\u76ca\u601d\u8003: 2\n```\n\n```pipeline\n - \u4ee3\u7801\u68c0\u51fa\n - \u4ee3\u7801\u68c0\u51fa:success\n - \u5b89\u88c5\u4f9d\u8d56\n - \u5b89\u88c5\u4f9d\u8d56:success\n - \u6784\u5efa\n - \u6784\u5efa:success\n - \u6784\u5efa\u670d\u52a1\u7aef\u6e32\u67d3\n - \u6784\u5efa\u670d\u52a1\u7aef\u6e32\u67d3:success\n - \u90e8\u7f72\n - \u90e8\u7f72:success\n```\n\n```fishbone\n - Path to Production\n - Feat\n - Design\n - Pair Review\n - Dev\n - PrePush\n - Code Review\n - Test\n - Desk Check\n - Build\n - Deploy\n - Operatino\n\nconfig: {"height": 600, "width": 800}\n```\n\n## \u8bfb\u4e66\u96f7\u8fbe\n\n```tech-radar\n - \u6587\u5316\n - adopt\n - \u300a\u7b2c\u4e94\u9879\u4fee\u70bc: \u5b66\u4e60\u7ec4\u7ec7\u7684\u6280\u672f\u548c\u5b9e\u8df5\u300b\n - \u300a\u5948\u98de\u6587\u5316\u624b\u518c\u300b\n - \u300a\u7ba1\u7406 3.0\uff1a \u57f9\u517b\u548c\u63d0\u5347\u6280\u672f\u9886\u5bfc\u529b\u300b\n - trail\n - \u300a\u56e2\u961f\u534f\u4f5c\u7684\u4e94\u5927\u969c\u788d\u300b\n - \u300a\u56e2\u961f\u4e4b\u7f8e\u300b\n - \u300a\u7cbe\u76ca\u4f01\u4e1a\u300b\n - assess\n - \u300a\u4e30\u7530\u6a21\u5f0f\uff1a\u7cbe\u76ca\u5236\u9020\u7684 14 \u9879\u7ba1\u7406\u539f\u5219\u300b\n - hold\n - \u300a\u51e4\u51f0\u9879\u76ee\uff1a\u4e00\u4e2aIT\u8fd0\u7ef4\u7684\u4f20\u5947\u6545\u4e8b\u300b\n - \u6d41\u7a0b\n - adopt\n - \u300a\u6301\u7eed\u4ea4\u4ed8\u300b\n - \u300a\u7cbe\u76ca\u8f6f\u4ef6\u5ea6\u91cf\uff1a\u5b9e\u8df5\u8005\u7684\u89c2\u5bdf\u4e0e\u601d\u8003\u300b\n - trail\n - \u300aJenkins \u6743\u5a01\u6307\u5357\u300b\n - \u300a\u6301\u7eed\u4ea4\u4ed8 2.0\uff1a \u4e1a\u52a1\u5f15\u9886\u7684DevOps\u7cbe\u8981\u300b\n - assess\n - hold\n - \u300a\u53d1\u5e03\uff01\u8f6f\u4ef6\u7684\u8bbe\u8ba1\u4e0e\u90e8\u7f72\u300b\n - \u300a\u53d1\u5e03\uff01\u8bbe\u8ba1\u4e0e\u90e8\u7f72\u7a33\u5b9a\u7684\u5206\u5e03\u5f0f\u7cfb\u7edf\uff08\u7b2c2\u7248\uff09\u300b\n - \u5b9e\u8df5\n - adopt\n - \u300a\u57fa\u7840\u8bbe\u65bd\u5373\u4ee3\u7801\uff1a\u4e91\u670d\u52a1\u5668\u7ba1\u7406\u300b\n - \u300a\u6d4b\u8bd5\u9a71\u52a8\u5f00\u53d1\uff1a\u5b9e\u6218\u4e0e\u6a21\u5f0f\u89e3\u6790\u300b\n - \u300a\u5fae\u670d\u52a1\u67b6\u6784\u8bbe\u8ba1\u300b\n - \u300a\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1\u6a21\u5f0f\u3001\u539f\u7406\u4e0e\u5b9e\u8df5\u300b\n - \u300aSRE\uff1aGoogle \u8fd0\u7ef4\u89e3\u5bc6\u300b\n - trail\n - \u300a\u6f14\u8fdb\u5f0f\u67b6\u6784\u300b\n - assess\n - \u300a\u4fee\u6539\u4ee3\u7801\u7684\u827a\u672f\u300b\n - hold\n - \u300a\u91cd\u6784\uff1a\u6539\u5584\u65e2\u6709\u4ee3\u7801\u7684\u8bbe\u8ba1\u300b\n - \u300a\u770b\u677f\u5b9e\u6218\u300b\n - \u300a\u654f\u6377\u8f6f\u4ef6\u6d4b\u8bd5\uff1a\u6d4b\u8bd5\u4eba\u5458\u4e0e\u654f\u6377\u56e2\u961f\u7684\u5b9e\u8df5\u6307\u5357\u300b\n - \u5b9e\u65bd\n - adopt\n - \u300aEffective DevOps\u300b\n - \u300aDevOps\u5b9e\u8df5\u6307\u5357\u300b\n - \u300aJava \u6301\u7eed\u4ea4\u4ed8\u300b\n - \u300aDevOps\u5b9e\u65bd\u624b\u518c \u5728\u591a\u7ea7 IT \u4f01\u4e1a\u4e2d\u4f7f\u7528 DevOps\u300b\n - \u300a\u9886\u57df\u9a71\u52a8\u8bbe\u8ba1\uff1a\u8f6f\u4ef6\u6838\u5fc3\u590d\u6742\u6027\u5e94\u5bf9\u4e4b\u9053\u300b\n - trail\n - \u300aAccelerate\u300b\n - \u300aDevOps \u6700\u4f73\u5b9e\u8df5\u300b\n - \u300a\u5b66\u4e60\u654f\u6377\u5f00\u53d1\u300b\n - assess\n - \u300aSRE\uff1aGoogle \u8fd0\u7ef4\u89e3\u5bc6\u300b\n - hold\n - \u300aDevOps \u5b9e\u8df5\u300b\n\nconfig: {"hiddenLegend": true}\n```\n\n## \u7ec4\u4ef6\n\n### checklist\n\n```checklist\n- [x] Eating\n - [ ] Today\n - [x] breakfast\n - [ ] brunch\n - [ ] elevenses\n - [ ] lunch\n - [ ] tea\n - [ ] supper\n - [ ] dinner\uff1athe main meal of the day, eaten either in the middle of the day or in the evening\n```\n\n### kanban\n\n```kanban\n - Kanban Name\n - Todo\n - done basic feature\n - write document\n - Doing\n - create componet\n - add testing\n - Done\n - create card\n - Done\n```\n\n### tech-radar\n\n```tech-radar\n - \u6846\u67b6\n - adopt\n - Angular\n - D3.js\n - trail\n - Echarts\n - assess\n - Stencil.js\n - Ionic\n - hold\n - react\n - \u5e73\u53f0\n - adopt\n - GitHub\n - trail\n - assess\n - hold\n - \u8bed\u8a00\n - adopt\n - TypeScript\n - trail\n - assess\n - hold\n - JavaScript\n - \u6280\u672f\n - adopt\n - trail\n - Web Components\n - assess\n - hold\n```\n\n### list-style\n\n\u914d\u7f6e\u56fe\u5f62\u4e3a`\u5706\u5f62`\n\n```list-style\n - \u5f00\u6e90\u5de5\u5177\u91c7\u7528\n - \u5546\u4e1a\u91c7\u8d2d\n - \u81ea\u7814\u7814\u53d1\u4ea4\u901a\u5e73\u53f0\n\nconfig: {"type": "circle"}\n```\n\n\u914d\u7f6e\u56fe\u5f62\u4e3a`\u65b9\u5f62\u7ec4`\n\n```list-style\n - \u57fa\u4e8e\u5f00\u6e90\u65b9\u6848\u9047\u5230\u56f0\u96be\n - \u6027\u80fd\u74f6\u9888\n - \u4e1a\u52a1\u9700\u6c42\u2f47\u76ca\u591a\u5143\u5316\uff0c\u4f46\u56e2\u961f\u89c4\u6a21\u6709\u9650\n - \u6269\u5c55\u66f4\u591a\u7684\u80fd\u529b\n - \u66f4\u591a\u5143\u5316\u7684\u4ee3\u7801\u8d28\u91cf\u68c0\u67e5\n - \u5ba1\u8ba1\u9700\u6c42\n - \u4e8c\u8fdb\u5236\u3001\u955c\u50cf\u5b89\u5168\u626b\u63cf\n\nconfig: {"type": "group-square"}\n```\n\n### echarts\n\n```echarts\n{\n"series": [\n {\n "type": "treemap",\n "breadcrumb": {"show": false},\n "roam": "move",\n "data": [{\n "name": "nodeA","value": 10,\n "children": [\n {"name": "HealthController.java", "value": 4 },\n {"name": "HealthService.java", "value": 6}\n ]},\n {"name": "HealthModel.java", "value": 20}\n ]\n }\n]\n}\n```\n\n### graphviz\n\n\u7ed8\u5236\u6d41\u7a0b\u56fe\n\n```graphviz\ndigraph {\n rankdir=LR;\n "\u7ea2" -> "\u7eff"[label="\u5199\u4e00\u4e2a\u5931\u8d25\u7684\u6d4b\u8bd5"];\n "\u7eff" -> "\u91cd\u6784"[label="\u8ba9\u4ee3\u7801\u53ef\u4ee5\u5de5\u4f5c"];\n "\u91cd\u6784" -> "\u7ea2"[dir="back" label="\u91cd\u6784"];\n}\n```\n\n### mermaid\n\n\u652f\u6301 [mermaid](https://mermaid-js.github.io/mermaid) \u56fe\u8868\u548c\u6d41\u7a0b\u56fe\n\n```mermaid\ngraph LR\n A[Hard edge] --\x3e|Link text| B(Round edge)\n B --\x3e C{Decision}\n C --\x3e|One| D[Result one]\n C --\x3e|Two| E[Result two]\n```\n\n\u7518\u7279\u56fe\uff0c\u8bed\u6cd5\u63cf\u8ff0\u89c1 [mermaid/gantt](https://mermaid-js.github.io/mermaid/#/gantt)\n\n```mermaid\ngantt\n title A Gantt Diagram\n dateFormat YYYY-MM-DD\n section Section\n A task :a1, 2014-01-01, 30d\n Another task :after a1 , 20d\n section Another\n Task in sec :2014-01-12 , 12d\n another task : 24d\n```\n\n### toolset\n\ntype \u4e3a `slider`\n\n```toolset\n - \u7528\u6237\u4f53\u9a8c\n - \u65f6\u95f4\n - \u6210\u672c\n - \u5b89\u5168\n - \u8303\u56f4\n\nconfig: {"type": "slider"}\n```\n\ntype \u4e3a `line-chart`\n\n```toolset\n| Challenge;Skill/Ability | low | high |\n|-|-|-|\n| low | | boredom |\n| high | anxiety | flow |\n\nconfig: {"type": "line-chart"}\n```\n\n### quadrant\n\n```quadrant\n - \u6280\u672f\u503a\u5899\n - \u5feb\u901f\u89e3\u51b3\n - \u2026\u2026\n - \u2026\u2026\n - \u2026\u2026\n - \u5206\u89e3\u5e76\u8ba1\u5212\n - \u2026\u2026\n - \u2026\u2026\n - \u2026\u2026\n - \u5728\u53ef\u80fd\u7684\u65f6\u5019\u63d0\u5347\n - \u2026\u2026\n - \u2026\u2026\n - \u6682\u65f6\u4e0d\u7ba1\n - \u2026\u2026\n - \u2026\u2026\n - \u2026\u2026\n\nconfig: {"left": "\u7b80\u5355", "right": "\u56f0\u96be", "bottom": "\u4e0d\u91cd\u8981", "top": "\u91cd\u8981"}\n```\n\n### radar\n\n```radar\n - \u8d28\u91cf\u5c5e\u6027\u7f51\u7edc\n - \u53ef\u9760\u6027\n - \u53ef\u4fee\u6539\u6027\n - \u5b89\u5168\u6027\n - \u53ef\u6d4b\u8bd5\u6027\n - \u6027\u80fd\n - \u53ef\u7528\u6027\n```\n\n\u6709\u56fe\u4f8b\u548c\u6570\u636e\n\n```radar\n - \u8d28\u91cf\u6210\u719f\u5ea6\u8bc4\u4f30\u6a21\u578b\n - \u8d28\u91cf\u5185\u5efa: 3 -> 4\n - \u4f18\u5316\u4e1a\u52a1\u4ef7\u503c: 2 -> 2\n - \u8d28\u91cf\u7edf\u4e00\uff0c\u53ef\u89c6\u5316: 1 -> 5\n - \u5168\u5458\u53c2\u4e0e: 3 -> 4\n - \u5feb\u901f\u4ea4\u4ed8: 4 -> 5\n - \u6d4b\u8bd5\u4f5c\u4e3a\u8d44\u4ea7: 2 -> 3\n - \u5feb\u901f\u53cd\u9988: 5 -> 5\n\nconfig: {"legend": ["\u5f53\u524d", "\u672a\u6765"]}\n```\n\n### pyramid\n\n```pyramid\n - \u5bfb\u627e\u4ef7\u503c\n - \u4ef7\u503c\uff1a\u3001\n - \u8d28\u91cf\uff1a\u96f6\u7f3a\u9677\u3001\u8bbe\u8ba1\u826f\u597d\n - \u5212\u5206\uff1a\u5c0f\u3001\u5b8c\u6574\n - \u6784\u5efa\uff1a\u4ef7\u503c\u4f18\u5148\u3001\u9010\u6e10\u5b8c\u5584\u4ea7\u54c1\n - \u8ba1\u5212\uff1a\u6301\u7eed\u3001\u63a5\u4e0b\u6765\u505a\u4ec0\u4e48\uff1f\n - \u7ec4\u7ec7\uff1a\u56e2\u961f\u3001\u4eba\u5458\u4e0e\u6280\u80fd\n - \u6307\u5bfc\uff1a\u4f55\u7269\u3001\u4f55\u65f6\n```\n\n### mindmap\n\n```mindmap\n - CI \u5efa\u8bbe\n - \u5f00\u53d1\u9636\u6bb5\u51c6\u5907\n - \u62c9 Aimeituan \u5de5\u7a0b\u7684\u5f00\u53d1\u5206\u652f\n - \u4fee\u6539\u5f00\u53d1\u5206\u652f\u7248\u672c\u53f7\n - Aimeituan \u5de5\u7a0b\u72ec\u7acb\u7f16\u8bd1\u81ea\u52a8\u914d\u7f6e\n - PR \u68c0\u6d4b\n - \u9759\u6001\u68c0\u6d4b\n - \u589e\u91cf\u68c0\u6d4b\n - SDK\n - \u5305\u5927\u5c0f\n - \u5355\u6d4b\n - \u5f00\u53d1\u9636\u6bb5\n - \u5b9a\u65f6\u68c0\u6d4b\u58f3\u5de5\u7a0b\u662f\u5426\u6709\u66f4\u65b0\uff0c\u89e6\u53d1\u81ea\u52a8\u6253\u5305\n - \u6bcf\u65e5\u6700\u65b0\u7248\u672c\u53f7\u63d0\u9192\n - \u63d0\u6d4b\u9636\u6bb5\n - \u5192\u70df\u63d0\u9192\n - \u81ea\u52a8\u62c9\u63d0\u6d4b\u5206\u652f\n - \u4e1a\u52a1\u5e93\u68c0\u6d4b\u662f\u5426\u6709 PR \u672a\u5408\u5165\n - \u63d0\u6d4b\u6253\u5305\u3001\u53d1\u63d0\u6d4b\u90ae\u4ef6\n - \u53d1\u7248\u9636\u6bb5\n - \u5206\u652f\u5408\u5e76\n - \u5916\u5356\u4e1a\u52a1\u5e93\u5408\u5165 Aimeituan \u63d0\u6d4b\u5206\u652f\n - \u5168\u91cf\u63d0\u9192\n```\n\n### process-step\n\n```process-step\n - \u5e73\u53f0\u5c42\n - \u8fd0\u7ef4\u5e73\u53f0\n - \u5c0f\u7c73\u79c1\u6709\u4e91\n - \u5c0f\u7c73\u751f\u6001\u4e91\n - \u80fd\u529b\u5c42\n - \u56e2\u961f\u6ce8\u518c\n - \u4e00\u952e\u63a5\u5165\n - \u68c0\u6d4b\u626b\u63cf\u5de5\u5177\u96c6\u6210\n - \u53d1\u5e03\u90e8\u7f72\n - \u6807\u51c6\u5316\u5de5\u5177\u63a5\u5165\n - \u5de5\u5177\u5c42\n - Gitlab\n - Phabricator\n - Jenkins on K8s\n - \u4ee3\u7801\u8d28\u91cf\u626b\u63cf\n - \u5b89\u5168/\u6cd5\u5f8b\u5408\u89c4\u626b\u63cf\n - \u4e8c\u8fdb\u5236&\u4ea7\u51fa\u7269\u5b58\u50a8\n - \u4e8c\u8fdb\u5236\u5b89\u5168\u626b\u63cf\n - \u4e8c\u8fdb\u5236\u6cd5\u52a1\u5ba1\u8ba1\u626b\u63cf\n - \u90e8\u7f72\u670d\u52a1\n - \u6570\u636e\u5c42\n - \u6570\u636e\u667a\u80fd\u5e94\u7528\n - \u7814\u53d1\u6548\u80fd\u6570\u636e\u4ed3\u5e93\n```\n\n### process-table\n\n```process-table\n| \u6e90\u7801\u7ba1\u7406 | \u4ee3\u7801\u8d28\u91cf | \u5236\u54c1\u7ba1\u7406 | \u6d4b\u8bd5 | \u6301\u7eed\u96c6\u6210 | \u5206\u6790 | \u534f\u4f5c |\n|-|-|-|-|-|-|-|\n| Git | TSLint | Git (history) | Jasmine | GitHub Action | GitHub Traffic | GitHub Projects |\n| GitHub | Code Climate | | Jest | | Google Analysis | |\n```\n\n### chart\n\n> \u91c7\u7528 DevOps \u7684\u884c\u4e1a\n\n```chart\n| \u884c\u4e1a | \u5360\u6bd4 |\n|-|-|\n| \u6280\u672f | 38% |\n| \u91d1\u878d\u670d\u52a1 | 12% |\n| \u96f6\u552e/\u6d88\u8d39/\u7535\u5b50\u5546\u52a1 | 9% |\n| \u5176\u5b83 | 9% |\n| \u533b\u7597\u4fdd\u5065\u548c\u5236\u836f | 5\uff05 |\n| \u653f\u5e9c | 5% |\n| \u5a92\u4f53/\u5a31\u4e50 | 4% |\n| \u4fdd\u9669 | 4% |\n| \u6559\u80b2 | 4% |\n| \u5de5\u4e1a\u548c\u5236\u9020\u4e1a | 4% |\n| \u7535\u4fe1 | 3% |\n| \u80fd\u6e90 | 3% |\n| \u975e\u8425\u5229 | 1% |\n```\n\n> \u7ec4\u7ec7\u6240\u4f7f\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\n\n\u914d\u7f6e\u9879 `config: {"type": "bar", "multiset": true}`\n\n```chart\n| \u64cd\u4f5c\u7cfb\u7edf | 2018 | 2019 |\n|-|-|-|\n| Windows 2003/2003R2 | 12% | 6% |\n| Windows 2008/2008R2 | 33% | 26% |\n| Windows 2012/2012R2 | 56% | 52% |\n| Other Windows | 22% | 25% |\n| Linux Debian/Ubuntu variants | 36% | 43% |\n| Linux Enterprise variants (RHEL, Oracle, CentOS) | 48% | 49% |\n| Linux Fedora | 5% | 4% |\n| SUSE Linux Enterprise Server | 8% | 5% |\n| Linux OpenSUSE | 4% | 4% |\n| Linux Arch | 2% | 2% |\n| Other Linux | 13% | 11% |\n| Other UNIX | 8% | 4% |\n| FreeBSD/NetBSD/OpenBSD | 3% | 3% |\n| AIX | 10% | 7% |\n| Solaris OS | 12% | 5% |\n| Other | 12% | 8% |\n\nconfig: {"type": "bar", "multiset": true}\n```\n\n### pie\n\n```pie\n - Some & < > " title\n - a: 4\n - b: 12\n - c: 21\n - d: 19\n```\n\n### process-card\n\n\u652f\u6301\u6837\u5f0f\u989c\u8272\u914d\u7f6e `"colors": [{"bg":"#e55852","font":"#b71a09"}]`\uff0c`bg` \u4e3a\u80cc\u666f\u8272\uff0c`font` \u4e3a\u5b57\u4f53\u989c\u8272\u3002\n\n```process-card\n| \u7f3a\u9677\u6536\u96c6 | \u7f3a\u9677\u5206\u6790 | \u7f3a\u9677\u9884\u9632 |\n|-|-|-|\n| \u7f3a\u9677\u6a21\u677f | \u7f3a\u9677\u5206\u7c7b | \u53ef\u6d4b\u6027 |\n| \u751f\u547d\u5468\u671f| \u7f3a\u9677\u7edf\u8ba1 | \u7f3a\u9677\u54cd\u5e94\u529b |\n| \u7ba1\u7406\u5de5\u5177 | \u7f3a\u9677\u5206\u5e03 | \u654f\u6377\u8fc7\u7a0b |\n| \u7f3a\u9677\u626b\u9664 | \u7f3a\u9677\u62a5\u544a | \u4e8c\u516b\u6cd5\u5219 |\n\nconfig: {"colors": [{"bg":"#e55852","font":"#b71a09"},{"bg":"#e98832","font":"#c85113"},{"bg":"#f0d668","font":"#b88d0f"},{"bg":"#a4c9cf","font":"#598893"},{"bg":"#47c0af","font":"#175a54"},{"bg":"#387fd5","font":"#9ac9f5"},{"bg":"#7753df","font":"#cbb5f8"}]}\n```\n\n### step-line\n\n```step-line\n - \u6e90\u7801\u7ba1\u7406\n - \u5236\u54c1\u7ba1\u7406\n - \u914d\u7f6e\u7ba1\u7406\n - \u6570\u636e\u5e93\u81ea\u52a8\u5316\n - \u6d4b\u8bd5\n - \u6301\u7eed\u96c6\u6210\n - \u76d1\u63a7\n - \u5206\u6790\n - \u667a\u80fd\u8fd0\u7ef4\n - \u534f\u4f5c\n```\n\n### table-step\n\n\u652f\u6301\u914d\u7f6e\u7684\u5c5e\u6027\u6709\uff1a\n\n- `rowHeight` \u884c\u9ad8\n- `colors` \u989c\u8272\u914d\u7f6e\u53c2\u8003 `process-card`\n- `column` \u8bbe\u7f6e\u6bcf\u884c\u591a\u5c11\u5217\uff08\u9ed8\u8ba4\u81ea\u9002\u5e94\uff0c\u9ed8\u8ba4\u6700\u5c11 4 \u5217\uff09\n\n```table-step\n| \u9879\u76ee / \u8fc7\u7a0b\u7ba1\u7406 | \u914d\u7f6e\u7ba1\u7406 | \u6784\u5efa | \u6d4b\u8bd5 / \u8d28\u91cf | \u5236\u54c1 / \u90e8\u7f72 | \u57fa\u7840\u8bbe\u65bd | \u6c9f\u901a\u534f\u4f5c | \u53ef\u89c6\u5316 |\n|---|----|---|---|----|----|----|----|\n| Jira | Gitee | Maven | Junit | Ubran code | VMWare | \u62db\u547c | Tableau |\n| Tracker | Rational ClearCase | Gradle | Cucumber | Fit2Cloud | OpenShift | \u79fb\u4e8b\u901a | Grafana |\n| VP | CMDB | NPM | JMeter | B9 | Cloud Foundry | | Kibana |\n| Confluence | Firefly | Ant | RobotFramework | JFrog Artifactory | | | Prometheus |\n| ITIL | | MSBuild | Protractor | | | | ElasticSearch |\n| | | Docker | Sonar | | | | X-Pack |\n| | | | BlackDuck | | | | |\n\nconfig: {"rowHeight": "340px" ,"colors": [{"bg":"#e55852","font":"#b71a09"},{"bg":"#e98832","font":"#c85113"},{"bg":"#f0d668","font":"#b88d0f"},\n{"bg":"#a4c9cf","font":"#598893"},{"bg":"#47c0af","font":"#175a54"},\n{"bg":"#387fd5","font":"#9ac9f5"},{"bg":"#7753df","font":"#cbb5f8"},{"bg":"#485cde","font":"#a0b1f3"}]}\n```\n\n### Pipeline\n\n```yml\n# Syntax\n- Stage1 label\n - Job1 label:Job1 state\n- Stage2 label\n - Job1 label:Job1 state\n - Job2 label:Job2 state\n```\n\n**Job State**\n\n- [x] success\n- [x] error\n- [x] untouched\n- [ ] processing [Unsupported]\n- [ ] current [Unsupported]\n- [ ] pending [Unsupported]\n\n```pipeline\n- Initialize\n - Initialize:success\n- Build\n - Pull code:success\n - Test:error\n - Build:current\n- Deploy\n - QA:pending\n - UAT:processing\n - STAGING:processing\n - PROD:untouched\n- Finish\n - Finish:untouched\n\nconfig: {\n "connectionStrokeWidth": 4,\n "stateStrokeWidth": 4,\n "stateRadius": 16,\n "stageSpace": 60,\n "stageLabelHeight": 30,\n "stageLabelSize": "16px",\n "jobHeight": 60,\n "jobLabelSize": "12px",\n "startNodeRadius": 12,\n "startNodeSpace": 40,\n "endNodeRadius": 12,\n "endNodeSpace": 40\n}\n```\n\n---\n\n## \u5176\u4ed6 Markdown \u8bed\u6cd5\n\n```javascript\nconsole.log("hello, world");\n```\n\n| | normal | table |\n| --- | ------ | ----- |\n| | | |\n| | | |\n\n- list\n- item\n\n> spliqt\n\n- a\n - a\n - a\n - b\n\n\u8fd9\u662f\u4e00\u4e2a\u6b63\u5e38\u65e0\u6bd4\u7684\u6bb5\u843d\u3002\n\n> blockquote\n\n## [Link in Heading](https://devops.phodal.com/design)\n\nphodal.com\n\n---\n\n1. fsda\n2. 34 sdf\n\n- a\n- a\n\n3. sdaf\n\nb\n\n- [ ] a\n- [ ] b\n - [ ] c\n',this.direction="horizontal",this.sizes={percent:{area1:30,area2:70},pixel:{area1:120,area2:"*",area3:160}},this.aceOptions={enableBasicAutocompletion:!0,enableSnippets:!0,enableLiveAutocompletion:!0},this.themeSelected="github",this.term$=new u.a,this.searchSubscription=this.term$.pipe(Object(g.a)(500),Object(f.a)(),Object(m.a)(e=>(this.content=e,d.a))).subscribe()}ngOnInit(){}ngOnDestroy(){this.searchSubscription&&(this.searchSubscription.unsubscribe(),this.searchSubscription=null)}dragEnd(e,{sizes:t}){"percent"===e?(this.sizes.percent.area1=t[0],this.sizes.percent.area2=t[1]):"pixel"===e&&(this.sizes.pixel.area1=t[0],this.sizes.pixel.area2=t[1],this.sizes.pixel.area3=t[2])}onAceChange(e){this.term$.next(e)}editorRef(e){this.acEditor=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=l.Ib({type:e,selectors:[["ledge-editor"]],viewQuery:function(e,t){var i;1&e&&(l.Ec(p,!0),l.Ec(A,!0),l.Ec(C,!0)),2&e&&(l.qc(i=l.dc())&&(t.split=i.first),l.qc(i=l.dc())&&(t.area1=i.first),l.qc(i=l.dc())&&(t.area2=i.first))},decls:9,vars:7,consts:[["unit","percent",1,"helper",3,"direction","dragEnd"],["split","asSplit"],["size","30",1,"source"],["area1","asSplitArea"],["ace-editor","",1,"md-editor",3,"text","mode","theme","options","readOnly","textChanged","editorRef"],["editor",""],["size","70"],["area2","asSplitArea"],[1,"sample",3,"content"]],template:function(e,t){1&e&&(l.Ub(0,"as-split",0,1),l.cc("dragEnd",(function(e){return t.dragEnd("percent",e)})),l.Ub(2,"as-split-area",2,3),l.Ub(4,"div",4,5),l.cc("textChanged",(function(e){return t.onAceChange(e)}))("editorRef",(function(e){return t.editorRef(e)})),l.Tb(),l.Tb(),l.Ub(6,"as-split-area",6,7),l.Pb(8,"ledge-render",8),l.Tb(),l.Tb()),2&e&&(l.lc("direction",t.direction),l.Cb(4),l.lc("text",t.content)("mode","markdown")("theme",t.themeSelected)("options",t.aceOptions)("readOnly",!1),l.Cb(4),l.lc("content",t.content))},directives:[a.c,a.b,h,r.a],styles:[".helper[_ngcontent-%COMP%]{display:flex;flex-grow:1;height:calc(100vh - 64px);overflow-y:hidden;padding:0 .2em}.source[_ngcontent-%COMP%]{position:relative}.source[_ngcontent-%COMP%] .md-editor[_ngcontent-%COMP%]{font-size:14px;margin-left:1em;padding:8px;width:100%;height:100%}.source[_ngcontent-%COMP%] .toolbar[_ngcontent-%COMP%]{position:absolute;top:0;background:#fff;right:0;height:30px;width:150px;padding:0 12px;z-index:100;display:flex;justify-content:center;align-items:center;box-shadow:1px 1px 8px 1px #c8c8c8}.source[_ngcontent-%COMP%] .toolbar[_ngcontent-%COMP%] mat-select[_ngcontent-%COMP%]{width:84px}.sample[_ngcontent-%COMP%]{height:100%;flex-shrink:0;overflow-y:hidden}"]}),e})();i.d(t,"LedgeEditorModule",(function(){return w}));let w=(()=>{class e{}return e.\u0275mod=l.Mb({type:e}),e.\u0275inj=l.Lb({factory:function(t){return new(t||e)},imports:[[n.b,s.c,r.b,c,a.a.forRoot(),o.a.forChild([{path:"",component:F}])]]}),e})()},B9Yq:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},Bhyg:function(e,t,i){!function(){var e=function(){return this}();e||"undefined"==typeof window||(e=window);var t=function(e,i,n){"string"==typeof e?(2==arguments.length&&(n=i),t.modules[e]||(t.payloads[e]=n,t.modules[e]=null)):t.original?t.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};t.modules={},t.payloads={};var i,n=function(e,t,i){if("string"==typeof t){var n=r(e,t);if(null!=n)return i&&i(),n}else if("[object Array]"===Object.prototype.toString.call(t)){for(var o=[],a=0,l=t.length;a1&&l(n,"")>-1&&(i=RegExp(this.source,s.replace.call(a(this),"g","")),s.replace.call(e.slice(n.index),i,(function(){for(var e=1;en.index&&this.lastIndex--}return n},r||(RegExp.prototype.test=function(e){var t=s.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))})),ace.define("ace/lib/es5-shim",["require","exports","module"],(function(e,t,i){function n(){}Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError("Function.prototype.bind called on incompatible "+t);var i=u.call(arguments,1),s=function(){if(this instanceof s){var n=t.apply(this,i.concat(u.call(arguments)));return Object(n)===n?n:this}return t.apply(e,i.concat(u.call(arguments)))};return t.prototype&&(n.prototype=t.prototype,s.prototype=new n,n.prototype=null),s});var s,o,r,a,l,h=Function.prototype.call,c=Object.prototype,u=Array.prototype.slice,d=h.bind(c.toString),g=h.bind(c.hasOwnProperty);if((l=g(c,"__defineGetter__"))&&(s=h.bind(c.__defineGetter__),o=h.bind(c.__defineSetter__),r=h.bind(c.__lookupGetter__),a=h.bind(c.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t,i=[];if(i.splice.apply(i,e(20)),i.splice.apply(i,e(26)),t=i.length,i.splice(5,0,"XXX"),t+1==i.length)return!0}()){var f=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?f.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(u.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var i=this.length;e>0?e>i&&(e=i):null==e?e=0:e<0&&(e=Math.max(i+e,0)),e+ta)for(d=h;d--;)this[l+d]=this[a+d];if(o&&e===c)this.length=c,this.push.apply(this,s);else for(this.length=c+o,d=0;d>>0;if("[object Function]"!=d(e))throw new TypeError;for(;++s>>0,s=Array(n),o=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var r=0;r>>0,o=[],r=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var a=0;a>>0,s=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var o=0;o>>0,s=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var o=0;o>>0;if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");if(!n&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var s,o=0;if(arguments.length>=2)s=arguments[1];else for(;;){if(o in i){s=i[o++];break}if(++o>=n)throw new TypeError("reduce of empty array with no initial value")}for(;o>>0;if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");if(!n&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var s,o=n-1;if(arguments.length>=2)s=arguments[1];else for(;;){if(o in i){s=i[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}do{o in this&&(s=e.call(void 0,s,i[o],o,t))}while(o--);return s}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var t=C&&"[object String]"==d(this)?this.split(""):L(this),i=t.length>>>0;if(!i)return-1;var n=0;for(arguments.length>1&&(n=k(arguments[1])),n=n>=0?n:Math.max(0,i+n);n>>0;if(!i)return-1;var n=i-1;for(arguments.length>1&&(n=Math.min(n,k(arguments[1]))),n=n>=0?n:i-Math.abs(n);n>=0;n--)if(n in t&&e===t[n])return n;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:c)}),Object.getOwnPropertyDescriptor||(Object.getOwnPropertyDescriptor=function(e,t){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object: "+e);if(g(e,t)){var i;if(i={enumerable:!0,configurable:!0},l){var n=e.__proto__;e.__proto__=c;var s=r(e,t),o=a(e,t);if(e.__proto__=n,s||o)return s&&(i.get=s),o&&(i.set=o),i}return i.value=e[t],i}}),Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),Object.create||(m=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var i;if(null===e)i=m();else{if("object"!=typeof e)throw new TypeError("typeof prototype["+typeof e+"] != 'object'");var n=function(){};n.prototype=e,(i=new n).__proto__=e}return void 0!==t&&Object.defineProperties(i,t),i}),Object.defineProperty){var w=F({}),v="undefined"==typeof document||F(document.createElement("div"));if(!w||!v)var E=Object.defineProperty}Object.defineProperty&&!E||(Object.defineProperty=function(e,t,i){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.defineProperty called on non-object: "+e);if("object"!=typeof i&&"function"!=typeof i||null===i)throw new TypeError("Property description must be an object: "+i);if(E)try{return E.call(Object,e,t,i)}catch(h){}if(g(i,"value"))if(l&&(r(e,t)||a(e,t))){var n=e.__proto__;e.__proto__=c,delete e[t],e[t]=i.value,e.__proto__=n}else e[t]=i.value;else{if(!l)throw new TypeError("getters & setters can not be defined on this javascript engine");g(i,"get")&&s(e,t,i.get),g(i,"set")&&o(e,t,i.set)}return e}),Object.defineProperties||(Object.defineProperties=function(e,t){for(var i in t)g(t,i)&&Object.defineProperty(e,i,t[i]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze((function(){}))}catch(R){Object.freeze=(p=Object.freeze,function(e){return"function"==typeof e?e:p(e)})}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(e){return!1}),Object.isFrozen||(Object.isFrozen=function(e){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t="";g(e,t);)t+="?";e[t]=!0;var i=g(e,t);return delete e[t],i}),!Object.keys){var b=!0,y=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],$=y.length;for(var B in{toString:null})b=!1;Object.keys=function(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t=[];for(var i in e)g(e,i)&&t.push(i);if(b)for(var n=0,s=$;n0||-1)*Math.floor(Math.abs(e))),e}var L=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}})),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],(function(e,t,i){"use strict";e("./regexp"),e("./es5-shim")})),ace.define("ace/lib/dom",["require","exports","module"],(function(e,t,i){"use strict";t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||"http://www.w3.org/1999/xhtml",e):document.createElement(e)},t.hasCssClass=function(e,t){return-1!==(e.className+"").split(/\s+/g).indexOf(t)},t.addCssClass=function(e,i){t.hasCssClass(e,i)||(e.className+=" "+i)},t.removeCssClass=function(e,t){for(var i=e.className.split(/\s+/g);;){var n=i.indexOf(t);if(-1==n)break;i.splice(n,1)}e.className=i.join(" ")},t.toggleCssClass=function(e,t){for(var i=e.className.split(/\s+/g),n=!0;;){var s=i.indexOf(t);if(-1==s)break;n=!1,i.splice(s,1)}return n&&i.push(t),e.className=i.join(" "),n},t.setCssClass=function(e,i,n){n?t.addCssClass(e,i):t.removeCssClass(e,i)},t.hasCssString=function(e,t){var i,n=0;if((t=t||document).createStyleSheet&&(i=t.styleSheets)){for(;n=0?parseFloat((s.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((s.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product,t.isOldGecko=t.isGecko&&parseInt((s.match(/rv:(\d+)/)||[])[1],10)<4,t.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(s.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(s.split(" Chrome/")[1])||void 0,t.isAIR=s.indexOf("AdobeAIR")>=0,t.isIPad=s.indexOf("iPad")>=0,t.isChromeOS=s.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(s)&&!window.MSStream,t.isIOS&&(t.isMac=!0)}})),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,i){"use strict";var n=e("./keys"),s=e("./useragent"),o=null,r=0;t.addListener=function(e,t,i){if(e.addEventListener)return e.addEventListener(t,i,!1);if(e.attachEvent){var n=function(){i.call(e,window.event)};i._wrapper=n,e.attachEvent("on"+t,n)}},t.removeListener=function(e,t,i){if(e.removeEventListener)return e.removeEventListener(t,i,!1);e.detachEvent&&e.detachEvent("on"+t,i._wrapper||i)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||s.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,i,n){function s(e){i&&i(e),n&&n(e),t.removeListener(document,"mousemove",i,!0),t.removeListener(document,"mouseup",s,!0),t.removeListener(document,"dragstart",s,!0)}return t.addListener(document,"mousemove",i,!0),t.addListener(document,"mouseup",s,!0),t.addListener(document,"dragstart",s,!0),s},t.addTouchMoveListener=function(e,i){var n,s;t.addListener(e,"touchstart",(function(e){var t=e.touches[0];n=t.clientX,s=t.clientY})),t.addListener(e,"touchmove",(function(e){var t=e.touches;if(!(t.length>1)){var o=t[0];e.wheelX=n-o.clientX,e.wheelY=s-o.clientY,n=o.clientX,s=o.clientY,i(e)}}))},t.addMouseWheelListener=function(e,i){"onmousewheel"in e?t.addListener(e,"mousewheel",(function(e){void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/8,e.wheelY=-e.wheelDeltaY/8):(e.wheelX=0,e.wheelY=-e.wheelDelta/8),i(e)})):"onwheel"in e?t.addListener(e,"wheel",(function(e){switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=.35*e.deltaX||0,e.wheelY=.35*e.deltaY||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}i(e)})):t.addListener(e,"DOMMouseScroll",(function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),i(e)}))},t.addMultiMouseDownListener=function(e,i,n,o){var r,a,l,h=0,c={2:"dblclick",3:"tripleclick",4:"quadclick"};function u(e){if(0!==t.getButton(e)?h=0:e.detail>1?++h>4&&(h=1):h=1,s.isIE){var u=Math.abs(e.clientX-r)>5||Math.abs(e.clientY-a)>5;l&&!u||(h=1),l&&clearTimeout(l),l=setTimeout((function(){l=null}),i[h-1]||600),1==h&&(r=e.clientX,a=e.clientY)}if(e._clicks=h,n[o]("mousedown",e),h>4)h=0;else if(h>1)return n[o](c[h],e)}function d(e){h=2,l&&clearTimeout(l),l=setTimeout((function(){l=null}),i[h-1]||600),n[o]("mousedown",e),n[o](c[h],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){t.addListener(e,"mousedown",u),s.isOldIE&&t.addListener(e,"dblclick",d)}))};var a=s.isMac&&s.isOpera&&!("KeyboardEvent"in window)?function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)}:function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)};function l(e,t,i){var l=a(t);if(!s.isMac&&o){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(l|=8),o.altGr){if(3==(3&l))return;o.altGr=0}if(18===i||17===i){var h="location"in t?t.location:t.keyLocation;17===i&&1===h?1==o[i]&&(r=t.timeStamp):18===i&&3===l&&2===h&&t.timeStamp-r<50&&(o.altGr=!0)}}if(i in n.MODIFIER_KEYS&&(i=-1),8&l&&i>=91&&i<=93&&(i=-1),l||13!==i||3!==(h="location"in t?t.location:t.keyLocation)||(e(t,l,-i),!t.defaultPrevented)){if(s.isChromeOS&&8&l){if(e(t,l,i),t.defaultPrevented)return;l&=-9}return!!(l||i in n.FUNCTION_KEYS||i in n.PRINTABLE_KEYS)&&e(t,l,i)}}function h(){o=Object.create(null)}t.getModifierString=function(e){return n.KEY_MODS[a(e)]},t.addCommandKeyListener=function(e,i){var n=t.addListener;if(s.isOldGecko||s.isOpera&&!("KeyboardEvent"in window)){var r=null;n(e,"keydown",(function(e){r=e.keyCode})),n(e,"keypress",(function(e){return l(i,e,r)}))}else{var a=null;n(e,"keydown",(function(e){o[e.keyCode]=(o[e.keyCode]||0)+1;var t=l(i,e,e.keyCode);return a=e.defaultPrevented,t})),n(e,"keypress",(function(e){a&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),a=null)})),n(e,"keyup",(function(e){o[e.keyCode]=null})),o||(h(),n(window,"focus",h))}},"object"==typeof window&&window.postMessage&&!s.isOldIE&&(t.nextTick=function(e,i){i=i||window,t.addListener(i,"message",(function n(s){"zero-timeout-message-1"==s.data&&(t.stopPropagation(s),t.removeListener(i,"message",n),e())})),i.postMessage("zero-timeout-message-1","*")}),t.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame=t.nextFrame?t.nextFrame.bind(window):function(e){setTimeout(e,17)}})),ace.define("ace/lib/lang",["require","exports","module"],(function(e,t,i){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var i="";t>0;)1&t&&(i+=e),(t>>=1)&&(e+=e);return i};var n=/^\s\s*/,s=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(n,"")},t.stringTrimRight=function(e){return e.replace(s,"")},t.copyObject=function(e){var t={};for(var i in e)t[i]=e[i];return t},t.copyArray=function(e){for(var t=[],i=0,n=e.length;i"\n aaaa a\n".length?e=e.substr(9):e.substr(0,4)=="\n aaaa a\n".substr(0,4)?e=e.substr(4,e.length-"\n aaaa a\n".length+1):e.charAt(e.length-1)=="\n aaaa a\n".charAt(0)&&(e=e.slice(0,-1)),e=="\n aaaa a\n".charAt(0)||e.charAt(e.length-1)=="\n aaaa a\n".charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),u&&(u=!1),b&&(b=!1))},$=function(e){f||(y(i.value),v())},B=function(e,t,i){var n=e.clipboardData||window.clipboardData;if(n&&!h){var s=c||i?"Text":"text/plain";try{return t?!1!==n.setData(s,t):n.getData(s)}catch(e){if(!i)return B(e,t,!0)}}},D=function(e,o){var r=t.getCopyText();if(!r)return n.preventDefault(e);B(e,r)?(s.isIOS&&(d=o,i.value="\n aa"+r+"a a\n",i.setSelectionRange(4,4+r.length),u={value:r}),o?t.onCut():t.onCopy(),s.isIOS||n.preventDefault(e)):(u=!0,i.value=r,i.select(),setTimeout((function(){u=!1,v(),w(),o?t.onCut():t.onCopy()})))};n.addCommandKeyListener(i,t.onCommandKey.bind(t)),n.addListener(i,"select",(function(e){!function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length}(i)?E&&w(t.selection.isEmpty()):(t.selectAll(),w())})),n.addListener(i,"input",$),n.addListener(i,"cut",(function(e){D(e,!0)})),n.addListener(i,"copy",(function(e){D(e,!1)})),n.addListener(i,"paste",(function(e){var o=B(e);"string"==typeof o?(o&&t.onPaste(o,e),s.isIE&&setTimeout(w),n.preventDefault(e)):(i.value="",g=!0)}));var S,x=function(){if(f&&t.onCompositionUpdate&&!t.$readOnly){var e=i.value.replace(/\x01/g,"");if(f.lastValue!==e&&(t.onCompositionUpdate(e),f.lastValue&&t.undo(),f.canUndo&&(f.lastValue=e),f.lastValue)){var n=t.selection.getRange();t.insert(f.lastValue),t.session.markUndoGroup(),f.range=t.selection.getRange(),t.selection.setRange(n),t.selection.clearSelection()}}},k=function(e){if(t.onCompositionEnd&&!t.$readOnly){var n=f;f=!1;var o=setTimeout((function(){o=null;var e=i.value.replace(/\x01/g,"");f||(e==n.lastValue?v():!n.lastValue&&e&&(v(),y(e)))}));E=function(e){return o&&clearTimeout(o),(e=e.replace(/\x01/g,""))==n.lastValue?"":(n.lastValue&&o&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",k),"compositionend"==e.type&&n.range&&t.selection.setRange(n.range),(s.isChrome&&s.isChrome>=53||s.isWebKit&&s.isWebKit>=603)&&$()}},L=r.delayedCall(x,50);function R(){clearTimeout(S),S=setTimeout((function(){m&&(i.style.cssText=m,m=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())}),0)}n.addListener(i,"compositionstart",(function(e){f||!t.onCompositionStart||t.$readOnly||((f={}).canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(x,0),t.on("mousedown",k),f.canUndo&&!t.selection.isEmpty()&&(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())})),s.isGecko?n.addListener(i,"text",(function(){L.schedule()})):(n.addListener(i,"keyup",(function(){L.schedule()})),n.addListener(i,"keydown",(function(){L.schedule()}))),n.addListener(i,"compositionend",k),this.getElement=function(){return i},this.setReadOnly=function(e){i.readOnly=e},this.onContextMenu=function(e){b=!0,w(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,r){m||(m=i.style.cssText),i.style.cssText=(r?"z-index:100000;":"")+"height:"+i.style.height+";"+(s.isIE?"opacity:0.1;":"");var a=t.container.getBoundingClientRect(),l=o.computedStyle(t.container),h=a.top+(parseInt(l.borderTopWidth)||0),c=a.left+(parseInt(a.borderLeftWidth)||0),u=a.bottom-h-i.clientHeight-2,d=function(e){i.style.left=e.clientX-c-2+"px",i.style.top=Math.min(e.clientY-h-2,u)+"px"};d(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(S),s.isWin&&n.capture(t.container,d,R))},this.onContextMenuClose=R;var M=function(e){t.textInput.onContextMenu(e),R()};if(n.addListener(i,"mouseup",M),n.addListener(i,"mousedown",(function(e){e.preventDefault(),R()})),n.addListener(t.renderer.scroller,"contextmenu",M),n.addListener(i,"contextmenu",M),s.isIOS){var T=null,_=!1;e.addEventListener("keydown",(function(e){T&&clearTimeout(T),_=!0})),e.addEventListener("keyup",(function(e){T=setTimeout((function(){_=!1}),100)}));var O=function(e){if(document.activeElement===i&&!_){if(d)return setTimeout((function(){d=!1}),100);var n=i.selectionStart,s=i.selectionEnd;if(i.setSelectionRange(4,5),n==s)switch(n){case 0:t.onCommandKey(null,0,a.up);break;case 1:t.onCommandKey(null,0,a.home);break;case 2:t.onCommandKey(null,l.option,a.left);break;case 4:t.onCommandKey(null,0,a.left);break;case 5:t.onCommandKey(null,0,a.right);break;case 7:t.onCommandKey(null,l.option,a.right);break;case 8:t.onCommandKey(null,0,a.end);break;case 9:t.onCommandKey(null,0,a.down)}else{switch(s){case 6:t.onCommandKey(null,l.shift,a.right);break;case 7:t.onCommandKey(null,l.shift|l.option,a.right);break;case 8:t.onCommandKey(null,l.shift,a.end);break;case 9:t.onCommandKey(null,l.shift,a.down)}switch(n){case 0:t.onCommandKey(null,l.shift,a.up);break;case 1:t.onCommandKey(null,l.shift,a.home);break;case 2:t.onCommandKey(null,l.shift|l.option,a.left);break;case 3:t.onCommandKey(null,l.shift,a.left)}}}};document.addEventListener("selectionchange",O),t.on("destroy",(function(){document.removeEventListener("selectionchange",O)}))}}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/keyboard/textinput_ios"],(function(e,t,i){"use strict";var n=e("../lib/event"),s=e("../lib/useragent"),o=e("../lib/dom"),r=e("../lib/lang"),a=s.isChrome<18,l=s.isIE,h=e("./textinput_ios").TextInput;t.TextInput=function(e,t){if(s.isIOS)return h.call(this,e,t);var i=o.createElement("textarea");i.className="ace_text-input",i.setAttribute("wrap","off"),i.setAttribute("autocorrect","off"),i.setAttribute("autocapitalize","off"),i.setAttribute("spellcheck",!1),i.style.opacity="0",e.insertBefore(i,e.firstChild);var c=!1,u=!1,d=!1,g="",f=!0;try{var m=document.activeElement===i}catch(_){}n.addListener(i,"blur",(function(e){t.onBlur(e),m=!1})),n.addListener(i,"focus",(function(e){m=!0,t.onFocus(e),C()})),this.focus=function(){if(g)return i.focus();var e=i.style.top;i.style.position="fixed",i.style.top="0px",i.focus(),setTimeout((function(){i.style.position="","0px"==i.style.top&&(i.style.top=e)}),0)},this.blur=function(){i.blur()},this.isFocused=function(){return m};var p=r.delayedCall((function(){m&&C(f)})),A=r.delayedCall((function(){d||(i.value="\u2028\u2028",m&&C())}));function C(e){if(!d){if(d=!0,w)var t=0,n=e?0:i.value.length-1;else t=e?2:1,n=2;try{i.setSelectionRange(t,n)}catch(_){}d=!1}}function F(){d||(i.value="\u2028\u2028",s.isWebKit&&A.schedule())}s.isWebKit||t.addEventListener("changeSelection",(function(){t.selection.isEmpty()!=f&&(f=!f,p.schedule())})),F(),m&&t.onFocus();var w=null;this.setInputHandler=function(e){w=e},this.getInputHandler=function(){return w};var v=!1,E=function(e){w&&(e=w(e),w=null),u?(C(),e&&t.onPaste(e),u=!1):e=="\u2028\u2028".charAt(0)?t.execCommand(v?"del":"backspace",{source:"ace"}):("\u2028\u2028"==e.substring(0,2)?e=e.substr(2):e.charAt(0)=="\u2028\u2028".charAt(0)?e=e.substr(1):e.charAt(e.length-1)=="\u2028\u2028".charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)=="\u2028\u2028".charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),v&&(v=!1)},b=function(e){d||(E(i.value),F())},y=function(e,t,i){var n=e.clipboardData||window.clipboardData;if(n&&!a){var s=l||i?"Text":"text/plain";try{return t?!1!==n.setData(s,t):n.getData(s)}catch(e){if(!i)return y(e,t,!0)}}},$=function(e,s){var o=t.getCopyText();if(!o)return n.preventDefault(e);y(e,o)?(s?t.onCut():t.onCopy(),n.preventDefault(e)):(c=!0,i.value=o,i.select(),setTimeout((function(){c=!1,F(),C(),s?t.onCut():t.onCopy()})))},B=function(e){$(e,!0)},D=function(e){$(e,!1)},S=function(e){var o=y(e);"string"==typeof o?(o&&t.onPaste(o,e),s.isIE&&setTimeout(C),n.preventDefault(e)):(i.value="",u=!0)};n.addCommandKeyListener(i,t.onCommandKey.bind(t)),n.addListener(i,"select",(function(e){c?c=!1:function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length}(i)?(t.selectAll(),C()):w&&C(t.selection.isEmpty())})),n.addListener(i,"input",b),n.addListener(i,"cut",B),n.addListener(i,"copy",D),n.addListener(i,"paste",S),"oncut"in i&&"oncopy"in i&&"onpaste"in i||n.addListener(e,"keydown",(function(e){if((!s.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:D(e);break;case 86:S(e);break;case 88:B(e)}}));var x,k=function(){if(d&&t.onCompositionUpdate&&!t.$readOnly){var e=i.value.replace(/\u2028/g,"");if(d.lastValue!==e&&(t.onCompositionUpdate(e),d.lastValue&&t.undo(),d.canUndo&&(d.lastValue=e),d.lastValue)){var n=t.selection.getRange();t.insert(d.lastValue),t.session.markUndoGroup(),d.range=t.selection.getRange(),t.selection.setRange(n),t.selection.clearSelection()}}},L=function(e){if(t.onCompositionEnd&&!t.$readOnly){var n=d;d=!1;var o=setTimeout((function(){o=null;var e=i.value.replace(/\u2028/g,"");d||(e==n.lastValue?F():!n.lastValue&&e&&(F(),E(e)))}));w=function(e){return o&&clearTimeout(o),(e=e.replace(/\u2028/g,""))==n.lastValue?"":(n.lastValue&&o&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",L),"compositionend"==e.type&&n.range&&t.selection.setRange(n.range),(s.isChrome&&s.isChrome>=53||s.isWebKit&&s.isWebKit>=603)&&b()}},R=r.delayedCall(k,50);function M(){clearTimeout(x),x=setTimeout((function(){g&&(i.style.cssText=g,g=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())}),0)}n.addListener(i,"compositionstart",(function(e){d||!t.onCompositionStart||t.$readOnly||((d={}).canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(k,0),t.on("mousedown",L),d.canUndo&&!t.selection.isEmpty()&&(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())})),s.isGecko?n.addListener(i,"text",(function(){R.schedule()})):(n.addListener(i,"keyup",(function(){R.schedule()})),n.addListener(i,"keydown",(function(){R.schedule()}))),n.addListener(i,"compositionend",L),this.getElement=function(){return i},this.setReadOnly=function(e){i.readOnly=e},this.onContextMenu=function(e){v=!0,C(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,r){g||(g=i.style.cssText),i.style.cssText=(r?"z-index:100000;":"")+"height:"+i.style.height+";"+(s.isIE?"opacity:0.1;":"");var a=t.container.getBoundingClientRect(),l=o.computedStyle(t.container),h=a.top+(parseInt(l.borderTopWidth)||0),c=a.left+(parseInt(a.borderLeftWidth)||0),u=a.bottom-h-i.clientHeight-2,d=function(e){i.style.left=e.clientX-c-2+"px",i.style.top=Math.min(e.clientY-h-2,u)+"px"};d(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(x),s.isWin&&n.capture(t.container,d,M))},this.onContextMenuClose=M;var T=function(e){t.textInput.onContextMenu(e),M()};n.addListener(i,"mouseup",T),n.addListener(i,"mousedown",(function(e){e.preventDefault(),M()})),n.addListener(t.renderer.scroller,"contextmenu",T),n.addListener(i,"contextmenu",T)}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,i){"use strict";e("../lib/dom"),e("../lib/event");var n=e("../lib/useragent");function s(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e)),t.setDefaultHandler("touchmove",this.onTouchMove.bind(e)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(t){e[t]=this[t]}),this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function o(e,t){if(e.start.row==e.end.row)var i=2*t.column-e.start.column-e.end.column;else i=e.start.row!=e.end.row-1||e.start.column||e.end.column?2*t.row-e.start.row-e.end.row:t.column-4;return i<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}(function(){this.onMouseDown=function(e){var t=e.inSelection(),i=e.getDocumentPosition();this.mousedownEvent=e;var s=this.editor,o=e.getButton();if(0!==o){var r=s.getSelectionRange().isEmpty();return s.$blockScrolling++,(r||1==o)&&s.selection.moveToPosition(i),s.$blockScrolling--,void(2==o&&(s.textInput.onContextMenu(e.domEvent),n.isMozilla||e.preventDefault()))}return this.mousedownEvent.time=Date.now(),!t||s.isFocused()||(s.focus(),!this.$focusTimout||this.$clickSelection||s.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(i,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e))},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var i=this.editor;i.$blockScrolling++,this.mousedownEvent.getShiftKey()?i.selection.selectToPosition(e):t||i.selection.moveToPosition(e),t||this.select(),i.renderer.scroller.setCapture&&i.renderer.scroller.setCapture(),i.setStyle("ace_selecting"),this.setState("select"),i.$blockScrolling--},this.select=function(){var e,t=this.editor,i=t.renderer.screenToTextCoordinates(this.x,this.y);if(t.$blockScrolling++,this.$clickSelection){var n=this.$clickSelection.comparePoint(i);if(-1==n)e=this.$clickSelection.end;else if(1==n)e=this.$clickSelection.start;else{var s=o(this.$clickSelection,i);i=s.cursor,e=s.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(i),t.$blockScrolling--,t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,i=this.editor,n=i.renderer.screenToTextCoordinates(this.x,this.y),s=i.selection[e](n.row,n.column);if(i.$blockScrolling++,this.$clickSelection){var r=this.$clickSelection.comparePoint(s.start),a=this.$clickSelection.comparePoint(s.end);if(-1==r&&a<=0)t=this.$clickSelection.end,s.end.row==n.row&&s.end.column==n.column||(n=s.start);else if(1==a&&r>=0)t=this.$clickSelection.start,s.start.row==n.row&&s.start.column==n.column||(n=s.end);else if(-1==r&&1==a)n=s.end,t=s.start;else{var l=o(this.$clickSelection,n);n=l.cursor,t=l.anchor}i.selection.setSelectionAnchor(t.row,t.column)}i.selection.selectToPosition(n),i.$blockScrolling--,i.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e,t,i=(e=this.mousedownEvent.y,t=this.y,Math.sqrt(Math.pow(this.x-this.mousedownEvent.x,2)+Math.pow(t-e,2))),n=Date.now();(i>0||n-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),i=this.editor,n=i.session.getBracketRange(t);n?(n.isEmpty()&&(n.start.column--,n.end.column++),this.setState("select")):(n=i.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=n,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),i=this.editor;this.setState("selectByLines");var n=i.getSelectionRange();n.isMultiLine()&&n.contains(t.row,t.column)?(this.$clickSelection=i.selection.getLineRange(n.start.row),this.$clickSelection.end=i.selection.getLineRange(n.end.row).end):this.$clickSelection=i.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var i=this.$lastScroll,n=e.domEvent.timeStamp,s=n-i.t,o=e.wheelX/s,r=e.wheelY/s;s<250&&(o=(o+i.vx)/2,r=(r+i.vy)/2);var a=Math.abs(o/r),l=!1;return a>=1&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(l=!0),a<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(l=!0),l?i.allowed=n:n-i.allowed<250&&(Math.abs(o)<=1.1*Math.abs(i.vx)&&Math.abs(r)<=1.1*Math.abs(i.vy)?(l=!0,i.allowed=n):i.allowed=0),i.t=n,i.vx=o,i.vy=r,l?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},this.onTouchMove=function(e){this.editor._emit("mousewheel",e)}}).call(s.prototype),t.DefaultHandlers=s})),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],(function(e,t,i){"use strict";e("./lib/oop");var n=e("./lib/dom");function s(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}(function(){this.$init=function(){return this.$element=n.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){n.setInnerText(this.getElement(),e)},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){n.addCssClass(this.getElement(),e)},this.show=function(e,t,i){null!=e&&this.setText(e),null!=t&&null!=i&&this.setPosition(t,i),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth},this.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)}}).call(s.prototype),t.Tooltip=s})),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],(function(e,t,i){"use strict";var n=e("../lib/dom"),s=e("../lib/oop"),o=e("../lib/event"),r=e("../tooltip").Tooltip;function a(e){r.call(this,e)}s.inherits(a,r),(function(){this.setPosition=function(e,t){var i=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,s=this.getWidth(),o=this.getHeight();(e+=15)+s>i&&(e-=e+s-i),(t+=15)+o>n&&(t-=20+o),r.prototype.setPosition.call(this,e,t)}}).call(a.prototype),t.GutterHandler=function(e){var t,i,s,r=e.editor,l=r.renderer.$gutterLayer,h=new a(r.container);function c(){t&&(t=clearTimeout(t)),s&&(h.hide(),s=null,r._signal("hideGutterTooltip",h),r.removeEventListener("mousewheel",c))}function u(e){h.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(r.isFocused()&&0==t.getButton()&&"foldWidgets"!=l.getRegion(t)){var i=t.getDocumentPosition().row,n=r.session.selection;if(t.getShiftKey())n.selectTo(i,0);else{if(2==t.domEvent.detail)return r.selectAll(),t.preventDefault();e.$clickSelection=r.selection.getLineRange(i)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}})),e.editor.setDefaultHandler("guttermousemove",(function(o){if(n.hasCssClass(o.domEvent.target||o.domEvent.srcElement,"ace_fold-widget"))return c();s&&e.$tooltipFollowsMouse&&u(o),i=o,t||(t=setTimeout((function(){t=null,i&&!e.isMousePressed?function(){var t=i.getDocumentPosition().row,n=l.$annotations[t];if(!n)return c();if(t==r.session.getLength()){var o=r.renderer.pixelToScreenCoordinates(0,i.y).row,a=i.$pos;if(o>r.session.documentToScreenRow(a.row,a.column))return c()}if(s!=n)if(s=n.text.join("
"),h.setHtml(s),h.show(),r._signal("showGutterTooltip",h),r.on("mousewheel",c),e.$tooltipFollowsMouse)u(i);else{var d=i.domEvent.target.getBoundingClientRect(),g=h.getElement().style;g.left=d.right+"px",g.top=d.bottom+"px"}}():c()}),50))})),o.addListener(r.renderer.$gutter,"mouseout",(function(e){i=null,s&&!t&&(t=setTimeout((function(){t=null,c()}),50))})),r.on("changeSession",c)}})),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(e,t,i){"use strict";var n=e("../lib/event"),s=e("../lib/useragent"),o=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){n.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){n.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor.getSelectionRange();if(e.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=e.contains(t.row,t.column)}return this.$inSelection},this.getButton=function(){return n.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=s.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(o.prototype)})),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,i){"use strict";var n=e("../lib/dom"),s=e("../lib/event"),o=e("../lib/useragent");function r(e){var t=e.editor,i=n.createElement("img");i.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o.isOpera&&(i.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;"),["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach((function(t){e[t]=this[t]}),this),t.addEventListener("mousedown",this.onMouseDown.bind(e));var r,l,h,c,u,d,g,f,m,p,A,C=t.container,F=0;function w(){var e=d;(function(e,i){var n=Date.now();p&&i&&e.row==i.row&&i&&e.column==i.column?a(A.x,A.y,l,h)>5?p=null:n-p>=200&&(t.renderer.scrollCursorIntoView(),p=null):(t.$blockScrolling+=1,t.moveCursorToPosition(e),t.$blockScrolling-=1,p=n,A={x:l,y:h})})(d=t.renderer.screenToTextCoordinates(l,h),e),function(e,i){var n=Date.now(),s=t.renderer.layerConfig.lineHeight,o=t.renderer.layerConfig.characterWidth,r=t.renderer.scroller.getBoundingClientRect(),a={x:{left:l-r.left,right:r.right-l},y:{top:h-r.top,bottom:r.bottom-h}},c=Math.min(a.x.left,a.x.right),u=Math.min(a.y.top,a.y.bottom),d={row:e.row,column:e.column};c/o<=2&&(d.column+=a.x.left=200&&t.renderer.scrollCursorIntoView(d):m=n:m=null}(d,e)}function v(){u=t.selection.toOrientedRange(),r=t.session.addMarker(u,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(c),w(),c=setInterval(w,20),F=0,s.addListener(document,"mousemove",y)}function E(){clearInterval(c),t.session.removeMarker(r),r=null,t.$blockScrolling+=1,t.selection.fromOrientedRange(u),t.$blockScrolling-=1,t.isFocused()&&!f&&t.renderer.$cursorLayer.setBlinking(!t.getReadOnly()),u=null,d=null,F=0,m=null,p=null,s.removeListener(document,"mousemove",y)}this.onDragStart=function(e){if(this.cancelDrag||!C.draggable){var n=this;return setTimeout((function(){n.startSelect(),n.captureMouse(e)}),0),e.preventDefault()}u=t.getSelectionRange();var s=e.dataTransfer;s.effectAllowed=t.getReadOnly()?"copy":"copyMove",o.isOpera&&(t.container.appendChild(i),i.scrollTop=0),s.setDragImage&&s.setDragImage(i,0,0),o.isOpera&&t.container.removeChild(i),s.clearData(),s.setData("Text",t.session.getTextRange()),f=!0,this.setState("drag")},this.onDragEnd=function(e){C.draggable=!1,f=!1,this.setState(null),t.getReadOnly()||(g||"move"!=e.dataTransfer.dropEffect||t.session.remove(t.getSelectionRange()),t.renderer.$cursorLayer.setBlinking(!0)),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&$(e.dataTransfer))return l=e.clientX,h=e.clientY,r||v(),F++,e.dataTransfer.dropEffect=g=B(e),s.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&$(e.dataTransfer))return l=e.clientX,h=e.clientY,r||(v(),F++),null!==b&&(b=null),e.dataTransfer.dropEffect=g=B(e),s.preventDefault(e)},this.onDragLeave=function(e){if(--F<=0&&r)return E(),g=null,s.preventDefault(e)},this.onDrop=function(e){if(d){var i=e.dataTransfer;if(f)switch(g){case"move":u=u.contains(d.row,d.column)?{start:d,end:d}:t.moveText(u,d);break;case"copy":u=t.moveText(u,d,!0)}else{var n=i.getData("Text");u={start:d,end:t.session.insert(d,n)},t.focus(),g=null}return E(),s.preventDefault(e)}},s.addListener(C,"dragstart",this.onDragStart.bind(e)),s.addListener(C,"dragend",this.onDragEnd.bind(e)),s.addListener(C,"dragenter",this.onDragEnter.bind(e)),s.addListener(C,"dragover",this.onDragOver.bind(e)),s.addListener(C,"dragleave",this.onDragLeave.bind(e)),s.addListener(C,"drop",this.onDrop.bind(e));var b=null;function y(){null==b&&(b=setTimeout((function(){null!=b&&r&&E()}),20))}function $(e){var t=e.types;return!t||Array.prototype.some.call(t,(function(e){return"text/plain"==e||"Text"==e}))}function B(e){var t=["copy","copymove","all","uninitialized"],i=o.isMac?e.altKey:e.ctrlKey,n="uninitialized";try{n=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var s="none";return i&&t.indexOf(n)>=0?s="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(n)>=0?s="move":t.indexOf(n)>=0&&(s="copy"),s}}function a(e,t,i,n){return Math.sqrt(Math.pow(i-e,2)+Math.pow(n-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging"),e.renderer.setCursorStyle(o.isWin?"default":"move"),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;o.isIE&&"dragReady"==this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop(),"dragWait"===this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,i=e.inSelection(),n=e.getButton();if(1===(e.domEvent.detail||1)&&0===n&&i){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var s=e.domEvent.target||e.domEvent.srcElement;"unselectable"in s&&(s.unselectable="on"),t.getDragDelay()?(o.isWebKit&&(this.cancelDrag=!0,t.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(r.prototype),t.DragdropHandler=r})),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],(function(e,t,i){"use strict";var n=e("./dom");t.get=function(e,t){var i=new XMLHttpRequest;i.open("GET",e,!0),i.onreadystatechange=function(){4===i.readyState&&t(i.responseText)},i.send(null)},t.loadScript=function(e,t){var i=n.getDocumentHead(),s=document.createElement("script");s.src=e,i.appendChild(s),s.onload=s.onreadystatechange=function(e,i){!i&&s.readyState&&"loaded"!=s.readyState&&"complete"!=s.readyState||(s=s.onload=s.onreadystatechange=null,i||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}})),ace.define("ace/lib/event_emitter",["require","exports","module"],(function(e,t,i){"use strict";var n={},s=function(){this.propagationStopped=!0},o=function(){this.defaultPrevented=!0};n._emit=n._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var i=this._eventRegistry[e]||[],n=this._defaultHandlers[e];if(i.length||n){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=s),t.preventDefault||(t.preventDefault=o),i=i.slice();for(var r=0;r1&&(s=i[i.length-2]);var r=l[t+"Path"];return null==r?r=l.basePath:"/"==n&&(t=n=""),r&&"/"!=r.slice(-1)&&(r+="/"),r+t+n+s+this.get("suffix")},t.setModuleUrl=function(e,t){return l.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(i,n){var s,r;Array.isArray(i)&&(r=i[0],i=i[1]);try{s=e(i)}catch(l){}if(s&&!t.$loading[i])return n&&n(s);if(t.$loading[i]||(t.$loading[i]=[]),t.$loading[i].push(n),!(t.$loading[i].length>1)){var a=function(){e([i],(function(e){t._emit("load.module",{name:i,module:e});var n=t.$loading[i];t.$loading[i]=null,n.forEach((function(t){t&&t(e)}))}))};if(!t.get("packaged"))return a();o.loadScript(t.moduleUrl(i,r),a)}},h(!0),t.init=h})),ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],(function(e,t,i){"use strict";var n=e("../lib/event"),s=e("../lib/useragent"),o=e("./default_handlers").DefaultHandlers,r=e("./default_gutter_handler").GutterHandler,a=e("./mouse_event").MouseEvent,l=e("./dragdrop_handler").DragdropHandler,h=e("../config"),c=function(e){var t=this;this.editor=e,new o(this),new r(this),new l(this);var i=function(t){(!document.hasFocus||!document.hasFocus()||!e.isFocused()&&document.activeElement==(e.textInput&&e.textInput.getElement()))&&window.focus(),e.focus()},a=e.renderer.getMouseEventTarget();n.addListener(a,"click",this.onMouseEvent.bind(this,"click")),n.addListener(a,"mousemove",this.onMouseMove.bind(this,"mousemove")),n.addMultiMouseDownListener([a,e.renderer.scrollBarV&&e.renderer.scrollBarV.inner,e.renderer.scrollBarH&&e.renderer.scrollBarH.inner,e.textInput&&e.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent"),n.addMouseWheelListener(e.container,this.onMouseWheel.bind(this,"mousewheel")),n.addTouchMoveListener(e.container,this.onTouchMove.bind(this,"touchmove"));var h=e.renderer.$gutter;n.addListener(h,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),n.addListener(h,"click",this.onMouseEvent.bind(this,"gutterclick")),n.addListener(h,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),n.addListener(h,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),n.addListener(a,"mousedown",i),n.addListener(h,"mousedown",i),s.isIE&&e.renderer.scrollBarV&&(n.addListener(e.renderer.scrollBarV.element,"mousedown",i),n.addListener(e.renderer.scrollBarH.element,"mousedown",i)),e.on("mousemove",(function(i){if(!t.state&&!t.$dragDelay&&t.$dragEnabled){var n=e.renderer.screenToTextCoordinates(i.x,i.y),s=e.session.selection.getRange(),o=e.renderer;!s.isEmpty()&&s.insideStart(n.row,n.column)?o.setCursorStyle("default"):o.setCursorStyle("")}}))};(function(){this.onMouseEvent=function(e,t){this.editor._emit(e,new a(t,this.editor))},this.onMouseMove=function(e,t){var i=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;i&&i.length&&this.editor._emit(e,new a(t,this.editor))},this.onMouseWheel=function(e,t){var i=new a(t,this.editor);i.speed=2*this.$scrollSpeed,i.wheelX=t.wheelX,i.wheelY=t.wheelY,this.editor._emit(e,i)},this.onTouchMove=function(e,t){var i=new a(t,this.editor);i.speed=1,i.wheelX=t.wheelX,i.wheelY=t.wheelY,this.editor._emit(e,i)},this.setState=function(e){this.state=e},this.captureMouse=function(e,t){this.x=e.x,this.y=e.y,this.isMousePressed=!0;var i=this.editor.renderer;i.$keepTextAreaAtCursor&&(i.$keepTextAreaAtCursor=null);var o=this,r=function(e){if(e){if(s.isWebKit&&!e.which&&o.releaseMouse)return o.releaseMouse();o.x=e.clientX,o.y=e.clientY,t&&t(e),o.mouseEvent=new a(e,o.editor),o.$mouseMoved=!0}},l=function(e){clearInterval(c),h(),o[o.state+"End"]&&o[o.state+"End"](e),o.state="",null==i.$keepTextAreaAtCursor&&(i.$keepTextAreaAtCursor=!0,i.$moveTextAreaToCursor()),o.isMousePressed=!1,o.$onCaptureMouseMove=o.releaseMouse=null,e&&o.onMouseEvent("mouseup",e)},h=function(){o[o.state]&&o[o.state](),o.$mouseMoved=!1};if(s.isOldIE&&"dblclick"==e.domEvent.type)return setTimeout((function(){l(e)}));o.$onCaptureMouseMove=r,o.releaseMouse=n.capture(this.editor.container,r,l);var c=setInterval(h,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var e=(function(t){t&&t.domEvent&&"contextmenu"!=t.domEvent.type||(this.editor.off("nativecontextmenu",e),t&&t.domEvent&&n.stopEvent(t.domEvent))}).bind(this);setTimeout(e,10),this.editor.on("nativecontextmenu",e)}}).call(c.prototype),h.defineOptions(c.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:s.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),t.MouseHandler=c})),ace.define("ace/mouse/fold_handler",["require","exports","module"],(function(e,t,i){"use strict";t.FoldHandler=function(e){e.on("click",(function(t){var i=t.getDocumentPosition(),n=e.session,s=n.getFoldAt(i.row,i.column,1);s&&(t.getAccelKey()?n.removeFold(s):n.expandFold(s),t.stop())})),e.on("gutterclick",(function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var i=t.getDocumentPosition().row,n=e.session;n.foldWidgets&&n.foldWidgets[i]&&e.session.onFoldWidgetClick(i,t),e.isFocused()||e.focus(),t.stop()}})),e.on("gutterdblclick",(function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var i=t.getDocumentPosition().row,n=e.session,s=n.getParentFoldRangeData(i,!0),o=s.range||s.firstRange;if(o){var r=n.getFoldAt(i=o.start.row,n.getLine(i).length,1);r?n.removeFold(r):(n.addFold("...",o),e.renderer.scrollCursorIntoView({row:o.start.row,column:0}))}t.stop()}}))}})),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],(function(e,t,i){"use strict";var n=e("../lib/keys"),s=e("../lib/event"),o=function(e){this.$editor=e,this.$data={editor:e},this.$handlers=[],this.setDefaultHandler(e.commands)};(function(){this.setDefaultHandler=function(e){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=e,this.addKeyboardHandler(e,0)},this.setKeyboardHandler=function(e){var t=this.$handlers;if(t[t.length-1]!=e){for(;t[t.length-1]&&t[t.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(t[t.length-1]);this.addKeyboardHandler(e,1)}},this.addKeyboardHandler=function(e,t){if(e){"function"!=typeof e||e.handleKeyboard||(e.handleKeyboard=e);var i=this.$handlers.indexOf(e);-1!=i&&this.$handlers.splice(i,1),null==t?this.$handlers.push(e):this.$handlers.splice(t,0,e),-1==i&&e.attach&&e.attach(this.$editor)}},this.removeKeyboardHandler=function(e){var t=this.$handlers.indexOf(e);return-1!=t&&(this.$handlers.splice(t,1),e.detach&&e.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var e=this.$data,t=e.editor;return this.$handlers.map((function(i){return i.getStatusText&&i.getStatusText(t,e)||""})).filter(Boolean).join(" ")},this.$callKeyboardHandlers=function(e,t,i,n){for(var o,r=!1,a=this.$editor.commands,l=this.$handlers.length;l--&&!((o=this.$handlers[l].handleKeyboard(this.$data,e,t,i,n))&&o.command&&((r="null"==o.command||a.exec(o.command,this.$editor,o.args,n))&&n&&-1!=e&&1!=o.passEvent&&1!=o.command.passEvent&&s.stopEvent(n),r)););return r||-1!=e||(o={command:"insertstring"},r=a.exec("insertstring",this.$editor,t)),r&&this.$editor._signal&&this.$editor._signal("keyboardActivity",o),r},this.onCommandKey=function(e,t,i){var s=n.keyCodeToString(i);this.$callKeyboardHandlers(t,s,i,e)},this.onTextInput=function(e){this.$callKeyboardHandlers(-1,e)}}).call(o.prototype),t.KeyBinding=o})),ace.define("ace/lib/bidiutil",["require","exports","module"],(function(e,t,i){"use strict";var n=0,s=0,o=!1,r=!1,a=!1,l=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],h=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],c=[18,18,18,18,18,18,18,18,18,6,5,6,8,5,18,18,18,18,18,18,18,18,18,18,18,18,18,18,5,5,5,6,8,4,4,11,11,11,4,4,4,4,4,10,9,10,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,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,4,4,4,4,4,4,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,4,4,4,4,18,18,18,18,18,18,5,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,9,4,11,11,11,11,4,4,4,4,0,4,4,18,4,4,11,11,2,2,4,0,4,4,4,2,0,4,4,4,4,4],u=[8,8,8,8,8,8,8,8,8,8,8,18,18,18,0,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,5,13,14,15,16,17,9,11,11,11,11,11,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8];function d(e,t,i){if(!(s=e){for(o=u+1;o=e;)o++;for(a=u,l=o-1;a=t.length||2!=(l=i[s-1])&&3!=l||2!=(h=t[s+1])&&3!=h?4:(o&&(h=3),h==l?h:4);case 10:return 2==(l=s>0?i[s-1]:5)&&s+10&&2==i[s-1])return 2;if(o)return 4;for(u=s+1,c=t.length;u=1425&&g<=2303||64286==g)&&(1==l||7==l))return 1}return s<1||5==(l=t[s-1])?4:i[s-1];case 5:return o=!1,r=!0,n;case 6:return a=!0,4;case 13:case 14:case 16:case 17:case 15:o=!1;case 18:return 4}}function f(e){var t=e.charCodeAt(0),i=t>>8;return 0==i?t>191?0:c[t]:5==i?/[\u0591-\u05f4]/.test(e)?1:0:6==i?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(e)?12:/[\u0660-\u0669\u066b-\u066c]/.test(e)?3:1642==t?11:/[\u06f0-\u06f9]/.test(e)?2:7:32==i&&t<=8287?u[255&t]:254==i&&t>=65136?7:4}t.L=0,t.R=1,t.EN=2,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.DOT="\xb7",t.doBidiReorder=function(e,i,c){if(e.length<2)return{};var u=e.split(""),m=new Array(u.length),p=new Array(u.length),A=[];n=c?1:0,function(e,t,i,c){var u=n?h:l,d=null,m=null,p=null,A=0,C=null,F=-1,w=null,v=null,E=[];if(!c)for(w=0,c=[];w0)if(16==C){for(w=F;w-1){for(w=F;w=0&&8==c[b];b--)t[b]=n}}(u,A,u.length,i);for(var C=0;C7&&i[C]<13||4===i[C]||18===i[C])?A[C]=t.ON_R:C>0&&"\u0644"===u[C-1]&&/\u0622|\u0623|\u0625|\u0627/.test(u[C])&&(A[C-1]=A[C]=t.R_H,C++);for(u[u.length-1]===t.DOT&&(A[u.length-1]=t.B),C=0;C=0&&(e=this.session.$docRowCache[i])}return e},this.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var i,n=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(i=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===n;)n=i,e++;return e},this.updateRowLine=function(e,t){if(void 0===e&&(e=this.getDocumentRow()),this.wrapIndent=0,this.isLastRow=e===this.session.getLength()-1,this.line=this.session.getLine(e),this.session.$useWrapMode){var i=this.session.$wrapData[e];i&&(void 0===t&&(t=this.getSplitIndex()),t>0&&i.length?(this.wrapIndent=i.indent,this.line=t0?e-1:0,this.bidiMap),i=this.bidiMap.bidiLevels,s=0;0===e&&i[t]%2!=0&&t++;for(var o=0;o=h&&si+r/2;){if(i+=r,s===o.length-1){r=0;break}r=this.charWidths[o[++s]]}return s>0&&o[s-1]%2!=0&&o[s]%2==0?(e0&&o[s-1]%2==0&&o[s]%2!=0?t=1+(e>i?this.bidiMap.logicalFromVisual[s]:this.bidiMap.logicalFromVisual[s-1]):this.isRtlDir&&s===o.length-1&&0===r&&o[s-1]%2==0||!this.isRtlDir&&0===s&&o[s]%2!=0?t=1+this.bidiMap.logicalFromVisual[s]:(s>0&&o[s-1]%2!=0&&0!==r&&s--,t=this.bidiMap.logicalFromVisual[s]),t+this.wrapIndent}}).call(a.prototype),t.BidiHandler=a})),ace.define("ace/range",["require","exports","module"],(function(e,t,i){"use strict";var n=function(e,t,i,n){this.start={row:e,column:t},this.end={row:i,column:n}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,i=e.end,n=e.start;return 1==(t=this.compare(i.row,i.column))?1==(t=this.compare(n.row,n.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(n.row,n.column))?-1:1==t?42:0},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)&&!this.isStart(e,t)},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var i={row:t+1,column:0};else this.end.rowt)var s={row:t+1,column:0};else this.start.rowt.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?r.fromPoints(t,t):this.isBackwards()?r.fromPoints(t,e):r.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection((function(){this.moveCursorTo(e,t)}))},this.selectToPosition=function(e){this.$moveSelection((function(){this.moveCursorToPosition(e)}))},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if(void 0===t){var i=e||this.lead;e=i.row,t=i.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var i,n="number"==typeof e?e:this.lead.row,s=this.session.getFoldLine(n);return s?(n=s.start.row,i=s.end.row):i=n,!0===t?new r(n,0,i,this.session.getLine(i).length):new r(n,0,i+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(e,t,i){var n=e.column,s=e.column+t;return i<0&&(n=e.column-t,s=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(n,s).split(" ").length-1==t},this.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var i=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,i,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-i):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(t.column=n)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,i=this.doc.getLine(e),n=i.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var s=this.session.getFoldAt(e,t,1);if(s)this.moveCursorTo(s.end.row,s.end.column);else{if(this.session.nonTokenRe.exec(n)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,n=i.substring(t)),t>=i.length)return this.moveCursorTo(e,i.length),this.moveCursorRight(),void(e0&&this.moveCursorWordLeft());this.session.tokenRe.exec(o)&&(i-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,i)}},this.$shortWordEndIndex=function(e){var t,i=0,n=/\s/,s=this.session.tokenRe;if(s.lastIndex=0,this.session.tokenRe.exec(e))i=this.session.tokenRe.lastIndex;else{for(;(t=e[i])&&n.test(t);)i++;if(i<1)for(s.lastIndex=0;(t=e[i])&&!s.test(t);)if(s.lastIndex=0,i++,n.test(t)){if(i>2){i--;break}for(;(t=e[i])&&n.test(t);)i++;if(i>2)break}}return s.lastIndex=0,i},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,i=this.doc.getLine(e),n=i.substring(t),s=this.session.getFoldAt(e,t,1);if(s)return this.moveCursorTo(s.end.row,s.end.column);if(t==i.length){var o=this.doc.getLength();do{e++,n=this.doc.getLine(e)}while(e0&&/^\s*$/.test(n));i=n.length,/\s+$/.test(n)||(n="")}var o=s.stringReverse(n),r=this.$shortWordEndIndex(o);return this.moveCursorTo(t,i-r)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var i,n=this.session.documentToScreenPosition(this.lead.row,this.lead.column);0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(n.row,this.lead.row)?(i=this.session.$bidiHandler.getPosLeft(n.column),n.column=Math.round(i/this.session.$bidiHandler.charWidths[0])):i=n.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?n.column=this.$desiredColumn:this.$desiredColumn=n.column);var s=this.session.screenToDocumentPosition(n.row+e,n.column,i);0!==e&&0===t&&s.row===this.lead.row&&s.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[s.row]&&(s.row>0||e>0)&&s.row++,this.moveCursorTo(s.row,s.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,i){var n=this.session.getFoldAt(e,t,1);n&&(e=n.start.row,t=n.start.column),this.$keepDesiredColumnOnChange=!0;var s=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(s.charAt(t))&&s.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,i||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,i){var n=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(n.row,n.column,i)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var i=this.getCursor();return r.fromPoints(t,i)}catch(n){return r.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map((function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t}));else(e=this.getRange()).isBackwards=this.isBackwards();return e},this.fromJSON=function(e){if(null==e.start){if(this.rangeList){this.toSingleRange(e[0]);for(var t=e.length;t--;){var i=r.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(i.cursor=i.start),this.addRange(i,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(a.prototype),t.Selection=a})),ace.define("ace/tokenizer",["require","exports","module","ace/config"],(function(e,t,i){"use strict";var n=e("./config"),s=2e3,o=function(e){for(var t in this.states=e,this.regExps={},this.matchMappings={},this.states){for(var i=this.states[t],n=[],s=0,o=this.matchMappings[t]={defaultToken:"text"},r="g",a=[],l=0;l1?this.$applyToken:h.token),u>1&&(/\\\d/.test(h.regex)?c=h.regex.replace(/\\([0-9]+)/g,(function(e,t){return"\\"+(parseInt(t,10)+s+1)})):(u=1,c=this.removeCapturingGroups(h.regex)),h.splitRegex||"string"==typeof h.token||a.push(h)),o[s]=l,s+=u,n.push(c),h.onMatch||(h.onMatch=null)}}n.length||(o[0]=0,n.push("$")),a.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,r)}),this),this.regExps[t]=new RegExp("("+n.join(")|(")+")|($)",r)}};(function(){this.$setMaxTokenCount=function(e){s=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),i=this.token.apply(this,t);if("string"==typeof i)return[{type:i,value:e}];for(var n=[],s=0,o=i.length;sc){var A=e.substring(c,p-m.length);d.type==g?d.value+=A:(d.type&&h.push(d),d={type:g,value:A})}for(var C=0;Cs){for(u>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});c1&&i[0]!==n&&i.unshift("#tmp",n),{tokens:h,state:i.length?i:n}},this.reportError=n.reportError}).call(o.prototype),t.Tokenizer=o})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],(function(e,t,i){"use strict";var n=e("../lib/lang"),s=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(e,t){if(t)for(var i in e){for(var n=e[i],s=0;s=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,i=e[t].start;if(void 0!==i)return i;for(i=0;t>0;)i+=e[t-=1].value.length;return i},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},this.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new n(this.$row,t,this.$row,t+e.value.length)}}).call(s.prototype),t.TokenIterator=s})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(e,t,i){"use strict";var n,s=e("../../lib/oop"),o=e("../behaviour").Behaviour,r=e("../../token_iterator").TokenIterator,a=e("../../lib/lang"),l=["text","paren.rparen","punctuation.operator"],h=["text","paren.rparen","punctuation.operator","comment"],c={},u={'"':'"',"'":"'"},d=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,c.rangeCount!=e.multiSelect.rangeCount&&(c={rangeCount:e.multiSelect.rangeCount})),c[t])return n=c[t];n=c[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},g=function(e,t,i,n){var s=e.end.row-e.start.row;return{text:i+t+n,selection:[0,e.start.column+1,s,e.end.column+(s?0:1)]}},f=function(e){this.add("braces","insertion",(function(t,i,s,o,r){var l=s.getCursorPosition(),h=o.doc.getLine(l.row);if("{"==r){d(s);var c=s.getSelectionRange(),u=o.doc.getTextRange(c);if(""!==u&&"{"!==u&&s.getWrapBehavioursEnabled())return g(c,u,"{","}");if(f.isSaneInsertion(s,o))return/[\]\}\)]/.test(h[l.column])||s.inMultiSelectMode||e&&e.braces?(f.recordAutoInsert(s,o,"}"),{text:"{}",selection:[1,1]}):(f.recordMaybeInsert(s,o,"{"),{text:"{",selection:[1,1]})}else if("}"==r){if(d(s),"}"==h.substring(l.column,l.column+1)&&null!==o.$findOpeningBracket("}",{column:l.column+1,row:l.row})&&f.isAutoInsertedClosing(l,h,r))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==r||"\r\n"==r){d(s);var m="";if(f.isMaybeInsertedClosing(l,h)&&(m=a.stringRepeat("}",n.maybeInsertedBrackets),f.clearMaybeInsertedClosing()),"}"===h.substring(l.column,l.column+1)){var p=o.findMatchingBracket({row:l.row,column:l.column+1},"}");if(!p)return null;var A=this.$getIndent(o.getLine(p.row))}else{if(!m)return void f.clearMaybeInsertedClosing();A=this.$getIndent(h)}var C=A+o.getTabString();return{text:"\n"+C+"\n"+A+m,selection:[1,C.length,1,C.length]}}f.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,i,s,o){var r=s.doc.getTextRange(o);if(!o.isMultiLine()&&"{"==r){if(d(i),"}"==s.doc.getLine(o.start.row).substring(o.end.column,o.end.column+1))return o.end.column++,o;n.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(e,t,i,n,s){if("("==s){d(i);var o=i.getSelectionRange(),r=n.doc.getTextRange(o);if(""!==r&&i.getWrapBehavioursEnabled())return g(o,r,"(",")");if(f.isSaneInsertion(i,n))return f.recordAutoInsert(i,n,")"),{text:"()",selection:[1,1]}}else if(")"==s){d(i);var a=i.getCursorPosition(),l=n.doc.getLine(a.row);if(")"==l.substring(a.column,a.column+1)&&null!==n.$findOpeningBracket(")",{column:a.column+1,row:a.row})&&f.isAutoInsertedClosing(a,l,s))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,i,n,s){var o=n.doc.getTextRange(s);if(!s.isMultiLine()&&"("==o&&(d(i),")"==n.doc.getLine(s.start.row).substring(s.start.column+1,s.start.column+2)))return s.end.column++,s})),this.add("brackets","insertion",(function(e,t,i,n,s){if("["==s){d(i);var o=i.getSelectionRange(),r=n.doc.getTextRange(o);if(""!==r&&i.getWrapBehavioursEnabled())return g(o,r,"[","]");if(f.isSaneInsertion(i,n))return f.recordAutoInsert(i,n,"]"),{text:"[]",selection:[1,1]}}else if("]"==s){d(i);var a=i.getCursorPosition(),l=n.doc.getLine(a.row);if("]"==l.substring(a.column,a.column+1)&&null!==n.$findOpeningBracket("]",{column:a.column+1,row:a.row})&&f.isAutoInsertedClosing(a,l,s))return f.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,i,n,s){var o=n.doc.getTextRange(s);if(!s.isMultiLine()&&"["==o&&(d(i),"]"==n.doc.getLine(s.start.row).substring(s.start.column+1,s.start.column+2)))return s.end.column++,s})),this.add("string_dquotes","insertion",(function(e,t,i,n,s){var o=n.$mode.$quotes||u;if(1==s.length&&o[s]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(s))return;d(i);var r=s,a=i.getSelectionRange(),l=n.doc.getTextRange(a);if(!(""===l||1==l.length&&o[l])&&i.getWrapBehavioursEnabled())return g(a,l,r,r);if(!l){var h=i.getCursorPosition(),c=n.doc.getLine(h.row),f=c.substring(h.column-1,h.column),m=c.substring(h.column,h.column+1),p=n.getTokenAt(h.row,h.column),A=n.getTokenAt(h.row,h.column+1);if("\\"==f&&p&&/escape/.test(p.type))return null;var C,F=p&&/string|escape/.test(p.type),w=!A||/string|escape/.test(A.type);if(m==r)(C=F!==w)&&/string\.end/.test(A.type)&&(C=!1);else{if(F&&!w)return null;if(F&&w)return null;var v=n.$mode.tokenRe;v.lastIndex=0;var E=v.test(f);v.lastIndex=0;var b=v.test(f);if(E||b)return null;if(m&&!/[\s;,.})\]\\]/.test(m))return null;C=!0}return{text:C?r+r:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(e,t,i,n,s){var o=n.doc.getTextRange(s);if(!s.isMultiLine()&&('"'==o||"'"==o)&&(d(i),n.doc.getLine(s.start.row).substring(s.start.column+1,s.start.column+2)==o))return s.end.column++,s}))};f.isSaneInsertion=function(e,t){var i=e.getCursorPosition(),n=new r(t,i.row,i.column);if(!this.$matchTokenType(n.getCurrentToken()||"text",l)){var s=new r(t,i.row,i.column+1);if(!this.$matchTokenType(s.getCurrentToken()||"text",l))return!1}return n.stepForward(),n.getCurrentTokenRow()!==i.row||this.$matchTokenType(n.getCurrentToken()||"text",h)},f.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},f.recordAutoInsert=function(e,t,i){var s=e.getCursorPosition(),o=t.doc.getLine(s.row);this.isAutoInsertedClosing(s,o,n.autoInsertedLineEnd[0])||(n.autoInsertedBrackets=0),n.autoInsertedRow=s.row,n.autoInsertedLineEnd=i+o.substr(s.column),n.autoInsertedBrackets++},f.recordMaybeInsert=function(e,t,i){var s=e.getCursorPosition(),o=t.doc.getLine(s.row);this.isMaybeInsertedClosing(s,o)||(n.maybeInsertedBrackets=0),n.maybeInsertedRow=s.row,n.maybeInsertedLineStart=o.substr(0,s.column)+i,n.maybeInsertedLineEnd=o.substr(s.column),n.maybeInsertedBrackets++},f.isAutoInsertedClosing=function(e,t,i){return n.autoInsertedBrackets>0&&e.row===n.autoInsertedRow&&i===n.autoInsertedLineEnd[0]&&t.substr(e.column)===n.autoInsertedLineEnd},f.isMaybeInsertedClosing=function(e,t){return n.maybeInsertedBrackets>0&&e.row===n.maybeInsertedRow&&t.substr(e.column)===n.maybeInsertedLineEnd&&t.substr(0,e.column)==n.maybeInsertedLineStart},f.popAutoInsertedClosing=function(){n.autoInsertedLineEnd=n.autoInsertedLineEnd.substr(1),n.autoInsertedBrackets--},f.clearMaybeInsertedClosing=function(){n&&(n.maybeInsertedBrackets=0,n.maybeInsertedRow=-1)},s.inherits(f,o),t.CstyleBehaviour=f})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,i){"use strict";t.packages={},function(e){var i=/\w{4}/g;for(var n in e)t.packages[n]=e[n].replace(i,"\\u$&")}({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F",Lo:"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048906DE20DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3",So:"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF"})})),ace.define("ace/mode/text",["require","exports","module","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour/cstyle","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],(function(e,t,i){"use strict";var n=e("../tokenizer").Tokenizer,s=e("./text_highlight_rules").TextHighlightRules,o=e("./behaviour/cstyle").CstyleBehaviour,r=e("../unicode"),a=e("../lib/lang"),l=e("../token_iterator").TokenIterator,h=e("../range").Range,c=function(){this.HighlightRules=s};(function(){this.$defaultBehaviour=new o,this.tokenRe=new RegExp("^["+r.packages.L+r.packages.Mn+r.packages.Mc+r.packages.Nd+r.packages.Pc+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+r.packages.L+r.packages.Mn+r.packages.Mc+r.packages.Nd+r.packages.Pc+"\\$_]|\\s])+","g"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules(this.$highlightRuleConfig),this.$tokenizer=new n(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart="",this.blockComment="",this.toggleCommentLines=function(e,t,i,n){var s=t.doc,o=!0,r=!0,l=1/0,h=t.getTabSize(),c=!1;if(this.lineCommentStart){Array.isArray(this.lineCommentStart)?(m=this.lineCommentStart.map(a.escapeRegExp).join("|"),g=this.lineCommentStart[0]):(m=a.escapeRegExp(this.lineCommentStart),g=this.lineCommentStart),m=new RegExp("^(\\s*)(?:"+m+") ?"),c=t.getUseSoftTabs(),C=function(e,t){var i=e.match(m);if(i){var n=i[1].length,o=i[0].length;d(e,n,o)||" "!=i[0][o-1]||o--,s.removeInLine(t,n,o)}};var u=g+" ",d=(A=function(e,t){o&&!/\S/.test(e)||(d(e,l,l)?s.insertInLine({row:t,column:l},u):s.insertInLine({row:t,column:l},g))},F=function(e,t){return m.test(e)},function(e,t,i){for(var n=0;t--&&" "==e.charAt(t);)n++;if(n%h!=0)return!1;for(n=0;" "==e.charAt(i++);)n++;return h>2?n%h!=h-1:n%h==0})}else{if(!this.blockComment)return!1;var g=this.blockComment.start,f=this.blockComment.end,m=new RegExp("^(\\s*)(?:"+a.escapeRegExp(g)+")"),p=new RegExp("(?:"+a.escapeRegExp(f)+")\\s*$"),A=function(e,t){F(e,t)||o&&!/\S/.test(e)||(s.insertInLine({row:t,column:e.length},f),s.insertInLine({row:t,column:l},g))},C=function(e,t){var i;(i=e.match(p))&&s.removeInLine(t,e.length-i[0].length,e.length),(i=e.match(m))&&s.removeInLine(t,i[1].length,i[0].length)},F=function(e,i){if(m.test(e))return!0;for(var n=t.getTokens(i),s=0;se.length&&(v=e.length)})),l==1/0&&(l=v,o=!1,r=!1),c&&l%h!=0&&(l=Math.floor(l/h)*h),w(r?C:A)},this.toggleBlockComment=function(e,t,i,n){var s=this.blockComment;if(s){!s.start&&s[0]&&(s=s[0]);var o,r,a=(m=new l(t,n.row,n.column)).getCurrentToken(),c=t.selection.toOrientedRange();if(a&&/comment/.test(a.type)){for(var u,d;a&&/comment/.test(a.type);){if(-1!=(p=a.value.indexOf(s.start))){var g=m.getCurrentTokenRow(),f=m.getCurrentTokenColumn()+p;u=new h(g,f,g,f+s.start.length);break}a=m.stepBackward()}var m;for(a=(m=new l(t,n.row,n.column)).getCurrentToken();a&&/comment/.test(a.type);){var p;if(-1!=(p=a.value.indexOf(s.end))){g=m.getCurrentTokenRow(),f=m.getCurrentTokenColumn()+p,d=new h(g,f,g,f+s.end.length);break}a=m.stepForward()}d&&t.remove(d),u&&(t.remove(u),o=u.start.row,r=-s.start.length)}else r=s.start.length,o=i.start.row,t.insert(i.end,s.end),t.insert(i.start,s.start);c.start.row==o&&(c.start.column+=r),c.end.row==o&&(c.end.column+=r),t.selection.fromOrientedRange(c)}},this.getNextLineIndent=function(e,t,i){return this.$getIndent(t)},this.checkOutdent=function(e,t,i){return!1},this.autoOutdent=function(e,t,i){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)e[t]&&(this.$embeds.push(t),this.$modes[t]=new e[t]);var i=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(t=0;tthis.row)){var i=function(t,i,n){var s="insert"==t.action,o=(s?1:-1)*(t.end.row-t.start.row),r=(s?1:-1)*(t.end.column-t.start.column),a=t.start,l=s?a:t.end;return e(i,a,n)?{row:i.row,column:i.column}:e(l,i,!n)?{row:i.row+o,column:i.column+(i.row==l.row?r:0)}:{row:a.row,column:a.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(i.row,i.column,!0)}},this.setPosition=function(e,t,i){var n;if(n=i?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=n.row||this.column!=n.column){var s={row:this.row,column:this.column};this.row=n.row,this.column=n.column,this._signal("change",{old:s,value:n})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var i={};return e>=this.document.getLength()?(i.row=Math.max(0,this.document.getLength()-1),i.column=this.document.getLine(i.row).length):e<0?(i.row=0,i.column=0):(i.row=e,i.column=Math.min(this.document.getLine(i.row).length,Math.max(0,t))),t<0&&(i.column=0),i}}).call(o.prototype)})),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],(function(e,t,i){"use strict";var n=e("./lib/oop"),s=e("./apply_delta").applyDelta,o=e("./lib/event_emitter").EventEmitter,r=e("./range").Range,a=e("./anchor").Anchor,l=function(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){n.implement(this,o),this.setValue=function(e){var t=this.getLength()-1;this.remove(new r(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new a(this,e,t)},this.$split=0==="aaa".split(/a/).length?function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var i=t.length-1;e.end.row-e.start.row==i&&(t[i]=t[i].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var i=this.clippedPos(e.row,e.column),n=this.pos(e.row,e.column+t.length);return this.applyDelta({start:i,end:n,action:"insert",lines:[t]},!0),this.clonePos(n)},this.clippedPos=function(e,t){var i=this.getLength();void 0===e?e=i:e<0?e=0:e>=i&&(e=i-1,t=void 0);var n=this.getLine(e);return null==t&&(t=n.length),{row:e,column:t=Math.min(Math.max(t,0),n.length)}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){var i=0;(e=Math.min(Math.max(e,0),this.getLength()))0,n=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){return e instanceof r||(e=r.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},this.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var i="insert"==e.action;(i?e.lines.length<=1&&!e.lines[0]:!r.comparePoints(e.start,e.end))||(i&&e.lines.length>2e4&&this.$splitAndapplyLargeDelta(e,2e4),s(this.$lines,e,t),this._signal("change",e))},this.$splitAndapplyLargeDelta=function(e,t){for(var i=e.lines,n=i.length,s=e.start.row,o=e.start.column,r=0,a=0;;){var l=i.slice(r=a,a+=t-1);if(a>n){e.lines=l,e.start.row=s+r,e.start.column=o;break}l.push(""),this.applyDelta({start:this.pos(s+r,o),end:this.pos(s+a,o=0),action:e.action,lines:l},!0)}},this.revertDelta=function(e){this.applyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:"insert"==e.action?"remove":"insert",lines:e.lines.slice()})},this.indexToPosition=function(e,t){for(var i=this.$lines||this.getAllLines(),n=this.getNewLineCharacter().length,s=t||0,o=i.length;s20){i.running=setTimeout(i.$worker,20);break}}i.currentLine=t,-1==n&&(n=t),o<=n&&i.fireUpdateEvent(o,n)}}};(function(){n.implement(this,s),this.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(e,t){this._signal("update",{data:{first:e,last:t}})},this.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(e){var t=e.start.row,i=e.end.row-t;if(0===i)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,i+1,null),this.states.splice(t,i+1,null);else{var n=Array(i+1);n.unshift(t,1),this.lines.splice.apply(this.lines,n),this.states.splice.apply(this.states,n)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},this.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},this.$tokenizeRow=function(e){var t=this.doc.getLine(e),i=this.tokenizer.getLineTokens(t,this.states[e-1],e);return this.states[e]+""!=i.state+""?(this.states[e]=i.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=i.tokens}}).call(o.prototype),t.BackgroundTokenizer=o})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,i){"use strict";var n=e("./lib/lang"),s=(e("./lib/oop"),e("./range").Range),o=function(e,t,i){this.setRegexp(e),this.clazz=t,this.type=i||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},this.update=function(e,t,i,o){if(this.regExp)for(var r=o.lastRow,a=o.firstRow;a<=r;a++){var l=this.cache[a];null==l&&((l=n.getMatchOffsets(i.getLine(a),this.regExp)).length>this.MAX_RANGES&&(l=l.slice(0,this.MAX_RANGES)),l=l.map((function(e){return new s(a,e.offset,a,e.offset+e.length)})),this.cache[a]=l.length?l:"");for(var h=l.length;h--;)t.drawSingleLineMarker(e,l[h].toScreenRange(i),this.clazz,o)}}}).call(o.prototype),t.SearchHighlight=o})),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],(function(e,t,i){"use strict";var n=e("../range").Range;function s(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var i=t[t.length-1];this.range=new n(t[0].start.row,t[0].start.column,i.end.row,i.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach((function(e){e.setFoldLine(this)}),this)}(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach((function(t){t.start.row+=e,t.end.row+=e}))},this.addFold=function(e){if(e.sameRow){if(e.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort((function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)})),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,i){var n,s,o=0,r=this.folds,a=!0;null==t&&(t=this.end.row,i=this.end.column);for(var l=0;l0)){var l=n(e,r.start);return 0===a?t&&0!==l?-o-2:o:l>0||0===l&&!t?o:-o-1}}return-o-1},this.add=function(e){var t=!e.isEmpty(),i=this.pointIndex(e.start,t);i<0&&(i=-i-1);var n=this.pointIndex(e.end,t,i);return n<0?n=-n-1:n++,this.ranges.splice(i,n-i,e)},this.addList=function(e){for(var t=[],i=e.length;i--;)t.push.apply(t,this.add(e[i]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},this.merge=function(){for(var e,t=[],i=this.ranges,s=(i=i.sort((function(e,t){return n(e.start,t.start)})))[0],o=1;o=0},this.containsPoint=function(e){return this.pointIndex(e)>=0},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},this.clipRows=function(e,t){var i=this.ranges;if(i[0].start.row>t||i[i.length-1].start.rown)break;if(h.start.row==n&&h.start.column>=t.column&&(h.start.column==t.column&&this.$insertRight||(h.start.column+=o,h.start.row+=s)),h.end.row==n&&h.end.column>=t.column){if(h.end.column==t.column&&this.$insertRight)continue;h.end.column==t.column&&o>0&&ah.start.column&&h.end.column==r[a+1].start.column&&(h.end.column-=o),h.end.column+=o,h.end.row+=s}}if(0!=s&&a=e)return s;if(s.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var i=this.$foldData,n=0;for(t&&(n=i.indexOf(t)),-1==n&&(n=0);n=e)return s}return null},this.getFoldedRowCount=function(e,t){for(var i=this.$foldData,n=t-e+1,s=0;s=t){a=e?n-=t-a:n=0);break}r>=e&&(n-=a>=e?r-a:r-e+1)}return n},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort((function(e,t){return e.start.row-t.start.row})),e},this.addFold=function(e,t){var i,n=this.$foldData,r=!1;e instanceof o?i=e:(i=new o(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(i.range);var a=i.start.row,l=i.start.column,h=i.end.row,c=i.end.column;if(!(a0&&(this.removeFolds(g),g.forEach((function(e){i.addSubFold(e)})));for(var f=0;f0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach((function(e){this.expandFold(e)}),this)},this.unfold=function(e,t){var i,s;if(null==e?(i=new n(0,0,this.getLength(),0),t=!0):i="number"==typeof e?new n(e,0,e,this.getLine(e).length):"row"in e?n.fromPoints(e,e):e,s=this.getFoldsInRangeList(i),t)this.removeFolds(s);else for(var o=s;o.length;)this.expandFolds(o),o=this.getFoldsInRangeList(i);if(s.length)return s},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var i=this.getFoldLine(e,t);return i?i.end.row:e},this.getRowFoldStart=function(e,t){var i=this.getFoldLine(e,t);return i?i.start.row:e},this.getFoldDisplayLine=function(e,t,i,n,s){null==n&&(n=e.start.row),null==s&&(s=0),null==t&&(t=e.end.row),null==i&&(i=this.getLine(t).length);var o=this.doc,r="";return e.walk((function(e,t,i,a){if(!(tc)break}while(o&&l.test(o.type));o=s.stepBackward()}else o=s.getCurrentToken();return h.end.row=s.getCurrentTokenRow(),h.end.column=s.getCurrentTokenColumn()+o.value.length-2,h}},this.foldAll=function(e,t,i){null==i&&(i=1e5);var n=this.foldWidgets;if(n){t=t||this.getLength();for(var s=e=e||0;s=e){s=o.end.row;try{var r=this.addFold("...",o);r&&(r.collapseChildren=i)}catch(a){}}}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle="markbegin",this.setFoldStyle=function(e){if(!this.$foldStyles[e])throw new Error("invalid fold style: "+e+"["+Object.keys(this.$foldStyles).join(", ")+"]");if(this.$foldStyle!=e){this.$foldStyle=e,"manual"==e&&this.unfold();var t=this.$foldMode;this.$setFolding(null),this.$setFolding(t)}},this.$setFolding=function(e){this.$foldMode!=e&&(this.$foldMode=e,this.off("change",this.$updateFoldWidgets),this.off("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets),this._signal("changeAnnotation"),e&&"manual"!=this.$foldStyle?(this.foldWidgets=[],this.getFoldWidget=e.getFoldWidget.bind(e,this,this.$foldStyle),this.getFoldWidgetRange=e.getFoldWidgetRange.bind(e,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on("change",this.$updateFoldWidgets),this.on("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets)):this.foldWidgets=null)},this.getParentFoldRangeData=function(e,t){var i=this.foldWidgets;if(!i||t&&i[e])return{};for(var n,s=e-1;s>=0;){var o=i[s];if(null==o&&(o=i[s]=this.getFoldWidget(s)),"start"==o){var r=this.getFoldWidgetRange(s);if(n||(n=r),r&&r.end.row>=e)break}s--}return{range:-1!==s&&r,firstRange:n}},this.onFoldWidgetClick=function(e,t){if(!this.$toggleFoldWidget(e,{children:(t=t.domEvent).shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey})){var i=t.target||t.srcElement;i&&/ace_fold-widget/.test(i.className)&&(i.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var i=this.getFoldWidget(e),n=this.getLine(e),s="end"===i?-1:1,o=this.getFoldAt(e,-1===s?0:n.length,s);if(o)return t.children||t.all?this.removeFold(o):this.expandFold(o),o;var r=this.getFoldWidgetRange(e,!0);if(r&&!r.isMultiLine()&&(o=this.getFoldAt(r.start.row,r.start.column,1))&&r.isEqual(o.range))return this.removeFold(o),o;if(t.siblings){var a=this.getParentFoldRangeData(e);if(a.range)var l=a.range.start.row+1,h=a.range.end.row;this.foldAll(l,h,t.all?1e4:0)}else t.children?(h=r?r.end.row:this.getLength(),this.foldAll(e+1,h,t.all?1e4:0)):r&&(t.all&&(r.collapseChildren=1e4),this.addFold("...",r));return r}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var i=this.$toggleFoldWidget(t,{});if(!i){var n=this.getParentFoldRangeData(t,!0);if(i=n.range||n.firstRange){var s=this.getFoldAt(t=i.start.row,this.getLine(t).length,1);s?this.removeFold(s):this.addFold("...",i)}}},this.updateFoldWidgets=function(e){var t=e.start.row,i=e.end.row-t;if(0===i)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,i+1,null);else{var n=Array(i+1);n.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,n)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(e,t,i){"use strict";var n=e("../token_iterator").TokenIterator,s=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var i=t||this.getLine(e.row).charAt(e.column-1);if(""==i)return null;var n=i.match(/([\(\[\{])|([\)\]\}])/);return n?n[1]?this.$findClosingBracket(n[1],e):this.$findOpeningBracket(n[2],e):null},this.getBracketRange=function(e){var t,i=this.getLine(e.row),n=!0,o=i.charAt(e.column-1),r=o&&o.match(/([\(\[\{])|([\)\]\}])/);if(r||(o=i.charAt(e.column),e={row:e.row,column:e.column+1},r=o&&o.match(/([\(\[\{])|([\)\]\}])/),n=!1),!r)return null;if(r[1]){if(!(a=this.$findClosingBracket(r[1],e)))return null;t=s.fromPoints(e,a),n||(t.end.column++,t.start.column--),t.cursor=t.end}else{var a;if(!(a=this.$findOpeningBracket(r[2],e)))return null;t=s.fromPoints(a,e),n||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{"},this.$findOpeningBracket=function(e,t,i){var s=this.$brackets[e],o=1,r=new n(this,t.row,t.column),a=r.getCurrentToken();if(a||(a=r.stepForward()),a){i||(i=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-r.getCurrentTokenColumn()-2,h=a.value;;){for(;l>=0;){var c=h.charAt(l);if(c==s){if(0==(o-=1))return{row:r.getCurrentTokenRow(),column:l+r.getCurrentTokenColumn()}}else c==e&&(o+=1);l-=1}do{a=r.stepBackward()}while(a&&!i.test(a.type));if(null==a)break;l=(h=a.value).length-1}return null}},this.$findClosingBracket=function(e,t,i){var s=this.$brackets[e],o=1,r=new n(this,t.row,t.column),a=r.getCurrentToken();if(a||(a=r.stepForward()),a){i||(i=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-r.getCurrentTokenColumn();;){for(var h=a.value,c=h.length;li&&(this.$docRowCache.splice(i,t),this.$screenRowCache.splice(i,t))},this.$getRowCacheIndex=function(e,t){for(var i=0,n=e.length-1;i<=n;){var s=i+n>>1,o=e[s];if(t>o)i=s+1;else{if(!(t=t);o++);return(i=n[o])?(i.index=o,i.start=s-i.value.length,i):null},this.setUndoManager=function(e){if(this.$undoManager=e,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.$deltasFold.length&&(t.$deltas.push({group:"fold",deltas:t.$deltasFold}),t.$deltasFold=[]),t.$deltasDoc.length&&(t.$deltas.push({group:"doc",deltas:t.$deltasDoc}),t.$deltasDoc=[]),t.$deltas.length>0&&e.execute({action:"aceupdate",args:[t.$deltas,t],merge:t.mergeUndoDeltas}),t.mergeUndoDeltas=!1,t.$deltas=[]},this.$informUndoManager=s.delayedCall(this.$syncInformUndoManager)}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},reset:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?s.stringRepeat(" ",this.getTabSize()):"\t"},this.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(e){this.setOption("tabSize",e)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize==0},this.setNavigateWithinSoftTabs=function(e){this.setOption("navigateWithinSoftTabs",e)},this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},this.$overwrite=!1,this.setOverwrite=function(e){this.setOption("overwrite",e)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t0&&(n=!!i.charAt(t-1).match(this.tokenRe)),n||(n=!!i.charAt(t).match(this.tokenRe)),n)var s=this.tokenRe;else s=/^\s+$/.test(i.slice(t-1,t+1))?/\s/:this.nonTokenRe;var o=t;if(o>0){do{o--}while(o>=0&&i.charAt(o).match(s));o++}for(var r=t;re&&(e=t.screenWidth)})),this.lineWidgetWidth=e},this.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),i=this.$rowLengthCache,n=0,s=0,o=this.$foldData[s],r=o?o.start.row:1/0,a=t.length,l=0;lr){if((l=o.end.row+1)>=a)break;r=(o=this.$foldData[s++])?o.start.row:1/0}null==i[l]&&(i[l]=this.$getStringScreenWidth(t[l])[0]),i[l]>n&&(n=i[l])}this.screenWidth=n}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},this.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var i=null,n=e.length-1;-1!=n;n--){var s=e[n];"doc"==s.group?(this.doc.revertDeltas(s.deltas),i=this.$getUndoSelection(s.deltas,!0,i)):s.deltas.forEach((function(e){this.addFolds(e.folds)}),this)}return this.$fromUndo=!1,i&&this.$undoSelect&&!t&&this.selection.setSelectionRange(i),i}},this.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var i=null,n=0;ne.end.column&&(o.start.column+=h),o.end.row==e.end.row&&o.end.column>e.end.column&&(o.end.column+=h)),l&&o.start.row>=e.end.row&&(o.start.row+=l,o.end.row+=l)),o.end=this.insert(o.start,n),s.length){var r=e.start,a=o.start,l=a.row-r.row,h=a.column-r.column;this.addFolds(s.map((function(e){return(e=e.clone()).start.row==r.row&&(e.start.column+=h),e.end.row==r.row&&(e.end.column+=h),e.start.row+=l,e.end.row+=l,e})))}return o},this.indentRows=function(e,t,i){i=i.replace(/\t/g,this.getTabString());for(var n=e;n<=t;n++)this.doc.insertInLine({row:n,column:0},i)},this.outdentRows=function(e){for(var t=e.collapseRows(),i=new c(0,0,0,0),n=this.getTabSize(),s=t.start.row;s<=t.end.row;++s){var o=this.getLine(s);i.start.row=s,i.end.row=s;for(var r=0;r0){var s;if((s=this.getRowFoldEnd(t+i))>this.doc.getLength()-1)return 0;n=s-t}else e=this.$clipRowToDocument(e),n=(t=this.$clipRowToDocument(t))-e+1;var o=new c(e,0,t,Number.MAX_VALUE),r=this.getFoldsInRange(o).map((function(e){return(e=e.clone()).start.row+=n,e.end.row+=n,e})),a=0==i?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+n,a),r.length&&this.addFolds(r),n},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var i=this.doc.getLength();e>=i?(e=i-1,t=this.doc.getLine(i-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(e,t){var i=this.$wrapLimitRange;i.max<0&&(i={min:t,max:t});var n=this.$constrainWrapLimit(e,i.min,i.max);return n!=this.$wrapLimit&&n>1&&(this.$wrapLimit=n,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},this.$constrainWrapLimit=function(e,t,i){return t&&(e=Math.max(t,e)),i&&(e=Math.min(i,e)),e},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,i=e.action,n=e.start,s=e.end,o=n.row,r=s.row,a=r-o,l=null;if(this.$updating=!0,0!=a)if("remove"===i){this[t?"$wrapData":"$rowLengthCache"].splice(o,a);var h=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var c=0;if(m=this.getFoldLine(s.row)){m.addRemoveChars(s.row,s.column,n.column-s.column),m.shiftRow(-a);var u=this.getFoldLine(o);u&&u!==m&&(u.merge(m),m=u),c=h.indexOf(m)+1}for(;c=s.row&&m.shiftRow(-a);r=o}else{var d=Array(a);d.unshift(o,0);var g=t?this.$wrapData:this.$rowLengthCache;if(g.splice.apply(g,d),h=this.$foldData,c=0,m=this.getFoldLine(o)){var f=m.range.compareInside(n.row,n.column);0==f?(m=m.split(n.row,n.column))&&(m.shiftRow(a),m.addRemoveChars(r,0,s.column-n.column)):-1==f&&(m.addRemoveChars(o,0,s.column-n.column),m.shiftRow(a)),c=h.indexOf(m)+1}for(;c=o&&m.shiftRow(a)}}else a=Math.abs(e.start.column-e.end.column),"remove"===i&&(l=this.getFoldsInRange(e),this.removeFolds(l),a=-a),(m=this.getFoldLine(o))&&m.addRemoveChars(o,n.column,a);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(o,r):this.$updateRowLengthCache(o,r),l},this.$updateRowLengthCache=function(e,t,i){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(i,n){var s,o,r=this.doc.getAllLines(),a=this.getTabSize(),l=this.$wrapData,h=this.$wrapLimit,c=i;for(n=Math.min(n,r.length-1);c<=n;)(o=this.getFoldLine(c,o))?(s=[],o.walk((function(i,n,o,a){var l;if(null!=i){(l=this.$getDisplayTokens(i,s.length))[0]=e;for(var h=1;h=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}this.$computeWrapSplits=function(i,n,s){if(0==i.length)return[];var o=[],r=i.length,a=0,l=0,h=this.$wrapAsCode,c=this.$indentedSoftWrap,u=n<=Math.max(2*s,8)||!1===c?0:Math.floor(n/2);function d(e){var t=i.slice(a,e),n=t.length;t.join("").replace(/12/g,(function(){n-=1})).replace(/2/g,(function(){n-=1})),o.length||(g=function(){var e=0;if(0===u)return e;if(c)for(var t=0;tn-g;){var f=a+n-g;if(i[f-1]>=10&&i[f]>=10)d(f);else if(i[f]!=e&&i[f]!=t){for(var m=Math.max(f-(n-(n>>2)),a-1);f>m&&i[f]m&&i[f]m&&9==i[f];)f--}else for(;f>m&&i[f]<10;)f--;f>m?d(++f):(2==i[f=a+n]&&f--,d(f-g))}else{for(;f!=a-1&&i[f]!=e;f--);if(f>a){d(f);continue}for(f=a+n;f39&&r<48||r>57&&r<64?s.push(9):r>=4352&&i(r)?s.push(1,2):s.push(1)}return s},this.$getStringScreenWidth=function(e,t,n){if(0==t)return[0,0];var s,o;for(null==t&&(t=1/0),n=n||0,o=0;o=4352&&i(s)?n+=2:n+=1,!(n>t));o++);return[n,o]},this.lineWidgets=null,this.getRowLength=function(e){if(this.lineWidgets)var t=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0;else t=0;return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},this.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),i=this.$wrapData[t.row];return i.length&&i[0]=0){a=h[c],o=this.$docRowCache[c];var d=e>h[u-1]}else d=!u;for(var g=this.getLength()-1,f=this.getNextFoldLine(o),m=f?f.start.row:1/0;a<=e&&!(a+(l=this.getRowLength(o))>e||o>=g);)a+=l,++o>m&&(m=(f=this.getNextFoldLine(o=f.end.row+1,f))?f.start.row:1/0),d&&(this.$docRowCache.push(o),this.$screenRowCache.push(a));if(f&&f.start.row<=o)n=this.getFoldDisplayLine(f),o=f.start.row;else{if(a+l<=e||o>g)return{row:g,column:this.getLine(g).length};n=this.getLine(o),f=null}var p=0,A=Math.floor(e-a);if(this.$useWrapMode){var C=this.$wrapData[o];C&&(s=C[A],A>0&&C.length&&(p=C.indent,n=n.substring(r=C[A-1]||C[C.length-1])))}return void 0!==i&&this.$bidiHandler.isBidiRow(a+A,o,A)&&(t=this.$bidiHandler.offsetToCol(i)),r+=this.$getStringScreenWidth(n,t-p)[1],this.$useWrapMode&&r>=s&&(r=s-1),f?f.idxToPosition(r):{row:o,column:r}},this.documentToScreenPosition=function(e,t){if(void 0===t)var i=this.$clipPositionToDocument(e.row,e.column);else i=this.$clipPositionToDocument(e,t);var n,s=0,o=null;(n=this.getFoldAt(e=i.row,t=i.column,1))&&(e=n.start.row,t=n.start.column);var r,a=0,l=this.$docRowCache,h=this.$getRowCacheIndex(l,e),c=l.length;if(c&&h>=0){a=l[h],s=this.$screenRowCache[h];var u=e>l[c-1]}else u=!c;for(var d=this.getNextFoldLine(a),g=d?d.start.row:1/0;a=g){if((r=d.end.row+1)>e)break;g=(d=this.getNextFoldLine(r,d))?d.start.row:1/0}else r=a+1;s+=this.getRowLength(a),a=r,u&&(this.$docRowCache.push(a),this.$screenRowCache.push(s))}var f="";d&&a>=g?(f=this.getFoldDisplayLine(d,e,t),o=d.start.row):(f=this.getLine(e).substring(0,t),o=e);var m=0;if(this.$useWrapMode){var p=this.$wrapData[o];if(p){for(var A=0;f.length>=p[A];)s++,A++;f=f.substring(p[A-1]||0,f.length),m=A>0?p.indent:0}}return{row:s,column:m+this.$getStringScreenWidth(f)[0]}},this.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},this.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},this.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var i=this.$wrapData.length,n=0,s=(a=0,(t=this.$foldData[a++])?t.start.row:1/0);ns&&(n=t.end.row+1,s=(t=this.$foldData[a++])?t.start.row:1/0)}else{e=this.getLength();for(var r=this.$foldData,a=0;ai);o++);return[n,o]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()},this.isFullWidth=i}).call(f.prototype),e("./edit_session/folding").Folding.call(f.prototype),e("./edit_session/bracket_match").BracketMatch.call(f.prototype),r.defineOptions(f.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$modified=!0,this.$resetRowCache(0),this.$updateWrapData(0,this.getLength()-1)))},initialValue:"auto"},indentedSoftWrap:{initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){isNaN(e)||this.$tabSize===e||(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId}}}),t.EditSession=f})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,i){"use strict";var n=e("./lib/lang"),s=e("./lib/oop"),o=e("./range").Range,r=function(){this.$options={}};(function(){this.set=function(e){return s.mixin(this.$options,e),this},this.getOptions=function(){return n.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$options,i=this.$matchIterator(e,t);if(!i)return!1;var n=null;return i.forEach((function(e,i,s,r){return n=new o(e,i,s,r),!(i==r&&t.start&&t.start.start&&0!=t.skipCurrent&&n.isEqual(t.start)&&(n=null,1))})),n},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var i=t.range,s=i?e.getLines(i.start.row,i.end.row):e.doc.getAllLines(),r=[],a=t.re;if(t.$isMultiLine){var l,h=a.length,c=s.length-h;e:for(var u=a.offset||0;u<=c;u++){for(var d=0;dm||(r.push(l=new o(u,m,u+h-1,p)),h>2&&(u=u+h-2))}}else for(var A=0;Av&&r[d].end.row==i.end.row;)d--;for(r=r.slice(A,d+1),A=0,d=r.length;A=a;i--)if(u(i,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(i=l,a=r.row;i>=a;i--)if(u(i,Number.MAX_VALUE,e))return}};else h=function(e){var i=r.row;if(!u(i,r.column,e)){for(i+=1;i<=l;i++)if(u(i,0,e))return;if(0!=t.wrap)for(i=a,l=r.row;i<=l;i++)if(u(i,0,e))return}};if(t.$isMultiLine)var c=i.length,u=function(t,s,o){var r=n?t-c+1:t;if(!(r<0)){var a=e.getLine(r),l=a.search(i[0]);if(!(!n&&ls))return!!o(r,l,r+c-1,u)||void 0}}};else u=n?function(t,n,s){var o,r=e.getLine(t),a=[],l=0;for(i.lastIndex=0;o=i.exec(r);){if(l=o.index,!(c=o[0].length)){if(l>=r.length)break;i.lastIndex=l+=1}if(o.index+c>n)break;a.push(o.index,c)}for(var h=a.length-1;h>=0;h-=2){var c,u=a[h-1];if(s(t,u,t,u+(c=a[h])))return!0}}:function(t,n,s){var o,r=e.getLine(t),a=n;for(i.lastIndex=n;o=i.exec(r);){var l=o[0].length;if(s(t,a=o.index,t,a+l))return!0;if(!l&&(i.lastIndex=a+=1,a>=r.length))return!1}};return{forEach:h}}}).call(r.prototype),t.Search=r})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,i){"use strict";var n=e("../lib/keys"),s=e("../lib/useragent"),o=n.KEY_MODS;function r(e,t){this.platform=t||(s.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function a(e,t){r.call(this,e,t),this.$singleCommand=!1}a.prototype=r.prototype,(function(){function e(e){return"object"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,t){var i=e&&("string"==typeof e?e:e.name);e=this.commands[i],t||delete this.commands[i];var n=this.commandKeyBinding;for(var s in n){var o=n[s];if(o==e)delete n[s];else if(Array.isArray(o)){var r=o.indexOf(e);-1!=r&&(o.splice(r,1),1==o.length&&(n[s]=o[0]))}}},this.bindKey=function(e,t,i){if("object"==typeof e&&e&&(null==i&&(i=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach((function(e){var n="";if(-1!=e.indexOf(" ")){var s=e.split(/\s+/);e=s.pop(),s.forEach((function(e){var t=this.parseKeys(e);this._addCommandToBinding(n+=(n?" ":"")+(o[t.hashId]+t.key),"chainKeys")}),this),n+=" "}var r=this.parseKeys(e);this._addCommandToBinding(n+(o[r.hashId]+r.key),t,i)}),this)},this._addCommandToBinding=function(t,i,n){var s,o=this.commandKeyBinding;if(i)if(!o[t]||this.$singleCommand)o[t]=i;else{Array.isArray(o[t])?-1!=(s=o[t].indexOf(i))&&o[t].splice(s,1):o[t]=[o[t]],"number"!=typeof n&&(n=e(i));var r=o[t];for(s=0;sn);s++);r.splice(s,0,i)}else delete o[t]},this.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var i=e[t];if(i){if("string"==typeof i)return this.bindKey(i,t);"function"==typeof i&&(i={exec:i}),"object"==typeof i&&(i.name||(i.name=t),this.addCommand(i))}}),this)},this.removeCommands=function(e){Object.keys(e).forEach((function(t){this.removeCommand(e[t])}),this)},this.bindKeys=function(e){Object.keys(e).forEach((function(t){this.bindKey(t,e[t])}),this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(e){return e})),i=t.pop(),s=n[i];if(n.FUNCTION_KEYS[s])i=n.FUNCTION_KEYS[s].toLowerCase();else{if(!t.length)return{key:i,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:i.toUpperCase(),hashId:-1}}for(var o=0,r=t.length;r--;){var a=n.KEY_MODS[t[r]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+t[r]+" in "+e),!1;o|=a}return{key:i,hashId:o}},this.findKeyCommand=function(e,t){return this.commandKeyBinding[o[e]+t]},this.handleKeyboard=function(e,t,i,n){if(!(n<0)){var s=o[t]+i,r=this.commandKeyBinding[s];return e.$keyChain&&(e.$keyChain+=" "+s,r=this.commandKeyBinding[e.$keyChain]||r),!r||"chainKeys"!=r&&"chainKeys"!=r[r.length-1]?(e.$keyChain&&(t&&4!=t||1!=i.length?(-1==t||n>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-s.length-1)),{command:r}):(e.$keyChain=e.$keyChain||s,{command:"null"})}},this.getStatusText=function(e,t){return t.$keyChain||""}}).call(r.prototype),t.HashHandler=r,t.MultiHashHandler=a})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(e,t,i){"use strict";var n=e("../lib/oop"),s=e("../keyboard/hash_handler").MultiHashHandler,o=e("../lib/event_emitter").EventEmitter,r=function(e,t){s.call(this,t,e),this.byName=this.commands,this.setDefaultHandler("exec",(function(e){return e.command.exec(e.editor,e.args||{})}))};n.inherits(r,s),(function(){n.implement(this,o),this.exec=function(e,t,i){if(Array.isArray(e)){for(var n=e.length;n--;)if(this.exec(e[n],t,i))return!0;return!1}if("string"==typeof e&&(e=this.commands[e]),!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;if(e.isAvailable&&!e.isAvailable(t))return!1;var s={editor:t,command:e,args:i};return s.returnValue=this._emit("exec",s),this._signal("afterExec",s),!1!==s.returnValue},this.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.removeEventListener("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=(function(e){this.macro.push([e.command,e.args])}).bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach((function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])}),this)}finally{this.$inReplay=!1}}},this.trimMacro=function(e){return e.map((function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e}))}}).call(r.prototype),t.CommandManager=r})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(e,t,i){"use strict";var n=e("../lib/lang"),s=e("../config"),o=e("../range").Range;function r(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",bindKey:r("Ctrl-,","Command-,"),exec:function(e){s.loadModule("ace/ext/settings_menu",(function(t){t.init(e),e.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",bindKey:r("Alt-E","F4"),exec:function(e){s.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",bindKey:r("Alt-Shift-E","Shift-F4"),exec:function(e){s.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",bindKey:r("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",bindKey:r(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",bindKey:r("Ctrl-L","Command-L"),exec:function(e){var t=parseInt(prompt("Enter line number:"),10);isNaN(t)||e.gotoLine(t)},readOnly:!0},{name:"fold",bindKey:r("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:r("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",bindKey:r("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",bindKey:r("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",bindKey:r(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",bindKey:r("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",bindKey:r("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",bindKey:r("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",bindKey:r("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",bindKey:r("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",bindKey:r("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",bindKey:r("Ctrl-F","Command-F"),exec:function(e){s.loadModule("ace/ext/searchbox",(function(t){t.Search(e)}))},readOnly:!0},{name:"overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",bindKey:r("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",bindKey:r("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",bindKey:r("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",bindKey:r("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",bindKey:r("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",bindKey:r("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",bindKey:r("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",bindKey:r("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",bindKey:r("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",bindKey:r("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",bindKey:r("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",bindKey:r("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",bindKey:r("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",bindKey:r("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",bindKey:r("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",bindKey:r("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",bindKey:r("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",bindKey:r("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",bindKey:r("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",bindKey:r("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",bindKey:r(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",bindKey:r("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",bindKey:r(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",bindKey:r("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",bindKey:r("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",bindKey:r("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",bindKey:r("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",bindKey:r("Ctrl-P","Ctrl-P"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",bindKey:r("Ctrl-Shift-P","Ctrl-Shift-P"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",bindKey:r("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",bindKey:r(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",exec:function(e){},readOnly:!0},{name:"cut",exec:function(e){var t=e.getSelectionRange();e._emit("cut",t),e.selection.isEmpty()||(e.session.remove(t),e.clearSelection())},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",bindKey:r("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",bindKey:r("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",bindKey:r("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",bindKey:r("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",bindKey:r("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",bindKey:r("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",bindKey:r("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",bindKey:r("Ctrl-H","Command-Option-F"),exec:function(e){s.loadModule("ace/ext/searchbox",(function(t){t.Search(e,!0)}))}},{name:"undo",bindKey:r("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",bindKey:r("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",bindKey:r("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",bindKey:r("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",bindKey:r("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",bindKey:r("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",bindKey:r("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",bindKey:r("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",bindKey:r("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",bindKey:r("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",bindKey:r("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",bindKey:r("Ctrl-Shift-Backspace",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",bindKey:r("Ctrl-Shift-Delete",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",bindKey:r("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",bindKey:r("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",bindKey:r("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",bindKey:r("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",bindKey:r("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",bindKey:r("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",exec:function(e,t){e.insert(n.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",bindKey:r(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",bindKey:r("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",bindKey:r("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",bindKey:r("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"expandtoline",bindKey:r("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",bindKey:r(null,null),exec:function(e){for(var t=e.selection.isBackwards(),i=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),s=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),r=e.session.doc.getLine(i.row).length,a=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,l=e.session.doc.getLine(i.row),h=i.row+1;h<=s.row+1;h++){var c=n.stringTrimLeft(n.stringTrimRight(e.session.doc.getLine(h)));0!==c.length&&(c=" "+c),l+=c}s.row+10?(e.selection.moveCursorTo(i.row,i.column),e.selection.selectTo(i.row,i.column+a)):(r=e.session.doc.getLine(i.row).length>r?r+1:r,e.selection.moveCursorTo(i.row,r))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",bindKey:r(null,null),exec:function(e){var t=e.session.doc.getLength()-1,i=e.session.doc.getLine(t).length,n=e.selection.rangeList.ranges,s=[];n.length<1&&(n=[e.selection.getRange()]);for(var r=0;r0&&this.$blockScrolling--;var i=t&&t.scrollIntoView;if(i){switch(i){case"center-animate":i="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var n=this.selection.getRange(),s=this.renderer.layerConfig;(n.start.row>=s.lastRow||n.end.row<=s.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==i&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,i=this.$mergeableCommands,n=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var s=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),n=n&&this.mergeNextCommand&&(!/\s/.test(s)||/\s/.test(t.args)),this.mergeNextCommand=!0}else n=n&&-1!==i.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(n=!1),n?this.session.mergeUndoDeltas=!0:-1!==i.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(e,t){if(e&&"string"==typeof e){this.$keybindingId=e;var i=this;A.loadModule(["keybinding",e],(function(n){i.$keybindingId==e&&i.keyBinding.setKeyboardHandler(n&&n.handler),t&&t()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var i=this.session.getSelection();i.off("changeCursor",this.$onCursorChange),i.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.$blockScrolling+=1,this.onCursorChange(),this.$blockScrolling-=1,this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),e&&e._signal("changeEditor",{editor:this}),e&&e.bgTokenizer&&e.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(e){this.renderer.onResize(e)},this.setTheme=function(e,t){this.renderer.setTheme(e,t)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(e){this.renderer.setStyle(e)},this.unsetStyle=function(e){this.renderer.unsetStyle(e)},this.getFontSize=function(){return this.getOption("fontSize")||s.computedStyle(this.container,"fontSize")},this.setFontSize=function(e){this.setOption("fontSize",e)},this.$highlightBrackets=function(){if(this.session.$bracketHighlight&&(this.session.removeMarker(this.session.$bracketHighlight),this.session.$bracketHighlight=null),!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout((function(){e.$highlightPending=!1;var t=e.session;if(t&&t.bgTokenizer){var i=t.findMatchingBracket(e.getCursorPosition());if(i)var n=new g(i.row,i.column,i.row,i.column+1);else t.$mode.getMatching&&(n=t.$mode.getMatching(e.session));n&&(t.$bracketHighlight=t.addMarker(n,"ace_bracket","text"))}}),50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var e=this;this.$highlightTagPending=!0,setTimeout((function(){e.$highlightTagPending=!1;var t=e.session;if(t&&t.bgTokenizer){var i=e.getCursorPosition(),n=new C(e.session,i.row,i.column),s=n.getCurrentToken();if(!s||!/\b(?:tag-open|tag-name)/.test(s.type))return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);if(-1==s.type.indexOf("tag-open")||(s=n.stepForward())){var o=s.value,r=0,a=n.stepBackward();if("<"==a.value)do{a=s,(s=n.stepForward())&&s.value===o&&-1!==s.type.indexOf("tag-name")&&("<"===a.value?r++:"=0);else{do{s=a,a=n.stepBackward(),s&&s.value===o&&-1!==s.type.indexOf("tag-name")&&("<"===a.value?r++:"1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var i=new g(e.row,e.column,e.row,1/0);i.id=t.addMarker(i,"ace_active-line","screenLine"),t.$highlightLineMarker=i}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},this.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var i=this.selection.getRange(),n=this.getSelectionStyle();t.$selectionMarker=t.addMarker(i,"ace_selection",n)}var s=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(s),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var i=t.start.column-1,n=t.end.column+1,s=e.getLine(t.start.row),o=s.length,r=s.substring(Math.max(i,0),Math.min(n,o));if(!(i>=0&&/^[\w\d]/.test(r)||n<=o&&/[\w\d]$/.test(r))&&(r=s.substring(t.start.column,t.end.column),/^[\w\d]+$/.test(r)))return this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:r})}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var e=this.getSelectedText();return this._signal("copy",e),e},this.onCopy=function(){this.commands.exec("copy",this)},this.onCut=function(){this.commands.exec("cut",this)},this.onPaste=function(e,t){this.commands.exec("paste",this,{text:e,event:t})},this.$handlePaste=function(e){"string"==typeof e&&(e={text:e}),this._signal("paste",e);var t=e.text;if(!this.inMultiSelectMode||this.inVirtualSelectionMode)this.insert(t);else{var i=t.split(/\r\n|\r|\n/),n=this.selection.rangeList.ranges;if(i.length>n.length||i.length<2||!i[1])return this.commands.exec("insertstring",this,t);for(var s=n.length;s--;){var o=n[s];o.isEmpty()||this.session.remove(o),this.session.insert(o.start,i[s])}}},this.execCommand=function(e,t){return this.commands.exec(e,this,t)},this.insert=function(e,t){var i=this.session,n=i.getMode(),s=this.getCursorPosition();if(this.getBehavioursEnabled()&&!t){var o=n.transformAction(i.getState(s.row),"insertion",this,i,e);o&&(e!==o.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),e=o.text)}if("\t"==e&&(e=this.session.getTabString()),this.selection.isEmpty())this.session.getOverwrite()&&-1==e.indexOf("\n")&&((r=new g.fromPoints(s,s)).end.column+=e.length,this.session.remove(r));else{var r=this.getSelectionRange();s=this.session.remove(r),this.clearSelection()}if("\n"==e||"\r\n"==e){var a=i.getLine(s.row);if(s.column>a.search(/\S|$/)){var l=a.substr(s.column).search(/\S|$/);i.doc.removeInLine(s.row,s.column,s.column+l)}}this.clearSelection();var h=s.column,c=i.getState(s.row),u=(a=i.getLine(s.row),n.checkOutdent(c,a,e));if(i.insert(s,e),o&&o.selection&&this.selection.setSelectionRange(2==o.selection.length?new g(s.row,h+o.selection[0],s.row,h+o.selection[1]):new g(s.row+o.selection[0],o.selection[1],s.row+o.selection[2],o.selection[3])),i.getDocument().isNewLine(e)){var d=n.getNextLineIndent(c,a.slice(0,s.column),i.getTabString());i.insert({row:s.row+1,column:0},d)}u&&n.autoOutdent(c,i,s.row)},this.onTextInput=function(e){this.keyBinding.onTextInput(e)},this.onCommandKey=function(e,t,i){this.keyBinding.onCommandKey(e,t,i)},this.setOverwrite=function(e){this.session.setOverwrite(e)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(e){this.setOption("dragDelay",e)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(e){this.setOption("readOnly",e)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var i=this.session,n=i.getState(t.start.row),s=i.getMode().transformAction(n,"deletion",this,i,t);if(0===t.end.column){var o=i.getTextRange(t);if("\n"==o[o.length-1]){var r=i.getLine(t.end.row);/^\s+$/.test(r)&&(t.end.column=r.length)}}s&&(t=s)}this.session.remove(t),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var i,n,s=this.session.getLine(e.row);tt.toLowerCase()?1:0}));var s=new g(0,0,0,0);for(n=e.first;n<=e.last;n++){var o=t.getLine(n);s.start.row=n,s.end.row=n,s.end.column=o.length,t.replace(s,i[n-e.first])}},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),i=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,i,e)},this.getNumberAt=function(e,t){var i=/[\-]?[0-9]+(?:\.[0-9]+)?/g;i.lastIndex=0;for(var n=this.session.getLine(e);i.lastIndex=t)return{value:s[0],start:s.index,end:s.index+s[0].length}}return null},this.modifyNumber=function(e){var t=this.selection.getCursor().row,i=this.selection.getCursor().column,n=new g(t,i-1,t,i),s=this.session.getTextRange(n);if(!isNaN(parseFloat(s))&&isFinite(s)){var o=this.getNumberAt(t,i);if(o){var r=o.value.indexOf(".")>=0?o.start+o.value.indexOf(".")+1:o.end,a=o.start+o.value.length-r,l=parseFloat(o.value);l*=Math.pow(10,a),l+=e*=r!==o.end&&ig+1)break;g=f.last}for(c--,a=this.session.$moveLines(d,g,t?0:e),t&&-1==e&&(u=c+1);u<=c;)r[u].moveBy(a,0),u++;t||(a=0),l+=a}s.fromOrientedRange(s.ranges[0]),s.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},this.onCompositionStart=function(e){this.renderer.showComposition(this.getCursorPosition())},this.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},this.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(e,t){var i=this.renderer,n=this.renderer.layerConfig,s=e*Math.floor(n.height/n.lineHeight);this.$blockScrolling++,!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(s,0)})):!1===t&&(this.selection.moveCursorBy(s,0),this.selection.clearSelection()),this.$blockScrolling--;var o=i.scrollTop;i.scrollBy(0,s*n.lineHeight),null!=t&&i.scrollCursorIntoView(null,.5),i.animateScrolling(o)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(e){this.renderer.scrollToRow(e)},this.scrollToLine=function(e,t,i,n){this.renderer.scrollToLine(e,t,i,n)},this.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.$blockScrolling+=1,this.selection.selectAll(),this.$blockScrolling-=1},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e,t){var i=this.getCursorPosition(),n=new C(this.session,i.row,i.column),s=n.getCurrentToken(),o=s||n.stepForward();if(o){var r,a,l=!1,h={},c=i.column-o.start,u={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(o.value.match(/[{}()\[\]]/g)){for(;c=0;--o)this.$tryReplace(i[o],e)&&n++;return this.selection.setSelectionRange(s),this.$blockScrolling-=1,n},this.$tryReplace=function(e,t){var i=this.session.getTextRange(e);return null!==(t=this.$search.replace(i,t))?(e.end=this.session.replace(e,t),e):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,i){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&n.mixin(t,e);var s=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(s)||this.$search.$options.needle)||(s=this.session.getWordRange(s.start.row,s.start.column),e=this.session.getTextRange(s)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:s});var o=this.$search.find(this.session);return t.preventScroll?o:o?(this.revealRange(o,i),o):(t.backwards?s.start=s.end:s.end=s.start,void this.selection.setRange(s))},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){this.$blockScrolling+=1,this.session.unfold(e),this.selection.setSelectionRange(e),this.$blockScrolling-=1;var i=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(i)},this.undo=function(){this.$blockScrolling++,this.session.getUndoManager().undo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.$blockScrolling++,this.session.getUndoManager().redo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy()},this.setAutoScrollEditorIntoView=function(e){if(e){var t,i=this,n=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var s=this.$scrollAnchor;s.style.cssText="position:absolute",this.container.insertBefore(s,this.container.firstChild);var o=this.on("changeSelection",(function(){n=!0})),r=this.renderer.on("beforeRender",(function(){n&&(t=i.renderer.container.getBoundingClientRect())})),a=this.renderer.on("afterRender",(function(){if(n&&t&&(i.isFocused()||i.searchBox&&i.searchBox.isFocused())){var e=i.renderer,o=e.$cursorLayer.$pixelPos,r=e.layerConfig,a=o.top-r.offset;null!=(n=o.top>=0&&a+t.top<0||!(o.topwindow.innerHeight)&&null)&&(s.style.top=a+"px",s.style.left=o.left+"px",s.style.height=r.lineHeight+"px",s.scrollIntoView(n)),n=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",o),this.renderer.off("afterRender",a),this.renderer.off("beforeRender",r))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,s.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))}}).call(F.prototype),A.defineOptions(F.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.$resetCursorStyle()},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.keybindingId},handlesSet:!0},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",showLineNumbers:"renderer",showGutter:"renderer",displayIndentGuides:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"}),t.Editor=F})),ace.define("ace/undomanager",["require","exports","module"],(function(e,t,i){"use strict";var n=function(){this.reset()};(function(){function e(e){return{action:e.action,start:e.start,end:e.end,lines:1==e.lines.length?null:e.lines,text:1==e.lines.length?e.lines[0]:null}}function t(e){return{action:e.action,start:e.start,end:e.end,lines:e.lines||[e.text]}}function i(e,t){for(var i=new Array(e.length),n=0;n0},this.hasRedo=function(){return this.$redoStack.length>0},this.markClean=function(){this.dirtyCounter=0},this.isClean=function(){return 0===this.dirtyCounter},this.$serializeDeltas=function(t){return i(t,e)},this.$deserializeDeltas=function(e){return i(e,t)}}).call(n.prototype),t.UndoManager=n})),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter"],(function(e,t,i){"use strict";var n=e("../lib/dom"),s=e("../lib/oop"),o=e("../lib/lang"),r=e("../lib/event_emitter").EventEmitter,a=function(e){this.element=n.createElement("div"),this.element.className="ace_layer ace_gutter-layer",e.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$cells=[]};(function(){s.implement(this,r),this.setSession=function(e){this.session&&this.session.removeEventListener("change",this.$updateAnnotations),this.session=e,e&&e.on("change",this.$updateAnnotations)},this.addGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(e,t)},this.setAnnotations=function(e){this.$annotations=[];for(var t=0;tr&&(r=(o=t.getNextFoldLine(m=o.end.row+1,o))?o.start.row:1/0),m>s){for(;this.$cells.length>f+1;)g=this.$cells.pop(),this.element.removeChild(g.element);break}(g=this.$cells[++f])||((g={element:null,textNode:null,foldWidget:null}).element=n.createElement("div"),g.textNode=document.createTextNode(""),g.element.appendChild(g.textNode),this.element.appendChild(g.element),this.$cells[f]=g);var p,A="ace_gutter-cell ";if(l[m]&&(A+=l[m]),h[m]&&(A+=h[m]),this.$annotations[m]&&(A+=this.$annotations[m].className),g.element.className!=A&&(g.element.className=A),(p=t.getRowLength(m)*e.lineHeight+"px")!=g.element.style.height&&(g.element.style.height=p),a){var C=a[m];null==C&&(C=a[m]=t.getFoldWidget(m))}C?(g.foldWidget||(g.foldWidget=n.createElement("span"),g.element.appendChild(g.foldWidget)),A="ace_fold-widget ace_"+C,g.foldWidget.className!=(A+="start"==C&&m==r&&mi.right-t.right?"foldWidgets":void 0}}).call(a.prototype),t.Gutter=a})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,i){"use strict";var n=e("../range").Range,s=e("../lib/dom"),o=function(e){this.element=s.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.update=function(e){if(e){this.config=e;var t=[];for(var i in this.markers){var n=this.markers[i];if(n.range){var s=n.range.clipRows(e.firstRow,e.lastRow);if(!s.isEmpty())if(s=s.toScreenRange(this.session),n.renderer){var o=this.$getTop(s.start.row,e),r=this.$padding+(this.session.$bidiHandler.isBidiRow(s.start.row)?this.session.$bidiHandler.getPosLeft(s.start.column):s.start.column*e.characterWidth);n.renderer(t,s,r,o,e)}else"fullLine"==n.type?this.drawFullLineMarker(t,s,n.clazz,e):"screenLine"==n.type?this.drawScreenLineMarker(t,s,n.clazz,e):s.isMultiLine()?"text"==n.type?this.drawTextMarker(t,s,n.clazz,e):this.drawMultiLineMarker(t,s,n.clazz,e):this.session.$bidiHandler.isBidiRow(s.start.row)?this.drawBidiSingleLineMarker(t,s,n.clazz+" ace_start ace_br15",e):this.drawSingleLineMarker(t,s,n.clazz+" ace_start ace_br15",e)}else n.update(t,this,this.session,e)}this.element.innerHTML=t.join("")}},this.$getTop=function(e,t){return(e-t.firstRowScreen)*t.lineHeight},this.drawTextMarker=function(e,t,i,s,o){for(var r=this.session,a=t.start.row,l=t.end.row,h=a,c=0,u=0,d=r.getScreenLastRowColumn(h),g=null,f=new n(h,t.start.column,h,u);h<=l;h++)f.start.row=f.end.row=h,f.start.column=h==a?t.start.column:r.getRowWrapIndent(h),f.end.column=d,c=u,u=d,d=h+1d?4:0)|(h==l?8:0)),this.session.$bidiHandler.isBidiRow(h)?this.drawBidiSingleLineMarker(e,f,g,s,h==l?0:1,o):this.drawSingleLineMarker(e,f,g,s,h==l?0:1,o)},this.drawMultiLineMarker=function(e,t,i,n,s){var o,r,a=this.$padding;if(s=s||"",this.session.$bidiHandler.isBidiRow(t.start.row)?((l=t.clone()).end.row=l.start.row,l.end.column=this.session.getLine(l.start.row).length,this.drawBidiSingleLineMarker(e,l,i+" ace_br1 ace_start",n,null,s)):(o=n.lineHeight,r=this.$getTop(t.start.row,n),e.push("
")),this.session.$bidiHandler.isBidiRow(t.end.row)){var l;(l=t.clone()).start.row=l.end.row,l.start.column=0,this.drawBidiSingleLineMarker(e,l,i+" ace_br12",n,null,s)}else{var h=t.end.column*n.characterWidth;o=n.lineHeight,r=this.$getTop(t.end.row,n),e.push("
")}if(!((o=(t.end.row-t.start.row-1)*n.lineHeight)<=0)){r=this.$getTop(t.start.row+1,n);var c=(t.start.column?1:0)|(t.end.column?0:8);e.push("
")}},this.drawSingleLineMarker=function(e,t,i,n,s,o){var r=n.lineHeight,a=(t.end.column+(s||0)-t.start.column)*n.characterWidth,l=this.$getTop(t.start.row,n);e.push("
")},this.drawBidiSingleLineMarker=function(e,t,i,n,s,o){var r=n.lineHeight,a=this.$getTop(t.start.row,n),l=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach((function(t){e.push("
")}))},this.drawFullLineMarker=function(e,t,i,n,s){var o=this.$getTop(t.start.row,n),r=n.lineHeight;t.start.row!=t.end.row&&(r+=this.$getTop(t.end.row,n)-o),e.push("
")},this.drawScreenLineMarker=function(e,t,i,n,s){var o=this.$getTop(t.start.row,n);e.push("
")}}).call(o.prototype),t.Marker=o})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,i){"use strict";var n=e("../lib/oop"),s=e("../lib/dom"),o=e("../lib/lang"),r=(e("../lib/useragent"),e("../lib/event_emitter").EventEmitter),a=function(e){this.element=s.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){n.implement(this,r),this.EOF_CHAR="\xb6",this.EOL_CHAR_LF="\xac",this.EOL_CHAR_CRLF="\xa4",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="\u2014",this.SPACE_CHAR="\xb7",this.$padding=0,this.$updateEolChar=function(){var e="\n"==this.session.doc.getNewLineCharacter()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=e)return this.EOL_CHAR=e,!0},this.setPadding=function(e){this.$padding=e,this.element.style.padding="0 "+e+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",(function(e){this._signal("changeCharacterSize",e)}).bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],i=1;i"+o.stringRepeat(this.TAB_CHAR,i)+"":o.stringRepeat(" ",i));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var n="ace_indent-guide",s="",r="";if(this.showInvisibles){n+=" ace_invisible",s=" ace_invisible_space",r=" ace_invisible_tab";var a=o.stringRepeat(this.SPACE_CHAR,this.tabSize),l=o.stringRepeat(this.TAB_CHAR,this.tabSize)}else l=a=o.stringRepeat(" ",this.tabSize);this.$tabStrings[" "]=""+a+"",this.$tabStrings["\t"]=""+l+""}},this.updateLines=function(e,t,i){this.config.lastRow==e.lastRow&&this.config.firstRow==e.firstRow||this.scrollLines(e),this.config=e;for(var n=Math.max(t,e.firstRow),s=Math.min(i,e.lastRow),o=this.element.childNodes,r=0,a=e.firstRow;ah&&(h=(l=this.session.getNextFoldLine(a=l.end.row+1,l))?l.start.row:1/0),!(a>s);){var c=o[r++];if(c){var u=[];this.$renderLine(u,a,!this.$useLineGroups(),a==h&&l),c.style.height=e.lineHeight*this.session.getRowLength(a)+"px",c.innerHTML=u.join("")}a++}},this.scrollLines=function(e){var t=this.config;if(this.config=e,!t||t.lastRow0;n--)i.removeChild(i.firstChild);if(t.lastRow>e.lastRow)for(n=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);n>0;n--)i.removeChild(i.lastChild);if(e.firstRowt.lastRow&&(s=this.$renderLinesFragment(e,t.lastRow+1,e.lastRow),i.appendChild(s))},this.$renderLinesFragment=function(e,t,i){for(var n=this.element.ownerDocument.createDocumentFragment(),o=t,r=this.session.getNextFoldLine(o),a=r?r.start.row:1/0;o>a&&(a=(r=this.session.getNextFoldLine(o=r.end.row+1,r))?r.start.row:1/0),!(o>i);){var l=s.createElement("div"),h=[];if(this.$renderLine(h,o,!1,o==a&&r),l.innerHTML=h.join(""),this.$useLineGroups())l.className="ace_line_group",n.appendChild(l),l.style.height=e.lineHeight*this.session.getRowLength(o)+"px";else for(;l.firstChild;)n.appendChild(l.firstChild);o++}return n},this.update=function(e){this.config=e;for(var t=[],i=e.lastRow,n=e.firstRow,s=this.session.getNextFoldLine(n),o=s?s.start.row:1/0;n>o&&(o=(s=this.session.getNextFoldLine(n=s.end.row+1,s))?s.start.row:1/0),!(n>i);)this.$useLineGroups()&&t.push("
"),this.$renderLine(t,n,!1,n==o&&s),this.$useLineGroups()&&t.push("
"),n++;this.element.innerHTML=t.join("")},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,i,n){var s=this,r=n.replace(/\t|&|<|>|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\u3000\uFEFF\uFFF9-\uFFFC])|[\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3000-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,i,n,r,a){if(i)return s.showInvisibles?""+o.stringRepeat(s.SPACE_CHAR,e.length)+"":e;if("&"==e)return"&";if("<"==e)return"<";if(">"==e)return">";if("\t"==e){var l=s.session.getScreenTabSize(t+r);return t+=l-1,s.$tabStrings[l]}return"\u3000"==e?(t+=1,""+(s.showInvisibles?s.SPACE_CHAR:"")+""):n?""+s.SPACE_CHAR+"":(t+=1,""+e+"")}));if(this.$textToken[i.type])e.push(r);else{var a="ace_"+i.type.replace(/\./g," ace_"),l="";"fold"==i.type&&(l=" style='width:"+i.value.length*this.config.characterWidth+"px;' "),e.push("",r,"")}return t+n.length},this.renderIndentGuide=function(e,t,i){var n=t.search(this.$indentGuideRe);return n<=0||n>=i?t:" "==t[0]?(e.push(o.stringRepeat(this.$tabStrings[" "],(n-=n%this.tabSize)/this.tabSize)),t.substr(n)):"\t"==t[0]?(e.push(o.stringRepeat(this.$tabStrings["\t"],n)),t.substr(n)):t},this.$renderWrappedLine=function(e,t,i,n){for(var s=0,r=0,a=i[0],l=0,h=0;h=a;)l=this.$renderToken(e,l,c,u.substring(0,a-s)),u=u.substring(a-s),s=a,n||e.push("","
"),e.push(o.stringRepeat("\xa0",i.indent)),l=0,a=i[++r]||Number.MAX_VALUE;0!=u.length&&(s+=u.length,l=this.$renderToken(e,l,c,u))}}},this.$renderSimpleLine=function(e,t){var i=0,n=t[0],s=n.value;this.displayIndentGuides&&(s=this.renderIndentGuide(e,s)),s&&(i=this.$renderToken(e,i,n,s));for(var o=1;o"),s.length){var o=this.session.getRowSplitData(t);o&&o.length?this.$renderWrappedLine(e,s,o,i):this.$renderSimpleLine(e,s)}this.showInvisibles&&(n&&(t=n.end.row),e.push("",t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,"")),i||e.push("
")},this.$getFoldLineTokens=function(e,t){var i=this.session,n=[],s=i.getTokens(e);return t.walk((function(e,t,o,r,a){null!=e?n.push({type:"fold",value:e}):(a&&(s=i.getTokens(t)),s.length&&function(e,t,i){for(var s=0,o=0;o+e[s].value.lengthi-t&&(r=r.substring(0,i-t)),n.push({type:e[s].type,value:r}),o=t+r.length,s+=1);oi?{type:e[s].type,value:r.substring(0,i-o)}:e[s]),o+=r.length,s+=1}}(s,r,o))}),t.end.row,this.session.getLine(t.end.row).length),n},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode),delete this.$measureNode}}).call(a.prototype),t.Text=a})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(e,t,i){"use strict";var n,s=e("../lib/dom"),o=function(e){this.element=s.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),void 0===n&&(n=!("opacity"in this.element.style)),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),s.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=(n?this.$updateVisibility:this.$updateOpacity).bind(this)};(function(){this.$updateVisibility=function(e){for(var t=this.cursors,i=t.length;i--;)t[i].style.visibility=e?"":"hidden"},this.$updateOpacity=function(e){for(var t=this.cursors,i=t.length;i--;)t[i].style.opacity=e?"":"0"},this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e==this.smoothBlinking||n||(this.smoothBlinking=e,s.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var e=s.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},this.hideCursor=function(){this.isVisible=!1,s.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,s.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.smoothBlinking&&s.removeCssClass(this.element,"ace_smooth-blinking"),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible){this.smoothBlinking&&setTimeout((function(){s.addCssClass(this.element,"ace_smooth-blinking")}).bind(this));var t=(function(){this.timeoutId=setTimeout((function(){e(!1)}),.6*this.blinkInterval)}).bind(this);this.intervalId=setInterval((function(){e(!0),t()}),this.blinkInterval),t()}},this.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var i=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(i.row,e.row)?this.session.$bidiHandler.getPosLeft(i.column):i.column*this.config.characterWidth),top:(i.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},this.update=function(e){this.config=e;var t=this.session.$selectionMarkers,i=0,n=0;void 0!==t&&0!==t.length||(t=[{cursor:null}]),i=0;for(var s=t.length;ie.height+e.offset||o.top<0)&&i>1)){var r=(this.cursors[n++]||this.addCursor()).style;this.drawCursor?this.drawCursor(r,o,e,t[i],this.session):(r.left=o.left+"px",r.top=o.top+"px",r.width=e.characterWidth+"px",r.height=e.lineHeight+"px")}}for(;this.cursors.length>n;)this.removeCursor();var a=this.session.getOverwrite();this.$setOverwrite(a),this.$pixelPos=o,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?s.addCssClass(this.element,"ace_overwrite-cursors"):s.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(o.prototype),t.Cursor=o})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,i){"use strict";var n=e("./lib/oop"),s=e("./lib/dom"),o=e("./lib/event"),r=e("./lib/event_emitter").EventEmitter,a=function(e){this.element=s.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=s.createElement("div"),this.inner.className="ace_scrollbar-inner",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,o.addListener(this.element,"scroll",this.onScroll.bind(this)),o.addListener(this.element,"mousedown",o.preventDefault)};(function(){n.implement(this,r),this.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1}}).call(a.prototype);var l=function(e,t){a.call(this,e),this.scrollTop=0,this.scrollHeight=0,t.$scrollbarWidth=this.width=s.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px",this.$minWidth=0};n.inherits(l,a),(function(){this.classSuffix="-v",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(e){this.element.style.height=e+"px"},this.setInnerHeight=this.setScrollHeight=function(e){this.scrollHeight=e,e>32768?(this.coeff=32768/e,e=32768):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)}}).call(l.prototype);var h=function(e,t){a.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};n.inherits(h,a),(function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(e){this.element.style.width=e+"px"},this.setInnerWidth=function(e){this.inner.style.width=e+"px"},this.setScrollWidth=function(e){this.inner.style.width=e+"px"},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}).call(h.prototype),t.ScrollBar=l,t.ScrollBarV=l,t.ScrollBarH=h,t.VScrollBar=l,t.HScrollBar=h})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(e,t,i){"use strict";var n=e("./lib/event"),s=function(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.window=t||window};(function(){this.schedule=function(e){if(this.changes=this.changes|e,!this.pending&&this.changes){this.pending=!0;var t=this;n.nextFrame((function(){var e;for(t.pending=!1;e=t.changes;)t.changes=0,t.onRender(e)}),this.window)}}}).call(s.prototype),t.RenderLoop=s})),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,i){var n=e("../lib/oop"),s=e("../lib/dom"),o=e("../lib/lang"),r=e("../lib/useragent"),a=e("../lib/event_emitter").EventEmitter,l=0,h=t.FontMetrics=function(e){this.el=s.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=s.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=s.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),l||this.$testFractionalRect(),this.$measureNode.innerHTML=o.stringRepeat("X",l),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){n.implement(this,a),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var e=s.createElement("div");this.$setMeasureNodeStyles(e.style),e.style.width="0.2px",document.documentElement.appendChild(e);var t=e.getBoundingClientRect().width;l=t>0&&t<1?50:100,e.parentNode.removeChild(e)},this.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",r.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},this.checkForSizeChanges=function(){var e=this.$measureSizes();if(e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=setInterval((function(){e.checkForSizeChanges()}),500)},this.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(){if(50===l){var e=null;try{e=this.$measureNode.getBoundingClientRect()}catch(i){e={width:0,height:0}}var t={height:e.height,width:e.width/l}}else t={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/l};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){return this.$main.innerHTML=o.stringRepeat(e,l),this.$main.getBoundingClientRect().width/l},this.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(h.prototype)})),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/lib/useragent","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter"],(function(e,t,i){"use strict";var n=e("./lib/oop"),s=e("./lib/dom"),o=e("./config"),r=e("./lib/useragent"),a=e("./layer/gutter").Gutter,l=e("./layer/marker").Marker,h=e("./layer/text").Text,c=e("./layer/cursor").Cursor,u=e("./scrollbar").HScrollBar,d=e("./scrollbar").VScrollBar,g=e("./renderloop").RenderLoop,f=e("./layer/font_metrics").FontMetrics,m=e("./lib/event_emitter").EventEmitter;s.importCssString('.ace_editor {position: relative;overflow: hidden;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;text-align: left;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;min-width: 100%;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: \'\';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: inherit;color: inherit;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-webkit-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-webkit-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-webkit-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_text-input-ios {position: absolute !important;top: -100000px !important;left: -100000px !important;}',"ace_editor.css");var p=function(e,t){var i=this;this.container=e||s.createElement("div"),this.$keepTextAreaAtCursor=!r.isOldIE,s.addCssClass(this.container,"ace_editor"),this.setTheme(t),this.$gutter=s.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=s.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=s.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new a(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new l(this.content);var n=this.$textLayer=new h(this.content);this.canvas=n.element,this.$markerFront=new l(this.content),this.$cursorLayer=new c(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new d(this.container,this),this.scrollBarH=new u(this.container,this),this.scrollBarV.addEventListener("scroll",(function(e){i.$scrollAnimation||i.session.setScrollTop(e.data-i.scrollMargin.top)})),this.scrollBarH.addEventListener("scroll",(function(e){i.$scrollAnimation||i.session.setScrollLeft(e.data-i.scrollMargin.left)})),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new f(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.addEventListener("changeCharacterSize",(function(e){i.updateCharacterSize(),i.onResize(!0,i.gutterWidth,i.$size.width,i.$size.height),i._signal("changeCharacterSize",e)})),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$loop=new g(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),o.resetOptions(this),o._emit("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,n.implement(this,m),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin()},this.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(e,t,i){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(e,t,i,n){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var s=this.container;n||(n=s.clientHeight||s.scrollHeight),i||(i=s.clientWidth||s.scrollWidth);var o=this.$updateCachedSize(e,t,i,n);if(!this.$size.scrollerHeight||!i&&!n)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(o|this.$changes,!0):this.$loop.schedule(o|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(e,t,i,n){var s=0,o=this.$size,r={width:o.width,height:o.height,scrollerHeight:o.scrollerHeight,scrollerWidth:o.scrollerWidth};return(n-=this.$extraHeight||0)&&(e||o.height!=n)&&(o.height=n,s|=this.CHANGE_SIZE,o.scrollerHeight=o.height,this.$horizScroll&&(o.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",s|=this.CHANGE_SCROLL),i&&(e||o.width!=i)&&(s|=this.CHANGE_SIZE,o.width=i,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,this.scrollBarH.element.style.left=this.scroller.style.left=t+"px",o.scrollerWidth=Math.max(0,i-t-this.scrollBarV.getWidth()),this.scrollBarH.element.style.right=this.scroller.style.right=this.scrollBarV.getWidth()+"px",this.scroller.style.bottom=this.scrollBarH.getHeight()+"px",(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(s|=this.CHANGE_FULL)),o.$dirty=!i||!n,s&&this._signal("resize",r),s},this.onGutterResize=function(){var e=this.$showGutter?this.$gutter.offsetWidth:0;e!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,e,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):(this.$computeLayerConfig(),this.$loop.schedule(this.CHANGE_MARKER))},this.adjustWrapLimit=function(){var e=Math.floor((this.$size.scrollerWidth-2*this.$padding)/this.characterWidth);return this.session.adjustWrapLimit(e,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(e){this.setOption("showInvisibles",e),this.session.$bidiHandler.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},this.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(e){return this.setOption("showGutter",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updateGutterLineHighlight=function(){var e=this.$cursorLayer.$pixelPos,t=this.layerConfig.lineHeight;if(this.session.getUseWrapMode()){var i=this.session.selection.getCursor();i.column=0,e=this.$cursorLayer.getPixelPosition(i,!0),t*=this.session.getRowLength(i.row)}this.$gutterLineHighlight.style.top=e.top-this.layerConfig.offset+"px",this.$gutterLineHighlight.style.height=t+"px"},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=s.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=s.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=this.characterWidth*this.$printMarginColumn+this.$padding+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(this.$keepTextAreaAtCursor){var e=this.layerConfig,t=this.$cursorLayer.$pixelPos.top,i=this.$cursorLayer.$pixelPos.left,n=this.textarea.style,s=this.lineHeight;if((t-=e.offset)<0||t>e.height-s)n.top=n.left="0";else{var o=this.characterWidth;if(this.$composition){var r=this.textarea.value.replace(/^\x01+/,"");o*=this.session.$getStringScreenWidth(r)[0]+2,s+=2}(i-=this.scrollLeft)>this.$size.scrollerWidth-o&&(i=this.$size.scrollerWidth-o),i+=this.gutterWidth,n.height=s+"px",n.width=o+"px",n.left=Math.min(i,this.$size.scrollerWidth-o)+"px",n.top=Math.min(t,this.$size.height-s)+"px"}}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(e,t,i,n){var s=this.scrollMargin;s.top=0|e,s.bottom=0|t,s.right=0|n,s.left=0|i,s.v=s.top+s.bottom,s.h=s.left+s.right,s.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-s.top),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},this.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&this.scrollTop>(e-=(t-this.lineHeight)*this.$scrollPastEnd)-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender"),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var i=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig(),i.firstRow!=this.layerConfig.firstRow&&i.firstRowScreen==this.layerConfig.firstRowScreen){var n=this.scrollTop+(i.firstRow-this.layerConfig.firstRow)*this.lineHeight;n>0&&(this.scrollTop=n,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig())}i=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),this.$gutterLayer.element.style.marginTop=-i.offset+"px",this.content.style.marginTop=-i.offset+"px",this.content.style.width=i.width+2*this.$padding+"px",this.content.style.height=i.minHeight+"px"}if(e&this.CHANGE_H_SCROLL&&(this.content.style.marginLeft=-this.scrollLeft+"px",this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),e&this.CHANGE_FULL)return this.$textLayer.update(i),this.$showGutter&&this.$gutterLayer.update(i),this.$markerBack.update(i),this.$markerFront.update(i),this.$cursorLayer.update(i),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),void this._signal("afterRender");if(e&this.CHANGE_SCROLL)return e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(i):this.$textLayer.scrollLines(i),this.$showGutter&&this.$gutterLayer.update(i),this.$markerBack.update(i),this.$markerFront.update(i),this.$cursorLayer.update(i),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),void this._signal("afterRender");e&this.CHANGE_TEXT?(this.$textLayer.update(i),this.$showGutter&&this.$gutterLayer.update(i)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(i):(e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(i),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(i),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(i),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(i),this._signal("afterRender")}else this.$changes|=e},this.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,i=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(i+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&i>this.$maxPixelHeight&&(i=this.$maxPixelHeight);var n=e>t;if(i!=this.desiredHeight||this.$size.height!=this.desiredHeight||n!=this.$vScroll){n!=this.$vScroll&&(this.$vScroll=n,this.scrollBarV.setVisible(n));var s=this.container.clientWidth;this.container.style.height=i+"px",this.$updateCachedSize(!0,this.$gutterWidth,s,i),this.desiredHeight=i,this._signal("autosize")}},this.$computeLayerConfig=function(){var e=this.session,t=this.$size,i=t.height<=2*this.lineHeight,n=this.session.getScreenLength()*this.lineHeight,s=this.$getLongestLine(),o=!i&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-s-2*this.$padding<0),r=this.$horizScroll!==o;r&&(this.$horizScroll=o,this.scrollBarH.setVisible(o));var a=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=this.scrollTop%this.lineHeight,h=t.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;n+=c;var u=this.scrollMargin;this.session.setScrollTop(Math.max(-u.top,Math.min(this.scrollTop,n-t.scrollerHeight+u.bottom))),this.session.setScrollLeft(Math.max(-u.left,Math.min(this.scrollLeft,s+2*this.$padding-t.scrollerWidth+u.right)));var d=!i&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-n+c<0||this.scrollTop>u.top),g=a!==d;g&&(this.$vScroll=d,this.scrollBarV.setVisible(d));var f,m,p=Math.ceil(h/this.lineHeight)-1,A=Math.max(0,Math.round((this.scrollTop-l)/this.lineHeight)),C=A+p,F=this.lineHeight;A=e.screenToDocumentRow(A,0);var w=e.getFoldLine(A);w&&(A=w.start.row),f=e.documentToScreenRow(A,0),m=e.getRowLength(A)*F,C=Math.min(e.screenToDocumentRow(C,0),e.getLength()-1),h=t.scrollerHeight+e.getRowLength(C)*F+m,l=this.scrollTop-f*F;var v=0;return this.layerConfig.width!=s&&(v=this.CHANGE_H_SCROLL),(r||g)&&(v=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),g&&(s=this.$getLongestLine())),this.layerConfig={width:s,padding:this.$padding,firstRow:A,firstRowScreen:f,lastRow:C,lineHeight:F,characterWidth:this.characterWidth,minHeight:h,maxHeight:n,offset:l,gutterOffset:F?Math.max(0,Math.ceil((l+t.height-t.scrollerHeight)/F)):0,height:this.$size.scrollerHeight},v},this.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var i=this.layerConfig;if(!(e>i.lastRow+1||to?(t&&l+r>o+this.lineHeight&&(o-=t*this.$size.scrollerHeight),0===o&&(o=-this.scrollMargin.top),this.session.setScrollTop(o)):l+this.$size.scrollerHeight-as?(s=1-this.scrollMargin.top||t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0},this.pixelToScreenCoordinates=function(e,t){var i=this.scroller.getBoundingClientRect(),n=e+this.scrollLeft-i.left-this.$padding,s=n/this.characterWidth,o=Math.floor((t+this.scrollTop-i.top)/this.lineHeight),r=Math.round(s);return{row:o,column:r,side:s-r>0?1:-1,offsetX:n}},this.screenToTextCoordinates=function(e,t){var i=this.scroller.getBoundingClientRect(),n=e+this.scrollLeft-i.left-this.$padding,s=Math.round(n/this.characterWidth);return this.session.screenToDocumentPosition((t+this.scrollTop-i.top)/this.lineHeight,Math.max(s,0),n)},this.textToScreenCoordinates=function(e,t){var i=this.scroller.getBoundingClientRect(),n=this.session.documentToScreenPosition(e,t),s=this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e)?this.session.$bidiHandler.getPosLeft(n.column):Math.round(n.column*this.characterWidth));return{pageX:i.left+s-this.scrollLeft,pageY:i.top+n.row*this.lineHeight-this.scrollTop}},this.visualizeFocus=function(){s.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){s.removeCssClass(this.container,"ace_focus")},this.showComposition=function(e){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText}),this.$keepTextAreaAtCursor=!0,s.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor()},this.setCompositionText=function(e){this.$moveTextAreaToCursor()},this.hideComposition=function(){this.$composition&&(s.removeCssClass(this.textarea,"ace_composition"),this.$keepTextAreaAtCursor=this.$composition.keepTextAreaAtCursor,this.textarea.style.cssText=this.$composition.cssText,this.$composition=null)},this.setTheme=function(e,t){var i=this;function n(n){if(i.$themeId!=e)return t&&t();if(!n||!n.cssClass)throw new Error("couldn't load module "+e+" or it didn't call define");s.importCssString(n.cssText,n.cssClass,i.container.ownerDocument),i.theme&&s.removeCssClass(i.container,i.theme.cssClass);var o="padding"in n?n.padding:"padding"in(i.theme||{})?4:i.$padding;i.$padding&&o!=i.$padding&&i.setPadding(o),i.$theme=n.cssClass,i.theme=n,s.addCssClass(i.container,n.cssClass),s.setCssClass(i.container,"ace_dark",n.isDark),i.$size&&(i.$size.width=0,i.$updateSizeAsync()),i._dispatchEvent("themeLoaded",{theme:n}),t&&t()}this.$themeId=e,i._dispatchEvent("themeChange",{theme:e}),e&&"string"!=typeof e?n(e):o.loadModule(["theme",e||this.$options.theme.initialValue],n)},this.getTheme=function(){return this.$themeId},this.setStyle=function(e,t){s.setCssClass(this.container,e,!1!==t)},this.unsetStyle=function(e){s.removeCssClass(this.container,e)},this.setCursorStyle=function(e){this.scroller.style.cursor!=e&&(this.scroller.style.cursor=e)},this.setMouseCursor=function(e){this.scroller.style.cursor=e},this.destroy=function(){this.$textLayer.destroy(),this.$cursorLayer.destroy()}}).call(p.prototype),o.defineOptions(p.prototype,"renderer",{animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){"number"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},fadeFoldWidgets:{set:function(e){s.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e)},initialValue:!0},showLineNumbers:{set:function(e){this.$gutterLayer.setShowLineNumbers(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightGutterLine:{set:function(e){if(!this.$gutterLineHighlight)return this.$gutterLineHighlight=s.createElement("div"),this.$gutterLineHighlight.className="ace_gutter-active-line",void this.$gutter.appendChild(this.$gutterLineHighlight);this.$gutterLineHighlight.style.display=e?"":"none",this.$cursorLayer.$pixelPos&&this.$updateGutterLineHighlight()},initialValue:!1,value:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){"number"==typeof e&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.updateFull()}},maxPixelHeight:{set:function(e){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(e){this.$scrollPastEnd!=(e=+e||0)&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0}}),t.VirtualRenderer=p})),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],(function(e,t,i){"use strict";var n=e("../lib/oop"),s=e("../lib/net"),o=e("../lib/event_emitter").EventEmitter,r=e("../config");function a(e,t){var i=function(e,t){var i=t.src;s.qualifyURL(e);try{return new Blob([i],{type:"application/javascript"})}catch(o){var n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return n.append(i),n.getBlob("application/javascript")}}(e,t),n=(window.URL||window.webkitURL).createObjectURL(i);return new Worker(n)}var l=function(t,i,n,s,o){if(this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),r.get("packaged")||!e.toUrl)s=s||r.moduleUrl(i.id,"worker");else{var l=this.$normalizePath;s=s||l(e.toUrl("ace/worker/worker.js",null,"_"));var h={};t.forEach((function(t){h[t]=l(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))}))}this.$worker=a(s,i),o&&this.send("importScripts",o),this.$worker.postMessage({init:!0,tlns:h,module:i.id,classname:n}),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){n.implement(this,o),this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var i=this.callbacks[t.id];i&&(i(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return s.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,i){if(i){var n=this.callbackId++;this.callbacks[n]=i,t.push(n)}this.send(e,t)},this.emit=function(e,t){try{this.$worker.postMessage({event:e,data:{data:t.data}})}catch(i){console.error(i.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),this.deltaQueue.push(e.start,"insert"==e.action?e.lines:e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(l.prototype);var h=function(e,t,i){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var n=null,s=!1,a=Object.create(o),l=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(e){l.messageBuffer.push(e),n&&(s?setTimeout(h):h())},this.setEmitSync=function(e){s=e};var h=function(){var e=l.messageBuffer.shift();e.command?n[e.command].apply(n,e.args):e.event&&a._signal(e.event,e.data)};a.postMessage=function(e){l.onMessage({data:e})},a.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},a.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},r.loadModule(["worker",t],(function(e){for(n=new e[i](a);l.messageBuffer.length;)h()}))};h.prototype=l.prototype,t.UIWorkerClient=h,t.WorkerClient=l,t.createWorker=a})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(e,t,i){"use strict";var n=e("./range").Range,s=e("./lib/event_emitter").EventEmitter,o=e("./lib/oop"),r=function(e,t,i,n,s,o){var r=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=s,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=n,this.$onCursorChange=function(){setTimeout((function(){r.onCursorChange()}))},this.$pos=i;var a=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=a.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)};(function(){o.implement(this,s),this.setup=function(){var e=this,t=this.doc,i=this.session;this.selectionBefore=i.selection.toJSON(),i.selection.inMultiSelectMode&&i.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var s=this.pos;s.$insertRight=!0,s.detach(),s.markerId=i.addMarker(new n(s.row,s.column,s.row,s.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(i){var n=t.createAnchor(i.row,i.column);n.$insertRight=!0,n.detach(),e.others.push(n)})),i.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(i){i.markerId=e.addMarker(new n(i.row,i.column,i.row,i.column+t.length),t.othersClass,null,!1)}))}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,o=t.start.column-this.pos.column;if(this.updateAnchors(e),s&&(this.length+=i),s&&!this.session.$fromUndo)if("insert"===e.action)for(var r=this.others.length-1;r>=0;r--)this.doc.insertMergedLines(l={row:(a=this.others[r]).row,column:a.column+o},e.lines);else if("remove"===e.action)for(r=this.others.length-1;r>=0;r--){var a,l;this.doc.remove(new n((l={row:(a=this.others[r]).row,column:a.column+o}).row,l.column,l.row,l.column-i))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,i=function(i,s){t.removeMarker(i.markerId),i.markerId=t.addMarker(new n(i.row,i.column,i.row,i.column+e.length),s,null,!1)};i(this.pos,this.mainClass);for(var s=this.others.length;s--;)i(this.others[s],this.othersClass)}},this.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.removeEventListener("change",this.$onUpdate),this.session.selection.removeEventListener("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,i=0;i1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length?this.$onRemoveRange(e):this.ranges[0]&&this.fromOrientedRange(this.ranges[0])},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var i=e.length;i--;){var n=this.ranges.indexOf(e[i]);this.ranges.splice(n,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new n,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){if(this.rangeCount>1){var e=this.rangeList.ranges,t=e[e.length-1],i=s.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(i,t.cursor==t.start)}else{i=this.getRange();var n=this.isBackwards(),o=i.start.row,r=i.end.row;if(o==r){if(n)var a=i.end,l=i.start;else a=i.start,l=i.end;return this.addRange(s.fromPoints(l,l)),void this.addRange(s.fromPoints(a,a))}var h=[],c=this.getLineRange(o,!0);c.start.column=i.start.column,h.push(c);for(var u=o+1;u1){var e=this.rangeList.ranges,t=e[e.length-1],i=s.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(i,t.cursor==t.start)}else{var n=this.session.documentToScreenPosition(this.selectionLead),o=this.session.documentToScreenPosition(this.selectionAnchor);this.rectangularRangeBlock(n,o).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,i){var n=[],o=e.column0;)C--;if(C>0)for(var F=0;n[F].isEmpty();)F++;for(var w=C;w>=F;w--)n[w].isEmpty()&&n.splice(w,1)}return n}}).call(o.prototype);var d=e("./editor").Editor;function g(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",r),e.commands.addCommands(h.defaultCommands),function(e){var t=e.textInput.getElement(),i=!1;function n(t){i&&(e.renderer.setMouseCursor(""),i=!1)}a.addListener(t,"keydown",(function(t){e.$blockSelectEnabled&&18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey)?i||(e.renderer.setMouseCursor("crosshair"),i=!0):i&&n()})),a.addListener(t,"keyup",n),a.addListener(t,"blur",n)}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,i=e.length;i--;){var n=e[i];if(n.marker){this.session.removeMarker(n.marker);var s=t.indexOf(n);-1!=s&&t.splice(s,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(h.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(h.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,i=e.editor;if(i.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?n=i.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?n=i.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(i.exitMultiSelectMode(),n=t.exec(i,e.args||{})):n=t.multiSelectAction(i,e.args||{});else{var n=t.exec(i,e.args||{});i.multiSelect.addRange(i.multiSelect.toOrientedRange()),i.multiSelect.mergeOverlappingRanges()}return n}},this.forEachSelection=function(e,t,i){if(!this.inVirtualSelectionMode){var n,s=1==i||i&&i.$byLines,r=this.session,a=this.selection,l=(i&&i.keepOrder?a:a.rangeList).ranges;if(!l.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var h=a._eventRegistry;a._eventRegistry={};var c=new o(r);this.inVirtualSelectionMode=!0;for(var u=l.length;u--;){if(s)for(;u>0&&l[u].start.row==l[u-1].end.row;)u--;c.fromOrientedRange(l[u]),c.index=u,this.selection=r.selection=c;var d=e.exec?e.exec(this,t||{}):e(this,t||{});n||void 0===d||(n=d),c.toOrientedRange(l[u])}c.detach(),this.selection=r.selection=a,this.inVirtualSelectionMode=!1,a._eventRegistry=h,a.mergeOverlappingRanges();var g=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),g&&g.from==g.to&&this.renderer.animateScrolling(g.from),n}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,i=[],n=0;nr&&(r=i.column),nc?e.insert(n,l.stringRepeat(" ",o-c)):e.remove(new s(n.row,n.column,n.row,n.column-o+c)),t.start.column=t.end.column=r,t.start.row=t.end.row=n.row,t.cursor=t.end})),t.fromOrientedRange(i[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var c=this.selection.getRange(),u=c.start.row,d=c.end.row,g=u==d;if(g){var f,m=this.session.getLength();do{f=this.session.getLine(d)}while(/[=:]/.test(f)&&++d0);u<0&&(u=0),d>=m&&(d=m-1)}var p=this.session.removeFullLines(u,d);p=this.$reAlignText(p,g),this.session.insert({row:u,column:0},p.join("\n")+"\n"),g||(c.start.column=0,c.end.column=p[p.length-1].length),this.selection.setRange(c)}},this.$reAlignText=function(e,t){var i,n,s,o=!0,r=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==i?(i=t[1].length,n=t[2].length,s=t[3].length,t):(i+n+s!=t[1].length+t[2].length+t[3].length&&(r=!1),i!=t[1].length&&(o=!1),i>t[1].length&&(i=t[1].length),nt[3].length&&(s=t[3].length),t):[e]})).map(t?h:o?r?function(e){return e[2]?a(i+n-e[2].length)+e[2]+a(s)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:h:function(e){return e[2]?a(i)+e[2]+a(s)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function a(e){return l.stringRepeat(" ",e)}function h(e){return e[2]?a(i)+e[2]+a(n-e[2].length+s)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(d.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var i=e.oldSession;i&&(i.multiSelect.off("addRange",this.$onAddRange),i.multiSelect.off("removeRange",this.$onRemoveRange),i.multiSelect.off("multiSelect",this.$onMultiSelect),i.multiSelect.off("singleSelect",this.$onSingleSelect),i.multiSelect.lead.off("change",this.$checkMultiselectChange),i.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=g,e("./config").defineOptions(d.prototype,"editor",{enableMultiselect:{set:function(e){g(this),e?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",r)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",r))},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(e,t,i){"use strict";var n=e("../../range").Range,s=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,i){var n=e.getLine(i);return this.foldingStartMarker.test(n)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(n)?"end":""},this.getFoldWidgetRange=function(e,t,i){return null},this.indentationBlock=function(e,t,i){var s=/\S/,o=e.getLine(t),r=o.search(s);if(-1!=r){for(var a=i||o.length,l=e.getLength(),h=t,c=t;++th){var d=e.getLine(c).length;return new n(h,a,c,d)}}},this.openingBracketBlock=function(e,t,i,s,o){var r={row:i,column:s+1},a=e.$findClosingBracket(t,r,o);if(a){var l=e.foldWidgets[a.row];return null==l&&(l=e.getFoldWidget(a.row)),"start"==l&&a.row>r.row&&(a.row--,a.column=e.getLine(a.row).length),n.fromPoints(r,a)}},this.closingBracketBlock=function(e,t,i,s,o){var r={row:i,column:s},a=e.$findOpeningBracket(t,r);if(a)return a.column++,r.column--,n.fromPoints(a,r)}}).call(s.prototype)})),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],(function(e,t,i){"use strict";t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',e("../lib/dom").importCssString(t.cssText,t.cssClass)})),ace.define("ace/line_widgets",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/range"],(function(e,t,i){"use strict";e("./lib/oop");var n=e("./lib/dom");function s(e){this.session=e,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}e("./range"),(function(){this.getRowLength=function(e){var t;return t=this.lineWidgets&&this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0,this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.$getWidgetScreenLength=function(){var e=0;return this.lineWidgets.forEach((function(t){t&&t.rowCount&&!t.hidden&&(e+=t.rowCount)})),e},this.$onChangeEditor=function(e){this.attach(e.editor)},this.attach=function(e){e&&e.widgetManager&&e.widgetManager!=this&&e.widgetManager.detach(),this.editor!=e&&(this.detach(),this.editor=e,e&&(e.widgetManager=this,e.renderer.on("beforeRender",this.measureWidgets),e.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(e){var t=this.editor;if(t){this.editor=null,t.widgetManager=null,t.renderer.off("beforeRender",this.measureWidgets),t.renderer.off("afterRender",this.renderWidgets);var i=this.session.lineWidgets;i&&i.forEach((function(e){e&&e.el&&e.el.parentNode&&(e._inDocument=!1,e.el.parentNode.removeChild(e.el))}))}},this.updateOnFold=function(e,t){var i=t.lineWidgets;if(i&&e.action){for(var n=e.data,s=n.start.row,o=n.end.row,r="add"==e.action,a=s+1;a0&&!n[s];)s--;this.firstRow=i.firstRow,this.lastRow=i.lastRow,t.$cursorLayer.config=i;for(var r=s;r<=o;r++){var a=n[r];if(a&&a.el)if(a.hidden)a.el.style.top=-100-(a.pixelHeight||0)+"px";else{a._inDocument||(a._inDocument=!0,t.container.appendChild(a.el));var l=t.$cursorLayer.getPixelPosition({row:r,column:0},!0).top;a.coverLine||(l+=i.lineHeight*this.session.getRowLineCount(a.row)),a.el.style.top=l-i.offset+"px";var h=a.coverGutter?0:t.gutterWidth;a.fixedWidth||(h-=t.scrollLeft),a.el.style.left=h+"px",a.fullWidth&&a.screenWidth&&(a.el.style.minWidth=i.width+2*i.padding+"px"),a.el.style.right=a.fixedWidth?t.scrollBar.getWidth()+"px":""}}}}}).call(s.prototype),t.LineWidgets=s})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],(function(e,t,i){"use strict";var n=e("../line_widgets").LineWidgets,s=e("../lib/dom"),o=e("../range").Range;t.showErrorMarker=function(e,t){var i=e.session;i.widgetManager||(i.widgetManager=new n(i),i.widgetManager.attach(e));var r=e.getCursorPosition(),a=r.row,l=i.widgetManager.getWidgetsAtRow(a).filter((function(e){return"errorMarker"==e.type}))[0];l?l.destroy():a-=t;var h,c=function(e,t,i){var n=e.getAnnotations().sort(o.comparePoints);if(n.length){var s=function(e,t,i){for(var n=0,s=e.length-1;n<=s;){var o=n+s>>1,r=i(t,e[o]);if(r>0)n=o+1;else{if(!(r<0))return o;s=o-1}}return-(n+1)}(n,{row:t,column:-1},o.comparePoints);s<0&&(s=-s-1),s>=n.length?s=i>0?0:n.length-1:0===s&&i<0&&(s=n.length-1);var r=n[s];if(r&&i){if(r.row===t){do{r=n[s+=i]}while(r&&r.row===t);if(!r)return n.slice()}var a=[];t=r.row;do{a[i<0?"unshift":"push"](r),r=n[s+=i]}while(r&&r.row==t);return a.length&&a}}}(i,a,t);if(c){var u=c[0];r.column=(u.pos&&"number"!=typeof u.column?u.pos.sc:u.column)||0,r.row=u.row,h=e.renderer.$gutterLayer.$annotations[r.row]}else{if(l)return;h={text:["Looks good!"],className:"ace_ok"}}e.session.unfold(r.row),e.selection.moveToPosition(r);var d={row:r.row,fixedWidth:!0,coverGutter:!0,el:s.createElement("div"),type:"errorMarker"},g=d.el.appendChild(s.createElement("div")),f=d.el.appendChild(s.createElement("div"));f.className="error_widget_arrow "+h.className;var m=e.renderer.$cursorLayer.getPixelPosition(r).left;f.style.left=m+e.renderer.gutterWidth-5+"px",d.el.className="error_widget_wrapper",g.className="error_widget "+h.className,g.innerHTML=h.text.join("
"),g.appendChild(s.createElement("div"));var p=function(e,t,i){if(0===t&&("esc"===i||"return"===i))return d.destroy(),{command:"null"}};d.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(p),i.widgetManager.removeLineWidget(d),e.off("changeSelection",d.destroy),e.off("changeSession",d.destroy),e.off("mouseup",d.destroy),e.off("change",d.destroy))},e.keyBinding.addKeyboardHandler(p),e.on("changeSelection",d.destroy),e.on("changeSession",d.destroy),e.on("mouseup",d.destroy),e.on("change",d.destroy),e.session.widgetManager.addLineWidget(d),d.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:d.el.offsetHeight})},s.importCssString(" .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }","")})),ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],(function(e,t,n){"use strict";e("./lib/fixoldbrowsers");var s=e("./lib/dom"),o=e("./lib/event"),r=e("./editor").Editor,a=e("./edit_session").EditSession,l=e("./undomanager").UndoManager,h=e("./virtual_renderer").VirtualRenderer;e("./worker/worker_client"),e("./keyboard/hash_handler"),e("./placeholder"),e("./multi_select"),e("./mode/folding/fold_mode"),e("./theme/textmate"),e("./ext/error_marker"),t.config=e("./config"),t.acequire=e,t.define=i("B9Yq"),t.edit=function(e){if("string"==typeof e){var i=e;if(!(e=document.getElementById(i)))throw new Error("ace.edit can't find div #"+i)}if(e&&e.env&&e.env.editor instanceof r)return e.env.editor;var n="";if(e&&/input|textarea/i.test(e.tagName)){var a=e;n=a.value,e=s.createElement("pre"),a.parentNode.replaceChild(e,a)}else e&&(n=s.getInnerText(e),e.innerHTML="");var l=t.createEditSession(n),c=new r(new h(e));c.setSession(l);var u={document:l,editor:c,onResize:c.resize.bind(c,null)};return a&&(u.textarea=a),o.addListener(window,"resize",u.onResize),c.on("destroy",(function(){o.removeListener(window,"resize",u.onResize),u.editor.container.env=null})),c.container.env=c.env=u,c},t.createEditSession=function(e,t){var i=new a(e,t);return i.setUndoManager(new l),i},t.EditSession=a,t.UndoManager=l,t.version="1.2.9"})),ace.acequire(["ace/ace"],(function(e){for(var t in e&&(e.config.init(!0),e.define=ace.define),window.ace||(window.ace=e),e)e.hasOwnProperty(t)&&(window.ace[t]=e[t])})),e.exports=window.ace.acequire("ace/ace")},YqIF:function(e,t){ace.define("ace/theme/github",["require","exports","module","ace/lib/dom"],(function(e,t,i){t.isDark=!1,t.cssClass="ace-github",t.cssText='.ace-github .ace_gutter {background: #e8e8e8;color: #AAA;}.ace-github {background: #fff;color: #000;}.ace-github .ace_keyword {font-weight: bold;}.ace-github .ace_string {color: #D14;}.ace-github .ace_variable.ace_class {color: teal;}.ace-github .ace_constant.ace_numeric {color: #099;}.ace-github .ace_constant.ace_buildin {color: #0086B3;}.ace-github .ace_support.ace_function {color: #0086B3;}.ace-github .ace_comment {color: #998;font-style: italic;}.ace-github .ace_variable.ace_language {color: #0086B3;}.ace-github .ace_paren {font-weight: bold;}.ace-github .ace_boolean {font-weight: bold;}.ace-github .ace_string.ace_regexp {color: #009926;font-weight: normal;}.ace-github .ace_variable.ace_instance {color: teal;}.ace-github .ace_constant.ace_language {font-weight: bold;}.ace-github .ace_cursor {color: black;}.ace-github.ace_focus .ace_marker-layer .ace_active-line {background: rgb(255, 255, 204);}.ace-github .ace_marker-layer .ace_active-line {background: rgb(245, 245, 245);}.ace-github .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-github.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-github.ace_nobold .ace_line > span {font-weight: normal !important;}.ace-github .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-github .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-github .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-github .ace_gutter-active-line {background-color : rgba(0, 0, 0, 0.07);}.ace-github .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-github .ace_invisible {color: #BFBFBF}.ace-github .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-github .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',e("../lib/dom").importCssString(t.cssText,t.cssClass)}))}}]); \ No newline at end of file diff --git a/5-es5.js b/5-es5.js deleted file mode 100644 index f264b2a..0000000 --- a/5-es5.js +++ /dev/null @@ -1 +0,0 @@ -function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var i=0;i "\u7eff"[label="\u5199\u4e00\u4e2a\u5931\u8d25\u7684\u6d4b\u8bd5"];\n "\u7eff" -> "\u91cd\u6784"[label="\u8ba9\u4ee3\u7801\u53ef\u4ee5\u5de5\u4f5c"];\n "\u91cd\u6784" -> "\u7ea2"[dir="back" label="\u91cd\u6784"];\n}\n```\n\n### mermaid\n\n\u652f\u6301 [mermaid](https://mermaid-js.github.io/mermaid) \u56fe\u8868\u548c\u6d41\u7a0b\u56fe\n\n```mermaid\ngraph LR\n A[Hard edge] --\x3e|Link text| B(Round edge)\n B --\x3e C{Decision}\n C --\x3e|One| D[Result one]\n C --\x3e|Two| E[Result two]\n```\n\n\u7518\u7279\u56fe\uff0c\u8bed\u6cd5\u63cf\u8ff0\u89c1 [mermaid/gantt](https://mermaid-js.github.io/mermaid/#/gantt)\n\n```mermaid\ngantt\n title A Gantt Diagram\n dateFormat YYYY-MM-DD\n section Section\n A task :a1, 2014-01-01, 30d\n Another task :after a1 , 20d\n section Another\n Task in sec :2014-01-12 , 12d\n another task : 24d\n```\n\n### toolset\n\ntype \u4e3a `slider`\n\n```toolset\n - \u7528\u6237\u4f53\u9a8c\n - \u65f6\u95f4\n - \u6210\u672c\n - \u5b89\u5168\n - \u8303\u56f4\n\nconfig: {"type": "slider"}\n```\n\ntype \u4e3a `line-chart`\n\n```toolset\n| Challenge;Skill/Ability | low | high |\n|-|-|-|\n| low | | boredom |\n| high | anxiety | flow |\n\nconfig: {"type": "line-chart"}\n```\n\n### quadrant\n\n```quadrant\n - \u6280\u672f\u503a\u5899\n - \u5feb\u901f\u89e3\u51b3\n - \u2026\u2026\n - \u2026\u2026\n - \u2026\u2026\n - \u5206\u89e3\u5e76\u8ba1\u5212\n - \u2026\u2026\n - \u2026\u2026\n - \u2026\u2026\n - \u5728\u53ef\u80fd\u7684\u65f6\u5019\u63d0\u5347\n - \u2026\u2026\n - \u2026\u2026\n - \u6682\u65f6\u4e0d\u7ba1\n - \u2026\u2026\n - \u2026\u2026\n - \u2026\u2026\n\nconfig: {"left": "\u7b80\u5355", "right": "\u56f0\u96be", "bottom": "\u4e0d\u91cd\u8981", "top": "\u91cd\u8981"}\n```\n\n### radar\n\n```radar\n - \u8d28\u91cf\u5c5e\u6027\u7f51\u7edc\n - \u53ef\u9760\u6027\n - \u53ef\u4fee\u6539\u6027\n - \u5b89\u5168\u6027\n - \u53ef\u6d4b\u8bd5\u6027\n - \u6027\u80fd\n - \u53ef\u7528\u6027\n```\n\n\u6709\u56fe\u4f8b\u548c\u6570\u636e\n\n```radar\n - \u8d28\u91cf\u6210\u719f\u5ea6\u8bc4\u4f30\u6a21\u578b\n - \u8d28\u91cf\u5185\u5efa: 3 -> 4\n - \u4f18\u5316\u4e1a\u52a1\u4ef7\u503c: 2 -> 2\n - \u8d28\u91cf\u7edf\u4e00\uff0c\u53ef\u89c6\u5316: 1 -> 5\n - \u5168\u5458\u53c2\u4e0e: 3 -> 4\n - \u5feb\u901f\u4ea4\u4ed8: 4 -> 5\n - \u6d4b\u8bd5\u4f5c\u4e3a\u8d44\u4ea7: 2 -> 3\n - \u5feb\u901f\u53cd\u9988: 5 -> 5\n\nconfig: {"legend": ["\u5f53\u524d", "\u672a\u6765"]}\n```\n\n### pyramid\n\n```pyramid\n - \u5bfb\u627e\u4ef7\u503c\n - \u4ef7\u503c\uff1a\u3001\n - \u8d28\u91cf\uff1a\u96f6\u7f3a\u9677\u3001\u8bbe\u8ba1\u826f\u597d\n - \u5212\u5206\uff1a\u5c0f\u3001\u5b8c\u6574\n - \u6784\u5efa\uff1a\u4ef7\u503c\u4f18\u5148\u3001\u9010\u6e10\u5b8c\u5584\u4ea7\u54c1\n - \u8ba1\u5212\uff1a\u6301\u7eed\u3001\u63a5\u4e0b\u6765\u505a\u4ec0\u4e48\uff1f\n - \u7ec4\u7ec7\uff1a\u56e2\u961f\u3001\u4eba\u5458\u4e0e\u6280\u80fd\n - \u6307\u5bfc\uff1a\u4f55\u7269\u3001\u4f55\u65f6\n```\n\n### mindmap\n\n```mindmap\n - CI \u5efa\u8bbe\n - \u5f00\u53d1\u9636\u6bb5\u51c6\u5907\n - \u62c9 Aimeituan \u5de5\u7a0b\u7684\u5f00\u53d1\u5206\u652f\n - \u4fee\u6539\u5f00\u53d1\u5206\u652f\u7248\u672c\u53f7\n - Aimeituan \u5de5\u7a0b\u72ec\u7acb\u7f16\u8bd1\u81ea\u52a8\u914d\u7f6e\n - PR \u68c0\u6d4b\n - \u9759\u6001\u68c0\u6d4b\n - \u589e\u91cf\u68c0\u6d4b\n - SDK\n - \u5305\u5927\u5c0f\n - \u5355\u6d4b\n - \u5f00\u53d1\u9636\u6bb5\n - \u5b9a\u65f6\u68c0\u6d4b\u58f3\u5de5\u7a0b\u662f\u5426\u6709\u66f4\u65b0\uff0c\u89e6\u53d1\u81ea\u52a8\u6253\u5305\n - \u6bcf\u65e5\u6700\u65b0\u7248\u672c\u53f7\u63d0\u9192\n - \u63d0\u6d4b\u9636\u6bb5\n - \u5192\u70df\u63d0\u9192\n - \u81ea\u52a8\u62c9\u63d0\u6d4b\u5206\u652f\n - \u4e1a\u52a1\u5e93\u68c0\u6d4b\u662f\u5426\u6709 PR \u672a\u5408\u5165\n - \u63d0\u6d4b\u6253\u5305\u3001\u53d1\u63d0\u6d4b\u90ae\u4ef6\n - \u53d1\u7248\u9636\u6bb5\n - \u5206\u652f\u5408\u5e76\n - \u5916\u5356\u4e1a\u52a1\u5e93\u5408\u5165 Aimeituan \u63d0\u6d4b\u5206\u652f\n - \u5168\u91cf\u63d0\u9192\n```\n\n### process-step\n\n```process-step\n - \u5e73\u53f0\u5c42\n - \u8fd0\u7ef4\u5e73\u53f0\n - \u5c0f\u7c73\u79c1\u6709\u4e91\n - \u5c0f\u7c73\u751f\u6001\u4e91\n - \u80fd\u529b\u5c42\n - \u56e2\u961f\u6ce8\u518c\n - \u4e00\u952e\u63a5\u5165\n - \u68c0\u6d4b\u626b\u63cf\u5de5\u5177\u96c6\u6210\n - \u53d1\u5e03\u90e8\u7f72\n - \u6807\u51c6\u5316\u5de5\u5177\u63a5\u5165\n - \u5de5\u5177\u5c42\n - Gitlab\n - Phabricator\n - Jenkins on K8s\n - \u4ee3\u7801\u8d28\u91cf\u626b\u63cf\n - \u5b89\u5168/\u6cd5\u5f8b\u5408\u89c4\u626b\u63cf\n - \u4e8c\u8fdb\u5236&\u4ea7\u51fa\u7269\u5b58\u50a8\n - \u4e8c\u8fdb\u5236\u5b89\u5168\u626b\u63cf\n - \u4e8c\u8fdb\u5236\u6cd5\u52a1\u5ba1\u8ba1\u626b\u63cf\n - \u90e8\u7f72\u670d\u52a1\n - \u6570\u636e\u5c42\n - \u6570\u636e\u667a\u80fd\u5e94\u7528\n - \u7814\u53d1\u6548\u80fd\u6570\u636e\u4ed3\u5e93\n```\n\n### process-table\n\n```process-table\n| \u6e90\u7801\u7ba1\u7406 | \u4ee3\u7801\u8d28\u91cf | \u5236\u54c1\u7ba1\u7406 | \u6d4b\u8bd5 | \u6301\u7eed\u96c6\u6210 | \u5206\u6790 | \u534f\u4f5c |\n|-|-|-|-|-|-|-|\n| Git | TSLint | Git (history) | Jasmine | GitHub Action | GitHub Traffic | GitHub Projects |\n| GitHub | Code Climate | | Jest | | Google Analysis | |\n```\n\n### chart\n\n> \u91c7\u7528 DevOps \u7684\u884c\u4e1a\n\n```chart\n| \u884c\u4e1a | \u5360\u6bd4 |\n|-|-|\n| \u6280\u672f | 38% |\n| \u91d1\u878d\u670d\u52a1 | 12% |\n| \u96f6\u552e/\u6d88\u8d39/\u7535\u5b50\u5546\u52a1 | 9% |\n| \u5176\u5b83 | 9% |\n| \u533b\u7597\u4fdd\u5065\u548c\u5236\u836f | 5\uff05 |\n| \u653f\u5e9c | 5% |\n| \u5a92\u4f53/\u5a31\u4e50 | 4% |\n| \u4fdd\u9669 | 4% |\n| \u6559\u80b2 | 4% |\n| \u5de5\u4e1a\u548c\u5236\u9020\u4e1a | 4% |\n| \u7535\u4fe1 | 3% |\n| \u80fd\u6e90 | 3% |\n| \u975e\u8425\u5229 | 1% |\n```\n\n> \u7ec4\u7ec7\u6240\u4f7f\u7528\u7684\u64cd\u4f5c\u7cfb\u7edf\n\n\u914d\u7f6e\u9879 `config: {"type": "bar", "multiset": true}`\n\n```chart\n| \u64cd\u4f5c\u7cfb\u7edf | 2018 | 2019 |\n|-|-|-|\n| Windows 2003/2003R2 | 12% | 6% |\n| Windows 2008/2008R2 | 33% | 26% |\n| Windows 2012/2012R2 | 56% | 52% |\n| Other Windows | 22% | 25% |\n| Linux Debian/Ubuntu variants | 36% | 43% |\n| Linux Enterprise variants (RHEL, Oracle, CentOS) | 48% | 49% |\n| Linux Fedora | 5% | 4% |\n| SUSE Linux Enterprise Server | 8% | 5% |\n| Linux OpenSUSE | 4% | 4% |\n| Linux Arch | 2% | 2% |\n| Other Linux | 13% | 11% |\n| Other UNIX | 8% | 4% |\n| FreeBSD/NetBSD/OpenBSD | 3% | 3% |\n| AIX | 10% | 7% |\n| Solaris OS | 12% | 5% |\n| Other | 12% | 8% |\n\nconfig: {"type": "bar", "multiset": true}\n```\n\n### pie\n\n```pie\n - Some & < > " title\n - a: 4\n - b: 12\n - c: 21\n - d: 19\n```\n\n### process-card\n\n\u652f\u6301\u6837\u5f0f\u989c\u8272\u914d\u7f6e `"colors": [{"bg":"#e55852","font":"#b71a09"}]`\uff0c`bg` \u4e3a\u80cc\u666f\u8272\uff0c`font` \u4e3a\u5b57\u4f53\u989c\u8272\u3002\n\n```process-card\n| \u7f3a\u9677\u6536\u96c6 | \u7f3a\u9677\u5206\u6790 | \u7f3a\u9677\u9884\u9632 |\n|-|-|-|\n| \u7f3a\u9677\u6a21\u677f | \u7f3a\u9677\u5206\u7c7b | \u53ef\u6d4b\u6027 |\n| \u751f\u547d\u5468\u671f| \u7f3a\u9677\u7edf\u8ba1 | \u7f3a\u9677\u54cd\u5e94\u529b |\n| \u7ba1\u7406\u5de5\u5177 | \u7f3a\u9677\u5206\u5e03 | \u654f\u6377\u8fc7\u7a0b |\n| \u7f3a\u9677\u626b\u9664 | \u7f3a\u9677\u62a5\u544a | \u4e8c\u516b\u6cd5\u5219 |\n\nconfig: {"colors": [{"bg":"#e55852","font":"#b71a09"},{"bg":"#e98832","font":"#c85113"},{"bg":"#f0d668","font":"#b88d0f"},{"bg":"#a4c9cf","font":"#598893"},{"bg":"#47c0af","font":"#175a54"},{"bg":"#387fd5","font":"#9ac9f5"},{"bg":"#7753df","font":"#cbb5f8"}]}\n```\n\n### step-line\n\n```step-line\n - \u6e90\u7801\u7ba1\u7406\n - \u5236\u54c1\u7ba1\u7406\n - \u914d\u7f6e\u7ba1\u7406\n - \u6570\u636e\u5e93\u81ea\u52a8\u5316\n - \u6d4b\u8bd5\n - \u6301\u7eed\u96c6\u6210\n - \u76d1\u63a7\n - \u5206\u6790\n - \u667a\u80fd\u8fd0\u7ef4\n - \u534f\u4f5c\n```\n\n### table-step\n\n\u652f\u6301\u914d\u7f6e\u7684\u5c5e\u6027\u6709\uff1a\n\n- `rowHeight` \u884c\u9ad8\n- `colors` \u989c\u8272\u914d\u7f6e\u53c2\u8003 `process-card`\n- `column` \u8bbe\u7f6e\u6bcf\u884c\u591a\u5c11\u5217\uff08\u9ed8\u8ba4\u81ea\u9002\u5e94\uff0c\u9ed8\u8ba4\u6700\u5c11 4 \u5217\uff09\n\n```table-step\n| \u9879\u76ee / \u8fc7\u7a0b\u7ba1\u7406 | \u914d\u7f6e\u7ba1\u7406 | \u6784\u5efa | \u6d4b\u8bd5 / \u8d28\u91cf | \u5236\u54c1 / \u90e8\u7f72 | \u57fa\u7840\u8bbe\u65bd | \u6c9f\u901a\u534f\u4f5c | \u53ef\u89c6\u5316 |\n|---|----|---|---|----|----|----|----|\n| Jira | Gitee | Maven | Junit | Ubran code | VMWare | \u62db\u547c | Tableau |\n| Tracker | Rational ClearCase | Gradle | Cucumber | Fit2Cloud | OpenShift | \u79fb\u4e8b\u901a | Grafana |\n| VP | CMDB | NPM | JMeter | B9 | Cloud Foundry | | Kibana |\n| Confluence | Firefly | Ant | RobotFramework | JFrog Artifactory | | | Prometheus |\n| ITIL | | MSBuild | Protractor | | | | ElasticSearch |\n| | | Docker | Sonar | | | | X-Pack |\n| | | | BlackDuck | | | | |\n\nconfig: {"rowHeight": "340px" ,"colors": [{"bg":"#e55852","font":"#b71a09"},{"bg":"#e98832","font":"#c85113"},{"bg":"#f0d668","font":"#b88d0f"},\n{"bg":"#a4c9cf","font":"#598893"},{"bg":"#47c0af","font":"#175a54"},\n{"bg":"#387fd5","font":"#9ac9f5"},{"bg":"#7753df","font":"#cbb5f8"},{"bg":"#485cde","font":"#a0b1f3"}]}\n```\n\n### Pipeline\n\n```yml\n# Syntax\n- Stage1 label\n - Job1 label:Job1 state\n- Stage2 label\n - Job1 label:Job1 state\n - Job2 label:Job2 state\n```\n\n**Job State**\n\n- [x] success\n- [x] error\n- [x] untouched\n- [ ] processing [Unsupported]\n- [ ] current [Unsupported]\n- [ ] pending [Unsupported]\n\n```pipeline\n- Initialize\n - Initialize:success\n- Build\n - Pull code:success\n - Test:error\n - Build:current\n- Deploy\n - QA:pending\n - UAT:processing\n - STAGING:processing\n - PROD:untouched\n- Finish\n - Finish:untouched\n\nconfig: {\n "connectionStrokeWidth": 4,\n "stateStrokeWidth": 4,\n "stateRadius": 16,\n "stageSpace": 60,\n "stageLabelHeight": 30,\n "stageLabelSize": "16px",\n "jobHeight": 60,\n "jobLabelSize": "12px",\n "startNodeRadius": 12,\n "startNodeSpace": 40,\n "endNodeRadius": 12,\n "endNodeSpace": 40\n}\n```\n\n---\n\n## \u5176\u4ed6 Markdown \u8bed\u6cd5\n\n```javascript\nconsole.log("hello, world");\n```\n\n| | normal | table |\n| --- | ------ | ----- |\n| | | |\n| | | |\n\n- list\n- item\n\n> spliqt\n\n- a\n - a\n - a\n - b\n\n\u8fd9\u662f\u4e00\u4e2a\u6b63\u5e38\u65e0\u6bd4\u7684\u6bb5\u843d\u3002\n\n> blockquote\n\n## [Link in Heading](https://devops.phodal.com/design)\n\nphodal.com\n\n---\n\n1. fsda\n2. 34 sdf\n\n- a\n- a\n\n3. sdaf\n\nb\n\n- [ ] a\n- [ ] b\n - [ ] c\n',this.direction="horizontal",this.sizes={percent:{area1:30,area2:70},pixel:{area1:120,area2:"*",area3:160}},this.aceOptions={enableBasicAutocompletion:!0,enableSnippets:!0,enableLiveAutocompletion:!0},this.themeSelected="github",this.term$=new g.a,this.searchSubscription=this.term$.pipe(Object(m.a)(500),Object(p.a)(),Object(A.a)((function(e){return t.content=e,f.a}))).subscribe()}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"ngOnDestroy",value:function(){this.searchSubscription&&(this.searchSubscription.unsubscribe(),this.searchSubscription=null)}},{key:"dragEnd",value:function(e,t){var i=t.sizes;"percent"===e?(this.sizes.percent.area1=i[0],this.sizes.percent.area2=i[1]):"pixel"===e&&(this.sizes.pixel.area1=i[0],this.sizes.pixel.area2=i[1],this.sizes.pixel.area3=i[2])}},{key:"onAceChange",value:function(e){this.term$.next(e)}},{key:"editorRef",value:function(e){this.acEditor=e}}]),e}()).\u0275fac=function(e){return new(e||C)},C.\u0275cmp=h.Ib({type:C,selectors:[["ledge-editor"]],viewQuery:function(e,t){var i;1&e&&(h.Ec(F,!0),h.Ec(w,!0),h.Ec(v,!0)),2&e&&(h.qc(i=h.dc())&&(t.split=i.first),h.qc(i=h.dc())&&(t.area1=i.first),h.qc(i=h.dc())&&(t.area2=i.first))},decls:9,vars:7,consts:[["unit","percent",1,"helper",3,"direction","dragEnd"],["split","asSplit"],["size","30",1,"source"],["area1","asSplitArea"],["ace-editor","",1,"md-editor",3,"text","mode","theme","options","readOnly","textChanged","editorRef"],["editor",""],["size","70"],["area2","asSplitArea"],[1,"sample",3,"content"]],template:function(e,t){1&e&&(h.Ub(0,"as-split",0,1),h.cc("dragEnd",(function(e){return t.dragEnd("percent",e)})),h.Ub(2,"as-split-area",2,3),h.Ub(4,"div",4,5),h.cc("textChanged",(function(e){return t.onAceChange(e)}))("editorRef",(function(e){return t.editorRef(e)})),h.Tb(),h.Tb(),h.Ub(6,"as-split-area",6,7),h.Pb(8,"ledge-render",8),h.Tb(),h.Tb()),2&e&&(h.lc("direction",t.direction),h.Cb(4),h.lc("text",t.content)("mode","markdown")("theme",t.themeSelected)("options",t.aceOptions)("readOnly",!1),h.Cb(4),h.lc("content",t.content))},directives:[c.c,c.b,u,l.a],styles:[".helper[_ngcontent-%COMP%]{display:flex;flex-grow:1;height:calc(100vh - 64px);overflow-y:hidden;padding:0 .2em}.source[_ngcontent-%COMP%]{position:relative}.source[_ngcontent-%COMP%] .md-editor[_ngcontent-%COMP%]{font-size:14px;margin-left:1em;padding:8px;width:100%;height:100%}.source[_ngcontent-%COMP%] .toolbar[_ngcontent-%COMP%]{position:absolute;top:0;background:#fff;right:0;height:30px;width:150px;padding:0 12px;z-index:100;display:flex;justify-content:center;align-items:center;box-shadow:1px 1px 8px 1px #c8c8c8}.source[_ngcontent-%COMP%] .toolbar[_ngcontent-%COMP%] mat-select[_ngcontent-%COMP%]{width:84px}.sample[_ngcontent-%COMP%]{height:100%;flex-shrink:0;overflow-y:hidden}"]}),C);i.d(t,"LedgeEditorModule",(function(){return y}));var b,y=((b=function e(){_classCallCheck(this,e)}).\u0275mod=h.Mb({type:b}),b.\u0275inj=h.Lb({factory:function(e){return new(e||b)},imports:[[o.b,r.c,l.b,d,c.a.forRoot(),a.a.forChild([{path:"",component:E}])]]}),b)},B9Yq:function(e,t){e.exports=function(){throw new Error("define cannot be used indirect")}},Bhyg:function(e,t,i){!function(){var e=function(){return this}();e||"undefined"==typeof window||(e=window);var t=function e(t,i,n){"string"==typeof t?(2==arguments.length&&(n=i),e.modules[t]||(e.payloads[t]=n,e.modules[t]=null)):e.original?e.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};t.modules={},t.payloads={};var i,n=function(e,t,i){if("string"==typeof t){var n=o(e,t);if(null!=n)return i&&i(),n}else if("[object Array]"===Object.prototype.toString.call(t)){for(var r=[],a=0,l=t.length;a1&&l(n,"")>-1&&(i=RegExp(this.source,s.replace.call(a(this),"g","")),s.replace.call(e.slice(n.index),i,(function(){for(var e=1;en.index&&this.lastIndex--}return n},r||(RegExp.prototype.test=function(e){var t=s.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t}))})),ace.define("ace/lib/es5-shim",["require","exports","module"],(function(e,t,i){function n(){}Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError("Function.prototype.bind called on incompatible "+t);var i=u.call(arguments,1),s=function n(){if(this instanceof n){var s=t.apply(this,i.concat(u.call(arguments)));return Object(s)===s?s:this}return t.apply(e,i.concat(u.call(arguments)))};return t.prototype&&(n.prototype=t.prototype,s.prototype=new n,n.prototype=null),s});var s,o,r,a,l,c=Function.prototype.call,h=Object.prototype,u=Array.prototype.slice,d=c.bind(h.toString),g=c.bind(h.hasOwnProperty);if((l=g(h,"__defineGetter__"))&&(s=c.bind(h.__defineGetter__),o=c.bind(h.__defineSetter__),r=c.bind(h.__lookupGetter__),a=c.bind(h.__lookupSetter__)),2!=[1,2].splice(0).length)if(function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t,i=[];if(i.splice.apply(i,e(20)),i.splice.apply(i,e(26)),t=i.length,i.splice(5,0,"XXX"),t+1==i.length)return!0}()){var f=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?f.apply(this,[void 0===e?0:e,void 0===t?this.length-e:t].concat(u.call(arguments,2))):[]}}else Array.prototype.splice=function(e,t){var i=this.length;e>0?e>i&&(e=i):null==e?e=0:e<0&&(e=Math.max(i+e,0)),e+ta)for(d=c;d--;)this[l+d]=this[a+d];if(o&&e===h)this.length=h,this.push.apply(this,s);else for(this.length=h+o,d=0;d>>0;if("[object Function]"!=d(e))throw new TypeError;for(;++s>>0,s=Array(n),o=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var r=0;r>>0,o=[],r=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var a=0;a>>0,s=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var o=0;o>>0,s=arguments[1];if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");for(var o=0;o>>0;if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");if(!n&&1==arguments.length)throw new TypeError("reduce of empty array with no initial value");var s,o=0;if(arguments.length>=2)s=arguments[1];else for(;;){if(o in i){s=i[o++];break}if(++o>=n)throw new TypeError("reduce of empty array with no initial value")}for(;o>>0;if("[object Function]"!=d(e))throw new TypeError(e+" is not a function");if(!n&&1==arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var s,o=n-1;if(arguments.length>=2)s=arguments[1];else for(;;){if(o in i){s=i[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}do{o in this&&(s=e.call(void 0,s,i[o],o,t))}while(o--);return s}),Array.prototype.indexOf&&-1==[0,1].indexOf(1,2)||(Array.prototype.indexOf=function(e){var t=C&&"[object String]"==d(this)?this.split(""):L(this),i=t.length>>>0;if(!i)return-1;var n=0;for(arguments.length>1&&(n=x(arguments[1])),n=n>=0?n:Math.max(0,i+n);n>>0;if(!i)return-1;var n=i-1;for(arguments.length>1&&(n=Math.min(n,x(arguments[1]))),n=n>=0?n:i-Math.abs(n);n>=0;n--)if(n in t&&e===t[n])return n;return-1}),Object.getPrototypeOf||(Object.getPrototypeOf=function(e){return e.__proto__||(e.constructor?e.constructor.prototype:h)}),Object.getOwnPropertyDescriptor||(Object.getOwnPropertyDescriptor=function(e,t){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.getOwnPropertyDescriptor called on a non-object: "+e);if(g(e,t)){var i;if(i={enumerable:!0,configurable:!0},l){var n=e.__proto__;e.__proto__=h;var s=r(e,t),o=a(e,t);if(e.__proto__=n,s||o)return s&&(i.get=s),o&&(i.set=o),i}return i.value=e[t],i}}),Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(e){return Object.keys(e)}),Object.create||(m=null===Object.prototype.__proto__?function(){return{__proto__:null}}:function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(e,t){var i;if(null===e)i=m();else{if("object"!=typeof e)throw new TypeError("typeof prototype["+typeof e+"] != 'object'");var n=function(){};n.prototype=e,(i=new n).__proto__=e}return void 0!==t&&Object.defineProperties(i,t),i}),Object.defineProperty){var w=F({}),v="undefined"==typeof document||F(document.createElement("div"));if(!w||!v)var E=Object.defineProperty}Object.defineProperty&&!E||(Object.defineProperty=function(e,t,i){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.defineProperty called on non-object: "+e);if("object"!=typeof i&&"function"!=typeof i||null===i)throw new TypeError("Property description must be an object: "+i);if(E)try{return E.call(Object,e,t,i)}catch(c){}if(g(i,"value"))if(l&&(r(e,t)||a(e,t))){var n=e.__proto__;e.__proto__=h,delete e[t],e[t]=i.value,e.__proto__=n}else e[t]=i.value;else{if(!l)throw new TypeError("getters & setters can not be defined on this javascript engine");g(i,"get")&&s(e,t,i.get),g(i,"set")&&o(e,t,i.set)}return e}),Object.defineProperties||(Object.defineProperties=function(e,t){for(var i in t)g(t,i)&&Object.defineProperty(e,i,t[i]);return e}),Object.seal||(Object.seal=function(e){return e}),Object.freeze||(Object.freeze=function(e){return e});try{Object.freeze((function(){}))}catch(R){Object.freeze=(p=Object.freeze,function(e){return"function"==typeof e?e:p(e)})}if(Object.preventExtensions||(Object.preventExtensions=function(e){return e}),Object.isSealed||(Object.isSealed=function(e){return!1}),Object.isFrozen||(Object.isFrozen=function(e){return!1}),Object.isExtensible||(Object.isExtensible=function(e){if(Object(e)===e)throw new TypeError;for(var t="";g(e,t);)t+="?";e[t]=!0;var i=g(e,t);return delete e[t],i}),!Object.keys){var b=!0,y=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],$=y.length;for(var B in{toString:null})b=!1;Object.keys=function(e){if("object"!=typeof e&&"function"!=typeof e||null===e)throw new TypeError("Object.keys called on a non-object");var t=[];for(var i in e)g(e,i)&&t.push(i);if(b)for(var n=0,s=$;n0||-1)*Math.floor(Math.abs(e))),e}var L=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return Object(e)}})),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],(function(e,t,i){"use strict";e("./regexp"),e("./es5-shim")})),ace.define("ace/lib/dom",["require","exports","module"],(function(e,t,i){"use strict";t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||"http://www.w3.org/1999/xhtml",e):document.createElement(e)},t.hasCssClass=function(e,t){return-1!==(e.className+"").split(/\s+/g).indexOf(t)},t.addCssClass=function(e,i){t.hasCssClass(e,i)||(e.className+=" "+i)},t.removeCssClass=function(e,t){for(var i=e.className.split(/\s+/g);;){var n=i.indexOf(t);if(-1==n)break;i.splice(n,1)}e.className=i.join(" ")},t.toggleCssClass=function(e,t){for(var i=e.className.split(/\s+/g),n=!0;;){var s=i.indexOf(t);if(-1==s)break;n=!1,i.splice(s,1)}return n&&i.push(t),e.className=i.join(" "),n},t.setCssClass=function(e,i,n){n?t.addCssClass(e,i):t.removeCssClass(e,i)},t.hasCssString=function(e,t){var i,n=0;if((t=t||document).createStyleSheet&&(i=t.styleSheets)){for(;n=0?parseFloat((s.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((s.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&"Gecko"===window.navigator.product,t.isOldGecko=t.isGecko&&parseInt((s.match(/rv:(\d+)/)||[])[1],10)<4,t.isOpera=window.opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(s.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(s.split(" Chrome/")[1])||void 0,t.isAIR=s.indexOf("AdobeAIR")>=0,t.isIPad=s.indexOf("iPad")>=0,t.isChromeOS=s.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(s)&&!window.MSStream,t.isIOS&&(t.isMac=!0)}})),ace.define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,i){"use strict";var n=e("./keys"),s=e("./useragent"),o=null,r=0;t.addListener=function(e,t,i){if(e.addEventListener)return e.addEventListener(t,i,!1);if(e.attachEvent){var n=function(){i.call(e,window.event)};i._wrapper=n,e.attachEvent("on"+t,n)}},t.removeListener=function(e,t,i){if(e.removeEventListener)return e.removeEventListener(t,i,!1);e.detachEvent&&e.detachEvent("on"+t,i._wrapper||i)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return"dblclick"==e.type?0:"contextmenu"==e.type||s.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,i,n){function s(e){i&&i(e),n&&n(e),t.removeListener(document,"mousemove",i,!0),t.removeListener(document,"mouseup",s,!0),t.removeListener(document,"dragstart",s,!0)}return t.addListener(document,"mousemove",i,!0),t.addListener(document,"mouseup",s,!0),t.addListener(document,"dragstart",s,!0),s},t.addTouchMoveListener=function(e,i){var n,s;t.addListener(e,"touchstart",(function(e){var t=e.touches[0];n=t.clientX,s=t.clientY})),t.addListener(e,"touchmove",(function(e){var t=e.touches;if(!(t.length>1)){var o=t[0];e.wheelX=n-o.clientX,e.wheelY=s-o.clientY,n=o.clientX,s=o.clientY,i(e)}}))},t.addMouseWheelListener=function(e,i){"onmousewheel"in e?t.addListener(e,"mousewheel",(function(e){void 0!==e.wheelDeltaX?(e.wheelX=-e.wheelDeltaX/8,e.wheelY=-e.wheelDeltaY/8):(e.wheelX=0,e.wheelY=-e.wheelDelta/8),i(e)})):"onwheel"in e?t.addListener(e,"wheel",(function(e){switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=.35*e.deltaX||0,e.wheelY=.35*e.deltaY||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=5*(e.deltaX||0),e.wheelY=5*(e.deltaY||0)}i(e)})):t.addListener(e,"DOMMouseScroll",(function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=5*(e.detail||0),e.wheelY=0):(e.wheelX=0,e.wheelY=5*(e.detail||0)),i(e)}))},t.addMultiMouseDownListener=function(e,i,n,o){var r,a,l,c=0,h={2:"dblclick",3:"tripleclick",4:"quadclick"};function u(e){if(0!==t.getButton(e)?c=0:e.detail>1?++c>4&&(c=1):c=1,s.isIE){var u=Math.abs(e.clientX-r)>5||Math.abs(e.clientY-a)>5;l&&!u||(c=1),l&&clearTimeout(l),l=setTimeout((function(){l=null}),i[c-1]||600),1==c&&(r=e.clientX,a=e.clientY)}if(e._clicks=c,n[o]("mousedown",e),c>4)c=0;else if(c>1)return n[o](h[c],e)}function d(e){c=2,l&&clearTimeout(l),l=setTimeout((function(){l=null}),i[c-1]||600),n[o]("mousedown",e),n[o](h[c],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){t.addListener(e,"mousedown",u),s.isOldIE&&t.addListener(e,"dblclick",d)}))};var a=!s.isMac||!s.isOpera||"KeyboardEvent"in window?function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)}:function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)};function l(e,t,i){var l=a(t);if(!s.isMac&&o){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(l|=8),o.altGr){if(3==(3&l))return;o.altGr=0}if(18===i||17===i){var c="location"in t?t.location:t.keyLocation;17===i&&1===c?1==o[i]&&(r=t.timeStamp):18===i&&3===l&&2===c&&t.timeStamp-r<50&&(o.altGr=!0)}}if(i in n.MODIFIER_KEYS&&(i=-1),8&l&&i>=91&&i<=93&&(i=-1),l||13!==i||3!==(c="location"in t?t.location:t.keyLocation)||(e(t,l,-i),!t.defaultPrevented)){if(s.isChromeOS&&8&l){if(e(t,l,i),t.defaultPrevented)return;l&=-9}return!!(l||i in n.FUNCTION_KEYS||i in n.PRINTABLE_KEYS)&&e(t,l,i)}}function c(){o=Object.create(null)}t.getModifierString=function(e){return n.KEY_MODS[a(e)]},t.addCommandKeyListener=function(e,i){var n=t.addListener;if(s.isOldGecko||s.isOpera&&!("KeyboardEvent"in window)){var r=null;n(e,"keydown",(function(e){r=e.keyCode})),n(e,"keypress",(function(e){return l(i,e,r)}))}else{var a=null;n(e,"keydown",(function(e){o[e.keyCode]=(o[e.keyCode]||0)+1;var t=l(i,e,e.keyCode);return a=e.defaultPrevented,t})),n(e,"keypress",(function(e){a&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),a=null)})),n(e,"keyup",(function(e){o[e.keyCode]=null})),o||(c(),n(window,"focus",c))}},"object"==typeof window&&window.postMessage&&!s.isOldIE&&(t.nextTick=function(e,i){i=i||window,t.addListener(i,"message",(function n(s){"zero-timeout-message-1"==s.data&&(t.stopPropagation(s),t.removeListener(i,"message",n),e())})),i.postMessage("zero-timeout-message-1","*")}),t.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame=t.nextFrame?t.nextFrame.bind(window):function(e){setTimeout(e,17)}})),ace.define("ace/lib/lang",["require","exports","module"],(function(e,t,i){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){for(var i="";t>0;)1&t&&(i+=e),(t>>=1)&&(e+=e);return i};var n=/^\s\s*/,s=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(n,"")},t.stringTrimRight=function(e){return e.replace(s,"")},t.copyObject=function(e){var t={};for(var i in e)t[i]=e[i];return t},t.copyArray=function(e){for(var t=[],i=0,n=e.length;i"\n aaaa a\n".length?e=e.substr(9):e.substr(0,4)=="\n aaaa a\n".substr(0,4)?e=e.substr(4,e.length-"\n aaaa a\n".length+1):e.charAt(e.length-1)=="\n aaaa a\n".charAt(0)&&(e=e.slice(0,-1)),e=="\n aaaa a\n".charAt(0)||e.charAt(e.length-1)=="\n aaaa a\n".charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),u&&(u=!1),b&&(b=!1))},$=function(e){f||(y(i.value),v())},B=function e(t,i,n){var s=t.clipboardData||window.clipboardData;if(s&&!c){var o=h||n?"Text":"text/plain";try{return i?!1!==s.setData(o,i):s.getData(o)}catch(t){if(!n)return e(t,i,!0)}}},D=function(e,o){var r=t.getCopyText();if(!r)return n.preventDefault(e);B(e,r)?(s.isIOS&&(d=o,i.value="\n aa"+r+"a a\n",i.setSelectionRange(4,4+r.length),u={value:r}),o?t.onCut():t.onCopy(),s.isIOS||n.preventDefault(e)):(u=!0,i.value=r,i.select(),setTimeout((function(){u=!1,v(),w(),o?t.onCut():t.onCopy()})))};n.addCommandKeyListener(i,t.onCommandKey.bind(t)),n.addListener(i,"select",(function(e){!function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length}(i)?E&&w(t.selection.isEmpty()):(t.selectAll(),w())})),n.addListener(i,"input",$),n.addListener(i,"cut",(function(e){D(e,!0)})),n.addListener(i,"copy",(function(e){D(e,!1)})),n.addListener(i,"paste",(function(e){var o=B(e);"string"==typeof o?(o&&t.onPaste(o,e),s.isIE&&setTimeout(w),n.preventDefault(e)):(i.value="",g=!0)}));var S,k=function(){if(f&&t.onCompositionUpdate&&!t.$readOnly){var e=i.value.replace(/\x01/g,"");if(f.lastValue!==e&&(t.onCompositionUpdate(e),f.lastValue&&t.undo(),f.canUndo&&(f.lastValue=e),f.lastValue)){var n=t.selection.getRange();t.insert(f.lastValue),t.session.markUndoGroup(),f.range=t.selection.getRange(),t.selection.setRange(n),t.selection.clearSelection()}}},x=function e(n){if(t.onCompositionEnd&&!t.$readOnly){var o=f;f=!1;var r=setTimeout((function(){r=null;var e=i.value.replace(/\x01/g,"");f||(e==o.lastValue?v():!o.lastValue&&e&&(v(),y(e)))}));E=function(e){return r&&clearTimeout(r),(e=e.replace(/\x01/g,""))==o.lastValue?"":(o.lastValue&&r&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",e),"compositionend"==n.type&&o.range&&t.selection.setRange(o.range),(s.isChrome&&s.isChrome>=53||s.isWebKit&&s.isWebKit>=603)&&$()}},L=r.delayedCall(k,50);function R(){clearTimeout(S),S=setTimeout((function(){m&&(i.style.cssText=m,m=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())}),0)}n.addListener(i,"compositionstart",(function(e){f||!t.onCompositionStart||t.$readOnly||((f={}).canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(k,0),t.on("mousedown",x),f.canUndo&&!t.selection.isEmpty()&&(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())})),s.isGecko?n.addListener(i,"text",(function(){L.schedule()})):(n.addListener(i,"keyup",(function(){L.schedule()})),n.addListener(i,"keydown",(function(){L.schedule()}))),n.addListener(i,"compositionend",x),this.getElement=function(){return i},this.setReadOnly=function(e){i.readOnly=e},this.onContextMenu=function(e){b=!0,w(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,r){m||(m=i.style.cssText),i.style.cssText=(r?"z-index:100000;":"")+"height:"+i.style.height+";"+(s.isIE?"opacity:0.1;":"");var a=t.container.getBoundingClientRect(),l=o.computedStyle(t.container),c=a.top+(parseInt(l.borderTopWidth)||0),h=a.left+(parseInt(a.borderLeftWidth)||0),u=a.bottom-c-i.clientHeight-2,d=function(e){i.style.left=e.clientX-h-2+"px",i.style.top=Math.min(e.clientY-c-2,u)+"px"};d(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(S),s.isWin&&n.capture(t.container,d,R))},this.onContextMenuClose=R;var M=function(e){t.textInput.onContextMenu(e),R()};if(n.addListener(i,"mouseup",M),n.addListener(i,"mousedown",(function(e){e.preventDefault(),R()})),n.addListener(t.renderer.scroller,"contextmenu",M),n.addListener(i,"contextmenu",M),s.isIOS){var T=null,_=!1;e.addEventListener("keydown",(function(e){T&&clearTimeout(T),_=!0})),e.addEventListener("keyup",(function(e){T=setTimeout((function(){_=!1}),100)}));var O=function(e){if(document.activeElement===i&&!_){if(d)return setTimeout((function(){d=!1}),100);var n=i.selectionStart,s=i.selectionEnd;if(i.setSelectionRange(4,5),n==s)switch(n){case 0:t.onCommandKey(null,0,a.up);break;case 1:t.onCommandKey(null,0,a.home);break;case 2:t.onCommandKey(null,l.option,a.left);break;case 4:t.onCommandKey(null,0,a.left);break;case 5:t.onCommandKey(null,0,a.right);break;case 7:t.onCommandKey(null,l.option,a.right);break;case 8:t.onCommandKey(null,0,a.end);break;case 9:t.onCommandKey(null,0,a.down)}else{switch(s){case 6:t.onCommandKey(null,l.shift,a.right);break;case 7:t.onCommandKey(null,l.shift|l.option,a.right);break;case 8:t.onCommandKey(null,l.shift,a.end);break;case 9:t.onCommandKey(null,l.shift,a.down)}switch(n){case 0:t.onCommandKey(null,l.shift,a.up);break;case 1:t.onCommandKey(null,l.shift,a.home);break;case 2:t.onCommandKey(null,l.shift|l.option,a.left);break;case 3:t.onCommandKey(null,l.shift,a.left)}}}};document.addEventListener("selectionchange",O),t.on("destroy",(function(){document.removeEventListener("selectionchange",O)}))}}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/keyboard/textinput_ios"],(function(e,t,i){"use strict";var n=e("../lib/event"),s=e("../lib/useragent"),o=e("../lib/dom"),r=e("../lib/lang"),a=s.isChrome<18,l=s.isIE,c=e("./textinput_ios").TextInput;t.TextInput=function(e,t){if(s.isIOS)return c.call(this,e,t);var i=o.createElement("textarea");i.className="ace_text-input",i.setAttribute("wrap","off"),i.setAttribute("autocorrect","off"),i.setAttribute("autocapitalize","off"),i.setAttribute("spellcheck",!1),i.style.opacity="0",e.insertBefore(i,e.firstChild);var h=!1,u=!1,d=!1,g="",f=!0;try{var m=document.activeElement===i}catch(_){}n.addListener(i,"blur",(function(e){t.onBlur(e),m=!1})),n.addListener(i,"focus",(function(e){m=!0,t.onFocus(e),C()})),this.focus=function(){if(g)return i.focus();var e=i.style.top;i.style.position="fixed",i.style.top="0px",i.focus(),setTimeout((function(){i.style.position="","0px"==i.style.top&&(i.style.top=e)}),0)},this.blur=function(){i.blur()},this.isFocused=function(){return m};var p=r.delayedCall((function(){m&&C(f)})),A=r.delayedCall((function(){d||(i.value="\u2028\u2028",m&&C())}));function C(e){if(!d){if(d=!0,w)var t=0,n=e?0:i.value.length-1;else t=e?2:1,n=2;try{i.setSelectionRange(t,n)}catch(_){}d=!1}}function F(){d||(i.value="\u2028\u2028",s.isWebKit&&A.schedule())}s.isWebKit||t.addEventListener("changeSelection",(function(){t.selection.isEmpty()!=f&&(f=!f,p.schedule())})),F(),m&&t.onFocus();var w=null;this.setInputHandler=function(e){w=e},this.getInputHandler=function(){return w};var v=!1,E=function(e){w&&(e=w(e),w=null),u?(C(),e&&t.onPaste(e),u=!1):e=="\u2028\u2028".charAt(0)?t.execCommand(v?"del":"backspace",{source:"ace"}):("\u2028\u2028"==e.substring(0,2)?e=e.substr(2):e.charAt(0)=="\u2028\u2028".charAt(0)?e=e.substr(1):e.charAt(e.length-1)=="\u2028\u2028".charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)=="\u2028\u2028".charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),v&&(v=!1)},b=function(e){d||(E(i.value),F())},y=function e(t,i,n){var s=t.clipboardData||window.clipboardData;if(s&&!a){var o=l||n?"Text":"text/plain";try{return i?!1!==s.setData(o,i):s.getData(o)}catch(t){if(!n)return e(t,i,!0)}}},$=function(e,s){var o=t.getCopyText();if(!o)return n.preventDefault(e);y(e,o)?(s?t.onCut():t.onCopy(),n.preventDefault(e)):(h=!0,i.value=o,i.select(),setTimeout((function(){h=!1,F(),C(),s?t.onCut():t.onCopy()})))},B=function(e){$(e,!0)},D=function(e){$(e,!1)},S=function(e){var o=y(e);"string"==typeof o?(o&&t.onPaste(o,e),s.isIE&&setTimeout(C),n.preventDefault(e)):(i.value="",u=!0)};n.addCommandKeyListener(i,t.onCommandKey.bind(t)),n.addListener(i,"select",(function(e){h?h=!1:function(e){return 0===e.selectionStart&&e.selectionEnd===e.value.length}(i)?(t.selectAll(),C()):w&&C(t.selection.isEmpty())})),n.addListener(i,"input",b),n.addListener(i,"cut",B),n.addListener(i,"copy",D),n.addListener(i,"paste",S),"oncut"in i&&"oncopy"in i&&"onpaste"in i||n.addListener(e,"keydown",(function(e){if((!s.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:D(e);break;case 86:S(e);break;case 88:B(e)}}));var k,x=function(){if(d&&t.onCompositionUpdate&&!t.$readOnly){var e=i.value.replace(/\u2028/g,"");if(d.lastValue!==e&&(t.onCompositionUpdate(e),d.lastValue&&t.undo(),d.canUndo&&(d.lastValue=e),d.lastValue)){var n=t.selection.getRange();t.insert(d.lastValue),t.session.markUndoGroup(),d.range=t.selection.getRange(),t.selection.setRange(n),t.selection.clearSelection()}}},L=function e(n){if(t.onCompositionEnd&&!t.$readOnly){var o=d;d=!1;var r=setTimeout((function(){r=null;var e=i.value.replace(/\u2028/g,"");d||(e==o.lastValue?F():!o.lastValue&&e&&(F(),E(e)))}));w=function(e){return r&&clearTimeout(r),(e=e.replace(/\u2028/g,""))==o.lastValue?"":(o.lastValue&&r&&t.undo(),e)},t.onCompositionEnd(),t.removeListener("mousedown",e),"compositionend"==n.type&&o.range&&t.selection.setRange(o.range),(s.isChrome&&s.isChrome>=53||s.isWebKit&&s.isWebKit>=603)&&b()}},R=r.delayedCall(x,50);function M(){clearTimeout(k),k=setTimeout((function(){g&&(i.style.cssText=g,g=""),null==t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())}),0)}n.addListener(i,"compositionstart",(function(e){d||!t.onCompositionStart||t.$readOnly||((d={}).canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(x,0),t.on("mousedown",L),d.canUndo&&!t.selection.isEmpty()&&(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup())})),s.isGecko?n.addListener(i,"text",(function(){R.schedule()})):(n.addListener(i,"keyup",(function(){R.schedule()})),n.addListener(i,"keydown",(function(){R.schedule()}))),n.addListener(i,"compositionend",L),this.getElement=function(){return i},this.setReadOnly=function(e){i.readOnly=e},this.onContextMenu=function(e){v=!0,C(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,r){g||(g=i.style.cssText),i.style.cssText=(r?"z-index:100000;":"")+"height:"+i.style.height+";"+(s.isIE?"opacity:0.1;":"");var a=t.container.getBoundingClientRect(),l=o.computedStyle(t.container),c=a.top+(parseInt(l.borderTopWidth)||0),h=a.left+(parseInt(a.borderLeftWidth)||0),u=a.bottom-c-i.clientHeight-2,d=function(e){i.style.left=e.clientX-h-2+"px",i.style.top=Math.min(e.clientY-c-2,u)+"px"};d(e),"mousedown"==e.type&&(t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(k),s.isWin&&n.capture(t.container,d,M))},this.onContextMenuClose=M;var T=function(e){t.textInput.onContextMenu(e),M()};n.addListener(i,"mouseup",T),n.addListener(i,"mousedown",(function(e){e.preventDefault(),M()})),n.addListener(t.renderer.scroller,"contextmenu",T),n.addListener(i,"contextmenu",T)}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,i){"use strict";e("../lib/dom"),e("../lib/event");var n=e("../lib/useragent");function s(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e)),t.setDefaultHandler("touchmove",this.onTouchMove.bind(e)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(t){e[t]=this[t]}),this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function o(e,t){if(e.start.row==e.end.row)var i=2*t.column-e.start.column-e.end.column;else i=e.start.row!=e.end.row-1||e.start.column||e.end.column?2*t.row-e.start.row-e.end.row:t.column-4;return i<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}(function(){this.onMouseDown=function(e){var t=e.inSelection(),i=e.getDocumentPosition();this.mousedownEvent=e;var s=this.editor,o=e.getButton();if(0!==o){var r=s.getSelectionRange().isEmpty();return s.$blockScrolling++,(r||1==o)&&s.selection.moveToPosition(i),s.$blockScrolling--,void(2==o&&(s.textInput.onContextMenu(e.domEvent),n.isMozilla||e.preventDefault()))}return this.mousedownEvent.time=Date.now(),!t||s.isFocused()||(s.focus(),!this.$focusTimout||this.$clickSelection||s.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(i,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e))},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var i=this.editor;i.$blockScrolling++,this.mousedownEvent.getShiftKey()?i.selection.selectToPosition(e):t||i.selection.moveToPosition(e),t||this.select(),i.renderer.scroller.setCapture&&i.renderer.scroller.setCapture(),i.setStyle("ace_selecting"),this.setState("select"),i.$blockScrolling--},this.select=function(){var e,t=this.editor,i=t.renderer.screenToTextCoordinates(this.x,this.y);if(t.$blockScrolling++,this.$clickSelection){var n=this.$clickSelection.comparePoint(i);if(-1==n)e=this.$clickSelection.end;else if(1==n)e=this.$clickSelection.start;else{var s=o(this.$clickSelection,i);i=s.cursor,e=s.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(i),t.$blockScrolling--,t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,i=this.editor,n=i.renderer.screenToTextCoordinates(this.x,this.y),s=i.selection[e](n.row,n.column);if(i.$blockScrolling++,this.$clickSelection){var r=this.$clickSelection.comparePoint(s.start),a=this.$clickSelection.comparePoint(s.end);if(-1==r&&a<=0)t=this.$clickSelection.end,s.end.row==n.row&&s.end.column==n.column||(n=s.start);else if(1==a&&r>=0)t=this.$clickSelection.start,s.start.row==n.row&&s.start.column==n.column||(n=s.end);else if(-1==r&&1==a)n=s.end,t=s.start;else{var l=o(this.$clickSelection,n);n=l.cursor,t=l.anchor}i.selection.setSelectionAnchor(t.row,t.column)}i.selection.selectToPosition(n),i.$blockScrolling--,i.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e,t,i=(e=this.mousedownEvent.y,t=this.y,Math.sqrt(Math.pow(this.x-this.mousedownEvent.x,2)+Math.pow(t-e,2))),n=Date.now();(i>0||n-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),i=this.editor,n=i.session.getBracketRange(t);n?(n.isEmpty()&&(n.start.column--,n.end.column++),this.setState("select")):(n=i.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=n,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),i=this.editor;this.setState("selectByLines");var n=i.getSelectionRange();n.isMultiLine()&&n.contains(t.row,t.column)?(this.$clickSelection=i.selection.getLineRange(n.start.row),this.$clickSelection.end=i.selection.getLineRange(n.end.row).end):this.$clickSelection=i.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var i=this.$lastScroll,n=e.domEvent.timeStamp,s=n-i.t,o=e.wheelX/s,r=e.wheelY/s;s<250&&(o=(o+i.vx)/2,r=(r+i.vy)/2);var a=Math.abs(o/r),l=!1;return a>=1&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(l=!0),a<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(l=!0),l?i.allowed=n:n-i.allowed<250&&(Math.abs(o)<=1.1*Math.abs(i.vx)&&Math.abs(r)<=1.1*Math.abs(i.vy)?(l=!0,i.allowed=n):i.allowed=0),i.t=n,i.vx=o,i.vy=r,l?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},this.onTouchMove=function(e){this.editor._emit("mousewheel",e)}}).call(s.prototype),t.DefaultHandlers=s})),ace.define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],(function(e,t,i){"use strict";e("./lib/oop");var n=e("./lib/dom");function s(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}(function(){this.$init=function(){return this.$element=n.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){n.setInnerText(this.getElement(),e)},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){n.addCssClass(this.getElement(),e)},this.show=function(e,t,i){null!=e&&this.setText(e),null!=t&&null!=i&&this.setPosition(t,i),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth},this.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)}}).call(s.prototype),t.Tooltip=s})),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],(function(e,t,i){"use strict";var n=e("../lib/dom"),s=e("../lib/oop"),o=e("../lib/event"),r=e("../tooltip").Tooltip;function a(e){r.call(this,e)}s.inherits(a,r),(function(){this.setPosition=function(e,t){var i=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,s=this.getWidth(),o=this.getHeight();(e+=15)+s>i&&(e-=e+s-i),(t+=15)+o>n&&(t-=20+o),r.prototype.setPosition.call(this,e,t)}}).call(a.prototype),t.GutterHandler=function(e){var t,i,s,r=e.editor,l=r.renderer.$gutterLayer,c=new a(r.container);function h(){t&&(t=clearTimeout(t)),s&&(c.hide(),s=null,r._signal("hideGutterTooltip",c),r.removeEventListener("mousewheel",h))}function u(e){c.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(r.isFocused()&&0==t.getButton()&&"foldWidgets"!=l.getRegion(t)){var i=t.getDocumentPosition().row,n=r.session.selection;if(t.getShiftKey())n.selectTo(i,0);else{if(2==t.domEvent.detail)return r.selectAll(),t.preventDefault();e.$clickSelection=r.selection.getLineRange(i)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}})),e.editor.setDefaultHandler("guttermousemove",(function(o){if(n.hasCssClass(o.domEvent.target||o.domEvent.srcElement,"ace_fold-widget"))return h();s&&e.$tooltipFollowsMouse&&u(o),i=o,t||(t=setTimeout((function(){t=null,i&&!e.isMousePressed?function(){var t=i.getDocumentPosition().row,n=l.$annotations[t];if(!n)return h();if(t==r.session.getLength()){var o=r.renderer.pixelToScreenCoordinates(0,i.y).row,a=i.$pos;if(o>r.session.documentToScreenRow(a.row,a.column))return h()}if(s!=n)if(s=n.text.join("
"),c.setHtml(s),c.show(),r._signal("showGutterTooltip",c),r.on("mousewheel",h),e.$tooltipFollowsMouse)u(i);else{var d=i.domEvent.target.getBoundingClientRect(),g=c.getElement().style;g.left=d.right+"px",g.top=d.bottom+"px"}}():h()}),50))})),o.addListener(r.renderer.$gutter,"mouseout",(function(e){i=null,s&&!t&&(t=setTimeout((function(){t=null,h()}),50))})),r.on("changeSession",h)}})),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],(function(e,t,i){"use strict";var n=e("../lib/event"),s=e("../lib/useragent"),o=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){n.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){n.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos||(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY)),this.$pos},this.inSelection=function(){if(null!==this.$inSelection)return this.$inSelection;var e=this.editor.getSelectionRange();if(e.isEmpty())this.$inSelection=!1;else{var t=this.getDocumentPosition();this.$inSelection=e.contains(t.row,t.column)}return this.$inSelection},this.getButton=function(){return n.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=s.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(o.prototype)})),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],(function(e,t,i){"use strict";var n=e("../lib/dom"),s=e("../lib/event"),o=e("../lib/useragent");function r(e){var t=e.editor,i=n.createElement("img");i.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",o.isOpera&&(i.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;"),["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach((function(t){e[t]=this[t]}),this),t.addEventListener("mousedown",this.onMouseDown.bind(e));var r,l,c,h,u,d,g,f,m,p,A,C=t.container,F=0;function w(){var e=d;(function(e,i){var n=Date.now();p&&i&&e.row==i.row&&i&&e.column==i.column?a(A.x,A.y,l,c)>5?p=null:n-p>=200&&(t.renderer.scrollCursorIntoView(),p=null):(t.$blockScrolling+=1,t.moveCursorToPosition(e),t.$blockScrolling-=1,p=n,A={x:l,y:c})})(d=t.renderer.screenToTextCoordinates(l,c),e),function(e,i){var n=Date.now(),s=t.renderer.layerConfig.lineHeight,o=t.renderer.layerConfig.characterWidth,r=t.renderer.scroller.getBoundingClientRect(),a={x:{left:l-r.left,right:r.right-l},y:{top:c-r.top,bottom:r.bottom-c}},h=Math.min(a.x.left,a.x.right),u=Math.min(a.y.top,a.y.bottom),d={row:e.row,column:e.column};h/o<=2&&(d.column+=a.x.left=200&&t.renderer.scrollCursorIntoView(d):m=n:m=null}(d,e)}function v(){u=t.selection.toOrientedRange(),r=t.session.addMarker(u,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(h),w(),h=setInterval(w,20),F=0,s.addListener(document,"mousemove",y)}function E(){clearInterval(h),t.session.removeMarker(r),r=null,t.$blockScrolling+=1,t.selection.fromOrientedRange(u),t.$blockScrolling-=1,t.isFocused()&&!f&&t.renderer.$cursorLayer.setBlinking(!t.getReadOnly()),u=null,d=null,F=0,m=null,p=null,s.removeListener(document,"mousemove",y)}this.onDragStart=function(e){if(this.cancelDrag||!C.draggable){var n=this;return setTimeout((function(){n.startSelect(),n.captureMouse(e)}),0),e.preventDefault()}u=t.getSelectionRange();var s=e.dataTransfer;s.effectAllowed=t.getReadOnly()?"copy":"copyMove",o.isOpera&&(t.container.appendChild(i),i.scrollTop=0),s.setDragImage&&s.setDragImage(i,0,0),o.isOpera&&t.container.removeChild(i),s.clearData(),s.setData("Text",t.session.getTextRange()),f=!0,this.setState("drag")},this.onDragEnd=function(e){C.draggable=!1,f=!1,this.setState(null),t.getReadOnly()||(g||"move"!=e.dataTransfer.dropEffect||t.session.remove(t.getSelectionRange()),t.renderer.$cursorLayer.setBlinking(!0)),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&$(e.dataTransfer))return l=e.clientX,c=e.clientY,r||v(),F++,e.dataTransfer.dropEffect=g=B(e),s.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&$(e.dataTransfer))return l=e.clientX,c=e.clientY,r||(v(),F++),null!==b&&(b=null),e.dataTransfer.dropEffect=g=B(e),s.preventDefault(e)},this.onDragLeave=function(e){if(--F<=0&&r)return E(),g=null,s.preventDefault(e)},this.onDrop=function(e){if(d){var i=e.dataTransfer;if(f)switch(g){case"move":u=u.contains(d.row,d.column)?{start:d,end:d}:t.moveText(u,d);break;case"copy":u=t.moveText(u,d,!0)}else{var n=i.getData("Text");u={start:d,end:t.session.insert(d,n)},t.focus(),g=null}return E(),s.preventDefault(e)}},s.addListener(C,"dragstart",this.onDragStart.bind(e)),s.addListener(C,"dragend",this.onDragEnd.bind(e)),s.addListener(C,"dragenter",this.onDragEnter.bind(e)),s.addListener(C,"dragover",this.onDragOver.bind(e)),s.addListener(C,"dragleave",this.onDragLeave.bind(e)),s.addListener(C,"drop",this.onDrop.bind(e));var b=null;function y(){null==b&&(b=setTimeout((function(){null!=b&&r&&E()}),20))}function $(e){var t=e.types;return!t||Array.prototype.some.call(t,(function(e){return"text/plain"==e||"Text"==e}))}function B(e){var t=["copy","copymove","all","uninitialized"],i=o.isMac?e.altKey:e.ctrlKey,n="uninitialized";try{n=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var s="none";return i&&t.indexOf(n)>=0?s="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(n)>=0?s="move":t.indexOf(n)>=0&&(s="copy"),s}}function a(e,t,i,n){return Math.sqrt(Math.pow(i-e,2)+Math.pow(n-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging"),e.renderer.setCursorStyle(o.isWin?"default":"move"),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;o.isIE&&"dragReady"==this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop(),"dragWait"===this.state&&a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,i=e.inSelection(),n=e.getButton();if(1===(e.domEvent.detail||1)&&0===n&&i){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var s=e.domEvent.target||e.domEvent.srcElement;"unselectable"in s&&(s.unselectable="on"),t.getDragDelay()?(o.isWebKit&&(this.cancelDrag=!0,t.container.draggable=!0),this.setState("dragWait")):this.startDrag(),this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(r.prototype),t.DragdropHandler=r})),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],(function(e,t,i){"use strict";var n=e("./dom");t.get=function(e,t){var i=new XMLHttpRequest;i.open("GET",e,!0),i.onreadystatechange=function(){4===i.readyState&&t(i.responseText)},i.send(null)},t.loadScript=function(e,t){var i=n.getDocumentHead(),s=document.createElement("script");s.src=e,i.appendChild(s),s.onload=s.onreadystatechange=function(e,i){!i&&s.readyState&&"loaded"!=s.readyState&&"complete"!=s.readyState||(s=s.onload=s.onreadystatechange=null,i||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}})),ace.define("ace/lib/event_emitter",["require","exports","module"],(function(e,t,i){"use strict";var n={},s=function(){this.propagationStopped=!0},o=function(){this.defaultPrevented=!0};n._emit=n._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var i=this._eventRegistry[e]||[],n=this._defaultHandlers[e];if(i.length||n){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=s),t.preventDefault||(t.preventDefault=o),i=i.slice();for(var r=0;r1&&(s=i[i.length-2]);var r=l[t+"Path"];return null==r?r=l.basePath:"/"==n&&(t=n=""),r&&"/"!=r.slice(-1)&&(r+="/"),r+t+n+s+this.get("suffix")},t.setModuleUrl=function(e,t){return l.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(i,n){var s,r;Array.isArray(i)&&(r=i[0],i=i[1]);try{s=e(i)}catch(l){}if(s&&!t.$loading[i])return n&&n(s);if(t.$loading[i]||(t.$loading[i]=[]),t.$loading[i].push(n),!(t.$loading[i].length>1)){var a=function(){e([i],(function(e){t._emit("load.module",{name:i,module:e});var n=t.$loading[i];t.$loading[i]=null,n.forEach((function(t){t&&t(e)}))}))};if(!t.get("packaged"))return a();o.loadScript(t.moduleUrl(i,r),a)}},c(!0),t.init=c})),ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],(function(e,t,i){"use strict";var n=e("../lib/event"),s=e("../lib/useragent"),o=e("./default_handlers").DefaultHandlers,r=e("./default_gutter_handler").GutterHandler,a=e("./mouse_event").MouseEvent,l=e("./dragdrop_handler").DragdropHandler,c=e("../config"),h=function(e){var t=this;this.editor=e,new o(this),new r(this),new l(this);var i=function(t){(!document.hasFocus||!document.hasFocus()||!e.isFocused()&&document.activeElement==(e.textInput&&e.textInput.getElement()))&&window.focus(),e.focus()},a=e.renderer.getMouseEventTarget();n.addListener(a,"click",this.onMouseEvent.bind(this,"click")),n.addListener(a,"mousemove",this.onMouseMove.bind(this,"mousemove")),n.addMultiMouseDownListener([a,e.renderer.scrollBarV&&e.renderer.scrollBarV.inner,e.renderer.scrollBarH&&e.renderer.scrollBarH.inner,e.textInput&&e.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent"),n.addMouseWheelListener(e.container,this.onMouseWheel.bind(this,"mousewheel")),n.addTouchMoveListener(e.container,this.onTouchMove.bind(this,"touchmove"));var c=e.renderer.$gutter;n.addListener(c,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),n.addListener(c,"click",this.onMouseEvent.bind(this,"gutterclick")),n.addListener(c,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),n.addListener(c,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),n.addListener(a,"mousedown",i),n.addListener(c,"mousedown",i),s.isIE&&e.renderer.scrollBarV&&(n.addListener(e.renderer.scrollBarV.element,"mousedown",i),n.addListener(e.renderer.scrollBarH.element,"mousedown",i)),e.on("mousemove",(function(i){if(!t.state&&!t.$dragDelay&&t.$dragEnabled){var n=e.renderer.screenToTextCoordinates(i.x,i.y),s=e.session.selection.getRange(),o=e.renderer;!s.isEmpty()&&s.insideStart(n.row,n.column)?o.setCursorStyle("default"):o.setCursorStyle("")}}))};(function(){this.onMouseEvent=function(e,t){this.editor._emit(e,new a(t,this.editor))},this.onMouseMove=function(e,t){var i=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;i&&i.length&&this.editor._emit(e,new a(t,this.editor))},this.onMouseWheel=function(e,t){var i=new a(t,this.editor);i.speed=2*this.$scrollSpeed,i.wheelX=t.wheelX,i.wheelY=t.wheelY,this.editor._emit(e,i)},this.onTouchMove=function(e,t){var i=new a(t,this.editor);i.speed=1,i.wheelX=t.wheelX,i.wheelY=t.wheelY,this.editor._emit(e,i)},this.setState=function(e){this.state=e},this.captureMouse=function(e,t){this.x=e.x,this.y=e.y,this.isMousePressed=!0;var i=this.editor.renderer;i.$keepTextAreaAtCursor&&(i.$keepTextAreaAtCursor=null);var o=this,r=function(e){if(e){if(s.isWebKit&&!e.which&&o.releaseMouse)return o.releaseMouse();o.x=e.clientX,o.y=e.clientY,t&&t(e),o.mouseEvent=new a(e,o.editor),o.$mouseMoved=!0}},l=function(e){clearInterval(h),c(),o[o.state+"End"]&&o[o.state+"End"](e),o.state="",null==i.$keepTextAreaAtCursor&&(i.$keepTextAreaAtCursor=!0,i.$moveTextAreaToCursor()),o.isMousePressed=!1,o.$onCaptureMouseMove=o.releaseMouse=null,e&&o.onMouseEvent("mouseup",e)},c=function(){o[o.state]&&o[o.state](),o.$mouseMoved=!1};if(s.isOldIE&&"dblclick"==e.domEvent.type)return setTimeout((function(){l(e)}));o.$onCaptureMouseMove=r,o.releaseMouse=n.capture(this.editor.container,r,l);var h=setInterval(c,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var e=(function(t){t&&t.domEvent&&"contextmenu"!=t.domEvent.type||(this.editor.off("nativecontextmenu",e),t&&t.domEvent&&n.stopEvent(t.domEvent))}).bind(this);setTimeout(e,10),this.editor.on("nativecontextmenu",e)}}).call(h.prototype),c.defineOptions(h.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:s.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),t.MouseHandler=h})),ace.define("ace/mouse/fold_handler",["require","exports","module"],(function(e,t,i){"use strict";t.FoldHandler=function(e){e.on("click",(function(t){var i=t.getDocumentPosition(),n=e.session,s=n.getFoldAt(i.row,i.column,1);s&&(t.getAccelKey()?n.removeFold(s):n.expandFold(s),t.stop())})),e.on("gutterclick",(function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var i=t.getDocumentPosition().row,n=e.session;n.foldWidgets&&n.foldWidgets[i]&&e.session.onFoldWidgetClick(i,t),e.isFocused()||e.focus(),t.stop()}})),e.on("gutterdblclick",(function(t){if("foldWidgets"==e.renderer.$gutterLayer.getRegion(t)){var i=t.getDocumentPosition().row,n=e.session,s=n.getParentFoldRangeData(i,!0),o=s.range||s.firstRange;if(o){var r=n.getFoldAt(i=o.start.row,n.getLine(i).length,1);r?n.removeFold(r):(n.addFold("...",o),e.renderer.scrollCursorIntoView({row:o.start.row,column:0}))}t.stop()}}))}})),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],(function(e,t,i){"use strict";var n=e("../lib/keys"),s=e("../lib/event"),o=function(e){this.$editor=e,this.$data={editor:e},this.$handlers=[],this.setDefaultHandler(e.commands)};(function(){this.setDefaultHandler=function(e){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=e,this.addKeyboardHandler(e,0)},this.setKeyboardHandler=function(e){var t=this.$handlers;if(t[t.length-1]!=e){for(;t[t.length-1]&&t[t.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(t[t.length-1]);this.addKeyboardHandler(e,1)}},this.addKeyboardHandler=function(e,t){if(e){"function"!=typeof e||e.handleKeyboard||(e.handleKeyboard=e);var i=this.$handlers.indexOf(e);-1!=i&&this.$handlers.splice(i,1),null==t?this.$handlers.push(e):this.$handlers.splice(t,0,e),-1==i&&e.attach&&e.attach(this.$editor)}},this.removeKeyboardHandler=function(e){var t=this.$handlers.indexOf(e);return-1!=t&&(this.$handlers.splice(t,1),e.detach&&e.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var e=this.$data,t=e.editor;return this.$handlers.map((function(i){return i.getStatusText&&i.getStatusText(t,e)||""})).filter(Boolean).join(" ")},this.$callKeyboardHandlers=function(e,t,i,n){for(var o,r=!1,a=this.$editor.commands,l=this.$handlers.length;l--&&!((o=this.$handlers[l].handleKeyboard(this.$data,e,t,i,n))&&o.command&&((r="null"==o.command||a.exec(o.command,this.$editor,o.args,n))&&n&&-1!=e&&1!=o.passEvent&&1!=o.command.passEvent&&s.stopEvent(n),r)););return r||-1!=e||(o={command:"insertstring"},r=a.exec("insertstring",this.$editor,t)),r&&this.$editor._signal&&this.$editor._signal("keyboardActivity",o),r},this.onCommandKey=function(e,t,i){var s=n.keyCodeToString(i);this.$callKeyboardHandlers(t,s,i,e)},this.onTextInput=function(e){this.$callKeyboardHandlers(-1,e)}}).call(o.prototype),t.KeyBinding=o})),ace.define("ace/lib/bidiutil",["require","exports","module"],(function(e,t,i){"use strict";var n=0,s=0,o=!1,r=!1,a=!1,l=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],c=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],h=[18,18,18,18,18,18,18,18,18,6,5,6,8,5,18,18,18,18,18,18,18,18,18,18,18,18,18,18,5,5,5,6,8,4,4,11,11,11,4,4,4,4,4,10,9,10,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,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,4,4,4,4,4,4,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,4,4,4,4,18,18,18,18,18,18,5,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,9,4,11,11,11,11,4,4,4,4,0,4,4,18,4,4,11,11,2,2,4,0,4,4,4,2,0,4,4,4,4,4],u=[8,8,8,8,8,8,8,8,8,8,8,18,18,18,0,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,5,13,14,15,16,17,9,11,11,11,11,11,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8];function d(e,t,i){if(!(s=e){for(o=u+1;o=e;)o++;for(a=u,l=o-1;a=t.length||2!=(l=i[s-1])&&3!=l||2!=(c=t[s+1])&&3!=c?4:(o&&(c=3),c==l?c:4);case 10:return 2==(l=s>0?i[s-1]:5)&&s+10&&2==i[s-1])return 2;if(o)return 4;for(u=s+1,h=t.length;u=1425&&g<=2303||64286==g)&&(1==l||7==l))return 1}return s<1||5==(l=t[s-1])?4:i[s-1];case 5:return o=!1,r=!0,n;case 6:return a=!0,4;case 13:case 14:case 16:case 17:case 15:o=!1;case 18:return 4}}function f(e){var t=e.charCodeAt(0),i=t>>8;return 0==i?t>191?0:h[t]:5==i?/[\u0591-\u05f4]/.test(e)?1:0:6==i?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(e)?12:/[\u0660-\u0669\u066b-\u066c]/.test(e)?3:1642==t?11:/[\u06f0-\u06f9]/.test(e)?2:7:32==i&&t<=8287?u[255&t]:254==i&&t>=65136?7:4}t.L=0,t.R=1,t.EN=2,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.DOT="\xb7",t.doBidiReorder=function(e,i,h){if(e.length<2)return{};var u=e.split(""),m=new Array(u.length),p=new Array(u.length),A=[];n=h?1:0,function(e,t,i,h){var u=n?c:l,d=null,m=null,p=null,A=0,C=null,F=-1,w=null,v=null,E=[];if(!h)for(w=0,h=[];w0)if(16==C){for(w=F;w-1){for(w=F;w=0&&8==h[b];b--)t[b]=n}}(u,A,u.length,i);for(var C=0;C7&&i[C]<13||4===i[C]||18===i[C])?A[C]=t.ON_R:C>0&&"\u0644"===u[C-1]&&/\u0622|\u0623|\u0625|\u0627/.test(u[C])&&(A[C-1]=A[C]=t.R_H,C++);for(u[u.length-1]===t.DOT&&(A[u.length-1]=t.B),C=0;C=0&&(e=this.session.$docRowCache[i])}return e},this.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var i,n=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(i=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===n;)n=i,e++;return e},this.updateRowLine=function(e,t){if(void 0===e&&(e=this.getDocumentRow()),this.wrapIndent=0,this.isLastRow=e===this.session.getLength()-1,this.line=this.session.getLine(e),this.session.$useWrapMode){var i=this.session.$wrapData[e];i&&(void 0===t&&(t=this.getSplitIndex()),t>0&&i.length?(this.wrapIndent=i.indent,this.line=t0?e-1:0,this.bidiMap),i=this.bidiMap.bidiLevels,s=0;0===e&&i[t]%2!=0&&t++;for(var o=0;o=c&&si+r/2;){if(i+=r,s===o.length-1){r=0;break}r=this.charWidths[o[++s]]}return s>0&&o[s-1]%2!=0&&o[s]%2==0?(e0&&o[s-1]%2==0&&o[s]%2!=0?t=1+(e>i?this.bidiMap.logicalFromVisual[s]:this.bidiMap.logicalFromVisual[s-1]):this.isRtlDir&&s===o.length-1&&0===r&&o[s-1]%2==0||!this.isRtlDir&&0===s&&o[s]%2!=0?t=1+this.bidiMap.logicalFromVisual[s]:(s>0&&o[s-1]%2!=0&&0!==r&&s--,t=this.bidiMap.logicalFromVisual[s]),t+this.wrapIndent}}).call(a.prototype),t.BidiHandler=a})),ace.define("ace/range",["require","exports","module"],(function(e,t,i){"use strict";var n=function(e,t,i,n){this.start={row:e,column:t},this.end={row:i,column:n}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return 0==this.compare(e,t)},this.compareRange=function(e){var t,i=e.end,n=e.start;return 1==(t=this.compare(i.row,i.column))?1==(t=this.compare(n.row,n.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(n.row,n.column))?-1:1==t?42:0},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},this.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)&&!this.isStart(e,t)},this.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},this.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},this.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var i={row:t+1,column:0};else this.end.rowt)var s={row:t+1,column:0};else this.start.rowt.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?r.fromPoints(t,t):this.isBackwards()?r.fromPoints(t,e):r.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection((function(){this.moveCursorTo(e,t)}))},this.selectToPosition=function(e){this.$moveSelection((function(){this.moveCursorToPosition(e)}))},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if(void 0===t){var i=e||this.lead;e=i.row,t=i.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var i,n="number"==typeof e?e:this.lead.row,s=this.session.getFoldLine(n);return s?(n=s.start.row,i=s.end.row):i=n,!0===t?new r(n,0,i,this.session.getLine(i).length):new r(n,0,i+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(e,t,i){var n=e.column,s=e.column+t;return i<0&&(n=e.column-t,s=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(n,s).split(" ").length-1==t},this.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var i=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,i,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-i):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(t.column=n)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,i=this.doc.getLine(e),n=i.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var s=this.session.getFoldAt(e,t,1);if(s)this.moveCursorTo(s.end.row,s.end.column);else{if(this.session.nonTokenRe.exec(n)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,n=i.substring(t)),t>=i.length)return this.moveCursorTo(e,i.length),this.moveCursorRight(),void(e0&&this.moveCursorWordLeft());this.session.tokenRe.exec(o)&&(i-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,i)}},this.$shortWordEndIndex=function(e){var t,i=0,n=/\s/,s=this.session.tokenRe;if(s.lastIndex=0,this.session.tokenRe.exec(e))i=this.session.tokenRe.lastIndex;else{for(;(t=e[i])&&n.test(t);)i++;if(i<1)for(s.lastIndex=0;(t=e[i])&&!s.test(t);)if(s.lastIndex=0,i++,n.test(t)){if(i>2){i--;break}for(;(t=e[i])&&n.test(t);)i++;if(i>2)break}}return s.lastIndex=0,i},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,i=this.doc.getLine(e),n=i.substring(t),s=this.session.getFoldAt(e,t,1);if(s)return this.moveCursorTo(s.end.row,s.end.column);if(t==i.length){var o=this.doc.getLength();do{e++,n=this.doc.getLine(e)}while(e0&&/^\s*$/.test(n));i=n.length,/\s+$/.test(n)||(n="")}var o=s.stringReverse(n),r=this.$shortWordEndIndex(o);return this.moveCursorTo(t,i-r)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var i,n=this.session.documentToScreenPosition(this.lead.row,this.lead.column);0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(n.row,this.lead.row)?(i=this.session.$bidiHandler.getPosLeft(n.column),n.column=Math.round(i/this.session.$bidiHandler.charWidths[0])):i=n.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?n.column=this.$desiredColumn:this.$desiredColumn=n.column);var s=this.session.screenToDocumentPosition(n.row+e,n.column,i);0!==e&&0===t&&s.row===this.lead.row&&s.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[s.row]&&(s.row>0||e>0)&&s.row++,this.moveCursorTo(s.row,s.column+t,0===t)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,i){var n=this.session.getFoldAt(e,t,1);n&&(e=n.start.row,t=n.start.column),this.$keepDesiredColumnOnChange=!0;var s=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(s.charAt(t))&&s.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,i||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,i){var n=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(n.row,n.column,i)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var i=this.getCursor();return r.fromPoints(t,i)}catch(n){return r.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map((function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t}));else(e=this.getRange()).isBackwards=this.isBackwards();return e},this.fromJSON=function(e){if(null==e.start){if(this.rangeList){this.toSingleRange(e[0]);for(var t=e.length;t--;){var i=r.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(i.cursor=i.start),this.addRange(i,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(a.prototype),t.Selection=a})),ace.define("ace/tokenizer",["require","exports","module","ace/config"],(function(e,t,i){"use strict";var n=e("./config"),s=2e3,o=function(e){for(var t in this.states=e,this.regExps={},this.matchMappings={},this.states){for(var i=this.states[t],n=[],s=0,o=this.matchMappings[t]={defaultToken:"text"},r="g",a=[],l=0;l1?this.$applyToken:c.token),u>1&&(/\\\d/.test(c.regex)?h=c.regex.replace(/\\([0-9]+)/g,(function(e,t){return"\\"+(parseInt(t,10)+s+1)})):(u=1,h=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||a.push(c)),o[s]=l,s+=u,n.push(h),c.onMatch||(c.onMatch=null)}}n.length||(o[0]=0,n.push("$")),a.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,r)}),this),this.regExps[t]=new RegExp("("+n.join(")|(")+")|($)",r)}};(function(){this.$setMaxTokenCount=function(e){s=0|e},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),i=this.token.apply(this,t);if("string"==typeof i)return[{type:i,value:e}];for(var n=[],s=0,o=i.length;sh){var A=e.substring(h,p-m.length);d.type==g?d.value+=A:(d.type&&c.push(d),d={type:g,value:A})}for(var C=0;Cs){for(u>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});h1&&i[0]!==n&&i.unshift("#tmp",n),{tokens:c,state:i.length?i:n}},this.reportError=n.reportError}).call(o.prototype),t.Tokenizer=o})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],(function(e,t,i){"use strict";var n=e("../lib/lang"),s=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(e,t){if(t)for(var i in e){for(var n=e[i],s=0;s=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,i=e[t].start;if(void 0!==i)return i;for(i=0;t>0;)i+=e[t-=1].value.length;return i},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},this.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new n(this.$row,t,this.$row,t+e.value.length)}}).call(s.prototype),t.TokenIterator=s})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(e,t,i){"use strict";var n,s=e("../../lib/oop"),o=e("../behaviour").Behaviour,r=e("../../token_iterator").TokenIterator,a=e("../../lib/lang"),l=["text","paren.rparen","punctuation.operator"],c=["text","paren.rparen","punctuation.operator","comment"],h={},u={'"':'"',"'":"'"},d=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,h.rangeCount!=e.multiSelect.rangeCount&&(h={rangeCount:e.multiSelect.rangeCount})),h[t])return n=h[t];n=h[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},g=function(e,t,i,n){var s=e.end.row-e.start.row;return{text:i+t+n,selection:[0,e.start.column+1,s,e.end.column+(s?0:1)]}},f=function e(t){this.add("braces","insertion",(function(i,s,o,r,l){var c=o.getCursorPosition(),h=r.doc.getLine(c.row);if("{"==l){d(o);var u=o.getSelectionRange(),f=r.doc.getTextRange(u);if(""!==f&&"{"!==f&&o.getWrapBehavioursEnabled())return g(u,f,"{","}");if(e.isSaneInsertion(o,r))return/[\]\}\)]/.test(h[c.column])||o.inMultiSelectMode||t&&t.braces?(e.recordAutoInsert(o,r,"}"),{text:"{}",selection:[1,1]}):(e.recordMaybeInsert(o,r,"{"),{text:"{",selection:[1,1]})}else if("}"==l){if(d(o),"}"==h.substring(c.column,c.column+1)&&null!==r.$findOpeningBracket("}",{column:c.column+1,row:c.row})&&e.isAutoInsertedClosing(c,h,l))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==l||"\r\n"==l){d(o);var m="";if(e.isMaybeInsertedClosing(c,h)&&(m=a.stringRepeat("}",n.maybeInsertedBrackets),e.clearMaybeInsertedClosing()),"}"===h.substring(c.column,c.column+1)){var p=r.findMatchingBracket({row:c.row,column:c.column+1},"}");if(!p)return null;var A=this.$getIndent(r.getLine(p.row))}else{if(!m)return void e.clearMaybeInsertedClosing();A=this.$getIndent(h)}var C=A+r.getTabString();return{text:"\n"+C+"\n"+A+m,selection:[1,C.length,1,C.length]}}e.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,i,s,o){var r=s.doc.getTextRange(o);if(!o.isMultiLine()&&"{"==r){if(d(i),"}"==s.doc.getLine(o.start.row).substring(o.end.column,o.end.column+1))return o.end.column++,o;n.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(t,i,n,s,o){if("("==o){d(n);var r=n.getSelectionRange(),a=s.doc.getTextRange(r);if(""!==a&&n.getWrapBehavioursEnabled())return g(r,a,"(",")");if(e.isSaneInsertion(n,s))return e.recordAutoInsert(n,s,")"),{text:"()",selection:[1,1]}}else if(")"==o){d(n);var l=n.getCursorPosition(),c=s.doc.getLine(l.row);if(")"==c.substring(l.column,l.column+1)&&null!==s.$findOpeningBracket(")",{column:l.column+1,row:l.row})&&e.isAutoInsertedClosing(l,c,o))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,i,n,s){var o=n.doc.getTextRange(s);if(!s.isMultiLine()&&"("==o&&(d(i),")"==n.doc.getLine(s.start.row).substring(s.start.column+1,s.start.column+2)))return s.end.column++,s})),this.add("brackets","insertion",(function(t,i,n,s,o){if("["==o){d(n);var r=n.getSelectionRange(),a=s.doc.getTextRange(r);if(""!==a&&n.getWrapBehavioursEnabled())return g(r,a,"[","]");if(e.isSaneInsertion(n,s))return e.recordAutoInsert(n,s,"]"),{text:"[]",selection:[1,1]}}else if("]"==o){d(n);var l=n.getCursorPosition(),c=s.doc.getLine(l.row);if("]"==c.substring(l.column,l.column+1)&&null!==s.$findOpeningBracket("]",{column:l.column+1,row:l.row})&&e.isAutoInsertedClosing(l,c,o))return e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,i,n,s){var o=n.doc.getTextRange(s);if(!s.isMultiLine()&&"["==o&&(d(i),"]"==n.doc.getLine(s.start.row).substring(s.start.column+1,s.start.column+2)))return s.end.column++,s})),this.add("string_dquotes","insertion",(function(e,t,i,n,s){var o=n.$mode.$quotes||u;if(1==s.length&&o[s]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(s))return;d(i);var r=s,a=i.getSelectionRange(),l=n.doc.getTextRange(a);if(!(""===l||1==l.length&&o[l])&&i.getWrapBehavioursEnabled())return g(a,l,r,r);if(!l){var c=i.getCursorPosition(),h=n.doc.getLine(c.row),f=h.substring(c.column-1,c.column),m=h.substring(c.column,c.column+1),p=n.getTokenAt(c.row,c.column),A=n.getTokenAt(c.row,c.column+1);if("\\"==f&&p&&/escape/.test(p.type))return null;var C,F=p&&/string|escape/.test(p.type),w=!A||/string|escape/.test(A.type);if(m==r)(C=F!==w)&&/string\.end/.test(A.type)&&(C=!1);else{if(F&&!w)return null;if(F&&w)return null;var v=n.$mode.tokenRe;v.lastIndex=0;var E=v.test(f);v.lastIndex=0;var b=v.test(f);if(E||b)return null;if(m&&!/[\s;,.})\]\\]/.test(m))return null;C=!0}return{text:C?r+r:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(e,t,i,n,s){var o=n.doc.getTextRange(s);if(!s.isMultiLine()&&('"'==o||"'"==o)&&(d(i),n.doc.getLine(s.start.row).substring(s.start.column+1,s.start.column+2)==o))return s.end.column++,s}))};f.isSaneInsertion=function(e,t){var i=e.getCursorPosition(),n=new r(t,i.row,i.column);if(!this.$matchTokenType(n.getCurrentToken()||"text",l)){var s=new r(t,i.row,i.column+1);if(!this.$matchTokenType(s.getCurrentToken()||"text",l))return!1}return n.stepForward(),n.getCurrentTokenRow()!==i.row||this.$matchTokenType(n.getCurrentToken()||"text",c)},f.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},f.recordAutoInsert=function(e,t,i){var s=e.getCursorPosition(),o=t.doc.getLine(s.row);this.isAutoInsertedClosing(s,o,n.autoInsertedLineEnd[0])||(n.autoInsertedBrackets=0),n.autoInsertedRow=s.row,n.autoInsertedLineEnd=i+o.substr(s.column),n.autoInsertedBrackets++},f.recordMaybeInsert=function(e,t,i){var s=e.getCursorPosition(),o=t.doc.getLine(s.row);this.isMaybeInsertedClosing(s,o)||(n.maybeInsertedBrackets=0),n.maybeInsertedRow=s.row,n.maybeInsertedLineStart=o.substr(0,s.column)+i,n.maybeInsertedLineEnd=o.substr(s.column),n.maybeInsertedBrackets++},f.isAutoInsertedClosing=function(e,t,i){return n.autoInsertedBrackets>0&&e.row===n.autoInsertedRow&&i===n.autoInsertedLineEnd[0]&&t.substr(e.column)===n.autoInsertedLineEnd},f.isMaybeInsertedClosing=function(e,t){return n.maybeInsertedBrackets>0&&e.row===n.maybeInsertedRow&&t.substr(e.column)===n.maybeInsertedLineEnd&&t.substr(0,e.column)==n.maybeInsertedLineStart},f.popAutoInsertedClosing=function(){n.autoInsertedLineEnd=n.autoInsertedLineEnd.substr(1),n.autoInsertedBrackets--},f.clearMaybeInsertedClosing=function(){n&&(n.maybeInsertedBrackets=0,n.maybeInsertedRow=-1)},s.inherits(f,o),t.CstyleBehaviour=f})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,i){"use strict";t.packages={},function(e){var i=/\w{4}/g;for(var n in e)t.packages[n]=e[n].replace(i,"\\u$&")}({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71FBE1FC2-1FC41FC61FC71FD0-1FD31FD61FD71FE0-1FE71FF2-1FF41FF61FF7210A210E210F2113212F21342139213C213D2146-2149214E21842C30-2C5E2C612C652C662C682C6A2C6C2C712C732C742C76-2C7C2C812C832C852C872C892C8B2C8D2C8F2C912C932C952C972C992C9B2C9D2C9F2CA12CA32CA52CA72CA92CAB2CAD2CAF2CB12CB32CB52CB72CB92CBB2CBD2CBF2CC12CC32CC52CC72CC92CCB2CCD2CCF2CD12CD32CD52CD72CD92CDB2CDD2CDF2CE12CE32CE42CEC2CEE2D00-2D25A641A643A645A647A649A64BA64DA64FA651A653A655A657A659A65BA65DA65FA663A665A667A669A66BA66DA681A683A685A687A689A68BA68DA68FA691A693A695A697A723A725A727A729A72BA72DA72F-A731A733A735A737A739A73BA73DA73FA741A743A745A747A749A74BA74DA74FA751A753A755A757A759A75BA75DA75FA761A763A765A767A769A76BA76DA76FA771-A778A77AA77CA77FA781A783A785A787A78CFB00-FB06FB13-FB17FF41-FF5A",Lu:"0041-005A00C0-00D600D8-00DE01000102010401060108010A010C010E01100112011401160118011A011C011E01200122012401260128012A012C012E01300132013401360139013B013D013F0141014301450147014A014C014E01500152015401560158015A015C015E01600162016401660168016A016C016E017001720174017601780179017B017D018101820184018601870189-018B018E-0191019301940196-0198019C019D019F01A001A201A401A601A701A901AC01AE01AF01B1-01B301B501B701B801BC01C401C701CA01CD01CF01D101D301D501D701D901DB01DE01E001E201E401E601E801EA01EC01EE01F101F401F6-01F801FA01FC01FE02000202020402060208020A020C020E02100212021402160218021A021C021E02200222022402260228022A022C022E02300232023A023B023D023E02410243-02460248024A024C024E03700372037603860388-038A038C038E038F0391-03A103A3-03AB03CF03D2-03D403D803DA03DC03DE03E003E203E403E603E803EA03EC03EE03F403F703F903FA03FD-042F04600462046404660468046A046C046E04700472047404760478047A047C047E0480048A048C048E04900492049404960498049A049C049E04A004A204A404A604A804AA04AC04AE04B004B204B404B604B804BA04BC04BE04C004C104C304C504C704C904CB04CD04D004D204D404D604D804DA04DC04DE04E004E204E404E604E804EA04EC04EE04F004F204F404F604F804FA04FC04FE05000502050405060508050A050C050E05100512051405160518051A051C051E0520052205240531-055610A0-10C51E001E021E041E061E081E0A1E0C1E0E1E101E121E141E161E181E1A1E1C1E1E1E201E221E241E261E281E2A1E2C1E2E1E301E321E341E361E381E3A1E3C1E3E1E401E421E441E461E481E4A1E4C1E4E1E501E521E541E561E581E5A1E5C1E5E1E601E621E641E661E681E6A1E6C1E6E1E701E721E741E761E781E7A1E7C1E7E1E801E821E841E861E881E8A1E8C1E8E1E901E921E941E9E1EA01EA21EA41EA61EA81EAA1EAC1EAE1EB01EB21EB41EB61EB81EBA1EBC1EBE1EC01EC21EC41EC61EC81ECA1ECC1ECE1ED01ED21ED41ED61ED81EDA1EDC1EDE1EE01EE21EE41EE61EE81EEA1EEC1EEE1EF01EF21EF41EF61EF81EFA1EFC1EFE1F08-1F0F1F18-1F1D1F28-1F2F1F38-1F3F1F48-1F4D1F591F5B1F5D1F5F1F68-1F6F1FB8-1FBB1FC8-1FCB1FD8-1FDB1FE8-1FEC1FF8-1FFB21022107210B-210D2110-211221152119-211D212421262128212A-212D2130-2133213E213F214521832C00-2C2E2C602C62-2C642C672C692C6B2C6D-2C702C722C752C7E-2C802C822C842C862C882C8A2C8C2C8E2C902C922C942C962C982C9A2C9C2C9E2CA02CA22CA42CA62CA82CAA2CAC2CAE2CB02CB22CB42CB62CB82CBA2CBC2CBE2CC02CC22CC42CC62CC82CCA2CCC2CCE2CD02CD22CD42CD62CD82CDA2CDC2CDE2CE02CE22CEB2CEDA640A642A644A646A648A64AA64CA64EA650A652A654A656A658A65AA65CA65EA662A664A666A668A66AA66CA680A682A684A686A688A68AA68CA68EA690A692A694A696A722A724A726A728A72AA72CA72EA732A734A736A738A73AA73CA73EA740A742A744A746A748A74AA74CA74EA750A752A754A756A758A75AA75CA75EA760A762A764A766A768A76AA76CA76EA779A77BA77DA77EA780A782A784A786A78BFF21-FF3A",Lt:"01C501C801CB01F21F88-1F8F1F98-1F9F1FA8-1FAF1FBC1FCC1FFC",Lm:"02B0-02C102C6-02D102E0-02E402EC02EE0374037A0559064006E506E607F407F507FA081A0824082809710E460EC610FC17D718431AA71C78-1C7D1D2C-1D611D781D9B-1DBF2071207F2090-20942C7D2D6F2E2F30053031-3035303B309D309E30FC-30FEA015A4F8-A4FDA60CA67FA717-A71FA770A788A9CFAA70AADDFF70FF9EFF9F",Lo:"01BB01C0-01C3029405D0-05EA05F0-05F20621-063F0641-064A066E066F0671-06D306D506EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA0800-08150904-0939093D09500958-096109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E450E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10D0-10FA1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317DC1820-18421844-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C771CE9-1CEC1CEE-1CF12135-21382D30-2D652D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE3006303C3041-3096309F30A1-30FA30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A014A016-A48CA4D0-A4F7A500-A60BA610-A61FA62AA62BA66EA6A0-A6E5A7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2AA00-AA28AA40-AA42AA44-AA4BAA60-AA6FAA71-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADBAADCABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF66-FF6FFF71-FF9DFFA0-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",M:"0300-036F0483-04890591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DE-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0903093C093E-094E0951-0955096209630981-098309BC09BE-09C409C709C809CB-09CD09D709E209E30A01-0A030A3C0A3E-0A420A470A480A4B-0A4D0A510A700A710A750A81-0A830ABC0ABE-0AC50AC7-0AC90ACB-0ACD0AE20AE30B01-0B030B3C0B3E-0B440B470B480B4B-0B4D0B560B570B620B630B820BBE-0BC20BC6-0BC80BCA-0BCD0BD70C01-0C030C3E-0C440C46-0C480C4A-0C4D0C550C560C620C630C820C830CBC0CBE-0CC40CC6-0CC80CCA-0CCD0CD50CD60CE20CE30D020D030D3E-0D440D46-0D480D4A-0D4D0D570D620D630D820D830DCA0DCF-0DD40DD60DD8-0DDF0DF20DF30E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F3E0F3F0F71-0F840F860F870F90-0F970F99-0FBC0FC6102B-103E1056-1059105E-10601062-10641067-106D1071-10741082-108D108F109A-109D135F1712-17141732-1734175217531772177317B6-17D317DD180B-180D18A91920-192B1930-193B19B0-19C019C819C91A17-1A1B1A55-1A5E1A60-1A7C1A7F1B00-1B041B34-1B441B6B-1B731B80-1B821BA1-1BAA1C24-1C371CD0-1CD21CD4-1CE81CED1CF21DC0-1DE61DFD-1DFF20D0-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66F-A672A67CA67DA6F0A6F1A802A806A80BA823-A827A880A881A8B4-A8C4A8E0-A8F1A926-A92DA947-A953A980-A983A9B3-A9C0AA29-AA36AA43AA4CAA4DAA7BAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE3-ABEAABECABEDFB1EFE00-FE0FFE20-FE26",Mn:"0300-036F0483-04870591-05BD05BF05C105C205C405C505C70610-061A064B-065E067006D6-06DC06DF-06E406E706E806EA-06ED07110730-074A07A6-07B007EB-07F30816-0819081B-08230825-08270829-082D0900-0902093C0941-0948094D0951-095509620963098109BC09C1-09C409CD09E209E30A010A020A3C0A410A420A470A480A4B-0A4D0A510A700A710A750A810A820ABC0AC1-0AC50AC70AC80ACD0AE20AE30B010B3C0B3F0B41-0B440B4D0B560B620B630B820BC00BCD0C3E-0C400C46-0C480C4A-0C4D0C550C560C620C630CBC0CBF0CC60CCC0CCD0CE20CE30D41-0D440D4D0D620D630DCA0DD2-0DD40DD60E310E34-0E3A0E47-0E4E0EB10EB4-0EB90EBB0EBC0EC8-0ECD0F180F190F350F370F390F71-0F7E0F80-0F840F860F870F90-0F970F99-0FBC0FC6102D-10301032-10371039103A103D103E10581059105E-10601071-1074108210851086108D109D135F1712-17141732-1734175217531772177317B7-17BD17C617C9-17D317DD180B-180D18A91920-19221927192819321939-193B1A171A181A561A58-1A5E1A601A621A65-1A6C1A73-1A7C1A7F1B00-1B031B341B36-1B3A1B3C1B421B6B-1B731B801B811BA2-1BA51BA81BA91C2C-1C331C361C371CD0-1CD21CD4-1CE01CE2-1CE81CED1DC0-1DE61DFD-1DFF20D0-20DC20E120E5-20F02CEF-2CF12DE0-2DFF302A-302F3099309AA66FA67CA67DA6F0A6F1A802A806A80BA825A826A8C4A8E0-A8F1A926-A92DA947-A951A980-A982A9B3A9B6-A9B9A9BCAA29-AA2EAA31AA32AA35AA36AA43AA4CAAB0AAB2-AAB4AAB7AAB8AABEAABFAAC1ABE5ABE8ABEDFB1EFE00-FE0FFE20-FE26",Mc:"0903093E-09400949-094C094E0982098309BE-09C009C709C809CB09CC09D70A030A3E-0A400A830ABE-0AC00AC90ACB0ACC0B020B030B3E0B400B470B480B4B0B4C0B570BBE0BBF0BC10BC20BC6-0BC80BCA-0BCC0BD70C01-0C030C41-0C440C820C830CBE0CC0-0CC40CC70CC80CCA0CCB0CD50CD60D020D030D3E-0D400D46-0D480D4A-0D4C0D570D820D830DCF-0DD10DD8-0DDF0DF20DF30F3E0F3F0F7F102B102C10311038103B103C105610571062-10641067-106D108310841087-108C108F109A-109C17B617BE-17C517C717C81923-19261929-192B193019311933-193819B0-19C019C819C91A19-1A1B1A551A571A611A631A641A6D-1A721B041B351B3B1B3D-1B411B431B441B821BA11BA61BA71BAA1C24-1C2B1C341C351CE11CF2A823A824A827A880A881A8B4-A8C3A952A953A983A9B4A9B5A9BAA9BBA9BD-A9C0AA2FAA30AA33AA34AA4DAA7BABE3ABE4ABE6ABE7ABE9ABEAABEC",Me:"0488048906DE20DD-20E020E2-20E4A670-A672",N:"0030-003900B200B300B900BC-00BE0660-066906F0-06F907C0-07C90966-096F09E6-09EF09F4-09F90A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BF20C66-0C6F0C78-0C7E0CE6-0CEF0D66-0D750E50-0E590ED0-0ED90F20-0F331040-10491090-10991369-137C16EE-16F017E0-17E917F0-17F91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C5920702074-20792080-20892150-21822185-21892460-249B24EA-24FF2776-27932CFD30073021-30293038-303A3192-31953220-32293251-325F3280-328932B1-32BFA620-A629A6E6-A6EFA830-A835A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nd:"0030-00390660-066906F0-06F907C0-07C90966-096F09E6-09EF0A66-0A6F0AE6-0AEF0B66-0B6F0BE6-0BEF0C66-0C6F0CE6-0CEF0D66-0D6F0E50-0E590ED0-0ED90F20-0F291040-10491090-109917E0-17E91810-18191946-194F19D0-19DA1A80-1A891A90-1A991B50-1B591BB0-1BB91C40-1C491C50-1C59A620-A629A8D0-A8D9A900-A909A9D0-A9D9AA50-AA59ABF0-ABF9FF10-FF19",Nl:"16EE-16F02160-21822185-218830073021-30293038-303AA6E6-A6EF",No:"00B200B300B900BC-00BE09F4-09F90BF0-0BF20C78-0C7E0D70-0D750F2A-0F331369-137C17F0-17F920702074-20792080-20892150-215F21892460-249B24EA-24FF2776-27932CFD3192-31953220-32293251-325F3280-328932B1-32BFA830-A835",P:"0021-00230025-002A002C-002F003A003B003F0040005B-005D005F007B007D00A100AB00B700BB00BF037E0387055A-055F0589058A05BE05C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F3A-0F3D0F850FD0-0FD4104A-104F10FB1361-13681400166D166E169B169C16EB-16ED1735173617D4-17D617D8-17DA1800-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD32010-20272030-20432045-20512053-205E207D207E208D208E2329232A2768-277527C527C627E6-27EF2983-299829D8-29DB29FC29FD2CF9-2CFC2CFE2CFF2E00-2E2E2E302E313001-30033008-30113014-301F3030303D30A030FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFD3EFD3FFE10-FE19FE30-FE52FE54-FE61FE63FE68FE6AFE6BFF01-FF03FF05-FF0AFF0C-FF0FFF1AFF1BFF1FFF20FF3B-FF3DFF3FFF5BFF5DFF5F-FF65",Pd:"002D058A05BE140018062010-20152E172E1A301C303030A0FE31FE32FE58FE63FF0D",Ps:"0028005B007B0F3A0F3C169B201A201E2045207D208D23292768276A276C276E27702772277427C527E627E827EA27EC27EE2983298529872989298B298D298F299129932995299729D829DA29FC2E222E242E262E283008300A300C300E3010301430163018301A301DFD3EFE17FE35FE37FE39FE3BFE3DFE3FFE41FE43FE47FE59FE5BFE5DFF08FF3BFF5BFF5FFF62",Pe:"0029005D007D0F3B0F3D169C2046207E208E232A2769276B276D276F27712773277527C627E727E927EB27ED27EF298429862988298A298C298E2990299229942996299829D929DB29FD2E232E252E272E293009300B300D300F3011301530173019301B301E301FFD3FFE18FE36FE38FE3AFE3CFE3EFE40FE42FE44FE48FE5AFE5CFE5EFF09FF3DFF5DFF60FF63",Pi:"00AB2018201B201C201F20392E022E042E092E0C2E1C2E20",Pf:"00BB2019201D203A2E032E052E0A2E0D2E1D2E21",Pc:"005F203F20402054FE33FE34FE4D-FE4FFF3F",Po:"0021-00230025-0027002A002C002E002F003A003B003F0040005C00A100B700BF037E0387055A-055F058905C005C305C605F305F40609060A060C060D061B061E061F066A-066D06D40700-070D07F7-07F90830-083E0964096509700DF40E4F0E5A0E5B0F04-0F120F850FD0-0FD4104A-104F10FB1361-1368166D166E16EB-16ED1735173617D4-17D617D8-17DA1800-18051807-180A1944194519DE19DF1A1E1A1F1AA0-1AA61AA8-1AAD1B5A-1B601C3B-1C3F1C7E1C7F1CD3201620172020-20272030-2038203B-203E2041-20432047-205120532055-205E2CF9-2CFC2CFE2CFF2E002E012E06-2E082E0B2E0E-2E162E182E192E1B2E1E2E1F2E2A-2E2E2E302E313001-3003303D30FBA4FEA4FFA60D-A60FA673A67EA6F2-A6F7A874-A877A8CEA8CFA8F8-A8FAA92EA92FA95FA9C1-A9CDA9DEA9DFAA5C-AA5FAADEAADFABEBFE10-FE16FE19FE30FE45FE46FE49-FE4CFE50-FE52FE54-FE57FE5F-FE61FE68FE6AFE6BFF01-FF03FF05-FF07FF0AFF0CFF0EFF0FFF1AFF1BFF1FFF20FF3CFF61FF64FF65",S:"0024002B003C-003E005E0060007C007E00A2-00A900AC00AE-00B100B400B600B800D700F702C2-02C502D2-02DF02E5-02EB02ED02EF-02FF03750384038503F604820606-0608060B060E060F06E906FD06FE07F609F209F309FA09FB0AF10B700BF3-0BFA0C7F0CF10CF20D790E3F0F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-139917DB194019E0-19FF1B61-1B6A1B74-1B7C1FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE20442052207A-207C208A-208C20A0-20B8210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B2140-2144214A-214D214F2190-2328232B-23E82400-24262440-244A249C-24E92500-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE27C0-27C427C7-27CA27CC27D0-27E527F0-29822999-29D729DC-29FB29FE-2B4C2B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F309B309C319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A700-A716A720A721A789A78AA828-A82BA836-A839AA77-AA79FB29FDFCFDFDFE62FE64-FE66FE69FF04FF0BFF1C-FF1EFF3EFF40FF5CFF5EFFE0-FFE6FFE8-FFEEFFFCFFFD",Sm:"002B003C-003E007C007E00AC00B100D700F703F60606-060820442052207A-207C208A-208C2140-2144214B2190-2194219A219B21A021A321A621AE21CE21CF21D221D421F4-22FF2308-230B23202321237C239B-23B323DC-23E125B725C125F8-25FF266F27C0-27C427C7-27CA27CC27D0-27E527F0-27FF2900-29822999-29D729DC-29FB29FE-2AFF2B30-2B442B47-2B4CFB29FE62FE64-FE66FF0BFF1C-FF1EFF5CFF5EFFE2FFE9-FFEC",Sc:"002400A2-00A5060B09F209F309FB0AF10BF90E3F17DB20A0-20B8A838FDFCFE69FF04FFE0FFE1FFE5FFE6",Sk:"005E006000A800AF00B400B802C2-02C502D2-02DF02E5-02EB02ED02EF-02FF0375038403851FBD1FBF-1FC11FCD-1FCF1FDD-1FDF1FED-1FEF1FFD1FFE309B309CA700-A716A720A721A789A78AFF3EFF40FFE3",So:"00A600A700A900AE00B000B60482060E060F06E906FD06FE07F609FA0B700BF3-0BF80BFA0C7F0CF10CF20D790F01-0F030F13-0F170F1A-0F1F0F340F360F380FBE-0FC50FC7-0FCC0FCE0FCF0FD5-0FD8109E109F13601390-1399194019E0-19FF1B61-1B6A1B74-1B7C210021012103-21062108210921142116-2118211E-2123212521272129212E213A213B214A214C214D214F2195-2199219C-219F21A121A221A421A521A7-21AD21AF-21CD21D021D121D321D5-21F32300-2307230C-231F2322-2328232B-237B237D-239A23B4-23DB23E2-23E82400-24262440-244A249C-24E92500-25B625B8-25C025C2-25F72600-266E2670-26CD26CF-26E126E326E8-26FF2701-27042706-2709270C-27272729-274B274D274F-27522756-275E2761-276727942798-27AF27B1-27BE2800-28FF2B00-2B2F2B452B462B50-2B592CE5-2CEA2E80-2E992E9B-2EF32F00-2FD52FF0-2FFB300430123013302030363037303E303F319031913196-319F31C0-31E33200-321E322A-32503260-327F328A-32B032C0-32FE3300-33FF4DC0-4DFFA490-A4C6A828-A82BA836A837A839AA77-AA79FDFDFFE4FFE8FFEDFFEEFFFCFFFD",Z:"002000A01680180E2000-200A20282029202F205F3000",Zs:"002000A01680180E2000-200A202F205F3000",Zl:"2028",Zp:"2029",C:"0000-001F007F-009F00AD03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-0605061C061D0620065F06DD070E070F074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17B417B517DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF200B-200F202A-202E2060-206F20722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-F8FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFD-FF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFFBFFFEFFFF",Cc:"0000-001F007F-009F",Cf:"00AD0600-060306DD070F17B417B5200B-200F202A-202E2060-2064206A-206FFEFFFFF9-FFFB",Co:"E000-F8FF",Cs:"D800-DFFF",Cn:"03780379037F-0383038B038D03A20526-05300557055805600588058B-059005C8-05CF05EB-05EF05F5-05FF06040605061C061D0620065F070E074B074C07B2-07BF07FB-07FF082E082F083F-08FF093A093B094F095609570973-097809800984098D098E0991099209A909B109B3-09B509BA09BB09C509C609C909CA09CF-09D609D8-09DB09DE09E409E509FC-0A000A040A0B-0A0E0A110A120A290A310A340A370A3A0A3B0A3D0A43-0A460A490A4A0A4E-0A500A52-0A580A5D0A5F-0A650A76-0A800A840A8E0A920AA90AB10AB40ABA0ABB0AC60ACA0ACE0ACF0AD1-0ADF0AE40AE50AF00AF2-0B000B040B0D0B0E0B110B120B290B310B340B3A0B3B0B450B460B490B4A0B4E-0B550B58-0B5B0B5E0B640B650B72-0B810B840B8B-0B8D0B910B96-0B980B9B0B9D0BA0-0BA20BA5-0BA70BAB-0BAD0BBA-0BBD0BC3-0BC50BC90BCE0BCF0BD1-0BD60BD8-0BE50BFB-0C000C040C0D0C110C290C340C3A-0C3C0C450C490C4E-0C540C570C5A-0C5F0C640C650C70-0C770C800C810C840C8D0C910CA90CB40CBA0CBB0CC50CC90CCE-0CD40CD7-0CDD0CDF0CE40CE50CF00CF3-0D010D040D0D0D110D290D3A-0D3C0D450D490D4E-0D560D58-0D5F0D640D650D76-0D780D800D810D840D97-0D990DB20DBC0DBE0DBF0DC7-0DC90DCB-0DCE0DD50DD70DE0-0DF10DF5-0E000E3B-0E3E0E5C-0E800E830E850E860E890E8B0E8C0E8E-0E930E980EA00EA40EA60EA80EA90EAC0EBA0EBE0EBF0EC50EC70ECE0ECF0EDA0EDB0EDE-0EFF0F480F6D-0F700F8C-0F8F0F980FBD0FCD0FD9-0FFF10C6-10CF10FD-10FF1249124E124F12571259125E125F1289128E128F12B112B612B712BF12C112C612C712D7131113161317135B-135E137D-137F139A-139F13F5-13FF169D-169F16F1-16FF170D1715-171F1737-173F1754-175F176D17711774-177F17DE17DF17EA-17EF17FA-17FF180F181A-181F1878-187F18AB-18AF18F6-18FF191D-191F192C-192F193C-193F1941-1943196E196F1975-197F19AC-19AF19CA-19CF19DB-19DD1A1C1A1D1A5F1A7D1A7E1A8A-1A8F1A9A-1A9F1AAE-1AFF1B4C-1B4F1B7D-1B7F1BAB-1BAD1BBA-1BFF1C38-1C3A1C4A-1C4C1C80-1CCF1CF3-1CFF1DE7-1DFC1F161F171F1E1F1F1F461F471F4E1F4F1F581F5A1F5C1F5E1F7E1F7F1FB51FC51FD41FD51FDC1FF01FF11FF51FFF2065-206920722073208F2095-209F20B9-20CF20F1-20FF218A-218F23E9-23FF2427-243F244B-245F26CE26E226E4-26E727002705270A270B2728274C274E2753-2755275F27602795-279727B027BF27CB27CD-27CF2B4D-2B4F2B5A-2BFF2C2F2C5F2CF2-2CF82D26-2D2F2D66-2D6E2D70-2D7F2D97-2D9F2DA72DAF2DB72DBF2DC72DCF2DD72DDF2E32-2E7F2E9A2EF4-2EFF2FD6-2FEF2FFC-2FFF3040309730983100-3104312E-3130318F31B8-31BF31E4-31EF321F32FF4DB6-4DBF9FCC-9FFFA48D-A48FA4C7-A4CFA62C-A63FA660A661A674-A67BA698-A69FA6F8-A6FFA78D-A7FAA82C-A82FA83A-A83FA878-A87FA8C5-A8CDA8DA-A8DFA8FC-A8FFA954-A95EA97D-A97FA9CEA9DA-A9DDA9E0-A9FFAA37-AA3FAA4EAA4FAA5AAA5BAA7C-AA7FAAC3-AADAAAE0-ABBFABEEABEFABFA-ABFFD7A4-D7AFD7C7-D7CAD7FC-D7FFFA2EFA2FFA6EFA6FFADA-FAFFFB07-FB12FB18-FB1CFB37FB3DFB3FFB42FB45FBB2-FBD2FD40-FD4FFD90FD91FDC8-FDEFFDFEFDFFFE1A-FE1FFE27-FE2FFE53FE67FE6C-FE6FFE75FEFDFEFEFF00FFBF-FFC1FFC8FFC9FFD0FFD1FFD8FFD9FFDD-FFDFFFE7FFEF-FFF8FFFEFFFF"})})),ace.define("ace/mode/text",["require","exports","module","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour/cstyle","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],(function(e,t,i){"use strict";var n=e("../tokenizer").Tokenizer,s=e("./text_highlight_rules").TextHighlightRules,o=e("./behaviour/cstyle").CstyleBehaviour,r=e("../unicode"),a=e("../lib/lang"),l=e("../token_iterator").TokenIterator,c=e("../range").Range,h=function(){this.HighlightRules=s};(function(){this.$defaultBehaviour=new o,this.tokenRe=new RegExp("^["+r.packages.L+r.packages.Mn+r.packages.Mc+r.packages.Nd+r.packages.Pc+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+r.packages.L+r.packages.Mn+r.packages.Mc+r.packages.Nd+r.packages.Pc+"\\$_]|\\s])+","g"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules(this.$highlightRuleConfig),this.$tokenizer=new n(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart="",this.blockComment="",this.toggleCommentLines=function(e,t,i,n){var s=t.doc,o=!0,r=!0,l=1/0,c=t.getTabSize(),h=!1;if(this.lineCommentStart){Array.isArray(this.lineCommentStart)?(m=this.lineCommentStart.map(a.escapeRegExp).join("|"),g=this.lineCommentStart[0]):(m=a.escapeRegExp(this.lineCommentStart),g=this.lineCommentStart),m=new RegExp("^(\\s*)(?:"+m+") ?"),h=t.getUseSoftTabs(),C=function(e,t){var i=e.match(m);if(i){var n=i[1].length,o=i[0].length;d(e,n,o)||" "!=i[0][o-1]||o--,s.removeInLine(t,n,o)}};var u=g+" ",d=(A=function(e,t){o&&!/\S/.test(e)||(d(e,l,l)?s.insertInLine({row:t,column:l},u):s.insertInLine({row:t,column:l},g))},F=function(e,t){return m.test(e)},function(e,t,i){for(var n=0;t--&&" "==e.charAt(t);)n++;if(n%c!=0)return!1;for(n=0;" "==e.charAt(i++);)n++;return c>2?n%c!=c-1:n%c==0})}else{if(!this.blockComment)return!1;var g=this.blockComment.start,f=this.blockComment.end,m=new RegExp("^(\\s*)(?:"+a.escapeRegExp(g)+")"),p=new RegExp("(?:"+a.escapeRegExp(f)+")\\s*$"),A=function(e,t){F(e,t)||o&&!/\S/.test(e)||(s.insertInLine({row:t,column:e.length},f),s.insertInLine({row:t,column:l},g))},C=function(e,t){var i;(i=e.match(p))&&s.removeInLine(t,e.length-i[0].length,e.length),(i=e.match(m))&&s.removeInLine(t,i[1].length,i[0].length)},F=function(e,i){if(m.test(e))return!0;for(var n=t.getTokens(i),s=0;se.length&&(v=e.length)})),l==1/0&&(l=v,o=!1,r=!1),h&&l%c!=0&&(l=Math.floor(l/c)*c),w(r?C:A)},this.toggleBlockComment=function(e,t,i,n){var s=this.blockComment;if(s){!s.start&&s[0]&&(s=s[0]);var o,r,a=(m=new l(t,n.row,n.column)).getCurrentToken(),h=t.selection.toOrientedRange();if(a&&/comment/.test(a.type)){for(var u,d;a&&/comment/.test(a.type);){if(-1!=(p=a.value.indexOf(s.start))){var g=m.getCurrentTokenRow(),f=m.getCurrentTokenColumn()+p;u=new c(g,f,g,f+s.start.length);break}a=m.stepBackward()}var m;for(a=(m=new l(t,n.row,n.column)).getCurrentToken();a&&/comment/.test(a.type);){var p;if(-1!=(p=a.value.indexOf(s.end))){g=m.getCurrentTokenRow(),f=m.getCurrentTokenColumn()+p,d=new c(g,f,g,f+s.end.length);break}a=m.stepForward()}d&&t.remove(d),u&&(t.remove(u),o=u.start.row,r=-s.start.length)}else r=s.start.length,o=i.start.row,t.insert(i.end,s.end),t.insert(i.start,s.start);h.start.row==o&&(h.start.column+=r),h.end.row==o&&(h.end.column+=r),t.selection.fromOrientedRange(h)}},this.getNextLineIndent=function(e,t,i){return this.$getIndent(t)},this.checkOutdent=function(e,t,i){return!1},this.autoOutdent=function(e,t,i){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)e[t]&&(this.$embeds.push(t),this.$modes[t]=new e[t]);var i=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"];for(t=0;tthis.row)){var i=function(t,i,n){var s="insert"==t.action,o=(s?1:-1)*(t.end.row-t.start.row),r=(s?1:-1)*(t.end.column-t.start.column),a=t.start,l=s?a:t.end;return e(i,a,n)?{row:i.row,column:i.column}:e(l,i,!n)?{row:i.row+o,column:i.column+(i.row==l.row?r:0)}:{row:a.row,column:a.column}}(t,{row:this.row,column:this.column},this.$insertRight);this.setPosition(i.row,i.column,!0)}},this.setPosition=function(e,t,i){var n;if(n=i?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=n.row||this.column!=n.column){var s={row:this.row,column:this.column};this.row=n.row,this.column=n.column,this._signal("change",{old:s,value:n})}},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var i={};return e>=this.document.getLength()?(i.row=Math.max(0,this.document.getLength()-1),i.column=this.document.getLine(i.row).length):e<0?(i.row=0,i.column=0):(i.row=e,i.column=Math.min(this.document.getLine(i.row).length,Math.max(0,t))),t<0&&(i.column=0),i}}).call(o.prototype)})),ace.define("ace/document",["require","exports","module","ace/lib/oop","ace/apply_delta","ace/lib/event_emitter","ace/range","ace/anchor"],(function(e,t,i){"use strict";var n=e("./lib/oop"),s=e("./apply_delta").applyDelta,o=e("./lib/event_emitter").EventEmitter,r=e("./range").Range,a=e("./anchor").Anchor,l=function(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)};(function(){n.implement(this,o),this.setValue=function(e){var t=this.getLength()-1;this.remove(new r(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new a(this,e,t)},this.$split=0==="aaa".split(/a/).length?function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},this.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var i=t.length-1;e.end.row-e.start.row==i&&(t[i]=t[i].substring(0,e.end.column))}return t},this.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},this.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},this.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},this.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},this.insertInLine=function(e,t){var i=this.clippedPos(e.row,e.column),n=this.pos(e.row,e.column+t.length);return this.applyDelta({start:i,end:n,action:"insert",lines:[t]},!0),this.clonePos(n)},this.clippedPos=function(e,t){var i=this.getLength();void 0===e?e=i:e<0?e=0:e>=i&&(e=i-1,t=void 0);var n=this.getLine(e);return null==t&&(t=n.length),{row:e,column:t=Math.min(Math.max(t,0),n.length)}},this.clonePos=function(e){return{row:e.row,column:e.column}},this.pos=function(e,t){return{row:e,column:t}},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},this.insertFullLines=function(e,t){var i=0;(e=Math.min(Math.max(e,0),this.getLength()))0,n=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},this.replace=function(e,t){return e instanceof r||(e=r.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},this.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},this.applyDelta=function(e,t){var i="insert"==e.action;(i?e.lines.length<=1&&!e.lines[0]:!r.comparePoints(e.start,e.end))||(i&&e.lines.length>2e4&&this.$splitAndapplyLargeDelta(e,2e4),s(this.$lines,e,t),this._signal("change",e))},this.$splitAndapplyLargeDelta=function(e,t){for(var i=e.lines,n=i.length,s=e.start.row,o=e.start.column,r=0,a=0;;){var l=i.slice(r=a,a+=t-1);if(a>n){e.lines=l,e.start.row=s+r,e.start.column=o;break}l.push(""),this.applyDelta({start:this.pos(s+r,o),end:this.pos(s+a,o=0),action:e.action,lines:l},!0)}},this.revertDelta=function(e){this.applyDelta({start:this.clonePos(e.start),end:this.clonePos(e.end),action:"insert"==e.action?"remove":"insert",lines:e.lines.slice()})},this.indexToPosition=function(e,t){for(var i=this.$lines||this.getAllLines(),n=this.getNewLineCharacter().length,s=t||0,o=i.length;s20){i.running=setTimeout(i.$worker,20);break}}i.currentLine=t,-1==n&&(n=t),o<=n&&i.fireUpdateEvent(o,n)}}};(function(){n.implement(this,s),this.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},this.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},this.fireUpdateEvent=function(e,t){this._signal("update",{data:{first:e,last:t}})},this.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},this.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},this.$updateOnChange=function(e){var t=e.start.row,i=e.end.row-t;if(0===i)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,i+1,null),this.states.splice(t,i+1,null);else{var n=Array(i+1);n.unshift(t,1),this.lines.splice.apply(this.lines,n),this.states.splice.apply(this.states,n)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},this.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},this.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},this.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},this.$tokenizeRow=function(e){var t=this.doc.getLine(e),i=this.tokenizer.getLineTokens(t,this.states[e-1],e);return this.states[e]+""!=i.state+""?(this.states[e]=i.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=i.tokens}}).call(o.prototype),t.BackgroundTokenizer=o})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,i){"use strict";var n=e("./lib/lang"),s=(e("./lib/oop"),e("./range").Range),o=function(e,t,i){this.setRegexp(e),this.clazz=t,this.type=i||"text"};(function(){this.MAX_RANGES=500,this.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},this.update=function(e,t,i,o){if(this.regExp)for(var r=o.lastRow,a=o.firstRow;a<=r;a++){var l=this.cache[a];null==l&&((l=n.getMatchOffsets(i.getLine(a),this.regExp)).length>this.MAX_RANGES&&(l=l.slice(0,this.MAX_RANGES)),l=l.map((function(e){return new s(a,e.offset,a,e.offset+e.length)})),this.cache[a]=l.length?l:"");for(var c=l.length;c--;)t.drawSingleLineMarker(e,l[c].toScreenRange(i),this.clazz,o)}}}).call(o.prototype),t.SearchHighlight=o})),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],(function(e,t,i){"use strict";var n=e("../range").Range;function s(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.folds=[t];var i=t[t.length-1];this.range=new n(t[0].start.row,t[0].start.column,i.end.row,i.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach((function(e){e.setFoldLine(this)}),this)}(function(){this.shiftRow=function(e){this.start.row+=e,this.end.row+=e,this.folds.forEach((function(t){t.start.row+=e,t.end.row+=e}))},this.addFold=function(e){if(e.sameRow){if(e.start.rowthis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort((function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)})),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},this.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},this.walk=function(e,t,i){var n,s,o=0,r=this.folds,a=!0;null==t&&(t=this.end.row,i=this.end.column);for(var l=0;l0)){var l=n(e,r.start);return 0===a?t&&0!==l?-o-2:o:l>0||0===l&&!t?o:-o-1}}return-o-1},this.add=function(e){var t=!e.isEmpty(),i=this.pointIndex(e.start,t);i<0&&(i=-i-1);var n=this.pointIndex(e.end,t,i);return n<0?n=-n-1:n++,this.ranges.splice(i,n-i,e)},this.addList=function(e){for(var t=[],i=e.length;i--;)t.push.apply(t,this.add(e[i]));return t},this.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},this.merge=function(){for(var e,t=[],i=this.ranges,s=(i=i.sort((function(e,t){return n(e.start,t.start)})))[0],o=1;o=0},this.containsPoint=function(e){return this.pointIndex(e)>=0},this.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},this.clipRows=function(e,t){var i=this.ranges;if(i[0].start.row>t||i[i.length-1].start.rown)break;if(c.start.row==n&&c.start.column>=t.column&&(c.start.column==t.column&&this.$insertRight||(c.start.column+=o,c.start.row+=s)),c.end.row==n&&c.end.column>=t.column){if(c.end.column==t.column&&this.$insertRight)continue;c.end.column==t.column&&o>0&&ac.start.column&&c.end.column==r[a+1].start.column&&(c.end.column-=o),c.end.column+=o,c.end.row+=s}}if(0!=s&&a=e)return s;if(s.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var i=this.$foldData,n=0;for(t&&(n=i.indexOf(t)),-1==n&&(n=0);n=e)return s}return null},this.getFoldedRowCount=function(e,t){for(var i=this.$foldData,n=t-e+1,s=0;s=t){a=e?n-=t-a:n=0);break}r>=e&&(n-=a>=e?r-a:r-e+1)}return n},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort((function(e,t){return e.start.row-t.start.row})),e},this.addFold=function(e,t){var i,n=this.$foldData,r=!1;e instanceof o?i=e:(i=new o(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(i.range);var a=i.start.row,l=i.start.column,c=i.end.row,h=i.end.column;if(!(a0&&(this.removeFolds(g),g.forEach((function(e){i.addSubFold(e)})));for(var f=0;f0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach((function(e){this.expandFold(e)}),this)},this.unfold=function(e,t){var i,s;if(null==e?(i=new n(0,0,this.getLength(),0),t=!0):i="number"==typeof e?new n(e,0,e,this.getLine(e).length):"row"in e?n.fromPoints(e,e):e,s=this.getFoldsInRangeList(i),t)this.removeFolds(s);else for(var o=s;o.length;)this.expandFolds(o),o=this.getFoldsInRangeList(i);if(s.length)return s},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var i=this.getFoldLine(e,t);return i?i.end.row:e},this.getRowFoldStart=function(e,t){var i=this.getFoldLine(e,t);return i?i.start.row:e},this.getFoldDisplayLine=function(e,t,i,n,s){null==n&&(n=e.start.row),null==s&&(s=0),null==t&&(t=e.end.row),null==i&&(i=this.getLine(t).length);var o=this.doc,r="";return e.walk((function(e,t,i,a){if(!(th)break}while(o&&l.test(o.type));o=s.stepBackward()}else o=s.getCurrentToken();return c.end.row=s.getCurrentTokenRow(),c.end.column=s.getCurrentTokenColumn()+o.value.length-2,c}},this.foldAll=function(e,t,i){null==i&&(i=1e5);var n=this.foldWidgets;if(n){t=t||this.getLength();for(var s=e=e||0;s=e){s=o.end.row;try{var r=this.addFold("...",o);r&&(r.collapseChildren=i)}catch(a){}}}}},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle="markbegin",this.setFoldStyle=function(e){if(!this.$foldStyles[e])throw new Error("invalid fold style: "+e+"["+Object.keys(this.$foldStyles).join(", ")+"]");if(this.$foldStyle!=e){this.$foldStyle=e,"manual"==e&&this.unfold();var t=this.$foldMode;this.$setFolding(null),this.$setFolding(t)}},this.$setFolding=function(e){this.$foldMode!=e&&(this.$foldMode=e,this.off("change",this.$updateFoldWidgets),this.off("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets),this._signal("changeAnnotation"),e&&"manual"!=this.$foldStyle?(this.foldWidgets=[],this.getFoldWidget=e.getFoldWidget.bind(e,this,this.$foldStyle),this.getFoldWidgetRange=e.getFoldWidgetRange.bind(e,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on("change",this.$updateFoldWidgets),this.on("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets)):this.foldWidgets=null)},this.getParentFoldRangeData=function(e,t){var i=this.foldWidgets;if(!i||t&&i[e])return{};for(var n,s=e-1;s>=0;){var o=i[s];if(null==o&&(o=i[s]=this.getFoldWidget(s)),"start"==o){var r=this.getFoldWidgetRange(s);if(n||(n=r),r&&r.end.row>=e)break}s--}return{range:-1!==s&&r,firstRange:n}},this.onFoldWidgetClick=function(e,t){if(!this.$toggleFoldWidget(e,{children:(t=t.domEvent).shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey})){var i=t.target||t.srcElement;i&&/ace_fold-widget/.test(i.className)&&(i.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var i=this.getFoldWidget(e),n=this.getLine(e),s="end"===i?-1:1,o=this.getFoldAt(e,-1===s?0:n.length,s);if(o)return t.children||t.all?this.removeFold(o):this.expandFold(o),o;var r=this.getFoldWidgetRange(e,!0);if(r&&!r.isMultiLine()&&(o=this.getFoldAt(r.start.row,r.start.column,1))&&r.isEqual(o.range))return this.removeFold(o),o;if(t.siblings){var a=this.getParentFoldRangeData(e);if(a.range)var l=a.range.start.row+1,c=a.range.end.row;this.foldAll(l,c,t.all?1e4:0)}else t.children?(c=r?r.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):r&&(t.all&&(r.collapseChildren=1e4),this.addFold("...",r));return r}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var i=this.$toggleFoldWidget(t,{});if(!i){var n=this.getParentFoldRangeData(t,!0);if(i=n.range||n.firstRange){var s=this.getFoldAt(t=i.start.row,this.getLine(t).length,1);s?this.removeFold(s):this.addFold("...",i)}}},this.updateFoldWidgets=function(e){var t=e.start.row,i=e.end.row-t;if(0===i)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,i+1,null);else{var n=Array(i+1);n.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,n)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(e,t,i){"use strict";var n=e("../token_iterator").TokenIterator,s=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var i=t||this.getLine(e.row).charAt(e.column-1);if(""==i)return null;var n=i.match(/([\(\[\{])|([\)\]\}])/);return n?n[1]?this.$findClosingBracket(n[1],e):this.$findOpeningBracket(n[2],e):null},this.getBracketRange=function(e){var t,i=this.getLine(e.row),n=!0,o=i.charAt(e.column-1),r=o&&o.match(/([\(\[\{])|([\)\]\}])/);if(r||(o=i.charAt(e.column),e={row:e.row,column:e.column+1},r=o&&o.match(/([\(\[\{])|([\)\]\}])/),n=!1),!r)return null;if(r[1]){if(!(a=this.$findClosingBracket(r[1],e)))return null;t=s.fromPoints(e,a),n||(t.end.column++,t.start.column--),t.cursor=t.end}else{var a;if(!(a=this.$findOpeningBracket(r[2],e)))return null;t=s.fromPoints(a,e),n||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{"},this.$findOpeningBracket=function(e,t,i){var s=this.$brackets[e],o=1,r=new n(this,t.row,t.column),a=r.getCurrentToken();if(a||(a=r.stepForward()),a){i||(i=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-r.getCurrentTokenColumn()-2,c=a.value;;){for(;l>=0;){var h=c.charAt(l);if(h==s){if(0==(o-=1))return{row:r.getCurrentTokenRow(),column:l+r.getCurrentTokenColumn()}}else h==e&&(o+=1);l-=1}do{a=r.stepBackward()}while(a&&!i.test(a.type));if(null==a)break;l=(c=a.value).length-1}return null}},this.$findClosingBracket=function(e,t,i){var s=this.$brackets[e],o=1,r=new n(this,t.row,t.column),a=r.getCurrentToken();if(a||(a=r.stepForward()),a){i||(i=new RegExp("(\\.?"+a.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)")+")+"));for(var l=t.column-r.getCurrentTokenColumn();;){for(var c=a.value,h=c.length;li&&(this.$docRowCache.splice(i,t),this.$screenRowCache.splice(i,t))},this.$getRowCacheIndex=function(e,t){for(var i=0,n=e.length-1;i<=n;){var s=i+n>>1,o=e[s];if(t>o)i=s+1;else{if(!(t=t);o++);return(i=n[o])?(i.index=o,i.start=s-i.value.length,i):null},this.setUndoManager=function(e){if(this.$undoManager=e,this.$deltas=[],this.$deltasDoc=[],this.$deltasFold=[],this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.$deltasFold.length&&(t.$deltas.push({group:"fold",deltas:t.$deltasFold}),t.$deltasFold=[]),t.$deltasDoc.length&&(t.$deltas.push({group:"doc",deltas:t.$deltasDoc}),t.$deltasDoc=[]),t.$deltas.length>0&&e.execute({action:"aceupdate",args:[t.$deltas,t],merge:t.mergeUndoDeltas}),t.mergeUndoDeltas=!1,t.$deltas=[]},this.$informUndoManager=s.delayedCall(this.$syncInformUndoManager)}},this.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},this.$defaultUndoManager={undo:function(){},redo:function(){},reset:function(){}},this.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},this.getTabString=function(){return this.getUseSoftTabs()?s.stringRepeat(" ",this.getTabSize()):"\t"},this.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},this.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},this.setTabSize=function(e){this.setOption("tabSize",e)},this.getTabSize=function(){return this.$tabSize},this.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize==0},this.setNavigateWithinSoftTabs=function(e){this.setOption("navigateWithinSoftTabs",e)},this.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},this.$overwrite=!1,this.setOverwrite=function(e){this.setOption("overwrite",e)},this.getOverwrite=function(){return this.$overwrite},this.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},this.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},this.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},this.getBreakpoints=function(){return this.$breakpoints},this.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t0&&(n=!!i.charAt(t-1).match(this.tokenRe)),n||(n=!!i.charAt(t).match(this.tokenRe)),n)var s=this.tokenRe;else s=/^\s+$/.test(i.slice(t-1,t+1))?/\s/:this.nonTokenRe;var o=t;if(o>0){do{o--}while(o>=0&&i.charAt(o).match(s));o++}for(var r=t;re&&(e=t.screenWidth)})),this.lineWidgetWidth=e},this.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),i=this.$rowLengthCache,n=0,s=0,o=this.$foldData[s],r=o?o.start.row:1/0,a=t.length,l=0;lr){if((l=o.end.row+1)>=a)break;r=(o=this.$foldData[s++])?o.start.row:1/0}null==i[l]&&(i[l]=this.$getStringScreenWidth(t[l])[0]),i[l]>n&&(n=i[l])}this.screenWidth=n}},this.getLine=function(e){return this.doc.getLine(e)},this.getLines=function(e,t){return this.doc.getLines(e,t)},this.getLength=function(){return this.doc.getLength()},this.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},this.insert=function(e,t){return this.doc.insert(e,t)},this.remove=function(e){return this.doc.remove(e)},this.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},this.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var i=null,n=e.length-1;-1!=n;n--){var s=e[n];"doc"==s.group?(this.doc.revertDeltas(s.deltas),i=this.$getUndoSelection(s.deltas,!0,i)):s.deltas.forEach((function(e){this.addFolds(e.folds)}),this)}return this.$fromUndo=!1,i&&this.$undoSelect&&!t&&this.selection.setSelectionRange(i),i}},this.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var i=null,n=0;ne.end.column&&(o.start.column+=c),o.end.row==e.end.row&&o.end.column>e.end.column&&(o.end.column+=c)),l&&o.start.row>=e.end.row&&(o.start.row+=l,o.end.row+=l)),o.end=this.insert(o.start,n),s.length){var r=e.start,a=o.start,l=a.row-r.row,c=a.column-r.column;this.addFolds(s.map((function(e){return(e=e.clone()).start.row==r.row&&(e.start.column+=c),e.end.row==r.row&&(e.end.column+=c),e.start.row+=l,e.end.row+=l,e})))}return o},this.indentRows=function(e,t,i){i=i.replace(/\t/g,this.getTabString());for(var n=e;n<=t;n++)this.doc.insertInLine({row:n,column:0},i)},this.outdentRows=function(e){for(var t=e.collapseRows(),i=new h(0,0,0,0),n=this.getTabSize(),s=t.start.row;s<=t.end.row;++s){var o=this.getLine(s);i.start.row=s,i.end.row=s;for(var r=0;r0){var s;if((s=this.getRowFoldEnd(t+i))>this.doc.getLength()-1)return 0;n=s-t}else e=this.$clipRowToDocument(e),n=(t=this.$clipRowToDocument(t))-e+1;var o=new h(e,0,t,Number.MAX_VALUE),r=this.getFoldsInRange(o).map((function(e){return(e=e.clone()).start.row+=n,e.end.row+=n,e})),a=0==i?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+n,a),r.length&&this.addFolds(r),n},this.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},this.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},this.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},this.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},this.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},this.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var i=this.doc.getLength();e>=i?(e=i-1,t=this.doc.getLine(i-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},this.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},this.$wrapLimit=80,this.$useWrapMode=!1,this.$wrapLimitRange={min:null,max:null},this.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},this.getUseWrapMode=function(){return this.$useWrapMode},this.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},this.adjustWrapLimit=function(e,t){var i=this.$wrapLimitRange;i.max<0&&(i={min:t,max:t});var n=this.$constrainWrapLimit(e,i.min,i.max);return n!=this.$wrapLimit&&n>1&&(this.$wrapLimit=n,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},this.$constrainWrapLimit=function(e,t,i){return t&&(e=Math.max(t,e)),i&&(e=Math.min(i,e)),e},this.getWrapLimit=function(){return this.$wrapLimit},this.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},this.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},this.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,i=e.action,n=e.start,s=e.end,o=n.row,r=s.row,a=r-o,l=null;if(this.$updating=!0,0!=a)if("remove"===i){this[t?"$wrapData":"$rowLengthCache"].splice(o,a);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var h=0;if(m=this.getFoldLine(s.row)){m.addRemoveChars(s.row,s.column,n.column-s.column),m.shiftRow(-a);var u=this.getFoldLine(o);u&&u!==m&&(u.merge(m),m=u),h=c.indexOf(m)+1}for(;h=s.row&&m.shiftRow(-a);r=o}else{var d=Array(a);d.unshift(o,0);var g=t?this.$wrapData:this.$rowLengthCache;if(g.splice.apply(g,d),c=this.$foldData,h=0,m=this.getFoldLine(o)){var f=m.range.compareInside(n.row,n.column);0==f?(m=m.split(n.row,n.column))&&(m.shiftRow(a),m.addRemoveChars(r,0,s.column-n.column)):-1==f&&(m.addRemoveChars(o,0,s.column-n.column),m.shiftRow(a)),h=c.indexOf(m)+1}for(;h=o&&m.shiftRow(a)}}else a=Math.abs(e.start.column-e.end.column),"remove"===i&&(l=this.getFoldsInRange(e),this.removeFolds(l),a=-a),(m=this.getFoldLine(o))&&m.addRemoveChars(o,n.column,a);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(o,r):this.$updateRowLengthCache(o,r),l},this.$updateRowLengthCache=function(e,t,i){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},this.$updateWrapData=function(i,n){var s,o,r=this.doc.getAllLines(),a=this.getTabSize(),l=this.$wrapData,c=this.$wrapLimit,h=i;for(n=Math.min(n,r.length-1);h<=n;)(o=this.getFoldLine(h,o))?(s=[],o.walk((function(i,n,o,a){var l;if(null!=i){(l=this.$getDisplayTokens(i,s.length))[0]=e;for(var c=1;c=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}this.$computeWrapSplits=function(i,n,s){if(0==i.length)return[];var o=[],r=i.length,a=0,l=0,c=this.$wrapAsCode,h=this.$indentedSoftWrap,u=n<=Math.max(2*s,8)||!1===h?0:Math.floor(n/2);function d(e){var t=i.slice(a,e),n=t.length;t.join("").replace(/12/g,(function(){n-=1})).replace(/2/g,(function(){n-=1})),o.length||(g=function(){var e=0;if(0===u)return e;if(h)for(var t=0;tn-g;){var f=a+n-g;if(i[f-1]>=10&&i[f]>=10)d(f);else if(i[f]!=e&&i[f]!=t){for(var m=Math.max(f-(n-(n>>2)),a-1);f>m&&i[f]m&&i[f]m&&9==i[f];)f--}else for(;f>m&&i[f]<10;)f--;f>m?d(++f):(2==i[f=a+n]&&f--,d(f-g))}else{for(;f!=a-1&&i[f]!=e;f--);if(f>a){d(f);continue}for(f=a+n;f39&&r<48||r>57&&r<64?s.push(9):r>=4352&&i(r)?s.push(1,2):s.push(1)}return s},this.$getStringScreenWidth=function(e,t,n){if(0==t)return[0,0];var s,o;for(null==t&&(t=1/0),n=n||0,o=0;o=4352&&i(s)?n+=2:n+=1,!(n>t));o++);return[n,o]},this.lineWidgets=null,this.getRowLength=function(e){if(this.lineWidgets)var t=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0;else t=0;return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},this.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),i=this.$wrapData[t.row];return i.length&&i[0]=0){a=c[h],o=this.$docRowCache[h];var d=e>c[u-1]}else d=!u;for(var g=this.getLength()-1,f=this.getNextFoldLine(o),m=f?f.start.row:1/0;a<=e&&!(a+(l=this.getRowLength(o))>e||o>=g);)a+=l,++o>m&&(m=(f=this.getNextFoldLine(o=f.end.row+1,f))?f.start.row:1/0),d&&(this.$docRowCache.push(o),this.$screenRowCache.push(a));if(f&&f.start.row<=o)n=this.getFoldDisplayLine(f),o=f.start.row;else{if(a+l<=e||o>g)return{row:g,column:this.getLine(g).length};n=this.getLine(o),f=null}var p=0,A=Math.floor(e-a);if(this.$useWrapMode){var C=this.$wrapData[o];C&&(s=C[A],A>0&&C.length&&(p=C.indent,n=n.substring(r=C[A-1]||C[C.length-1])))}return void 0!==i&&this.$bidiHandler.isBidiRow(a+A,o,A)&&(t=this.$bidiHandler.offsetToCol(i)),r+=this.$getStringScreenWidth(n,t-p)[1],this.$useWrapMode&&r>=s&&(r=s-1),f?f.idxToPosition(r):{row:o,column:r}},this.documentToScreenPosition=function(e,t){if(void 0===t)var i=this.$clipPositionToDocument(e.row,e.column);else i=this.$clipPositionToDocument(e,t);var n,s=0,o=null;(n=this.getFoldAt(e=i.row,t=i.column,1))&&(e=n.start.row,t=n.start.column);var r,a=0,l=this.$docRowCache,c=this.$getRowCacheIndex(l,e),h=l.length;if(h&&c>=0){a=l[c],s=this.$screenRowCache[c];var u=e>l[h-1]}else u=!h;for(var d=this.getNextFoldLine(a),g=d?d.start.row:1/0;a=g){if((r=d.end.row+1)>e)break;g=(d=this.getNextFoldLine(r,d))?d.start.row:1/0}else r=a+1;s+=this.getRowLength(a),a=r,u&&(this.$docRowCache.push(a),this.$screenRowCache.push(s))}var f="";d&&a>=g?(f=this.getFoldDisplayLine(d,e,t),o=d.start.row):(f=this.getLine(e).substring(0,t),o=e);var m=0;if(this.$useWrapMode){var p=this.$wrapData[o];if(p){for(var A=0;f.length>=p[A];)s++,A++;f=f.substring(p[A-1]||0,f.length),m=A>0?p.indent:0}}return{row:s,column:m+this.$getStringScreenWidth(f)[0]}},this.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},this.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},this.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var i=this.$wrapData.length,n=0,s=(a=0,(t=this.$foldData[a++])?t.start.row:1/0);ns&&(n=t.end.row+1,s=(t=this.$foldData[a++])?t.start.row:1/0)}else{e=this.getLength();for(var r=this.$foldData,a=0;ai);o++);return[n,o]})},this.destroy=function(){this.bgTokenizer&&(this.bgTokenizer.setDocument(null),this.bgTokenizer=null),this.$stopWorker()},this.isFullWidth=i}).call(f.prototype),e("./edit_session/folding").Folding.call(f.prototype),e("./edit_session/bracket_match").BracketMatch.call(f.prototype),r.defineOptions(f.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$modified=!0,this.$resetRowCache(0),this.$updateWrapData(0,this.getLength()-1)))},initialValue:"auto"},indentedSoftWrap:{initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){isNaN(e)||this.$tabSize===e||(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId}}}),t.EditSession=f})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,i){"use strict";var n=e("./lib/lang"),s=e("./lib/oop"),o=e("./range").Range,r=function(){this.$options={}};(function(){this.set=function(e){return s.mixin(this.$options,e),this},this.getOptions=function(){return n.copyObject(this.$options)},this.setOptions=function(e){this.$options=e},this.find=function(e){var t=this.$options,i=this.$matchIterator(e,t);if(!i)return!1;var n=null;return i.forEach((function(e,i,s,r){return n=new o(e,i,s,r),!(i==r&&t.start&&t.start.start&&0!=t.skipCurrent&&n.isEqual(t.start)&&(n=null,1))})),n},this.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var i=t.range,s=i?e.getLines(i.start.row,i.end.row):e.doc.getAllLines(),r=[],a=t.re;if(t.$isMultiLine){var l,c=a.length,h=s.length-c;e:for(var u=a.offset||0;u<=h;u++){for(var d=0;dm||(r.push(l=new o(u,m,u+c-1,p)),c>2&&(u=u+c-2))}}else for(var A=0;Av&&r[d].end.row==i.end.row;)d--;for(r=r.slice(A,d+1),A=0,d=r.length;A=a;i--)if(u(i,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(i=l,a=r.row;i>=a;i--)if(u(i,Number.MAX_VALUE,e))return}};else c=function(e){var i=r.row;if(!u(i,r.column,e)){for(i+=1;i<=l;i++)if(u(i,0,e))return;if(0!=t.wrap)for(i=a,l=r.row;i<=l;i++)if(u(i,0,e))return}};if(t.$isMultiLine)var h=i.length,u=function(t,s,o){var r=n?t-h+1:t;if(!(r<0)){var a=e.getLine(r),l=a.search(i[0]);if(!(!n&&ls))return!!o(r,l,r+h-1,u)||void 0}}};else u=n?function(t,n,s){var o,r=e.getLine(t),a=[],l=0;for(i.lastIndex=0;o=i.exec(r);){if(l=o.index,!(h=o[0].length)){if(l>=r.length)break;i.lastIndex=l+=1}if(o.index+h>n)break;a.push(o.index,h)}for(var c=a.length-1;c>=0;c-=2){var h,u=a[c-1];if(s(t,u,t,u+(h=a[c])))return!0}}:function(t,n,s){var o,r=e.getLine(t),a=n;for(i.lastIndex=n;o=i.exec(r);){var l=o[0].length;if(s(t,a=o.index,t,a+l))return!0;if(!l&&(i.lastIndex=a+=1,a>=r.length))return!1}};return{forEach:c}}}).call(r.prototype),t.Search=r})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,i){"use strict";var n=e("../lib/keys"),s=e("../lib/useragent"),o=n.KEY_MODS;function r(e,t){this.platform=t||(s.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=!0}function a(e,t){r.call(this,e,t),this.$singleCommand=!1}a.prototype=r.prototype,(function(){function e(e){return"object"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}this.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},this.removeCommand=function(e,t){var i=e&&("string"==typeof e?e:e.name);e=this.commands[i],t||delete this.commands[i];var n=this.commandKeyBinding;for(var s in n){var o=n[s];if(o==e)delete n[s];else if(Array.isArray(o)){var r=o.indexOf(e);-1!=r&&(o.splice(r,1),1==o.length&&(n[s]=o[0]))}}},this.bindKey=function(e,t,i){if("object"==typeof e&&e&&(null==i&&(i=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach((function(e){var n="";if(-1!=e.indexOf(" ")){var s=e.split(/\s+/);e=s.pop(),s.forEach((function(e){var t=this.parseKeys(e);this._addCommandToBinding(n+=(n?" ":"")+(o[t.hashId]+t.key),"chainKeys")}),this),n+=" "}var r=this.parseKeys(e);this._addCommandToBinding(n+(o[r.hashId]+r.key),t,i)}),this)},this._addCommandToBinding=function(t,i,n){var s,o=this.commandKeyBinding;if(i)if(!o[t]||this.$singleCommand)o[t]=i;else{Array.isArray(o[t])?-1!=(s=o[t].indexOf(i))&&o[t].splice(s,1):o[t]=[o[t]],"number"!=typeof n&&(n=e(i));var r=o[t];for(s=0;sn);s++);r.splice(s,0,i)}else delete o[t]},this.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var i=e[t];if(i){if("string"==typeof i)return this.bindKey(i,t);"function"==typeof i&&(i={exec:i}),"object"==typeof i&&(i.name||(i.name=t),this.addCommand(i))}}),this)},this.removeCommands=function(e){Object.keys(e).forEach((function(t){this.removeCommand(e[t])}),this)},this.bindKeys=function(e){Object.keys(e).forEach((function(t){this.bindKey(t,e[t])}),this)},this._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},this.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(e){return e})),i=t.pop(),s=n[i];if(n.FUNCTION_KEYS[s])i=n.FUNCTION_KEYS[s].toLowerCase();else{if(!t.length)return{key:i,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:i.toUpperCase(),hashId:-1}}for(var o=0,r=t.length;r--;){var a=n.KEY_MODS[t[r]];if(null==a)return"undefined"!=typeof console&&console.error("invalid modifier "+t[r]+" in "+e),!1;o|=a}return{key:i,hashId:o}},this.findKeyCommand=function(e,t){return this.commandKeyBinding[o[e]+t]},this.handleKeyboard=function(e,t,i,n){if(!(n<0)){var s=o[t]+i,r=this.commandKeyBinding[s];return e.$keyChain&&(e.$keyChain+=" "+s,r=this.commandKeyBinding[e.$keyChain]||r),!r||"chainKeys"!=r&&"chainKeys"!=r[r.length-1]?(e.$keyChain&&(t&&4!=t||1!=i.length?(-1==t||n>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-s.length-1)),{command:r}):(e.$keyChain=e.$keyChain||s,{command:"null"})}},this.getStatusText=function(e,t){return t.$keyChain||""}}).call(r.prototype),t.HashHandler=r,t.MultiHashHandler=a})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(e,t,i){"use strict";var n=e("../lib/oop"),s=e("../keyboard/hash_handler").MultiHashHandler,o=e("../lib/event_emitter").EventEmitter,r=function(e,t){s.call(this,t,e),this.byName=this.commands,this.setDefaultHandler("exec",(function(e){return e.command.exec(e.editor,e.args||{})}))};n.inherits(r,s),(function(){n.implement(this,o),this.exec=function(e,t,i){if(Array.isArray(e)){for(var n=e.length;n--;)if(this.exec(e[n],t,i))return!0;return!1}if("string"==typeof e&&(e=this.commands[e]),!e)return!1;if(t&&t.$readOnly&&!e.readOnly)return!1;if(e.isAvailable&&!e.isAvailable(t))return!1;var s={editor:t,command:e,args:i};return s.returnValue=this._emit("exec",s),this._signal("afterExec",s),!1!==s.returnValue},this.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.removeEventListener("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=(function(e){this.macro.push([e.command,e.args])}).bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},this.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach((function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])}),this)}finally{this.$inReplay=!1}}},this.trimMacro=function(e){return e.map((function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e}))}}).call(r.prototype),t.CommandManager=r})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(e,t,i){"use strict";var n=e("../lib/lang"),s=e("../config"),o=e("../range").Range;function r(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",bindKey:r("Ctrl-,","Command-,"),exec:function(e){s.loadModule("ace/ext/settings_menu",(function(t){t.init(e),e.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",bindKey:r("Alt-E","F4"),exec:function(e){s.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",bindKey:r("Alt-Shift-E","Shift-F4"),exec:function(e){s.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",bindKey:r("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",bindKey:r(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",bindKey:r("Ctrl-L","Command-L"),exec:function(e){var t=parseInt(prompt("Enter line number:"),10);isNaN(t)||e.gotoLine(t)},readOnly:!0},{name:"fold",bindKey:r("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:r("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",bindKey:r("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",bindKey:r("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",bindKey:r(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",bindKey:r("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",bindKey:r("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",bindKey:r("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",bindKey:r("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",bindKey:r("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",bindKey:r("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",bindKey:r("Ctrl-F","Command-F"),exec:function(e){s.loadModule("ace/ext/searchbox",(function(t){t.Search(e)}))},readOnly:!0},{name:"overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",bindKey:r("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",bindKey:r("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",bindKey:r("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",bindKey:r("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",bindKey:r("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",bindKey:r("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",bindKey:r("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",bindKey:r("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",bindKey:r("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",bindKey:r("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",bindKey:r("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",bindKey:r("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",bindKey:r("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",bindKey:r("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",bindKey:r("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",bindKey:r("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",bindKey:r("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",bindKey:r("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",bindKey:r("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",bindKey:r("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",bindKey:r(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",bindKey:r("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",bindKey:r(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",bindKey:r("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",bindKey:r("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",bindKey:r("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",bindKey:r("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",bindKey:r("Ctrl-P","Ctrl-P"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",bindKey:r("Ctrl-Shift-P","Ctrl-Shift-P"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",bindKey:r("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",bindKey:r(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",exec:function(e){},readOnly:!0},{name:"cut",exec:function(e){var t=e.getSelectionRange();e._emit("cut",t),e.selection.isEmpty()||(e.session.remove(t),e.clearSelection())},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",bindKey:r("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",bindKey:r("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",bindKey:r("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",bindKey:r("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",bindKey:r("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",bindKey:r("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",bindKey:r("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",bindKey:r("Ctrl-H","Command-Option-F"),exec:function(e){s.loadModule("ace/ext/searchbox",(function(t){t.Search(e,!0)}))}},{name:"undo",bindKey:r("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",bindKey:r("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",bindKey:r("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",bindKey:r("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",bindKey:r("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",bindKey:r("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",bindKey:r("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",bindKey:r("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",bindKey:r("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",bindKey:r("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",bindKey:r("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",bindKey:r("Ctrl-Shift-Backspace",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",bindKey:r("Ctrl-Shift-Delete",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",bindKey:r("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",bindKey:r("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",bindKey:r("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",bindKey:r("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",bindKey:r("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",bindKey:r("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",exec:function(e,t){e.insert(n.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",bindKey:r(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",bindKey:r("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",bindKey:r("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",bindKey:r("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"expandtoline",bindKey:r("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"joinlines",bindKey:r(null,null),exec:function(e){for(var t=e.selection.isBackwards(),i=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),s=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),r=e.session.doc.getLine(i.row).length,a=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,l=e.session.doc.getLine(i.row),c=i.row+1;c<=s.row+1;c++){var h=n.stringTrimLeft(n.stringTrimRight(e.session.doc.getLine(c)));0!==h.length&&(h=" "+h),l+=h}s.row+10?(e.selection.moveCursorTo(i.row,i.column),e.selection.selectTo(i.row,i.column+a)):(r=e.session.doc.getLine(i.row).length>r?r+1:r,e.selection.moveCursorTo(i.row,r))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",bindKey:r(null,null),exec:function(e){var t=e.session.doc.getLength()-1,i=e.session.doc.getLine(t).length,n=e.selection.rangeList.ranges,s=[];n.length<1&&(n=[e.selection.getRange()]);for(var r=0;r0&&this.$blockScrolling--;var i=t&&t.scrollIntoView;if(i){switch(i){case"center-animate":i="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var n=this.selection.getRange(),s=this.renderer.layerConfig;(n.start.row>=s.lastRow||n.end.row<=s.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==i&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.prevOp=this.curOp,this.curOp=null}},this.$mergeableCommands=["backspace","del","insertstring"],this.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,i=this.$mergeableCommands,n=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var s=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),n=n&&this.mergeNextCommand&&(!/\s/.test(s)||/\s/.test(t.args)),this.mergeNextCommand=!0}else n=n&&-1!==i.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(n=!1),n?this.session.mergeUndoDeltas=!0:-1!==i.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},this.setKeyboardHandler=function(e,t){if(e&&"string"==typeof e){this.$keybindingId=e;var i=this;A.loadModule(["keybinding",e],(function(n){i.$keybindingId==e&&i.keyBinding.setKeyboardHandler(n&&n.handler),t&&t()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},this.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},this.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var i=this.session.getSelection();i.off("changeCursor",this.$onCursorChange),i.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.$blockScrolling+=1,this.onCursorChange(),this.$blockScrolling-=1,this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),e&&e._signal("changeEditor",{editor:this}),e&&e.bgTokenizer&&e.bgTokenizer.scheduleStart()}},this.getSession=function(){return this.session},this.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},this.getValue=function(){return this.session.getValue()},this.getSelection=function(){return this.selection},this.resize=function(e){this.renderer.onResize(e)},this.setTheme=function(e,t){this.renderer.setTheme(e,t)},this.getTheme=function(){return this.renderer.getTheme()},this.setStyle=function(e){this.renderer.setStyle(e)},this.unsetStyle=function(e){this.renderer.unsetStyle(e)},this.getFontSize=function(){return this.getOption("fontSize")||s.computedStyle(this.container,"fontSize")},this.setFontSize=function(e){this.setOption("fontSize",e)},this.$highlightBrackets=function(){if(this.session.$bracketHighlight&&(this.session.removeMarker(this.session.$bracketHighlight),this.session.$bracketHighlight=null),!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout((function(){e.$highlightPending=!1;var t=e.session;if(t&&t.bgTokenizer){var i=t.findMatchingBracket(e.getCursorPosition());if(i)var n=new g(i.row,i.column,i.row,i.column+1);else t.$mode.getMatching&&(n=t.$mode.getMatching(e.session));n&&(t.$bracketHighlight=t.addMarker(n,"ace_bracket","text"))}}),50)}},this.$highlightTags=function(){if(!this.$highlightTagPending){var e=this;this.$highlightTagPending=!0,setTimeout((function(){e.$highlightTagPending=!1;var t=e.session;if(t&&t.bgTokenizer){var i=e.getCursorPosition(),n=new C(e.session,i.row,i.column),s=n.getCurrentToken();if(!s||!/\b(?:tag-open|tag-name)/.test(s.type))return t.removeMarker(t.$tagHighlight),void(t.$tagHighlight=null);if(-1==s.type.indexOf("tag-open")||(s=n.stepForward())){var o=s.value,r=0,a=n.stepBackward();if("<"==a.value)do{a=s,(s=n.stepForward())&&s.value===o&&-1!==s.type.indexOf("tag-name")&&("<"===a.value?r++:"=0);else{do{s=a,a=n.stepBackward(),s&&s.value===o&&-1!==s.type.indexOf("tag-name")&&("<"===a.value?r++:"1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var i=new g(e.row,e.column,e.row,1/0);i.id=t.addMarker(i,"ace_active-line","screenLine"),t.$highlightLineMarker=i}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},this.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var i=this.selection.getRange(),n=this.getSelectionStyle();t.$selectionMarker=t.addMarker(i,"ace_selection",n)}var s=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(s),this._signal("changeSelection")},this.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var i=t.start.column-1,n=t.end.column+1,s=e.getLine(t.start.row),o=s.length,r=s.substring(Math.max(i,0),Math.min(n,o));if(!(i>=0&&/^[\w\d]/.test(r)||n<=o&&/[\w\d]$/.test(r))&&(r=s.substring(t.start.column,t.end.column),/^[\w\d]+$/.test(r)))return this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:r})}},this.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},this.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},this.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},this.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},this.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},this.onChangeWrapLimit=function(){this.renderer.updateFull()},this.onChangeWrapMode=function(){this.renderer.onResize(!0)},this.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},this.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},this.getCopyText=function(){var e=this.getSelectedText();return this._signal("copy",e),e},this.onCopy=function(){this.commands.exec("copy",this)},this.onCut=function(){this.commands.exec("cut",this)},this.onPaste=function(e,t){this.commands.exec("paste",this,{text:e,event:t})},this.$handlePaste=function(e){"string"==typeof e&&(e={text:e}),this._signal("paste",e);var t=e.text;if(!this.inMultiSelectMode||this.inVirtualSelectionMode)this.insert(t);else{var i=t.split(/\r\n|\r|\n/),n=this.selection.rangeList.ranges;if(i.length>n.length||i.length<2||!i[1])return this.commands.exec("insertstring",this,t);for(var s=n.length;s--;){var o=n[s];o.isEmpty()||this.session.remove(o),this.session.insert(o.start,i[s])}}},this.execCommand=function(e,t){return this.commands.exec(e,this,t)},this.insert=function(e,t){var i=this.session,n=i.getMode(),s=this.getCursorPosition();if(this.getBehavioursEnabled()&&!t){var o=n.transformAction(i.getState(s.row),"insertion",this,i,e);o&&(e!==o.text&&(this.session.mergeUndoDeltas=!1,this.$mergeNextCommand=!1),e=o.text)}if("\t"==e&&(e=this.session.getTabString()),this.selection.isEmpty())this.session.getOverwrite()&&-1==e.indexOf("\n")&&((r=new g.fromPoints(s,s)).end.column+=e.length,this.session.remove(r));else{var r=this.getSelectionRange();s=this.session.remove(r),this.clearSelection()}if("\n"==e||"\r\n"==e){var a=i.getLine(s.row);if(s.column>a.search(/\S|$/)){var l=a.substr(s.column).search(/\S|$/);i.doc.removeInLine(s.row,s.column,s.column+l)}}this.clearSelection();var c=s.column,h=i.getState(s.row),u=(a=i.getLine(s.row),n.checkOutdent(h,a,e));if(i.insert(s,e),o&&o.selection&&this.selection.setSelectionRange(2==o.selection.length?new g(s.row,c+o.selection[0],s.row,c+o.selection[1]):new g(s.row+o.selection[0],o.selection[1],s.row+o.selection[2],o.selection[3])),i.getDocument().isNewLine(e)){var d=n.getNextLineIndent(h,a.slice(0,s.column),i.getTabString());i.insert({row:s.row+1,column:0},d)}u&&n.autoOutdent(h,i,s.row)},this.onTextInput=function(e){this.keyBinding.onTextInput(e)},this.onCommandKey=function(e,t,i){this.keyBinding.onCommandKey(e,t,i)},this.setOverwrite=function(e){this.session.setOverwrite(e)},this.getOverwrite=function(){return this.session.getOverwrite()},this.toggleOverwrite=function(){this.session.toggleOverwrite()},this.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},this.getScrollSpeed=function(){return this.getOption("scrollSpeed")},this.setDragDelay=function(e){this.setOption("dragDelay",e)},this.getDragDelay=function(){return this.getOption("dragDelay")},this.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},this.getSelectionStyle=function(){return this.getOption("selectionStyle")},this.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},this.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},this.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},this.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},this.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},this.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},this.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},this.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},this.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},this.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},this.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},this.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},this.setReadOnly=function(e){this.setOption("readOnly",e)},this.getReadOnly=function(){return this.getOption("readOnly")},this.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},this.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},this.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},this.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},this.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},this.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var i=this.session,n=i.getState(t.start.row),s=i.getMode().transformAction(n,"deletion",this,i,t);if(0===t.end.column){var o=i.getTextRange(t);if("\n"==o[o.length-1]){var r=i.getLine(t.end.row);/^\s+$/.test(r)&&(t.end.column=r.length)}}s&&(t=s)}this.session.remove(t),this.clearSelection()},this.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.session.remove(this.getSelectionRange()),this.clearSelection()},this.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},this.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},this.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var i,n,s=this.session.getLine(e.row);tt.toLowerCase()?1:0}));var s=new g(0,0,0,0);for(n=e.first;n<=e.last;n++){var o=t.getLine(n);s.start.row=n,s.end.row=n,s.end.column=o.length,t.replace(s,i[n-e.first])}},this.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},this.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),i=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,i,e)},this.getNumberAt=function(e,t){var i=/[\-]?[0-9]+(?:\.[0-9]+)?/g;i.lastIndex=0;for(var n=this.session.getLine(e);i.lastIndex=t)return{value:s[0],start:s.index,end:s.index+s[0].length}}return null},this.modifyNumber=function(e){var t=this.selection.getCursor().row,i=this.selection.getCursor().column,n=new g(t,i-1,t,i),s=this.session.getTextRange(n);if(!isNaN(parseFloat(s))&&isFinite(s)){var o=this.getNumberAt(t,i);if(o){var r=o.value.indexOf(".")>=0?o.start+o.value.indexOf(".")+1:o.end,a=o.start+o.value.length-r,l=parseFloat(o.value);l*=Math.pow(10,a),l+=e*=r!==o.end&&ig+1)break;g=f.last}for(h--,a=this.session.$moveLines(d,g,t?0:e),t&&-1==e&&(u=h+1);u<=h;)r[u].moveBy(a,0),u++;t||(a=0),l+=a}s.fromOrientedRange(s.ranges[0]),s.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},this.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},this.onCompositionStart=function(e){this.renderer.showComposition(this.getCursorPosition())},this.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},this.onCompositionEnd=function(){this.renderer.hideComposition()},this.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},this.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},this.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},this.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},this.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},this.$moveByPage=function(e,t){var i=this.renderer,n=this.renderer.layerConfig,s=e*Math.floor(n.height/n.lineHeight);this.$blockScrolling++,!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(s,0)})):!1===t&&(this.selection.moveCursorBy(s,0),this.selection.clearSelection()),this.$blockScrolling--;var o=i.scrollTop;i.scrollBy(0,s*n.lineHeight),null!=t&&i.scrollCursorIntoView(null,.5),i.animateScrolling(o)},this.selectPageDown=function(){this.$moveByPage(1,!0)},this.selectPageUp=function(){this.$moveByPage(-1,!0)},this.gotoPageDown=function(){this.$moveByPage(1,!1)},this.gotoPageUp=function(){this.$moveByPage(-1,!1)},this.scrollPageDown=function(){this.$moveByPage(1)},this.scrollPageUp=function(){this.$moveByPage(-1)},this.scrollToRow=function(e){this.renderer.scrollToRow(e)},this.scrollToLine=function(e,t,i,n){this.renderer.scrollToLine(e,t,i,n)},this.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},this.getCursorPosition=function(){return this.selection.getCursor()},this.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},this.getSelectionRange=function(){return this.selection.getRange()},this.selectAll=function(){this.$blockScrolling+=1,this.selection.selectAll(),this.$blockScrolling-=1},this.clearSelection=function(){this.selection.clearSelection()},this.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},this.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},this.jumpToMatching=function(e,t){var i=this.getCursorPosition(),n=new C(this.session,i.row,i.column),s=n.getCurrentToken(),o=s||n.stepForward();if(o){var r,a,l=!1,c={},h=i.column-o.start,u={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(o.value.match(/[{}()\[\]]/g)){for(;h=0;--o)this.$tryReplace(i[o],e)&&n++;return this.selection.setSelectionRange(s),this.$blockScrolling-=1,n},this.$tryReplace=function(e,t){var i=this.session.getTextRange(e);return null!==(t=this.$search.replace(i,t))?(e.end=this.session.replace(e,t),e):null},this.getLastSearchOptions=function(){return this.$search.getOptions()},this.find=function(e,t,i){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&n.mixin(t,e);var s=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(s)||this.$search.$options.needle)||(s=this.session.getWordRange(s.start.row,s.start.column),e=this.session.getTextRange(s)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:s});var o=this.$search.find(this.session);return t.preventScroll?o:o?(this.revealRange(o,i),o):(t.backwards?s.start=s.end:s.end=s.start,void this.selection.setRange(s))},this.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},this.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},this.revealRange=function(e,t){this.$blockScrolling+=1,this.session.unfold(e),this.selection.setSelectionRange(e),this.$blockScrolling-=1;var i=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(i)},this.undo=function(){this.$blockScrolling++,this.session.getUndoManager().undo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.redo=function(){this.$blockScrolling++,this.session.getUndoManager().redo(),this.$blockScrolling--,this.renderer.scrollCursorIntoView(null,.5)},this.destroy=function(){this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy()},this.setAutoScrollEditorIntoView=function(e){if(e){var t,i=this,n=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var s=this.$scrollAnchor;s.style.cssText="position:absolute",this.container.insertBefore(s,this.container.firstChild);var o=this.on("changeSelection",(function(){n=!0})),r=this.renderer.on("beforeRender",(function(){n&&(t=i.renderer.container.getBoundingClientRect())})),a=this.renderer.on("afterRender",(function(){if(n&&t&&(i.isFocused()||i.searchBox&&i.searchBox.isFocused())){var e=i.renderer,o=e.$cursorLayer.$pixelPos,r=e.layerConfig,a=o.top-r.offset;null!=(n=o.top>=0&&a+t.top<0||!(o.topwindow.innerHeight)&&null)&&(s.style.top=a+"px",s.style.left=o.left+"px",s.style.height=r.lineHeight+"px",s.scrollIntoView(n)),n=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",o),this.renderer.off("afterRender",a),this.renderer.off("beforeRender",r))}}},this.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,s.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))}}).call(F.prototype),A.defineOptions(F.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.$resetCursorStyle()},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.keybindingId},handlesSet:!0},hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",showLineNumbers:"renderer",showGutter:"renderer",displayIndentGuides:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"}),t.Editor=F})),ace.define("ace/undomanager",["require","exports","module"],(function(e,t,i){"use strict";var n=function(){this.reset()};(function(){function e(e){return{action:e.action,start:e.start,end:e.end,lines:1==e.lines.length?null:e.lines,text:1==e.lines.length?e.lines[0]:null}}function t(e){return{action:e.action,start:e.start,end:e.end,lines:e.lines||[e.text]}}function i(e,t){for(var i=new Array(e.length),n=0;n0},this.hasRedo=function(){return this.$redoStack.length>0},this.markClean=function(){this.dirtyCounter=0},this.isClean=function(){return 0===this.dirtyCounter},this.$serializeDeltas=function(t){return i(t,e)},this.$deserializeDeltas=function(e){return i(e,t)}}).call(n.prototype),t.UndoManager=n})),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter"],(function(e,t,i){"use strict";var n=e("../lib/dom"),s=e("../lib/oop"),o=e("../lib/lang"),r=e("../lib/event_emitter").EventEmitter,a=function(e){this.element=n.createElement("div"),this.element.className="ace_layer ace_gutter-layer",e.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$cells=[]};(function(){s.implement(this,r),this.setSession=function(e){this.session&&this.session.removeEventListener("change",this.$updateAnnotations),this.session=e,e&&e.on("change",this.$updateAnnotations)},this.addGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(e,t)},this.removeGutterDecoration=function(e,t){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(e,t)},this.setAnnotations=function(e){this.$annotations=[];for(var t=0;tr&&(r=(o=t.getNextFoldLine(m=o.end.row+1,o))?o.start.row:1/0),m>s){for(;this.$cells.length>f+1;)g=this.$cells.pop(),this.element.removeChild(g.element);break}(g=this.$cells[++f])||((g={element:null,textNode:null,foldWidget:null}).element=n.createElement("div"),g.textNode=document.createTextNode(""),g.element.appendChild(g.textNode),this.element.appendChild(g.element),this.$cells[f]=g);var p,A="ace_gutter-cell ";if(l[m]&&(A+=l[m]),c[m]&&(A+=c[m]),this.$annotations[m]&&(A+=this.$annotations[m].className),g.element.className!=A&&(g.element.className=A),(p=t.getRowLength(m)*e.lineHeight+"px")!=g.element.style.height&&(g.element.style.height=p),a){var C=a[m];null==C&&(C=a[m]=t.getFoldWidget(m))}C?(g.foldWidget||(g.foldWidget=n.createElement("span"),g.element.appendChild(g.foldWidget)),A="ace_fold-widget ace_"+C,g.foldWidget.className!=(A+="start"==C&&m==r&&mi.right-t.right?"foldWidgets":void 0}}).call(a.prototype),t.Gutter=a})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,i){"use strict";var n=e("../range").Range,s=e("../lib/dom"),o=function(e){this.element=s.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)};(function(){this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setMarkers=function(e){this.markers=e},this.update=function(e){if(e){this.config=e;var t=[];for(var i in this.markers){var n=this.markers[i];if(n.range){var s=n.range.clipRows(e.firstRow,e.lastRow);if(!s.isEmpty())if(s=s.toScreenRange(this.session),n.renderer){var o=this.$getTop(s.start.row,e),r=this.$padding+(this.session.$bidiHandler.isBidiRow(s.start.row)?this.session.$bidiHandler.getPosLeft(s.start.column):s.start.column*e.characterWidth);n.renderer(t,s,r,o,e)}else"fullLine"==n.type?this.drawFullLineMarker(t,s,n.clazz,e):"screenLine"==n.type?this.drawScreenLineMarker(t,s,n.clazz,e):s.isMultiLine()?"text"==n.type?this.drawTextMarker(t,s,n.clazz,e):this.drawMultiLineMarker(t,s,n.clazz,e):this.session.$bidiHandler.isBidiRow(s.start.row)?this.drawBidiSingleLineMarker(t,s,n.clazz+" ace_start ace_br15",e):this.drawSingleLineMarker(t,s,n.clazz+" ace_start ace_br15",e)}else n.update(t,this,this.session,e)}this.element.innerHTML=t.join("")}},this.$getTop=function(e,t){return(e-t.firstRowScreen)*t.lineHeight},this.drawTextMarker=function(e,t,i,s,o){for(var r=this.session,a=t.start.row,l=t.end.row,c=a,h=0,u=0,d=r.getScreenLastRowColumn(c),g=null,f=new n(c,t.start.column,c,u);c<=l;c++)f.start.row=f.end.row=c,f.start.column=c==a?t.start.column:r.getRowWrapIndent(c),f.end.column=d,h=u,u=d,d=c+1d?4:0)|(c==l?8:0)),this.session.$bidiHandler.isBidiRow(c)?this.drawBidiSingleLineMarker(e,f,g,s,c==l?0:1,o):this.drawSingleLineMarker(e,f,g,s,c==l?0:1,o)},this.drawMultiLineMarker=function(e,t,i,n,s){var o,r,a=this.$padding;if(s=s||"",this.session.$bidiHandler.isBidiRow(t.start.row)?((l=t.clone()).end.row=l.start.row,l.end.column=this.session.getLine(l.start.row).length,this.drawBidiSingleLineMarker(e,l,i+" ace_br1 ace_start",n,null,s)):(o=n.lineHeight,r=this.$getTop(t.start.row,n),e.push("
")),this.session.$bidiHandler.isBidiRow(t.end.row)){var l;(l=t.clone()).start.row=l.end.row,l.start.column=0,this.drawBidiSingleLineMarker(e,l,i+" ace_br12",n,null,s)}else{var c=t.end.column*n.characterWidth;o=n.lineHeight,r=this.$getTop(t.end.row,n),e.push("
")}if(!((o=(t.end.row-t.start.row-1)*n.lineHeight)<=0)){r=this.$getTop(t.start.row+1,n);var h=(t.start.column?1:0)|(t.end.column?0:8);e.push("
")}},this.drawSingleLineMarker=function(e,t,i,n,s,o){var r=n.lineHeight,a=(t.end.column+(s||0)-t.start.column)*n.characterWidth,l=this.$getTop(t.start.row,n);e.push("
")},this.drawBidiSingleLineMarker=function(e,t,i,n,s,o){var r=n.lineHeight,a=this.$getTop(t.start.row,n),l=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach((function(t){e.push("
")}))},this.drawFullLineMarker=function(e,t,i,n,s){var o=this.$getTop(t.start.row,n),r=n.lineHeight;t.start.row!=t.end.row&&(r+=this.$getTop(t.end.row,n)-o),e.push("
")},this.drawScreenLineMarker=function(e,t,i,n,s){var o=this.$getTop(t.start.row,n);e.push("
")}}).call(o.prototype),t.Marker=o})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,i){"use strict";var n=e("../lib/oop"),s=e("../lib/dom"),o=e("../lib/lang"),r=(e("../lib/useragent"),e("../lib/event_emitter").EventEmitter),a=function(e){this.element=s.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this)};(function(){n.implement(this,r),this.EOF_CHAR="\xb6",this.EOL_CHAR_LF="\xac",this.EOL_CHAR_CRLF="\xa4",this.EOL_CHAR=this.EOL_CHAR_LF,this.TAB_CHAR="\u2014",this.SPACE_CHAR="\xb7",this.$padding=0,this.$updateEolChar=function(){var e="\n"==this.session.doc.getNewLineCharacter()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=e)return this.EOL_CHAR=e,!0},this.setPadding=function(e){this.$padding=e,this.element.style.padding="0 "+e+"px"},this.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},this.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},this.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",(function(e){this._signal("changeCharacterSize",e)}).bind(this)),this.$pollSizeChanges()},this.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},this.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},this.setSession=function(e){this.session=e,e&&this.$computeTabString()},this.showInvisibles=!1,this.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,this.$computeTabString(),!0)},this.displayIndentGuides=!0,this.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},this.$tabStrings=[],this.onChangeTabSize=this.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],i=1;i"+o.stringRepeat(this.TAB_CHAR,i)+"":o.stringRepeat(" ",i));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var n="ace_indent-guide",s="",r="";if(this.showInvisibles){n+=" ace_invisible",s=" ace_invisible_space",r=" ace_invisible_tab";var a=o.stringRepeat(this.SPACE_CHAR,this.tabSize),l=o.stringRepeat(this.TAB_CHAR,this.tabSize)}else l=a=o.stringRepeat(" ",this.tabSize);this.$tabStrings[" "]=""+a+"",this.$tabStrings["\t"]=""+l+""}},this.updateLines=function(e,t,i){this.config.lastRow==e.lastRow&&this.config.firstRow==e.firstRow||this.scrollLines(e),this.config=e;for(var n=Math.max(t,e.firstRow),s=Math.min(i,e.lastRow),o=this.element.childNodes,r=0,a=e.firstRow;ac&&(c=(l=this.session.getNextFoldLine(a=l.end.row+1,l))?l.start.row:1/0),!(a>s);){var h=o[r++];if(h){var u=[];this.$renderLine(u,a,!this.$useLineGroups(),a==c&&l),h.style.height=e.lineHeight*this.session.getRowLength(a)+"px",h.innerHTML=u.join("")}a++}},this.scrollLines=function(e){var t=this.config;if(this.config=e,!t||t.lastRow0;n--)i.removeChild(i.firstChild);if(t.lastRow>e.lastRow)for(n=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);n>0;n--)i.removeChild(i.lastChild);if(e.firstRowt.lastRow&&(s=this.$renderLinesFragment(e,t.lastRow+1,e.lastRow),i.appendChild(s))},this.$renderLinesFragment=function(e,t,i){for(var n=this.element.ownerDocument.createDocumentFragment(),o=t,r=this.session.getNextFoldLine(o),a=r?r.start.row:1/0;o>a&&(a=(r=this.session.getNextFoldLine(o=r.end.row+1,r))?r.start.row:1/0),!(o>i);){var l=s.createElement("div"),c=[];if(this.$renderLine(c,o,!1,o==a&&r),l.innerHTML=c.join(""),this.$useLineGroups())l.className="ace_line_group",n.appendChild(l),l.style.height=e.lineHeight*this.session.getRowLength(o)+"px";else for(;l.firstChild;)n.appendChild(l.firstChild);o++}return n},this.update=function(e){this.config=e;for(var t=[],i=e.lastRow,n=e.firstRow,s=this.session.getNextFoldLine(n),o=s?s.start.row:1/0;n>o&&(o=(s=this.session.getNextFoldLine(n=s.end.row+1,s))?s.start.row:1/0),!(n>i);)this.$useLineGroups()&&t.push("
"),this.$renderLine(t,n,!1,n==o&&s),this.$useLineGroups()&&t.push("
"),n++;this.element.innerHTML=t.join("")},this.$textToken={text:!0,rparen:!0,lparen:!0},this.$renderToken=function(e,t,i,n){var s=this,r=n.replace(/\t|&|<|>|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\u3000\uFEFF\uFFF9-\uFFFC])|[\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3000-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,(function(e,i,n,r,a){if(i)return s.showInvisibles?""+o.stringRepeat(s.SPACE_CHAR,e.length)+"":e;if("&"==e)return"&";if("<"==e)return"<";if(">"==e)return">";if("\t"==e){var l=s.session.getScreenTabSize(t+r);return t+=l-1,s.$tabStrings[l]}return"\u3000"==e?(t+=1,""+(s.showInvisibles?s.SPACE_CHAR:"")+""):n?""+s.SPACE_CHAR+"":(t+=1,""+e+"")}));if(this.$textToken[i.type])e.push(r);else{var a="ace_"+i.type.replace(/\./g," ace_"),l="";"fold"==i.type&&(l=" style='width:"+i.value.length*this.config.characterWidth+"px;' "),e.push("",r,"")}return t+n.length},this.renderIndentGuide=function(e,t,i){var n=t.search(this.$indentGuideRe);return n<=0||n>=i?t:" "==t[0]?(e.push(o.stringRepeat(this.$tabStrings[" "],(n-=n%this.tabSize)/this.tabSize)),t.substr(n)):"\t"==t[0]?(e.push(o.stringRepeat(this.$tabStrings["\t"],n)),t.substr(n)):t},this.$renderWrappedLine=function(e,t,i,n){for(var s=0,r=0,a=i[0],l=0,c=0;c=a;)l=this.$renderToken(e,l,h,u.substring(0,a-s)),u=u.substring(a-s),s=a,n||e.push("","
"),e.push(o.stringRepeat("\xa0",i.indent)),l=0,a=i[++r]||Number.MAX_VALUE;0!=u.length&&(s+=u.length,l=this.$renderToken(e,l,h,u))}}},this.$renderSimpleLine=function(e,t){var i=0,n=t[0],s=n.value;this.displayIndentGuides&&(s=this.renderIndentGuide(e,s)),s&&(i=this.$renderToken(e,i,n,s));for(var o=1;o"),s.length){var o=this.session.getRowSplitData(t);o&&o.length?this.$renderWrappedLine(e,s,o,i):this.$renderSimpleLine(e,s)}this.showInvisibles&&(n&&(t=n.end.row),e.push("",t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,"")),i||e.push("
")},this.$getFoldLineTokens=function(e,t){var i=this.session,n=[],s=i.getTokens(e);return t.walk((function(e,t,o,r,a){null!=e?n.push({type:"fold",value:e}):(a&&(s=i.getTokens(t)),s.length&&function(e,t,i){for(var s=0,o=0;o+e[s].value.lengthi-t&&(r=r.substring(0,i-t)),n.push({type:e[s].type,value:r}),o=t+r.length,s+=1);oi?{type:e[s].type,value:r.substring(0,i-o)}:e[s]),o+=r.length,s+=1}}(s,r,o))}),t.end.row,this.session.getLine(t.end.row).length),n},this.$useLineGroups=function(){return this.session.getUseWrapMode()},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$measureNode&&this.$measureNode.parentNode.removeChild(this.$measureNode),delete this.$measureNode}}).call(a.prototype),t.Text=a})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(e,t,i){"use strict";var n,s=e("../lib/dom"),o=function(e){this.element=s.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),void 0===n&&(n=!("opacity"in this.element.style)),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),s.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=(n?this.$updateVisibility:this.$updateOpacity).bind(this)};(function(){this.$updateVisibility=function(e){for(var t=this.cursors,i=t.length;i--;)t[i].style.visibility=e?"":"hidden"},this.$updateOpacity=function(e){for(var t=this.cursors,i=t.length;i--;)t[i].style.opacity=e?"":"0"},this.$padding=0,this.setPadding=function(e){this.$padding=e},this.setSession=function(e){this.session=e},this.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},this.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},this.setSmoothBlinking=function(e){e==this.smoothBlinking||n||(this.smoothBlinking=e,s.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.$updateCursors=this.$updateOpacity.bind(this),this.restartTimer())},this.addCursor=function(){var e=s.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},this.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},this.hideCursor=function(){this.isVisible=!1,s.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.showCursor=function(){this.isVisible=!0,s.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},this.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.smoothBlinking&&s.removeCssClass(this.element,"ace_smooth-blinking"),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible){this.smoothBlinking&&setTimeout((function(){s.addCssClass(this.element,"ace_smooth-blinking")}).bind(this));var t=(function(){this.timeoutId=setTimeout((function(){e(!1)}),.6*this.blinkInterval)}).bind(this);this.intervalId=setInterval((function(){e(!0),t()}),this.blinkInterval),t()}},this.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var i=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(i.row,e.row)?this.session.$bidiHandler.getPosLeft(i.column):i.column*this.config.characterWidth),top:(i.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},this.update=function(e){this.config=e;var t=this.session.$selectionMarkers,i=0,n=0;void 0!==t&&0!==t.length||(t=[{cursor:null}]),i=0;for(var s=t.length;ie.height+e.offset||o.top<0)&&i>1)){var r=(this.cursors[n++]||this.addCursor()).style;this.drawCursor?this.drawCursor(r,o,e,t[i],this.session):(r.left=o.left+"px",r.top=o.top+"px",r.width=e.characterWidth+"px",r.height=e.lineHeight+"px")}}for(;this.cursors.length>n;)this.removeCursor();var a=this.session.getOverwrite();this.$setOverwrite(a),this.$pixelPos=o,this.restartTimer()},this.drawCursor=null,this.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?s.addCssClass(this.element,"ace_overwrite-cursors"):s.removeCssClass(this.element,"ace_overwrite-cursors"))},this.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)}}).call(o.prototype),t.Cursor=o})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,i){"use strict";var n=e("./lib/oop"),s=e("./lib/dom"),o=e("./lib/event"),r=e("./lib/event_emitter").EventEmitter,a=function(e){this.element=s.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+this.classSuffix,this.inner=s.createElement("div"),this.inner.className="ace_scrollbar-inner",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,o.addListener(this.element,"scroll",this.onScroll.bind(this)),o.addListener(this.element,"mousedown",o.preventDefault)};(function(){n.implement(this,r),this.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1}}).call(a.prototype);var l=function(e,t){a.call(this,e),this.scrollTop=0,this.scrollHeight=0,t.$scrollbarWidth=this.width=s.scrollbarWidth(e.ownerDocument),this.inner.style.width=this.element.style.width=(this.width||15)+5+"px",this.$minWidth=0};n.inherits(l,a),(function(){this.classSuffix="-v",this.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},this.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},this.setHeight=function(e){this.element.style.height=e+"px"},this.setInnerHeight=this.setScrollHeight=function(e){this.scrollHeight=e,e>32768?(this.coeff=32768/e,e=32768):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},this.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)}}).call(l.prototype);var c=function(e,t){a.call(this,e),this.scrollLeft=0,this.height=t.$scrollbarWidth,this.inner.style.height=this.element.style.height=(this.height||15)+5+"px"};n.inherits(c,a),(function(){this.classSuffix="-h",this.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},this.getHeight=function(){return this.isVisible?this.height:0},this.setWidth=function(e){this.element.style.width=e+"px"},this.setInnerWidth=function(e){this.inner.style.width=e+"px"},this.setScrollWidth=function(e){this.inner.style.width=e+"px"},this.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)}}).call(c.prototype),t.ScrollBar=l,t.ScrollBarV=l,t.ScrollBarH=c,t.VScrollBar=l,t.HScrollBar=c})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(e,t,i){"use strict";var n=e("./lib/event"),s=function(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.window=t||window};(function(){this.schedule=function(e){if(this.changes=this.changes|e,!this.pending&&this.changes){this.pending=!0;var t=this;n.nextFrame((function(){var e;for(t.pending=!1;e=t.changes;)t.changes=0,t.onRender(e)}),this.window)}}}).call(s.prototype),t.RenderLoop=s})),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,i){var n=e("../lib/oop"),s=e("../lib/dom"),o=e("../lib/lang"),r=e("../lib/useragent"),a=e("../lib/event_emitter").EventEmitter,l=0,c=t.FontMetrics=function(e){this.el=s.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=s.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=s.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),l||this.$testFractionalRect(),this.$measureNode.innerHTML=o.stringRepeat("X",l),this.$characterSize={width:0,height:0},this.checkForSizeChanges()};(function(){n.implement(this,a),this.$characterSize={width:0,height:0},this.$testFractionalRect=function(){var e=s.createElement("div");this.$setMeasureNodeStyles(e.style),e.style.width="0.2px",document.documentElement.appendChild(e);var t=e.getBoundingClientRect().width;l=t>0&&t<1?50:100,e.parentNode.removeChild(e)},this.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",r.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},this.checkForSizeChanges=function(){var e=this.$measureSizes();if(e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},this.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=setInterval((function(){e.checkForSizeChanges()}),500)},this.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},this.$measureSizes=function(){if(50===l){var e=null;try{e=this.$measureNode.getBoundingClientRect()}catch(i){e={width:0,height:0}}var t={height:e.height,width:e.width/l}}else t={height:this.$measureNode.clientHeight,width:this.$measureNode.clientWidth/l};return 0===t.width||0===t.height?null:t},this.$measureCharWidth=function(e){return this.$main.innerHTML=o.stringRepeat(e,l),this.$main.getBoundingClientRect().width/l},this.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},this.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)}}).call(c.prototype)})),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/config","ace/lib/useragent","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter"],(function(e,t,i){"use strict";var n=e("./lib/oop"),s=e("./lib/dom"),o=e("./config"),r=e("./lib/useragent"),a=e("./layer/gutter").Gutter,l=e("./layer/marker").Marker,c=e("./layer/text").Text,h=e("./layer/cursor").Cursor,u=e("./scrollbar").HScrollBar,d=e("./scrollbar").VScrollBar,g=e("./renderloop").RenderLoop,f=e("./layer/font_metrics").FontMetrics,m=e("./lib/event_emitter").EventEmitter;s.importCssString('.ace_editor {position: relative;overflow: hidden;font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'source-code-pro\', monospace;direction: ltr;text-align: left;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);}.ace_scroller {position: absolute;overflow: hidden;top: 0;bottom: 0;background-color: inherit;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;cursor: text;}.ace_content {position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;min-width: 100%;}.ace_dragging .ace_scroller:before{position: absolute;top: 0;left: 0;right: 0;bottom: 0;content: \'\';background: rgba(250, 250, 250, 0.01);z-index: 1000;}.ace_dragging.ace_dark .ace_scroller:before{background: rgba(0, 0, 0, 0.01);}.ace_selecting, .ace_selecting * {cursor: text !important;}.ace_gutter {position: absolute;overflow : hidden;width: auto;top: 0;bottom: 0;left: 0;cursor: default;z-index: 4;-ms-user-select: none;-moz-user-select: none;-webkit-user-select: none;user-select: none;}.ace_gutter-active-line {position: absolute;left: 0;right: 0;}.ace_scroller.ace_scroll-left {box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;}.ace_gutter-cell {padding-left: 19px;padding-right: 6px;background-repeat: no-repeat;}.ace_gutter-cell.ace_error {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: 2px center;}.ace_gutter-cell.ace_warning {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");background-position: 2px center;}.ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");background-position: 2px center;}.ace_dark .ace_gutter-cell.ace_info {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");}.ace_scrollbar {position: absolute;right: 0;bottom: 0;z-index: 6;}.ace_scrollbar-inner {position: absolute;cursor: text;left: 0;top: 0;}.ace_scrollbar-v{overflow-x: hidden;overflow-y: scroll;top: 0;}.ace_scrollbar-h {overflow-x: scroll;overflow-y: hidden;left: 0;}.ace_print-margin {position: absolute;height: 100%;}.ace_text-input {position: absolute;z-index: 0;width: 0.5em;height: 1em;opacity: 0;background: transparent;-moz-appearance: none;appearance: none;border: none;resize: none;outline: none;overflow: hidden;font: inherit;padding: 0 1px;margin: 0 -1px;text-indent: -1em;-ms-user-select: text;-moz-user-select: text;-webkit-user-select: text;user-select: text;white-space: pre!important;}.ace_text-input.ace_composition {background: inherit;color: inherit;z-index: 1000;opacity: 1;text-indent: 0;}.ace_layer {z-index: 1;position: absolute;overflow: hidden;word-wrap: normal;white-space: pre;height: 100%;width: 100%;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;pointer-events: none;}.ace_gutter-layer {position: relative;width: auto;text-align: right;pointer-events: auto;}.ace_text-layer {font: inherit !important;}.ace_cjk {display: inline-block;text-align: center;}.ace_cursor-layer {z-index: 4;}.ace_cursor {z-index: 4;position: absolute;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;border-left: 2px solid;transform: translatez(0);}.ace_multiselect .ace_cursor {border-left-width: 1px;}.ace_slim-cursors .ace_cursor {border-left-width: 1px;}.ace_overwrite-cursors .ace_cursor {border-left-width: 0;border-bottom: 1px solid;}.ace_hidden-cursors .ace_cursor {opacity: 0.2;}.ace_smooth-blinking .ace_cursor {-webkit-transition: opacity 0.18s;transition: opacity 0.18s;}.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {position: absolute;z-index: 3;}.ace_marker-layer .ace_selection {position: absolute;z-index: 5;}.ace_marker-layer .ace_bracket {position: absolute;z-index: 6;}.ace_marker-layer .ace_active-line {position: absolute;z-index: 2;}.ace_marker-layer .ace_selected-word {position: absolute;z-index: 4;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}.ace_line .ace_fold {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;display: inline-block;height: 11px;margin-top: -2px;vertical-align: middle;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");background-repeat: no-repeat, repeat-x;background-position: center center, top left;color: transparent;border: 1px solid black;border-radius: 2px;cursor: pointer;pointer-events: auto;}.ace_dark .ace_fold {}.ace_fold:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");}.ace_tooltip {background-color: #FFF;background-image: -webkit-linear-gradient(top, transparent, rgba(0, 0, 0, 0.1));background-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.1));border: 1px solid gray;border-radius: 1px;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);color: black;max-width: 100%;padding: 3px 4px;position: fixed;z-index: 999999;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;cursor: default;white-space: pre;word-wrap: break-word;line-height: normal;font-style: normal;font-weight: normal;letter-spacing: normal;pointer-events: none;}.ace_folding-enabled > .ace_gutter-cell {padding-right: 13px;}.ace_fold-widget {-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;margin: 0 -12px 0 1px;display: none;width: 11px;vertical-align: top;background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");background-repeat: no-repeat;background-position: center;border-radius: 3px;border: 1px solid transparent;cursor: pointer;}.ace_folding-enabled .ace_fold-widget {display: inline-block; }.ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");}.ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");}.ace_fold-widget:hover {border: 1px solid rgba(0, 0, 0, 0.3);background-color: rgba(255, 255, 255, 0.2);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);}.ace_fold-widget:active {border: 1px solid rgba(0, 0, 0, 0.4);background-color: rgba(0, 0, 0, 0.05);box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);}.ace_dark .ace_fold-widget {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");}.ace_dark .ace_fold-widget.ace_end {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget.ace_closed {background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");}.ace_dark .ace_fold-widget:hover {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);background-color: rgba(255, 255, 255, 0.1);}.ace_dark .ace_fold-widget:active {box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);}.ace_fold-widget.ace_invalid {background-color: #FFB4B4;border-color: #DE5555;}.ace_fade-fold-widgets .ace_fold-widget {-webkit-transition: opacity 0.4s ease 0.05s;transition: opacity 0.4s ease 0.05s;opacity: 0;}.ace_fade-fold-widgets:hover .ace_fold-widget {-webkit-transition: opacity 0.05s ease 0.05s;transition: opacity 0.05s ease 0.05s;opacity:1;}.ace_underline {text-decoration: underline;}.ace_bold {font-weight: bold;}.ace_nobold .ace_bold {font-weight: normal;}.ace_italic {font-style: italic;}.ace_error-marker {background-color: rgba(255, 0, 0,0.2);position: absolute;z-index: 9;}.ace_highlight-marker {background-color: rgba(255, 255, 0,0.2);position: absolute;z-index: 8;}.ace_br1 {border-top-left-radius : 3px;}.ace_br2 {border-top-right-radius : 3px;}.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}.ace_br4 {border-bottom-right-radius: 3px;}.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}.ace_br8 {border-bottom-left-radius : 3px;}.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}.ace_text-input-ios {position: absolute !important;top: -100000px !important;left: -100000px !important;}',"ace_editor.css");var p=function(e,t){var i=this;this.container=e||s.createElement("div"),this.$keepTextAreaAtCursor=!r.isOldIE,s.addCssClass(this.container,"ace_editor"),this.setTheme(t),this.$gutter=s.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden",!0),this.scroller=s.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=s.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new a(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new l(this.content);var n=this.$textLayer=new c(this.content);this.canvas=n.element,this.$markerFront=new l(this.content),this.$cursorLayer=new h(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new d(this.container,this),this.scrollBarH=new u(this.container,this),this.scrollBarV.addEventListener("scroll",(function(e){i.$scrollAnimation||i.session.setScrollTop(e.data-i.scrollMargin.top)})),this.scrollBarH.addEventListener("scroll",(function(e){i.$scrollAnimation||i.session.setScrollLeft(e.data-i.scrollMargin.left)})),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new f(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.addEventListener("changeCharacterSize",(function(e){i.updateCharacterSize(),i.onResize(!0,i.gutterWidth,i.$size.width,i.$size.height),i._signal("changeCharacterSize",e)})),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$loop=new g(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),o.resetOptions(this),o._emit("renderer",this)};(function(){this.CHANGE_CURSOR=1,this.CHANGE_MARKER=2,this.CHANGE_GUTTER=4,this.CHANGE_SCROLL=8,this.CHANGE_LINES=16,this.CHANGE_TEXT=32,this.CHANGE_SIZE=64,this.CHANGE_MARKER_BACK=128,this.CHANGE_MARKER_FRONT=256,this.CHANGE_FULL=512,this.CHANGE_H_SCROLL=1024,n.implement(this,m),this.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin()},this.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},this.updateLines=function(e,t,i){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},this.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},this.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},this.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},this.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},this.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},this.$changes=0,this.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},this.onResize=function(e,t,i,n){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var s=this.container;n||(n=s.clientHeight||s.scrollHeight),i||(i=s.clientWidth||s.scrollWidth);var o=this.$updateCachedSize(e,t,i,n);if(!this.$size.scrollerHeight||!i&&!n)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(o|this.$changes,!0):this.$loop.schedule(o|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarV.scrollLeft=this.scrollBarV.scrollTop=null}},this.$updateCachedSize=function(e,t,i,n){var s=0,o=this.$size,r={width:o.width,height:o.height,scrollerHeight:o.scrollerHeight,scrollerWidth:o.scrollerWidth};return(n-=this.$extraHeight||0)&&(e||o.height!=n)&&(o.height=n,s|=this.CHANGE_SIZE,o.scrollerHeight=o.height,this.$horizScroll&&(o.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",s|=this.CHANGE_SCROLL),i&&(e||o.width!=i)&&(s|=this.CHANGE_SIZE,o.width=i,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,this.scrollBarH.element.style.left=this.scroller.style.left=t+"px",o.scrollerWidth=Math.max(0,i-t-this.scrollBarV.getWidth()),this.scrollBarH.element.style.right=this.scroller.style.right=this.scrollBarV.getWidth()+"px",this.scroller.style.bottom=this.scrollBarH.getHeight()+"px",(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(s|=this.CHANGE_FULL)),o.$dirty=!i||!n,s&&this._signal("resize",r),s},this.onGutterResize=function(){var e=this.$showGutter?this.$gutter.offsetWidth:0;e!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,e,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):(this.$computeLayerConfig(),this.$loop.schedule(this.CHANGE_MARKER))},this.adjustWrapLimit=function(){var e=Math.floor((this.$size.scrollerWidth-2*this.$padding)/this.characterWidth);return this.session.adjustWrapLimit(e,this.$showPrintMargin&&this.$printMarginColumn)},this.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},this.getAnimatedScroll=function(){return this.$animatedScroll},this.setShowInvisibles=function(e){this.setOption("showInvisibles",e),this.session.$bidiHandler.setShowInvisibles(e)},this.getShowInvisibles=function(){return this.getOption("showInvisibles")},this.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},this.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},this.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},this.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},this.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},this.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},this.getShowGutter=function(){return this.getOption("showGutter")},this.setShowGutter=function(e){return this.setOption("showGutter",e)},this.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},this.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},this.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},this.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},this.$updateGutterLineHighlight=function(){var e=this.$cursorLayer.$pixelPos,t=this.layerConfig.lineHeight;if(this.session.getUseWrapMode()){var i=this.session.selection.getCursor();i.column=0,e=this.$cursorLayer.getPixelPosition(i,!0),t*=this.session.getRowLength(i.row)}this.$gutterLineHighlight.style.top=e.top-this.layerConfig.offset+"px",this.$gutterLineHighlight.style.height=t+"px"},this.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=s.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=s.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=this.characterWidth*this.$printMarginColumn+this.$padding+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},this.getContainerElement=function(){return this.container},this.getMouseEventTarget=function(){return this.scroller},this.getTextAreaContainer=function(){return this.container},this.$moveTextAreaToCursor=function(){if(this.$keepTextAreaAtCursor){var e=this.layerConfig,t=this.$cursorLayer.$pixelPos.top,i=this.$cursorLayer.$pixelPos.left,n=this.textarea.style,s=this.lineHeight;if((t-=e.offset)<0||t>e.height-s)n.top=n.left="0";else{var o=this.characterWidth;if(this.$composition){var r=this.textarea.value.replace(/^\x01+/,"");o*=this.session.$getStringScreenWidth(r)[0]+2,s+=2}(i-=this.scrollLeft)>this.$size.scrollerWidth-o&&(i=this.$size.scrollerWidth-o),i+=this.gutterWidth,n.height=s+"px",n.width=o+"px",n.left=Math.min(i,this.$size.scrollerWidth-o)+"px",n.top=Math.min(t,this.$size.height-s)+"px"}}},this.getFirstVisibleRow=function(){return this.layerConfig.firstRow},this.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},this.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},this.getLastVisibleRow=function(){return this.layerConfig.lastRow},this.$padding=null,this.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},this.setScrollMargin=function(e,t,i,n){var s=this.scrollMargin;s.top=0|e,s.bottom=0|t,s.right=0|n,s.left=0|i,s.v=s.top+s.bottom,s.h=s.left+s.right,s.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-s.top),this.updateFull()},this.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},this.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},this.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},this.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},this.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&this.scrollTop>(e-=(t-this.lineHeight)*this.$scrollPastEnd)-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},this.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},this.$frozen=!1,this.freeze=function(){this.$frozen=!0},this.unfreeze=function(){this.$frozen=!1},this.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender"),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var i=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig(),i.firstRow!=this.layerConfig.firstRow&&i.firstRowScreen==this.layerConfig.firstRowScreen){var n=this.scrollTop+(i.firstRow-this.layerConfig.firstRow)*this.lineHeight;n>0&&(this.scrollTop=n,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig())}i=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),this.$gutterLayer.element.style.marginTop=-i.offset+"px",this.content.style.marginTop=-i.offset+"px",this.content.style.width=i.width+2*this.$padding+"px",this.content.style.height=i.minHeight+"px"}if(e&this.CHANGE_H_SCROLL&&(this.content.style.marginLeft=-this.scrollLeft+"px",this.scroller.className=this.scrollLeft<=0?"ace_scroller":"ace_scroller ace_scroll-left"),e&this.CHANGE_FULL)return this.$textLayer.update(i),this.$showGutter&&this.$gutterLayer.update(i),this.$markerBack.update(i),this.$markerFront.update(i),this.$cursorLayer.update(i),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),void this._signal("afterRender");if(e&this.CHANGE_SCROLL)return e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(i):this.$textLayer.scrollLines(i),this.$showGutter&&this.$gutterLayer.update(i),this.$markerBack.update(i),this.$markerFront.update(i),this.$cursorLayer.update(i),this.$highlightGutterLine&&this.$updateGutterLineHighlight(),this.$moveTextAreaToCursor(),void this._signal("afterRender");e&this.CHANGE_TEXT?(this.$textLayer.update(i),this.$showGutter&&this.$gutterLayer.update(i)):e&this.CHANGE_LINES?(this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(i):(e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER)&&this.$showGutter&&this.$gutterLayer.update(i),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(i),this.$moveTextAreaToCursor(),this.$highlightGutterLine&&this.$updateGutterLineHighlight()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(i),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(i),this._signal("afterRender")}else this.$changes|=e},this.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,i=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(i+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&i>this.$maxPixelHeight&&(i=this.$maxPixelHeight);var n=e>t;if(i!=this.desiredHeight||this.$size.height!=this.desiredHeight||n!=this.$vScroll){n!=this.$vScroll&&(this.$vScroll=n,this.scrollBarV.setVisible(n));var s=this.container.clientWidth;this.container.style.height=i+"px",this.$updateCachedSize(!0,this.$gutterWidth,s,i),this.desiredHeight=i,this._signal("autosize")}},this.$computeLayerConfig=function(){var e=this.session,t=this.$size,i=t.height<=2*this.lineHeight,n=this.session.getScreenLength()*this.lineHeight,s=this.$getLongestLine(),o=!i&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-s-2*this.$padding<0),r=this.$horizScroll!==o;r&&(this.$horizScroll=o,this.scrollBarH.setVisible(o));var a=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=this.scrollTop%this.lineHeight,c=t.scrollerHeight+this.lineHeight,h=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;n+=h;var u=this.scrollMargin;this.session.setScrollTop(Math.max(-u.top,Math.min(this.scrollTop,n-t.scrollerHeight+u.bottom))),this.session.setScrollLeft(Math.max(-u.left,Math.min(this.scrollLeft,s+2*this.$padding-t.scrollerWidth+u.right)));var d=!i&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-n+h<0||this.scrollTop>u.top),g=a!==d;g&&(this.$vScroll=d,this.scrollBarV.setVisible(d));var f,m,p=Math.ceil(c/this.lineHeight)-1,A=Math.max(0,Math.round((this.scrollTop-l)/this.lineHeight)),C=A+p,F=this.lineHeight;A=e.screenToDocumentRow(A,0);var w=e.getFoldLine(A);w&&(A=w.start.row),f=e.documentToScreenRow(A,0),m=e.getRowLength(A)*F,C=Math.min(e.screenToDocumentRow(C,0),e.getLength()-1),c=t.scrollerHeight+e.getRowLength(C)*F+m,l=this.scrollTop-f*F;var v=0;return this.layerConfig.width!=s&&(v=this.CHANGE_H_SCROLL),(r||g)&&(v=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),g&&(s=this.$getLongestLine())),this.layerConfig={width:s,padding:this.$padding,firstRow:A,firstRowScreen:f,lastRow:C,lineHeight:F,characterWidth:this.characterWidth,minHeight:c,maxHeight:n,offset:l,gutterOffset:F?Math.max(0,Math.ceil((l+t.height-t.scrollerHeight)/F)):0,height:this.$size.scrollerHeight},v},this.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var i=this.layerConfig;if(!(e>i.lastRow+1||to?(t&&l+r>o+this.lineHeight&&(o-=t*this.$size.scrollerHeight),0===o&&(o=-this.scrollMargin.top),this.session.setScrollTop(o)):l+this.$size.scrollerHeight-as?(s=1-this.scrollMargin.top||t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0},this.pixelToScreenCoordinates=function(e,t){var i=this.scroller.getBoundingClientRect(),n=e+this.scrollLeft-i.left-this.$padding,s=n/this.characterWidth,o=Math.floor((t+this.scrollTop-i.top)/this.lineHeight),r=Math.round(s);return{row:o,column:r,side:s-r>0?1:-1,offsetX:n}},this.screenToTextCoordinates=function(e,t){var i=this.scroller.getBoundingClientRect(),n=e+this.scrollLeft-i.left-this.$padding,s=Math.round(n/this.characterWidth);return this.session.screenToDocumentPosition((t+this.scrollTop-i.top)/this.lineHeight,Math.max(s,0),n)},this.textToScreenCoordinates=function(e,t){var i=this.scroller.getBoundingClientRect(),n=this.session.documentToScreenPosition(e,t),s=this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e)?this.session.$bidiHandler.getPosLeft(n.column):Math.round(n.column*this.characterWidth));return{pageX:i.left+s-this.scrollLeft,pageY:i.top+n.row*this.lineHeight-this.scrollTop}},this.visualizeFocus=function(){s.addCssClass(this.container,"ace_focus")},this.visualizeBlur=function(){s.removeCssClass(this.container,"ace_focus")},this.showComposition=function(e){this.$composition||(this.$composition={keepTextAreaAtCursor:this.$keepTextAreaAtCursor,cssText:this.textarea.style.cssText}),this.$keepTextAreaAtCursor=!0,s.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor()},this.setCompositionText=function(e){this.$moveTextAreaToCursor()},this.hideComposition=function(){this.$composition&&(s.removeCssClass(this.textarea,"ace_composition"),this.$keepTextAreaAtCursor=this.$composition.keepTextAreaAtCursor,this.textarea.style.cssText=this.$composition.cssText,this.$composition=null)},this.setTheme=function(e,t){var i=this;function n(n){if(i.$themeId!=e)return t&&t();if(!n||!n.cssClass)throw new Error("couldn't load module "+e+" or it didn't call define");s.importCssString(n.cssText,n.cssClass,i.container.ownerDocument),i.theme&&s.removeCssClass(i.container,i.theme.cssClass);var o="padding"in n?n.padding:"padding"in(i.theme||{})?4:i.$padding;i.$padding&&o!=i.$padding&&i.setPadding(o),i.$theme=n.cssClass,i.theme=n,s.addCssClass(i.container,n.cssClass),s.setCssClass(i.container,"ace_dark",n.isDark),i.$size&&(i.$size.width=0,i.$updateSizeAsync()),i._dispatchEvent("themeLoaded",{theme:n}),t&&t()}this.$themeId=e,i._dispatchEvent("themeChange",{theme:e}),e&&"string"!=typeof e?n(e):o.loadModule(["theme",e||this.$options.theme.initialValue],n)},this.getTheme=function(){return this.$themeId},this.setStyle=function(e,t){s.setCssClass(this.container,e,!1!==t)},this.unsetStyle=function(e){s.removeCssClass(this.container,e)},this.setCursorStyle=function(e){this.scroller.style.cursor!=e&&(this.scroller.style.cursor=e)},this.setMouseCursor=function(e){this.scroller.style.cursor=e},this.destroy=function(){this.$textLayer.destroy(),this.$cursorLayer.destroy()}}).call(p.prototype),o.defineOptions(p.prototype,"renderer",{animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){"number"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},fadeFoldWidgets:{set:function(e){s.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e)},initialValue:!0},showLineNumbers:{set:function(e){this.$gutterLayer.setShowLineNumbers(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightGutterLine:{set:function(e){if(!this.$gutterLineHighlight)return this.$gutterLineHighlight=s.createElement("div"),this.$gutterLineHighlight.className="ace_gutter-active-line",void this.$gutter.appendChild(this.$gutterLineHighlight);this.$gutterLineHighlight.style.display=e?"":"none",this.$cursorLayer.$pixelPos&&this.$updateGutterLineHighlight()},initialValue:!1,value:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){"number"==typeof e&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.updateFull()}},maxPixelHeight:{set:function(e){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(e){this.$scrollPastEnd!=(e=+e||0)&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0}}),t.VirtualRenderer=p})),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],(function(e,t,i){"use strict";var n=e("../lib/oop"),s=e("../lib/net"),o=e("../lib/event_emitter").EventEmitter,r=e("../config");function a(e,t){var i=function(e,t){var i=t.src;s.qualifyURL(e);try{return new Blob([i],{type:"application/javascript"})}catch(o){var n=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return n.append(i),n.getBlob("application/javascript")}}(e,t),n=(window.URL||window.webkitURL).createObjectURL(i);return new Worker(n)}var l=function(t,i,n,s,o){if(this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),r.get("packaged")||!e.toUrl)s=s||r.moduleUrl(i.id,"worker");else{var l=this.$normalizePath;s=s||l(e.toUrl("ace/worker/worker.js",null,"_"));var c={};t.forEach((function(t){c[t]=l(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))}))}this.$worker=a(s,i),o&&this.send("importScripts",o),this.$worker.postMessage({init:!0,tlns:c,module:i.id,classname:n}),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){n.implement(this,o),this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var i=this.callbacks[t.id];i&&(i(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return s.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,i){if(i){var n=this.callbackId++;this.callbacks[n]=i,t.push(n)}this.send(e,t)},this.emit=function(e,t){try{this.$worker.postMessage({event:e,data:{data:t.data}})}catch(i){console.error(i.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),this.deltaQueue.push(e.start,"insert"==e.action?e.lines:e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(l.prototype);var c=function(e,t,i){this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.callbackId=1,this.callbacks={},this.messageBuffer=[];var n=null,s=!1,a=Object.create(o),l=this;this.$worker={},this.$worker.terminate=function(){},this.$worker.postMessage=function(e){l.messageBuffer.push(e),n&&(s?setTimeout(c):c())},this.setEmitSync=function(e){s=e};var c=function(){var e=l.messageBuffer.shift();e.command?n[e.command].apply(n,e.args):e.event&&a._signal(e.event,e.data)};a.postMessage=function(e){l.onMessage({data:e})},a.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},a.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},r.loadModule(["worker",t],(function(e){for(n=new e[i](a);l.messageBuffer.length;)c()}))};c.prototype=l.prototype,t.UIWorkerClient=c,t.WorkerClient=l,t.createWorker=a})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(e,t,i){"use strict";var n=e("./range").Range,s=e("./lib/event_emitter").EventEmitter,o=e("./lib/oop"),r=function(e,t,i,n,s,o){var r=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=s,this.othersClass=o,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate),this.$others=n,this.$onCursorChange=function(){setTimeout((function(){r.onCursorChange()}))},this.$pos=i;var a=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=a.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)};(function(){o.implement(this,s),this.setup=function(){var e=this,t=this.doc,i=this.session;this.selectionBefore=i.selection.toJSON(),i.selection.inMultiSelectMode&&i.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var s=this.pos;s.$insertRight=!0,s.detach(),s.markerId=i.addMarker(new n(s.row,s.column,s.row,s.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(i){var n=t.createAnchor(i.row,i.column);n.$insertRight=!0,n.detach(),e.others.push(n)})),i.setUndoSelect(!1)},this.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(i){i.markerId=e.addMarker(new n(i.row,i.column,i.row,i.column+t.length),t.othersClass,null,!1)}))}},this.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,o=t.start.column-this.pos.column;if(this.updateAnchors(e),s&&(this.length+=i),s&&!this.session.$fromUndo)if("insert"===e.action)for(var r=this.others.length-1;r>=0;r--)this.doc.insertMergedLines(l={row:(a=this.others[r]).row,column:a.column+o},e.lines);else if("remove"===e.action)for(r=this.others.length-1;r>=0;r--){var a,l;this.doc.remove(new n((l={row:(a=this.others[r]).row,column:a.column+o}).row,l.column,l.row,l.column-i))}this.$updating=!1,this.updateMarkers()}},this.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},this.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,i=function(i,s){t.removeMarker(i.markerId),i.markerId=t.addMarker(new n(i.row,i.column,i.row,i.column+e.length),s,null,!1)};i(this.pos,this.mainClass);for(var s=this.others.length;s--;)i(this.others[s],this.othersClass)}},this.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},this.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.removeEventListener("change",this.$onUpdate),this.session.selection.removeEventListener("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},this.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,i=0;i1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length?this.$onRemoveRange(e):this.ranges[0]&&this.fromOrientedRange(this.ranges[0])},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var i=e.length;i--;){var n=this.ranges.indexOf(e[i]);this.ranges.splice(n,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new n,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){if(this.rangeCount>1){var e=this.rangeList.ranges,t=e[e.length-1],i=s.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(i,t.cursor==t.start)}else{i=this.getRange();var n=this.isBackwards(),o=i.start.row,r=i.end.row;if(o==r){if(n)var a=i.end,l=i.start;else a=i.start,l=i.end;return this.addRange(s.fromPoints(l,l)),void this.addRange(s.fromPoints(a,a))}var c=[],h=this.getLineRange(o,!0);h.start.column=i.start.column,c.push(h);for(var u=o+1;u1){var e=this.rangeList.ranges,t=e[e.length-1],i=s.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(i,t.cursor==t.start)}else{var n=this.session.documentToScreenPosition(this.selectionLead),o=this.session.documentToScreenPosition(this.selectionAnchor);this.rectangularRangeBlock(n,o).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,i){var n=[],o=e.column0;)C--;if(C>0)for(var F=0;n[F].isEmpty();)F++;for(var w=C;w>=F;w--)n[w].isEmpty()&&n.splice(w,1)}return n}}).call(o.prototype);var d=e("./editor").Editor;function g(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",r),e.commands.addCommands(c.defaultCommands),function(e){var t=e.textInput.getElement(),i=!1;function n(t){i&&(e.renderer.setMouseCursor(""),i=!1)}a.addListener(t,"keydown",(function(t){e.$blockSelectEnabled&&18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey)?i||(e.renderer.setMouseCursor("crosshair"),i=!0):i&&n()})),a.addListener(t,"keyup",n),a.addListener(t,"blur",n)}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,i=e.length;i--;){var n=e[i];if(n.marker){this.session.removeMarker(n.marker);var s=t.indexOf(n);-1!=s&&t.splice(s,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(c.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(c.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,i=e.editor;if(i.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?n=i.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?n=i.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(i.exitMultiSelectMode(),n=t.exec(i,e.args||{})):n=t.multiSelectAction(i,e.args||{});else{var n=t.exec(i,e.args||{});i.multiSelect.addRange(i.multiSelect.toOrientedRange()),i.multiSelect.mergeOverlappingRanges()}return n}},this.forEachSelection=function(e,t,i){if(!this.inVirtualSelectionMode){var n,s=1==i||i&&i.$byLines,r=this.session,a=this.selection,l=(i&&i.keepOrder?a:a.rangeList).ranges;if(!l.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var c=a._eventRegistry;a._eventRegistry={};var h=new o(r);this.inVirtualSelectionMode=!0;for(var u=l.length;u--;){if(s)for(;u>0&&l[u].start.row==l[u-1].end.row;)u--;h.fromOrientedRange(l[u]),h.index=u,this.selection=r.selection=h;var d=e.exec?e.exec(this,t||{}):e(this,t||{});n||void 0===d||(n=d),h.toOrientedRange(l[u])}h.detach(),this.selection=r.selection=a,this.inVirtualSelectionMode=!1,a._eventRegistry=c,a.mergeOverlappingRanges();var g=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),g&&g.from==g.to&&this.renderer.animateScrolling(g.from),n}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,i=[],n=0;nr&&(r=i.column),nh?e.insert(n,l.stringRepeat(" ",o-h)):e.remove(new s(n.row,n.column,n.row,n.column-o+h)),t.start.column=t.end.column=r,t.start.row=t.end.row=n.row,t.cursor=t.end})),t.fromOrientedRange(i[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var h=this.selection.getRange(),u=h.start.row,d=h.end.row,g=u==d;if(g){var f,m=this.session.getLength();do{f=this.session.getLine(d)}while(/[=:]/.test(f)&&++d0);u<0&&(u=0),d>=m&&(d=m-1)}var p=this.session.removeFullLines(u,d);p=this.$reAlignText(p,g),this.session.insert({row:u,column:0},p.join("\n")+"\n"),g||(h.start.column=0,h.end.column=p[p.length-1].length),this.selection.setRange(h)}},this.$reAlignText=function(e,t){var i,n,s,o=!0,r=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==i?(i=t[1].length,n=t[2].length,s=t[3].length,t):(i+n+s!=t[1].length+t[2].length+t[3].length&&(r=!1),i!=t[1].length&&(o=!1),i>t[1].length&&(i=t[1].length),nt[3].length&&(s=t[3].length),t):[e]})).map(t?c:o?r?function(e){return e[2]?a(i+n-e[2].length)+e[2]+a(s)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?a(i)+e[2]+a(s)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function a(e){return l.stringRepeat(" ",e)}function c(e){return e[2]?a(i)+e[2]+a(n-e[2].length+s)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(d.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var i=e.oldSession;i&&(i.multiSelect.off("addRange",this.$onAddRange),i.multiSelect.off("removeRange",this.$onRemoveRange),i.multiSelect.off("multiSelect",this.$onMultiSelect),i.multiSelect.off("singleSelect",this.$onSingleSelect),i.multiSelect.lead.off("change",this.$checkMultiselectChange),i.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=g,e("./config").defineOptions(d.prototype,"editor",{enableMultiselect:{set:function(e){g(this),e?(this.on("changeSession",this.$multiselectOnSessionChange),this.on("mousedown",r)):(this.off("changeSession",this.$multiselectOnSessionChange),this.off("mousedown",r))},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(e,t,i){"use strict";var n=e("../../range").Range,s=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,i){var n=e.getLine(i);return this.foldingStartMarker.test(n)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(n)?"end":""},this.getFoldWidgetRange=function(e,t,i){return null},this.indentationBlock=function(e,t,i){var s=/\S/,o=e.getLine(t),r=o.search(s);if(-1!=r){for(var a=i||o.length,l=e.getLength(),c=t,h=t;++tc){var d=e.getLine(h).length;return new n(c,a,h,d)}}},this.openingBracketBlock=function(e,t,i,s,o){var r={row:i,column:s+1},a=e.$findClosingBracket(t,r,o);if(a){var l=e.foldWidgets[a.row];return null==l&&(l=e.getFoldWidget(a.row)),"start"==l&&a.row>r.row&&(a.row--,a.column=e.getLine(a.row).length),n.fromPoints(r,a)}},this.closingBracketBlock=function(e,t,i,s,o){var r={row:i,column:s},a=e.$findOpeningBracket(t,r);if(a)return a.column++,r.column--,n.fromPoints(a,r)}}).call(s.prototype)})),ace.define("ace/theme/textmate",["require","exports","module","ace/lib/dom"],(function(e,t,i){"use strict";t.isDark=!1,t.cssClass="ace-tm",t.cssText='.ace-tm .ace_gutter {background: #f0f0f0;color: #333;}.ace-tm .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-tm .ace_fold {background-color: #6B72E6;}.ace-tm {background-color: #FFFFFF;color: black;}.ace-tm .ace_cursor {color: black;}.ace-tm .ace_invisible {color: rgb(191, 191, 191);}.ace-tm .ace_storage,.ace-tm .ace_keyword {color: blue;}.ace-tm .ace_constant {color: rgb(197, 6, 11);}.ace-tm .ace_constant.ace_buildin {color: rgb(88, 72, 246);}.ace-tm .ace_constant.ace_language {color: rgb(88, 92, 246);}.ace-tm .ace_constant.ace_library {color: rgb(6, 150, 14);}.ace-tm .ace_invalid {background-color: rgba(255, 0, 0, 0.1);color: red;}.ace-tm .ace_support.ace_function {color: rgb(60, 76, 114);}.ace-tm .ace_support.ace_constant {color: rgb(6, 150, 14);}.ace-tm .ace_support.ace_type,.ace-tm .ace_support.ace_class {color: rgb(109, 121, 222);}.ace-tm .ace_keyword.ace_operator {color: rgb(104, 118, 135);}.ace-tm .ace_string {color: rgb(3, 106, 7);}.ace-tm .ace_comment {color: rgb(76, 136, 107);}.ace-tm .ace_comment.ace_doc {color: rgb(0, 102, 255);}.ace-tm .ace_comment.ace_doc.ace_tag {color: rgb(128, 159, 191);}.ace-tm .ace_constant.ace_numeric {color: rgb(0, 0, 205);}.ace-tm .ace_variable {color: rgb(49, 132, 149);}.ace-tm .ace_xml-pe {color: rgb(104, 104, 91);}.ace-tm .ace_entity.ace_name.ace_function {color: #0000A2;}.ace-tm .ace_heading {color: rgb(12, 7, 255);}.ace-tm .ace_list {color:rgb(185, 6, 144);}.ace-tm .ace_meta.ace_tag {color:rgb(0, 22, 142);}.ace-tm .ace_string.ace_regex {color: rgb(255, 0, 0)}.ace-tm .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-tm.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-tm .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-tm .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-tm .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-tm .ace_marker-layer .ace_active-line {background: rgba(0, 0, 0, 0.07);}.ace-tm .ace_gutter-active-line {background-color : #dcdcdc;}.ace-tm .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-tm .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',e("../lib/dom").importCssString(t.cssText,t.cssClass)})),ace.define("ace/line_widgets",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/range"],(function(e,t,i){"use strict";e("./lib/oop");var n=e("./lib/dom");function s(e){this.session=e,this.session.widgetManager=this,this.session.getRowLength=this.getRowLength,this.session.$getWidgetScreenLength=this.$getWidgetScreenLength,this.updateOnChange=this.updateOnChange.bind(this),this.renderWidgets=this.renderWidgets.bind(this),this.measureWidgets=this.measureWidgets.bind(this),this.session._changedWidgets=[],this.$onChangeEditor=this.$onChangeEditor.bind(this),this.session.on("change",this.updateOnChange),this.session.on("changeFold",this.updateOnFold),this.session.on("changeEditor",this.$onChangeEditor)}e("./range"),(function(){this.getRowLength=function(e){var t;return t=this.lineWidgets&&this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0,this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1+t:1+t},this.$getWidgetScreenLength=function(){var e=0;return this.lineWidgets.forEach((function(t){t&&t.rowCount&&!t.hidden&&(e+=t.rowCount)})),e},this.$onChangeEditor=function(e){this.attach(e.editor)},this.attach=function(e){e&&e.widgetManager&&e.widgetManager!=this&&e.widgetManager.detach(),this.editor!=e&&(this.detach(),this.editor=e,e&&(e.widgetManager=this,e.renderer.on("beforeRender",this.measureWidgets),e.renderer.on("afterRender",this.renderWidgets)))},this.detach=function(e){var t=this.editor;if(t){this.editor=null,t.widgetManager=null,t.renderer.off("beforeRender",this.measureWidgets),t.renderer.off("afterRender",this.renderWidgets);var i=this.session.lineWidgets;i&&i.forEach((function(e){e&&e.el&&e.el.parentNode&&(e._inDocument=!1,e.el.parentNode.removeChild(e.el))}))}},this.updateOnFold=function(e,t){var i=t.lineWidgets;if(i&&e.action){for(var n=e.data,s=n.start.row,o=n.end.row,r="add"==e.action,a=s+1;a0&&!n[s];)s--;this.firstRow=i.firstRow,this.lastRow=i.lastRow,t.$cursorLayer.config=i;for(var r=s;r<=o;r++){var a=n[r];if(a&&a.el)if(a.hidden)a.el.style.top=-100-(a.pixelHeight||0)+"px";else{a._inDocument||(a._inDocument=!0,t.container.appendChild(a.el));var l=t.$cursorLayer.getPixelPosition({row:r,column:0},!0).top;a.coverLine||(l+=i.lineHeight*this.session.getRowLineCount(a.row)),a.el.style.top=l-i.offset+"px";var c=a.coverGutter?0:t.gutterWidth;a.fixedWidth||(c-=t.scrollLeft),a.el.style.left=c+"px",a.fullWidth&&a.screenWidth&&(a.el.style.minWidth=i.width+2*i.padding+"px"),a.el.style.right=a.fixedWidth?t.scrollBar.getWidth()+"px":""}}}}}).call(s.prototype),t.LineWidgets=s})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range"],(function(e,t,i){"use strict";var n=e("../line_widgets").LineWidgets,s=e("../lib/dom"),o=e("../range").Range;t.showErrorMarker=function(e,t){var i=e.session;i.widgetManager||(i.widgetManager=new n(i),i.widgetManager.attach(e));var r=e.getCursorPosition(),a=r.row,l=i.widgetManager.getWidgetsAtRow(a).filter((function(e){return"errorMarker"==e.type}))[0];l?l.destroy():a-=t;var c,h=function(e,t,i){var n=e.getAnnotations().sort(o.comparePoints);if(n.length){var s=function(e,t,i){for(var n=0,s=e.length-1;n<=s;){var o=n+s>>1,r=i(t,e[o]);if(r>0)n=o+1;else{if(!(r<0))return o;s=o-1}}return-(n+1)}(n,{row:t,column:-1},o.comparePoints);s<0&&(s=-s-1),s>=n.length?s=i>0?0:n.length-1:0===s&&i<0&&(s=n.length-1);var r=n[s];if(r&&i){if(r.row===t){do{r=n[s+=i]}while(r&&r.row===t);if(!r)return n.slice()}var a=[];t=r.row;do{a[i<0?"unshift":"push"](r),r=n[s+=i]}while(r&&r.row==t);return a.length&&a}}}(i,a,t);if(h){var u=h[0];r.column=(u.pos&&"number"!=typeof u.column?u.pos.sc:u.column)||0,r.row=u.row,c=e.renderer.$gutterLayer.$annotations[r.row]}else{if(l)return;c={text:["Looks good!"],className:"ace_ok"}}e.session.unfold(r.row),e.selection.moveToPosition(r);var d={row:r.row,fixedWidth:!0,coverGutter:!0,el:s.createElement("div"),type:"errorMarker"},g=d.el.appendChild(s.createElement("div")),f=d.el.appendChild(s.createElement("div"));f.className="error_widget_arrow "+c.className;var m=e.renderer.$cursorLayer.getPixelPosition(r).left;f.style.left=m+e.renderer.gutterWidth-5+"px",d.el.className="error_widget_wrapper",g.className="error_widget "+c.className,g.innerHTML=c.text.join("
"),g.appendChild(s.createElement("div"));var p=function(e,t,i){if(0===t&&("esc"===i||"return"===i))return d.destroy(),{command:"null"}};d.destroy=function(){e.$mouseHandler.isMousePressed||(e.keyBinding.removeKeyboardHandler(p),i.widgetManager.removeLineWidget(d),e.off("changeSelection",d.destroy),e.off("changeSession",d.destroy),e.off("mouseup",d.destroy),e.off("change",d.destroy))},e.keyBinding.addKeyboardHandler(p),e.on("changeSelection",d.destroy),e.on("changeSession",d.destroy),e.on("mouseup",d.destroy),e.on("change",d.destroy),e.session.widgetManager.addLineWidget(d),d.el.onmousedown=e.focus.bind(e),e.renderer.scrollCursorIntoView(null,.5,{bottom:d.el.offsetHeight})},s.importCssString(" .error_widget_wrapper { background: inherit; color: inherit; border:none } .error_widget { border-top: solid 2px; border-bottom: solid 2px; margin: 5px 0; padding: 10px 40px; white-space: pre-wrap; } .error_widget.ace_error, .error_widget_arrow.ace_error{ border-color: #ff5a5a } .error_widget.ace_warning, .error_widget_arrow.ace_warning{ border-color: #F1D817 } .error_widget.ace_info, .error_widget_arrow.ace_info{ border-color: #5a5a5a } .error_widget.ace_ok, .error_widget_arrow.ace_ok{ border-color: #5aaa5a } .error_widget_arrow { position: absolute; border: solid 5px; border-top-color: transparent!important; border-right-color: transparent!important; border-left-color: transparent!important; top: -5px; }","")})),ace.define("ace/ace",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/dom","ace/lib/event","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config"],(function(e,t,n){"use strict";e("./lib/fixoldbrowsers");var s=e("./lib/dom"),o=e("./lib/event"),r=e("./editor").Editor,a=e("./edit_session").EditSession,l=e("./undomanager").UndoManager,c=e("./virtual_renderer").VirtualRenderer;e("./worker/worker_client"),e("./keyboard/hash_handler"),e("./placeholder"),e("./multi_select"),e("./mode/folding/fold_mode"),e("./theme/textmate"),e("./ext/error_marker"),t.config=e("./config"),t.acequire=e,t.define=i("B9Yq"),t.edit=function(e){if("string"==typeof e){var i=e;if(!(e=document.getElementById(i)))throw new Error("ace.edit can't find div #"+i)}if(e&&e.env&&e.env.editor instanceof r)return e.env.editor;var n="";if(e&&/input|textarea/i.test(e.tagName)){var a=e;n=a.value,e=s.createElement("pre"),a.parentNode.replaceChild(e,a)}else e&&(n=s.getInnerText(e),e.innerHTML="");var l=t.createEditSession(n),h=new r(new c(e));h.setSession(l);var u={document:l,editor:h,onResize:h.resize.bind(h,null)};return a&&(u.textarea=a),o.addListener(window,"resize",u.onResize),h.on("destroy",(function(){o.removeListener(window,"resize",u.onResize),u.editor.container.env=null})),h.container.env=h.env=u,h},t.createEditSession=function(e,t){var i=new a(e,t);return i.setUndoManager(new l),i},t.EditSession=a,t.UndoManager=l,t.version="1.2.9"})),ace.acequire(["ace/ace"],(function(e){for(var t in e&&(e.config.init(!0),e.define=ace.define),window.ace||(window.ace=e),e)e.hasOwnProperty(t)&&(window.ace[t]=e[t])})),e.exports=window.ace.acequire("ace/ace")},YqIF:function(e,t){ace.define("ace/theme/github",["require","exports","module","ace/lib/dom"],(function(e,t,i){t.isDark=!1,t.cssClass="ace-github",t.cssText='.ace-github .ace_gutter {background: #e8e8e8;color: #AAA;}.ace-github {background: #fff;color: #000;}.ace-github .ace_keyword {font-weight: bold;}.ace-github .ace_string {color: #D14;}.ace-github .ace_variable.ace_class {color: teal;}.ace-github .ace_constant.ace_numeric {color: #099;}.ace-github .ace_constant.ace_buildin {color: #0086B3;}.ace-github .ace_support.ace_function {color: #0086B3;}.ace-github .ace_comment {color: #998;font-style: italic;}.ace-github .ace_variable.ace_language {color: #0086B3;}.ace-github .ace_paren {font-weight: bold;}.ace-github .ace_boolean {font-weight: bold;}.ace-github .ace_string.ace_regexp {color: #009926;font-weight: normal;}.ace-github .ace_variable.ace_instance {color: teal;}.ace-github .ace_constant.ace_language {font-weight: bold;}.ace-github .ace_cursor {color: black;}.ace-github.ace_focus .ace_marker-layer .ace_active-line {background: rgb(255, 255, 204);}.ace-github .ace_marker-layer .ace_active-line {background: rgb(245, 245, 245);}.ace-github .ace_marker-layer .ace_selection {background: rgb(181, 213, 255);}.ace-github.ace_multiselect .ace_selection.ace_start {box-shadow: 0 0 3px 0px white;}.ace-github.ace_nobold .ace_line > span {font-weight: normal !important;}.ace-github .ace_marker-layer .ace_step {background: rgb(252, 255, 0);}.ace-github .ace_marker-layer .ace_stack {background: rgb(164, 229, 101);}.ace-github .ace_marker-layer .ace_bracket {margin: -1px 0 0 -1px;border: 1px solid rgb(192, 192, 192);}.ace-github .ace_gutter-active-line {background-color : rgba(0, 0, 0, 0.07);}.ace-github .ace_marker-layer .ace_selected-word {background: rgb(250, 250, 255);border: 1px solid rgb(200, 200, 250);}.ace-github .ace_invisible {color: #BFBFBF}.ace-github .ace_print-margin {width: 1px;background: #e8e8e8;}.ace-github .ace_indent-guide {background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;}',e("../lib/dom").importCssString(t.cssText,t.cssClass)}))}}]); \ No newline at end of file diff --git a/CNAME b/CNAME deleted file mode 100644 index 729d1e8..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -theme.ledge.ink \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b6acb47 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Ledge Framework + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..6b41dc1 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# jekyll-source +Ledge framework jekyll source code diff --git a/assets/docs/help.md b/assets/docs/help.md deleted file mode 100644 index b4b5959..0000000 --- a/assets/docs/help.md +++ /dev/null @@ -1,705 +0,0 @@ -# Ledge 语法帮助 - -```process-step - - 使用开源 - - [1] 制定开源使用指南 - - [1] 开源合规审查 - - 参与开源 - - [2] 引入开源技术实践 - - [1] 制定开源参与指南 - - [1] 开源治理策略 - - [3] 建议团队回馈开源 - - [5] 参与社区建设 - - 走向开源 - - [3] 内部项目开源共享 - - [5] 社区推广策略 - - [2] 敏捷测试实践 - - [4] 和产品策略一致 - - [1] 制定贡献指南 - - [1] 设计成熟度模型 - - [1] 开源项目管理部门 - - [4] 制定开源项目营销策略 - - 构建生态 - - [5] 技术布道 - - [5] 创建开发者社区 - - [2] 开发者体验 - - [3] 去中心化的社区管理 - - [3] 透明决策和讨论 - - [5] 社区参与多样性 - - [1] 生态战略投资 - -config: {"heads": ["组织支持", "工程能力", "开源文化", "产品思维", "社区与生态"]} -``` - -```maturity - - 持续交付 - - 配置管理: 3 - - 版本控制 - - 变更管理 - - 持续构建与持续集成: 3 - - 构建实践 - - 持续集成 - - 测试管理: 3 - - 测试分层策略 - - 代码质量管理 - - 自动化测试 - - 部署与发布管理: 3 - - 部署与发布管理 - - 部署流水线 - - 环境管理: 3 - - 数据管理: 3 - - 测试数据管理 - - 数据变更管理 - - 度量与反馈: 3 - - 度量指标 - - 度量驱动改进 -``` - -```tree - - CI 建设 - - 开发阶段准备 - - 拉 Aimeituan 工程的开发分支 - - 修改开发分支版本号 - - Aimeituan 工程独立编译自动配置 - - PR 检测 - - 静态检测 - - 增量检测 - - SDK - - 包大小 - - 单测 - - 开发阶段 - - 定时检测壳工程是否有更新,触发自动打包 - - 每日最新版本号提醒 - - 提测阶段 - - 冒烟提醒 - - 自动拉提测分支 - - 业务库检测是否有 PR 未合入 - - 提测打包、发提测邮件 - - 发版阶段 - - 分支合并 - - 外卖业务库合入 Aimeituan 提测分支 - - 全量提醒 - -config: {"collapse": true, "height": 400, "width": 800} -``` - -```maturity - - 敏捷成熟度模型 - - 组织治理: 3 - - 需求管理: 4 - - 交流协作: 5 - - 构建管理: 2 - - 简单设计: 3 - - 测试策略: 3 - - 快速响应: 5 - - 职责共享: 3 - - 精益思考: 2 -``` - -```pipeline - - 代码检出 - - 代码检出:success - - 安装依赖 - - 安装依赖:success - - 构建 - - 构建:success - - 构建服务端渲染 - - 构建服务端渲染:success - - 部署 - - 部署:success -``` - -```fishbone - - Path to Production - - Feat - - Design - - Pair Review - - Dev - - PrePush - - Code Review - - Test - - Desk Check - - Build - - Deploy - - Operatino - -config: {"height": 600, "width": 800} -``` - -## 读书雷达 - -```tech-radar - - 文化 - - adopt - - 《第五项修炼: 学习组织的技术和实践》 - - 《奈飞文化手册》 - - 《管理 3.0: 培养和提升技术领导力》 - - trail - - 《团队协作的五大障碍》 - - 《团队之美》 - - 《精益企业》 - - assess - - 《丰田模式:精益制造的 14 项管理原则》 - - hold - - 《凤凰项目:一个IT运维的传奇故事》 - - 流程 - - adopt - - 《持续交付》 - - 《精益软件度量:实践者的观察与思考》 - - trail - - 《Jenkins 权威指南》 - - 《持续交付 2.0: 业务引领的DevOps精要》 - - assess - - hold - - 《发布!软件的设计与部署》 - - 《发布!设计与部署稳定的分布式系统(第2版)》 - - 实践 - - adopt - - 《基础设施即代码:云服务器管理》 - - 《测试驱动开发:实战与模式解析》 - - 《微服务架构设计》 - - 《领域驱动设计模式、原理与实践》 - - 《SRE:Google 运维解密》 - - trail - - 《演进式架构》 - - assess - - 《修改代码的艺术》 - - hold - - 《重构:改善既有代码的设计》 - - 《看板实战》 - - 《敏捷软件测试:测试人员与敏捷团队的实践指南》 - - 实施 - - adopt - - 《Effective DevOps》 - - 《DevOps实践指南》 - - 《Java 持续交付》 - - 《DevOps实施手册 在多级 IT 企业中使用 DevOps》 - - 《领域驱动设计:软件核心复杂性应对之道》 - - trail - - 《Accelerate》 - - 《DevOps 最佳实践》 - - 《学习敏捷开发》 - - assess - - 《SRE:Google 运维解密》 - - hold - - 《DevOps 实践》 - -config: {"hiddenLegend": true} -``` - -## 组件 - -### checklist - -```checklist -- [x] Eating - - [ ] Today - - [x] breakfast - - [ ] brunch - - [ ] elevenses - - [ ] lunch - - [ ] tea - - [ ] supper - - [ ] dinner:the main meal of the day, eaten either in the middle of the day or in the evening -``` - -### kanban - -```kanban - - Kanban Name - - Todo - - done basic feature - - write document - - Doing - - create componet - - add testing - - Done - - create card - - Done -``` - -### tech-radar - -```tech-radar - - 框架 - - adopt - - Angular - - D3.js - - trail - - Echarts - - assess - - Stencil.js - - Ionic - - hold - - react - - 平台 - - adopt - - GitHub - - trail - - assess - - hold - - 语言 - - adopt - - TypeScript - - trail - - assess - - hold - - JavaScript - - 技术 - - adopt - - trail - - Web Components - - assess - - hold -``` - -### list-style - -配置图形为`圆形` - -```list-style - - 开源工具采用 - - 商业采购 - - 自研研发交通平台 - -config: {"type": "circle"} -``` - -配置图形为`方形组` - -```list-style - - 基于开源方案遇到困难 - - 性能瓶颈 - - 业务需求⽇益多元化,但团队规模有限 - - 扩展更多的能力 - - 更多元化的代码质量检查 - - 审计需求 - - 二进制、镜像安全扫描 - -config: {"type": "group-square"} -``` - -### echarts - -```echarts -{ -"series": [ - { - "type": "treemap", - "breadcrumb": {"show": false}, - "roam": "move", - "data": [{ - "name": "nodeA","value": 10, - "children": [ - {"name": "HealthController.java", "value": 4 }, - {"name": "HealthService.java", "value": 6} - ]}, - {"name": "HealthModel.java", "value": 20} - ] - } -] -} -``` - -### graphviz - -绘制流程图 - -```graphviz -digraph { - rankdir=LR; - "红" -> "绿"[label="写一个失败的测试"]; - "绿" -> "重构"[label="让代码可以工作"]; - "重构" -> "红"[dir="back" label="重构"]; -} -``` - -### mermaid - -支持 [mermaid](https://mermaid-js.github.io/mermaid) 图表和流程图 - -```mermaid -graph LR - A[Hard edge] -->|Link text| B(Round edge) - B --> C{Decision} - C -->|One| D[Result one] - C -->|Two| E[Result two] -``` - -甘特图,语法描述见 [mermaid/gantt](https://mermaid-js.github.io/mermaid/#/gantt) - -```mermaid -gantt - title A Gantt Diagram - dateFormat YYYY-MM-DD - section Section - A task :a1, 2014-01-01, 30d - Another task :after a1 , 20d - section Another - Task in sec :2014-01-12 , 12d - another task : 24d -``` - -### toolset - -type 为 `slider` - -```toolset - - 用户体验 - - 时间 - - 成本 - - 安全 - - 范围 - -config: {"type": "slider"} -``` - -type 为 `line-chart` - -```toolset -| Challenge;Skill/Ability | low | high | -|-|-|-| -| low | | boredom | -| high | anxiety | flow | - -config: {"type": "line-chart"} -``` - -### quadrant - -```quadrant - - 技术债墙 - - 快速解决 - - …… - - …… - - …… - - 分解并计划 - - …… - - …… - - …… - - 在可能的时候提升 - - …… - - …… - - 暂时不管 - - …… - - …… - - …… - -config: {"left": "简单", "right": "困难", "bottom": "不重要", "top": "重要"} -``` - -### radar - -```radar - - 质量属性网络 - - 可靠性 - - 可修改性 - - 安全性 - - 可测试性 - - 性能 - - 可用性 -``` - -有图例和数据 - -```radar - - 质量成熟度评估模型 - - 质量内建: 3 -> 4 - - 优化业务价值: 2 -> 2 - - 质量统一,可视化: 1 -> 5 - - 全员参与: 3 -> 4 - - 快速交付: 4 -> 5 - - 测试作为资产: 2 -> 3 - - 快速反馈: 5 -> 5 - -config: {"legend": ["当前", "未来"]} -``` - -### pyramid - -```pyramid - - 寻找价值 - - 价值:、 - - 质量:零缺陷、设计良好 - - 划分:小、完整 - - 构建:价值优先、逐渐完善产品 - - 计划:持续、接下来做什么? - - 组织:团队、人员与技能 - - 指导:何物、何时 -``` - -### mindmap - -```mindmap - - CI 建设 - - 开发阶段准备 - - 拉 Aimeituan 工程的开发分支 - - 修改开发分支版本号 - - Aimeituan 工程独立编译自动配置 - - PR 检测 - - 静态检测 - - 增量检测 - - SDK - - 包大小 - - 单测 - - 开发阶段 - - 定时检测壳工程是否有更新,触发自动打包 - - 每日最新版本号提醒 - - 提测阶段 - - 冒烟提醒 - - 自动拉提测分支 - - 业务库检测是否有 PR 未合入 - - 提测打包、发提测邮件 - - 发版阶段 - - 分支合并 - - 外卖业务库合入 Aimeituan 提测分支 - - 全量提醒 -``` - -### process-step - -```process-step - - 平台层 - - 运维平台 - - 小米私有云 - - 小米生态云 - - 能力层 - - 团队注册 - - 一键接入 - - 检测扫描工具集成 - - 发布部署 - - 标准化工具接入 - - 工具层 - - Gitlab - - Phabricator - - Jenkins on K8s - - 代码质量扫描 - - 安全/法律合规扫描 - - 二进制&产出物存储 - - 二进制安全扫描 - - 二进制法务审计扫描 - - 部署服务 - - 数据层 - - 数据智能应用 - - 研发效能数据仓库 -``` - -### process-table - -```process-table -| 源码管理 | 代码质量 | 制品管理 | 测试 | 持续集成 | 分析 | 协作 | -|-|-|-|-|-|-|-| -| Git | TSLint | Git (history) | Jasmine | GitHub Action | GitHub Traffic | GitHub Projects | -| GitHub | Code Climate | | Jest | | Google Analysis | | -``` - -### chart - -> 采用 DevOps 的行业 - -```chart -| 行业 | 占比 | -|-|-| -| 技术 | 38% | -| 金融服务 | 12% | -| 零售/消费/电子商务 | 9% | -| 其它 | 9% | -| 医疗保健和制药 | 5% | -| 政府 | 5% | -| 媒体/娱乐 | 4% | -| 保险 | 4% | -| 教育 | 4% | -| 工业和制造业 | 4% | -| 电信 | 3% | -| 能源 | 3% | -| 非营利 | 1% | -``` - -> 组织所使用的操作系统 - -配置项 `config: {"type": "bar", "multiset": true}` - -```chart -| 操作系统 | 2018 | 2019 | -|-|-|-| -| Windows 2003/2003R2 | 12% | 6% | -| Windows 2008/2008R2 | 33% | 26% | -| Windows 2012/2012R2 | 56% | 52% | -| Other Windows | 22% | 25% | -| Linux Debian/Ubuntu variants | 36% | 43% | -| Linux Enterprise variants (RHEL, Oracle, CentOS) | 48% | 49% | -| Linux Fedora | 5% | 4% | -| SUSE Linux Enterprise Server | 8% | 5% | -| Linux OpenSUSE | 4% | 4% | -| Linux Arch | 2% | 2% | -| Other Linux | 13% | 11% | -| Other UNIX | 8% | 4% | -| FreeBSD/NetBSD/OpenBSD | 3% | 3% | -| AIX | 10% | 7% | -| Solaris OS | 12% | 5% | -| Other | 12% | 8% | - -config: {"type": "bar", "multiset": true} -``` - -### pie - -```pie - - Some & < > " title - - a: 4 - - b: 12 - - c: 21 - - d: 19 -``` - -### process-card - -支持样式颜色配置 `"colors": [{"bg":"#e55852","font":"#b71a09"}]`,`bg` 为背景色,`font` 为字体颜色。 - -```process-card -| 缺陷收集 | 缺陷分析 | 缺陷预防 | -|-|-|-| -| 缺陷模板 | 缺陷分类 | 可测性 | -| 生命周期| 缺陷统计 | 缺陷响应力 | -| 管理工具 | 缺陷分布 | 敏捷过程 | -| 缺陷扫除 | 缺陷报告 | 二八法则 | - -config: {"colors": [{"bg":"#e55852","font":"#b71a09"},{"bg":"#e98832","font":"#c85113"},{"bg":"#f0d668","font":"#b88d0f"},{"bg":"#a4c9cf","font":"#598893"},{"bg":"#47c0af","font":"#175a54"},{"bg":"#387fd5","font":"#9ac9f5"},{"bg":"#7753df","font":"#cbb5f8"}]} -``` - -### step-line - -```step-line - - 源码管理 - - 制品管理 - - 配置管理 - - 数据库自动化 - - 测试 - - 持续集成 - - 监控 - - 分析 - - 智能运维 - - 协作 -``` - -### table-step - -支持配置的属性有: - -- `rowHeight` 行高 -- `colors` 颜色配置参考 `process-card` -- `column` 设置每行多少列(默认自适应,默认最少 4 列) - -```table-step -| 项目 / 过程管理 | 配置管理 | 构建 | 测试 / 质量 | 制品 / 部署 | 基础设施 | 沟通协作 | 可视化 | -|---|----|---|---|----|----|----|----| -| Jira | Gitee | Maven | Junit | Ubran code | VMWare | 招呼 | Tableau | -| Tracker | Rational ClearCase | Gradle | Cucumber | Fit2Cloud | OpenShift | 移事通 | Grafana | -| VP | CMDB | NPM | JMeter | B9 | Cloud Foundry | | Kibana | -| Confluence | Firefly | Ant | RobotFramework | JFrog Artifactory | | | Prometheus | -| ITIL | | MSBuild | Protractor | | | | ElasticSearch | -| | | Docker | Sonar | | | | X-Pack | -| | | | BlackDuck | | | | | - -config: {"rowHeight": "340px" ,"colors": [{"bg":"#e55852","font":"#b71a09"},{"bg":"#e98832","font":"#c85113"},{"bg":"#f0d668","font":"#b88d0f"}, -{"bg":"#a4c9cf","font":"#598893"},{"bg":"#47c0af","font":"#175a54"}, -{"bg":"#387fd5","font":"#9ac9f5"},{"bg":"#7753df","font":"#cbb5f8"},{"bg":"#485cde","font":"#a0b1f3"}]} -``` - -### Pipeline - -```yml -# Syntax -- Stage1 label - - Job1 label:Job1 state -- Stage2 label - - Job1 label:Job1 state - - Job2 label:Job2 state -``` - -**Job State** - -- [x] success -- [x] error -- [x] untouched -- [ ] processing [Unsupported] -- [ ] current [Unsupported] -- [ ] pending [Unsupported] - -```pipeline -- Initialize - - Initialize:success -- Build - - Pull code:success - - Test:error - - Build:current -- Deploy - - QA:pending - - UAT:processing - - STAGING:processing - - PROD:untouched -- Finish - - Finish:untouched - -config: { - "connectionStrokeWidth": 4, - "stateStrokeWidth": 4, - "stateRadius": 16, - "stageSpace": 60, - "stageLabelHeight": 30, - "stageLabelSize": "16px", - "jobHeight": 60, - "jobLabelSize": "12px", - "startNodeRadius": 12, - "startNodeSpace": 40, - "endNodeRadius": 12, - "endNodeSpace": 40 -} -``` - ---- - -## 其他 Markdown 语法 - -```javascript -console.log("hello, world"); -``` - -| | normal | table | -| --- | ------ | ----- | -| | | | -| | | | - -- list -- item - -> spliqt - -- a - - a - - a - - b - -这是一个正常无比的段落。 - -> blockquote - -## [Link in Heading](https://devops.phodal.com/design) - -phodal.com - ---- - -1. fsda -2. 34 sdf - -- a -- a - -3. sdaf - -b - -- [ ] a -- [ ] b - - [ ] c diff --git a/favicon.ico b/favicon.ico deleted file mode 100644 index 997406a..0000000 Binary files a/favicon.ico and /dev/null differ diff --git a/index.html b/index.html deleted file mode 100644 index 25177e7..0000000 --- a/index.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - Ledge - - - - - - - - diff --git a/main-es2015.js b/main-es2015.js deleted file mode 100644 index 5ecf603..0000000 --- a/main-es2015.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+6XX":function(t,e,n){var r=n("y1pI");t.exports=function(t){return r(this.__data__,t)>-1}},"+9vr":function(t,e,n){"undefined"!=typeof self&&self,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,(function(e){return t[e]}).bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=35)}([function(t,e){t.exports=n("VphZ")},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,3],r=[1,4],i=[2,4],o=[1,9],a=[1,11],s=[1,12],l=[1,14],c=[1,15],u=[1,16],h=[1,18],d=[1,19],f=[1,20],p=[1,21],g=[1,22],m=[1,23],v=[1,25],y=[1,26],b=[1,4,5,10,15,16,17,19,21,22,23,24,25,27,29,30,31,42],_=[1,34],x=[4,5,10,15,16,17,19,21,22,23,24,25,27,31,42],w=[4,5,10,15,16,17,19,21,22,23,24,25,27,30,31,42],S=[4,5,10,15,16,17,19,21,22,23,24,25,27,29,31,42],k=[40,41,42],C={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,participant:10,actor:11,AS:12,restOfLine:13,signal:14,autonumber:15,activate:16,deactivate:17,note_statement:18,title:19,text2:20,loop:21,end:22,rect:23,opt:24,alt:25,else_sections:26,par:27,par_sections:28,and:29,else:30,note:31,placement:32,over:33,actor_pair:34,spaceList:35,",":36,left_of:37,right_of:38,signaltype:39,"+":40,"-":41,ACTOR:42,SOLID_OPEN_ARROW:43,DOTTED_OPEN_ARROW:44,SOLID_ARROW:45,DOTTED_ARROW:46,SOLID_CROSS:47,DOTTED_CROSS:48,TXT:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",10:"participant",12:"AS",13:"restOfLine",15:"autonumber",16:"activate",17:"deactivate",19:"title",21:"loop",22:"end",23:"rect",24:"opt",25:"alt",27:"par",29:"and",30:"else",31:"note",33:"over",36:",",37:"left_of",38:"right_of",40:"+",41:"-",42:"ACTOR",43:"SOLID_OPEN_ARROW",44:"DOTTED_OPEN_ARROW",45:"SOLID_ARROW",46:"DOTTED_ARROW",47:"SOLID_CROSS",48:"DOTTED_CROSS",49:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,5],[9,3],[9,2],[9,1],[9,3],[9,3],[9,2],[9,3],[9,4],[9,4],[9,4],[9,4],[9,4],[28,1],[28,4],[26,1],[26,4],[18,4],[18,4],[35,2],[35,1],[34,3],[34,1],[32,1],[32,1],[14,5],[14,5],[14,4],[11,1],[39,1],[39,1],[39,1],[39,1],[39,1],[39,1],[20,1]],performAction:function(t,e,n,r,i,o,a){var s=o.length-1;switch(i){case 3:return r.apply(o[s]),o[s];case 4:this.$=[];break;case 5:o[s-1].push(o[s]),this.$=o[s-1];break;case 6:case 7:this.$=o[s];break;case 8:this.$=[];break;case 9:o[s-3].description=o[s-1],this.$=o[s-3];break;case 10:this.$=o[s-1];break;case 12:r.enableSequenceNumbers();break;case 13:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:o[s-1]};break;case 14:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:o[s-1]};break;case 16:this.$=[{type:"setTitle",text:o[s-1]}];break;case 17:o[s-1].unshift({type:"loopStart",loopText:o[s-2],signalType:r.LINETYPE.LOOP_START}),o[s-1].push({type:"loopEnd",loopText:o[s-2],signalType:r.LINETYPE.LOOP_END}),this.$=o[s-1];break;case 18:o[s-1].unshift({type:"rectStart",color:o[s-2],signalType:r.LINETYPE.RECT_START}),o[s-1].push({type:"rectEnd",color:o[s-2],signalType:r.LINETYPE.RECT_END}),this.$=o[s-1];break;case 19:o[s-1].unshift({type:"optStart",optText:o[s-2],signalType:r.LINETYPE.OPT_START}),o[s-1].push({type:"optEnd",optText:o[s-2],signalType:r.LINETYPE.OPT_END}),this.$=o[s-1];break;case 20:o[s-1].unshift({type:"altStart",altText:o[s-2],signalType:r.LINETYPE.ALT_START}),o[s-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=o[s-1];break;case 21:o[s-1].unshift({type:"parStart",parText:o[s-2],signalType:r.LINETYPE.PAR_START}),o[s-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=o[s-1];break;case 23:this.$=o[s-3].concat([{type:"and",parText:o[s-1],signalType:r.LINETYPE.PAR_AND},o[s]]);break;case 25:this.$=o[s-3].concat([{type:"else",altText:o[s-1],signalType:r.LINETYPE.ALT_ELSE},o[s]]);break;case 26:this.$=[o[s-1],{type:"addNote",placement:o[s-2],actor:o[s-1].actor,text:o[s]}];break;case 27:o[s-2]=[].concat(o[s-1],o[s-1]).slice(0,2),o[s-2][0]=o[s-2][0].actor,o[s-2][1]=o[s-2][1].actor,this.$=[o[s-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:o[s-2].slice(0,2),text:o[s]}];break;case 30:this.$=[o[s-2],o[s]];break;case 31:this.$=o[s];break;case 32:this.$=r.PLACEMENT.LEFTOF;break;case 33:this.$=r.PLACEMENT.RIGHTOF;break;case 34:this.$=[o[s-4],o[s-1],{type:"addMessage",from:o[s-4].actor,to:o[s-1].actor,signalType:o[s-3],msg:o[s]},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:o[s-1]}];break;case 35:this.$=[o[s-4],o[s-1],{type:"addMessage",from:o[s-4].actor,to:o[s-1].actor,signalType:o[s-3],msg:o[s]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:o[s-4]}];break;case 36:this.$=[o[s-3],o[s-1],{type:"addMessage",from:o[s-3].actor,to:o[s-1].actor,signalType:o[s-2],msg:o[s]}];break;case 37:this.$={type:"addActor",actor:o[s]};break;case 38:this.$=r.LINETYPE.SOLID_OPEN;break;case 39:this.$=r.LINETYPE.DOTTED_OPEN;break;case 40:this.$=r.LINETYPE.SOLID;break;case 41:this.$=r.LINETYPE.DOTTED;break;case 42:this.$=r.LINETYPE.SOLID_CROSS;break;case 43:this.$=r.LINETYPE.DOTTED_CROSS;break;case 44:this.$=o[s].substring(1).trim().replace(/\\n/gm,"\n")}},table:[{3:1,4:e,5:n,6:r},{1:[3]},{3:5,4:e,5:n,6:r},{3:6,4:e,5:n,6:r},t([1,4,5,10,15,16,17,19,21,23,24,25,27,31,42],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:a,8:8,9:10,10:s,11:24,14:13,15:l,16:c,17:u,18:17,19:h,21:d,23:f,24:p,25:g,27:m,31:v,42:y},t(b,[2,5]),{9:27,10:s,11:24,14:13,15:l,16:c,17:u,18:17,19:h,21:d,23:f,24:p,25:g,27:m,31:v,42:y},t(b,[2,7]),t(b,[2,8]),{11:28,42:y},{5:[1,29]},t(b,[2,12]),{11:30,42:y},{11:31,42:y},{5:[1,32]},{20:33,49:_},{13:[1,35]},{13:[1,36]},{13:[1,37]},{13:[1,38]},{13:[1,39]},{39:40,43:[1,41],44:[1,42],45:[1,43],46:[1,44],47:[1,45],48:[1,46]},{32:47,33:[1,48],37:[1,49],38:[1,50]},t([5,12,36,43,44,45,46,47,48,49],[2,37]),t(b,[2,6]),{5:[1,52],12:[1,51]},t(b,[2,11]),{5:[1,53]},{5:[1,54]},t(b,[2,15]),{5:[1,55]},{5:[2,44]},t(x,i,{7:56}),t(x,i,{7:57}),t(x,i,{7:58}),t(w,i,{26:59,7:60}),t(S,i,{28:61,7:62}),{11:65,40:[1,63],41:[1,64],42:y},t(k,[2,38]),t(k,[2,39]),t(k,[2,40]),t(k,[2,41]),t(k,[2,42]),t(k,[2,43]),{11:66,42:y},{11:68,34:67,42:y},{42:[2,32]},{42:[2,33]},{13:[1,69]},t(b,[2,10]),t(b,[2,13]),t(b,[2,14]),t(b,[2,16]),{4:o,5:a,8:8,9:10,10:s,11:24,14:13,15:l,16:c,17:u,18:17,19:h,21:d,22:[1,70],23:f,24:p,25:g,27:m,31:v,42:y},{4:o,5:a,8:8,9:10,10:s,11:24,14:13,15:l,16:c,17:u,18:17,19:h,21:d,22:[1,71],23:f,24:p,25:g,27:m,31:v,42:y},{4:o,5:a,8:8,9:10,10:s,11:24,14:13,15:l,16:c,17:u,18:17,19:h,21:d,22:[1,72],23:f,24:p,25:g,27:m,31:v,42:y},{22:[1,73]},{4:o,5:a,8:8,9:10,10:s,11:24,14:13,15:l,16:c,17:u,18:17,19:h,21:d,22:[2,24],23:f,24:p,25:g,27:m,30:[1,74],31:v,42:y},{22:[1,75]},{4:o,5:a,8:8,9:10,10:s,11:24,14:13,15:l,16:c,17:u,18:17,19:h,21:d,22:[2,22],23:f,24:p,25:g,27:m,29:[1,76],31:v,42:y},{11:77,42:y},{11:78,42:y},{20:79,49:_},{20:80,49:_},{20:81,49:_},{36:[1,82],49:[2,31]},{5:[1,83]},t(b,[2,17]),t(b,[2,18]),t(b,[2,19]),t(b,[2,20]),{13:[1,84]},t(b,[2,21]),{13:[1,85]},{20:86,49:_},{20:87,49:_},{5:[2,36]},{5:[2,26]},{5:[2,27]},{11:88,42:y},t(b,[2,9]),t(w,i,{7:60,26:89}),t(S,i,{7:62,28:90}),{5:[2,34]},{5:[2,35]},{49:[2,30]},{22:[2,25]},{22:[2,23]}],defaultActions:{5:[2,1],6:[2,2],34:[2,44],49:[2,32],50:[2,33],79:[2,36],80:[2,26],81:[2,27],86:[2,34],87:[2,35],88:[2,30],89:[2,25],90:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],o=[],a=this.table,s="",l=0,c=0,u=0,h=2,d=1,f=o.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(g.yy[m]=this.yy[m]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var v=p.yylloc;o.push(v);var y=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||d)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var _,x,w,S,k,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?S=this.defaultActions[w]:(null==_&&(_=b()),S=a[w]&&a[w][_]),void 0===S||!S.length||!S[0]){var M="";for(C in T=[],a[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==d?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:v,expected:T})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+_);switch(S[0]){case 1:n.push(_),i.push(p.yytext),o.push(p.yylloc),n.push(S[1]),_=null,x?(_=x,x=null):(c=p.yyleng,s=p.yytext,l=p.yylineno,v=p.yylloc,u>0&&u--);break;case 2:if(E.$=i[i.length-(A=this.productions_[S[1]][1])],E._$={first_line:o[o.length-(A||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(A||1)].first_column,last_column:o[o.length-1].last_column},y&&(E._$.range=[o[o.length-(A||1)].range[0],o[o.length-1].range[1]]),void 0!==(k=this.performAction.apply(E,[s,c,l,g.yy,S[1],i,o].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),o=o.slice(0,-1*A)),n.push(this.productions_[S[1]][0]),i.push(E.$),o.push(E._$),n.push(a[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function A(){this.yy={}}return C.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var o in i)this[o]=i[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),o=0;oe[0].length)){if(e=n,r=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[o])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 5;case 1:case 2:case 3:case 4:break;case 5:return this.begin("ID"),10;case 6:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),42;case 7:return this.popState(),this.popState(),this.begin("LINE"),12;case 8:return this.popState(),this.popState(),5;case 9:return this.begin("LINE"),21;case 10:return this.begin("LINE"),23;case 11:return this.begin("LINE"),24;case 12:return this.begin("LINE"),25;case 13:return this.begin("LINE"),30;case 14:return this.begin("LINE"),27;case 15:return this.begin("LINE"),29;case 16:return this.popState(),13;case 17:return 22;case 18:return 37;case 19:return 38;case 20:return 33;case 21:return 31;case 22:return this.begin("ID"),16;case 23:return this.begin("ID"),17;case 24:return 19;case 25:return 6;case 26:return 15;case 27:return 36;case 28:return 5;case 29:return e.yytext=e.yytext.trim(),42;case 30:return 45;case 31:return 46;case 32:return 43;case 33:return 44;case 34:return 47;case 35:return 48;case 36:return 49;case 37:return 40;case 38:return 41;case 39:return 5;case 40:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:participant\b)/i,/^(?:[^\->:\n,;]+?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\b)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?::[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[2,3,16],inclusive:!1},ALIAS:{rules:[2,3,7,8],inclusive:!1},ID:{rules:[2,3,6],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,9,10,11,12,13,14,15,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],inclusive:!0}}},A.prototype=C,C.Parser=A,new A}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e){t.exports=n("EiaH")},function(t,e){t.exports=n("4Ai+")},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var l,c=[],u=!1,h=-1;function d(){u&&l&&(u=!1,l.length?c=l.concat(c):h=-1,c.length&&f())}function f(){if(!u){var t=s(d);u=!0;for(var e=c.length;e;){for(l=c,c=[];++h1)for(var n=1;n=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r=-1&&!i;o--){var a=o>=0?arguments[o]:t.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(e=a+"/"+e,i="/"===a.charAt(0))}return(i?"/":"")+(e=n(r(e.split("/"),(function(t){return!!t})),!i).join("/"))||"."},e.normalize=function(t){var o=e.isAbsolute(t),a="/"===i(t,-1);return(t=n(r(t.split("/"),(function(t){return!!t})),!o).join("/"))||o||(t="."),t&&a&&(t+="/"),(o?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),o=r(n.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l=1;--o)if(47===(e=t.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=function(t){"string"!=typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,o=0,a=t.length-1;a>=0;--a){var s=t.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===e?e=a:1!==o&&(o=1):-1!==e&&(o=-1);else if(!i){n=a+1;break}}return-1===e||-1===r||0===o||1===o&&e===r-1&&e===n+1?"":t.slice(e,r)};var i="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n(4))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,8,10,11,12,13,14,15,16,18,20],n=[1,9],r=[1,10],i=[1,11],o=[1,12],a=[1,13],s=[1,14],l=[1,16],c=[1,17],u={trace:function(){},yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,dateFormat:11,inclusiveEndDates:12,axisFormat:13,excludes:14,title:15,section:16,clickStatement:17,taskTxt:18,taskData:19,click:20,callbackname:21,callbackargs:22,href:23,clickStatementDebug:24,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",11:"dateFormat",12:"inclusiveEndDates",13:"axisFormat",14:"excludes",15:"title",16:"section",18:"taskTxt",19:"taskData",20:"click",21:"callbackname",22:"callbackargs",23:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[17,2],[17,3],[17,3],[17,4],[17,3],[17,4],[17,2],[24,2],[24,3],[24,3],[24,4],[24,3],[24,4],[24,2]],performAction:function(t,e,n,r,i,o,a){var s=o.length-1;switch(i){case 1:return o[s-1];case 2:this.$=[];break;case 3:o[s-1].push(o[s]),this.$=o[s-1];break;case 4:case 5:this.$=o[s];break;case 6:case 7:this.$=[];break;case 8:r.setDateFormat(o[s].substr(11)),this.$=o[s].substr(11);break;case 9:r.enableInclusiveEndDates(),this.$=o[s].substr(18);break;case 10:r.setAxisFormat(o[s].substr(11)),this.$=o[s].substr(11);break;case 11:r.setExcludes(o[s].substr(9)),this.$=o[s].substr(9);break;case 12:r.setTitle(o[s].substr(6)),this.$=o[s].substr(6);break;case 13:r.addSection(o[s].substr(8)),this.$=o[s].substr(8);break;case 15:r.addTask(o[s-1],o[s]),this.$="task";break;case 16:this.$=o[s-1],r.setClickEvent(o[s-1],o[s],null);break;case 17:this.$=o[s-2],r.setClickEvent(o[s-2],o[s-1],o[s]);break;case 18:this.$=o[s-2],r.setClickEvent(o[s-2],o[s-1],null),r.setLink(o[s-2],o[s]);break;case 19:this.$=o[s-3],r.setClickEvent(o[s-3],o[s-2],o[s-1]),r.setLink(o[s-3],o[s]);break;case 20:this.$=o[s-2],r.setClickEvent(o[s-2],o[s],null),r.setLink(o[s-2],o[s-1]);break;case 21:this.$=o[s-3],r.setClickEvent(o[s-3],o[s-1],o[s]),r.setLink(o[s-3],o[s-2]);break;case 22:this.$=o[s-1],r.setLink(o[s-1],o[s]);break;case 23:case 29:this.$=o[s-1]+" "+o[s];break;case 24:case 25:case 27:this.$=o[s-2]+" "+o[s-1]+" "+o[s];break;case 26:case 28:this.$=o[s-3]+" "+o[s-2]+" "+o[s-1]+" "+o[s]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:r,13:i,14:o,15:a,16:s,17:15,18:l,20:c},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:n,12:r,13:i,14:o,15:a,16:s,17:15,18:l,20:c},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),{19:[1,19]},{21:[1,20],23:[1,21]},t(e,[2,4]),t(e,[2,15]),t(e,[2,16],{22:[1,22],23:[1,23]}),t(e,[2,22],{21:[1,24]}),t(e,[2,17],{23:[1,25]}),t(e,[2,18]),t(e,[2,20],{22:[1,26]}),t(e,[2,19]),t(e,[2,21])],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],o=[],a=this.table,s="",l=0,c=0,u=0,h=2,d=1,f=o.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(g.yy[m]=this.yy[m]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var v=p.yylloc;o.push(v);var y=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||d)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var _,x,w,S,k,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?S=this.defaultActions[w]:(null==_&&(_=b()),S=a[w]&&a[w][_]),void 0===S||!S.length||!S[0]){var M="";for(C in T=[],a[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==d?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:v,expected:T})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+_);switch(S[0]){case 1:n.push(_),i.push(p.yytext),o.push(p.yylloc),n.push(S[1]),_=null,x?(_=x,x=null):(c=p.yyleng,s=p.yytext,l=p.yylineno,v=p.yylloc,u>0&&u--);break;case 2:if(E.$=i[i.length-(A=this.productions_[S[1]][1])],E._$={first_line:o[o.length-(A||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(A||1)].first_column,last_column:o[o.length-1].last_column},y&&(E._$.range=[o[o.length-(A||1)].range[0],o[o.length-1].range[1]]),void 0!==(k=this.performAction.apply(E,[s,c,l,g.yy,S[1],i,o].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),o=o.slice(0,-1*A)),n.push(this.productions_[S[1]][0]),i.push(E.$),o.push(E._$),n.push(a[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function h(){this.yy={}}return u.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var o in i)this[o]=i[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),o=0;oe[0].length)){if(e=n,r=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[o])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 10;case 1:case 2:case 3:break;case 4:this.begin("href");break;case 5:this.popState();break;case 6:return 23;case 7:this.begin("callbackname");break;case 8:this.popState();break;case 9:this.popState(),this.begin("callbackargs");break;case 10:return 21;case 11:this.popState();break;case 12:return 22;case 13:this.begin("click");break;case 14:this.popState();break;case 15:return 20;case 16:return 4;case 17:return 11;case 18:return 12;case 19:return 13;case 20:return 14;case 21:return"date";case 22:return 15;case 23:return 16;case 24:return 18;case 25:return 19;case 26:return":";case 27:return 6;case 28:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{callbackargs:{rules:[11,12],inclusive:!1},callbackname:{rules:[8,9,10],inclusive:!1},href:{rules:[5,6],inclusive:!1},click:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,7,13,16,17,18,19,20,21,22,23,24,25,26,27,28],inclusive:!0}}},h.prototype=u,u.Parser=h,new h}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,4],n=[1,3],r=[1,5],i=[1,8,9,10,11,26,34,61,62,63,64,65,66,76,77,80,81,82,84,85,91,92,93,94,95,96],o=[2,2],a=[1,12],s=[1,13],l=[1,14],c=[1,15],u=[1,22],h=[1,46],d=[1,24],f=[1,25],p=[1,26],g=[1,27],m=[1,28],v=[1,40],y=[1,35],b=[1,37],_=[1,32],x=[1,36],w=[1,39],S=[1,43],k=[1,44],C=[1,45],A=[1,34],T=[1,38],E=[1,41],M=[1,42],D=[1,33],I=[1,51],O=[1,8,9,10,11,26,30,34,61,62,63,64,65,66,76,77,80,81,82,84,85,91,92,93,94,95,96],P=[1,55],L=[1,54],R=[1,56],N=[8,9,11,55,56],z=[8,9,10,11,55,56],F=[8,9,10,11,35,55,56],B=[8,9,10,11,28,34,35,37,39,41,43,45,47,48,50,55,56,66,76,77,80,81,82,84,85,91,92,93,94,95,96],V=[8,9,11,34,55,56,66,76,77,80,81,82,84,85,91,92,93,94,95,96],j=[34,66,76,77,80,81,82,84,85,91,92,93,94,95,96],Y=[1,100],U=[1,121],G=[1,122],H=[1,123],q=[1,124],W=[1,104],$=[1,95],Z=[1,96],X=[1,92],K=[1,116],Q=[1,117],J=[1,118],tt=[1,119],et=[1,120],nt=[1,125],rt=[1,126],it=[1,98],ot=[1,106],at=[1,109],st=[1,107],lt=[1,108],ct=[1,101],ut=[1,114],ht=[1,113],dt=[1,97],ft=[1,94],pt=[1,103],gt=[1,105],mt=[1,110],vt=[1,111],yt=[1,112],bt=[1,115],_t=[8,9,10,11,26,30,34,61,62,63,64,65,66,76,77,80,81,82,84,85,91,92,93,94,95,96],xt=[1,129],wt=[1,133],St=[1,135],kt=[1,136],Ct=[8,9,10,11,12,13,26,28,29,30,34,38,40,42,44,46,47,49,51,55,56,57,61,62,63,64,65,66,67,70,76,77,80,81,82,84,85,86,87,91,92,93,94,95,96],At=[8,9,10,11,13,34,66,76,77,80,81,82,84,85,91,92,93,94,95,96],Tt=[10,77],Et=[1,201],Mt=[1,205],Dt=[1,202],It=[1,199],Ot=[1,196],Pt=[1,197],Lt=[1,198],Rt=[1,200],Nt=[1,203],zt=[1,204],Ft=[1,206],Bt=[8,9,11],Vt=[1,222],jt=[8,9,11,77],Yt=[8,9,10,11,61,73,76,77,80,81,82,83,84,85,86],Ut={trace:function(){},yy:{},symbols_:{error:2,mermaidDoc:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,DIR:13,FirstStmtSeperator:14,ending:15,endToken:16,spaceList:17,spaceListNewline:18,verticeStatement:19,separator:20,styleStatement:21,linkStyleStatement:22,classDefStatement:23,classStatement:24,clickStatement:25,subgraph:26,text:27,SQS:28,SQE:29,end:30,link:31,node:32,vertex:33,AMP:34,STYLE_SEPARATOR:35,idString:36,PS:37,PE:38,"(-":39,"-)":40,STADIUMSTART:41,STADIUMEND:42,CYLINDERSTART:43,CYLINDEREND:44,DIAMOND_START:45,DIAMOND_STOP:46,TAGEND:47,TRAPSTART:48,TRAPEND:49,INVTRAPSTART:50,INVTRAPEND:51,linkStatement:52,arrowText:53,TESTSTR:54,START_LINK:55,LINK:56,PIPE:57,textToken:58,STR:59,keywords:60,STYLE:61,LINKSTYLE:62,CLASSDEF:63,CLASS:64,CLICK:65,DOWN:66,UP:67,textNoTags:68,textNoTagsToken:69,DEFAULT:70,stylesOpt:71,alphaNum:72,HEX:73,numList:74,INTERPOLATE:75,NUM:76,COMMA:77,style:78,styleComponent:79,ALPHA:80,COLON:81,MINUS:82,UNIT:83,BRKT:84,DOT:85,PCT:86,TAGSTART:87,alphaNumToken:88,idStringToken:89,alphaNumStatement:90,PUNCTUATION:91,UNICODE_TEXT:92,PLUS:93,EQUALS:94,MULT:95,UNDERSCORE:96,graphCodeTokens:97,ARROW_CROSS:98,ARROW_POINT:99,ARROW_CIRCLE:100,ARROW_OPEN:101,QUOTE:102,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"DIR",26:"subgraph",28:"SQS",29:"SQE",30:"end",34:"AMP",35:"STYLE_SEPARATOR",37:"PS",38:"PE",39:"(-",40:"-)",41:"STADIUMSTART",42:"STADIUMEND",43:"CYLINDERSTART",44:"CYLINDEREND",45:"DIAMOND_START",46:"DIAMOND_STOP",47:"TAGEND",48:"TRAPSTART",49:"TRAPEND",50:"INVTRAPSTART",51:"INVTRAPEND",54:"TESTSTR",55:"START_LINK",56:"LINK",57:"PIPE",59:"STR",61:"STYLE",62:"LINKSTYLE",63:"CLASSDEF",64:"CLASS",65:"CLICK",66:"DOWN",67:"UP",70:"DEFAULT",73:"HEX",75:"INTERPOLATE",76:"NUM",77:"COMMA",80:"ALPHA",81:"COLON",82:"MINUS",83:"UNIT",84:"BRKT",85:"DOT",86:"PCT",87:"TAGSTART",91:"PUNCTUATION",92:"UNICODE_TEXT",93:"PLUS",94:"EQUALS",95:"MULT",96:"UNDERSCORE",98:"ARROW_CROSS",99:"ARROW_POINT",100:"ARROW_CIRCLE",101:"ARROW_OPEN",102:"QUOTE"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,3],[15,2],[15,1],[16,1],[16,1],[16,1],[14,1],[14,1],[14,2],[18,2],[18,2],[18,1],[18,1],[17,2],[17,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[20,1],[20,1],[20,1],[19,3],[19,4],[19,2],[19,1],[32,1],[32,5],[32,3],[33,4],[33,6],[33,4],[33,4],[33,4],[33,4],[33,4],[33,6],[33,4],[33,4],[33,4],[33,4],[33,4],[33,1],[31,2],[31,3],[31,3],[31,1],[31,3],[52,1],[53,3],[27,1],[27,2],[27,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[68,1],[68,2],[23,5],[23,5],[24,5],[25,5],[25,7],[25,5],[25,7],[21,5],[21,5],[22,5],[22,5],[22,9],[22,9],[22,7],[22,7],[74,1],[74,3],[71,1],[71,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[69,1],[69,1],[69,1],[69,1],[36,1],[36,2],[72,1],[72,2],[90,1],[90,1],[90,1],[90,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1]],performAction:function(t,e,n,r,i,o,a){var s=o.length-1;switch(i){case 2:this.$=[];break;case 3:o[s]!==[]&&o[s-1].push(o[s]),this.$=o[s-1];break;case 4:case 66:case 68:case 80:case 126:case 128:case 129:this.$=o[s];break;case 11:r.setDirection(o[s-1]),this.$=o[s-1];break;case 26:this.$=o[s-1].nodes;break;case 27:case 28:case 29:case 30:case 31:this.$=[];break;case 32:this.$=r.addSubGraph(o[s-6],o[s-1],o[s-4]);break;case 33:this.$=r.addSubGraph(o[s-3],o[s-1],o[s-3]);break;case 34:this.$=r.addSubGraph(void 0,o[s-1],void 0);break;case 38:r.addLink(o[s-2].stmt,o[s],o[s-1]),this.$={stmt:o[s],nodes:o[s].concat(o[s-2].nodes)};break;case 39:r.addLink(o[s-3].stmt,o[s-1],o[s-2]),this.$={stmt:o[s-1],nodes:o[s-1].concat(o[s-3].nodes)};break;case 40:this.$={stmt:o[s-1],nodes:o[s-1]};break;case 41:this.$={stmt:o[s],nodes:o[s]};break;case 42:this.$=[o[s]];break;case 43:this.$=o[s-4].concat(o[s]);break;case 44:this.$=[o[s-2]],r.setClass(o[s-2],o[s]);break;case 45:this.$=o[s-3],r.addVertex(o[s-3],o[s-1],"square");break;case 46:this.$=o[s-5],r.addVertex(o[s-5],o[s-2],"circle");break;case 47:this.$=o[s-3],r.addVertex(o[s-3],o[s-1],"ellipse");break;case 48:this.$=o[s-3],r.addVertex(o[s-3],o[s-1],"stadium");break;case 49:this.$=o[s-3],r.addVertex(o[s-3],o[s-1],"cylinder");break;case 50:this.$=o[s-3],r.addVertex(o[s-3],o[s-1],"round");break;case 51:this.$=o[s-3],r.addVertex(o[s-3],o[s-1],"diamond");break;case 52:this.$=o[s-5],r.addVertex(o[s-5],o[s-2],"hexagon");break;case 53:this.$=o[s-3],r.addVertex(o[s-3],o[s-1],"odd");break;case 54:this.$=o[s-3],r.addVertex(o[s-3],o[s-1],"trapezoid");break;case 55:this.$=o[s-3],r.addVertex(o[s-3],o[s-1],"inv_trapezoid");break;case 56:this.$=o[s-3],r.addVertex(o[s-3],o[s-1],"lean_right");break;case 57:this.$=o[s-3],r.addVertex(o[s-3],o[s-1],"lean_left");break;case 58:this.$=o[s],r.addVertex(o[s]);break;case 59:o[s-1].text=o[s],this.$=o[s-1];break;case 60:case 61:o[s-2].text=o[s-1],this.$=o[s-2];break;case 62:this.$=o[s];break;case 63:var l=r.destructLink(o[s],o[s-2]);this.$={type:l.type,stroke:l.stroke,text:o[s-1]};break;case 64:l=r.destructLink(o[s]),this.$={type:l.type,stroke:l.stroke};break;case 65:this.$=o[s-1];break;case 67:case 81:case 127:this.$=o[s-1]+""+o[s];break;case 82:case 83:this.$=o[s-4],r.addClass(o[s-2],o[s]);break;case 84:this.$=o[s-4],r.setClass(o[s-2],o[s]);break;case 85:this.$=o[s-4],r.setClickEvent(o[s-2],o[s],void 0);break;case 86:this.$=o[s-6],r.setClickEvent(o[s-4],o[s-2],o[s]);break;case 87:this.$=o[s-4],r.setLink(o[s-2],o[s],void 0);break;case 88:this.$=o[s-6],r.setLink(o[s-4],o[s-2],o[s]);break;case 89:this.$=o[s-4],r.addVertex(o[s-2],void 0,void 0,o[s]);break;case 90:case 92:this.$=o[s-4],r.updateLink(o[s-2],o[s]);break;case 91:this.$=o[s-4],r.updateLink([o[s-2]],o[s]);break;case 93:this.$=o[s-8],r.updateLinkInterpolate([o[s-6]],o[s-2]),r.updateLink([o[s-6]],o[s]);break;case 94:this.$=o[s-8],r.updateLinkInterpolate(o[s-6],o[s-2]),r.updateLink(o[s-6],o[s]);break;case 95:this.$=o[s-6],r.updateLinkInterpolate([o[s-4]],o[s]);break;case 96:this.$=o[s-6],r.updateLinkInterpolate(o[s-4],o[s]);break;case 97:case 99:this.$=[o[s]];break;case 98:case 100:o[s-2].push(o[s]),this.$=o[s-2];break;case 102:this.$=o[s-1]+o[s];break;case 124:this.$=o[s];break;case 125:this.$=o[s-1]+""+o[s];break;case 130:this.$="v";break;case 131:this.$="-"}},table:[{3:1,4:2,9:e,10:n,12:r},{1:[3]},t(i,o,{5:6}),{4:7,9:e,10:n,12:r},{4:8,9:e,10:n,12:r},{13:[1,9]},{1:[2,1],6:10,7:11,8:a,9:s,10:l,11:c,19:16,21:17,22:18,23:19,24:20,25:21,26:u,32:23,33:29,34:h,36:30,61:d,62:f,63:p,64:g,65:m,66:v,76:y,77:b,80:_,81:x,82:w,84:S,85:k,89:31,91:C,92:A,93:T,94:E,95:M,96:D},t(i,[2,9]),t(i,[2,10]),{8:[1,48],9:[1,49],10:I,14:47,17:50},t(O,[2,3]),t(O,[2,4]),t(O,[2,5]),t(O,[2,6]),t(O,[2,7]),t(O,[2,8]),{8:P,9:L,11:R,20:52,31:53,52:57,55:[1,58],56:[1,59]},{8:P,9:L,11:R,20:60},{8:P,9:L,11:R,20:61},{8:P,9:L,11:R,20:62},{8:P,9:L,11:R,20:63},{8:P,9:L,11:R,20:64},{8:P,9:L,10:[1,65],11:R,20:66},t(N,[2,41],{17:67,10:I}),{10:[1,68]},{10:[1,69]},{10:[1,70]},{10:[1,71]},{10:[1,72]},t(z,[2,42],{35:[1,73]}),t(F,[2,58],{89:83,28:[1,74],34:h,37:[1,75],39:[1,76],41:[1,77],43:[1,78],45:[1,79],47:[1,80],48:[1,81],50:[1,82],66:v,76:y,77:b,80:_,81:x,82:w,84:S,85:k,91:C,92:A,93:T,94:E,95:M,96:D}),t(B,[2,124]),t(B,[2,145]),t(B,[2,146]),t(B,[2,147]),t(B,[2,148]),t(B,[2,149]),t(B,[2,150]),t(B,[2,151]),t(B,[2,152]),t(B,[2,153]),t(B,[2,154]),t(B,[2,155]),t(B,[2,156]),t(B,[2,157]),t(B,[2,158]),t(B,[2,159]),t(i,[2,11]),t(i,[2,17]),t(i,[2,18]),{9:[1,84]},t(V,[2,25],{17:85,10:I}),t(O,[2,26]),{32:86,33:29,34:h,36:30,66:v,76:y,77:b,80:_,81:x,82:w,84:S,85:k,89:31,91:C,92:A,93:T,94:E,95:M,96:D},t(O,[2,35]),t(O,[2,36]),t(O,[2,37]),t(j,[2,62],{53:87,54:[1,88],57:[1,89]}),{10:Y,12:U,13:G,26:H,27:90,30:q,34:W,47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},t([34,54,57,66,76,77,80,81,82,84,85,91,92,93,94,95,96],[2,64]),t(O,[2,27]),t(O,[2,28]),t(O,[2,29]),t(O,[2,30]),t(O,[2,31]),{10:Y,12:U,13:G,26:H,27:127,30:q,34:W,47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},t(_t,o,{5:128}),t(N,[2,40],{34:xt}),{13:wt,34:W,66:St,72:130,73:[1,131],76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,88:134,90:132,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{70:[1,137],74:138,76:[1,139]},{13:wt,34:W,66:St,70:[1,140],72:141,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,88:134,90:132,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{13:wt,34:W,66:St,72:142,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,88:134,90:132,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{13:wt,34:W,66:St,72:143,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,88:134,90:132,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{34:h,36:144,66:v,76:y,77:b,80:_,81:x,82:w,84:S,85:k,89:31,91:C,92:A,93:T,94:E,95:M,96:D},{10:Y,12:U,13:G,26:H,27:145,30:q,34:W,47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,27:147,30:q,34:W,37:[1,146],47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,27:148,30:q,34:W,47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,27:149,30:q,34:W,47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,27:150,30:q,34:W,47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,27:151,30:q,34:W,45:[1,152],47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,27:153,30:q,34:W,47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,27:154,30:q,34:W,47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,27:155,30:q,34:W,47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},t(B,[2,125]),t(i,[2,19]),t(V,[2,24]),t(N,[2,38],{17:156,10:I}),t(j,[2,59],{10:[1,157]}),{10:[1,158]},{10:Y,12:U,13:G,26:H,27:159,30:q,34:W,47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,30:q,34:W,47:$,55:Z,56:[1,160],58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},t(Ct,[2,66]),t(Ct,[2,68]),t(Ct,[2,114]),t(Ct,[2,115]),t(Ct,[2,116]),t(Ct,[2,117]),t(Ct,[2,118]),t(Ct,[2,119]),t(Ct,[2,120]),t(Ct,[2,121]),t(Ct,[2,122]),t(Ct,[2,123]),t(Ct,[2,132]),t(Ct,[2,133]),t(Ct,[2,134]),t(Ct,[2,135]),t(Ct,[2,136]),t(Ct,[2,137]),t(Ct,[2,138]),t(Ct,[2,139]),t(Ct,[2,140]),t(Ct,[2,141]),t(Ct,[2,142]),t(Ct,[2,143]),t(Ct,[2,144]),t(Ct,[2,69]),t(Ct,[2,70]),t(Ct,[2,71]),t(Ct,[2,72]),t(Ct,[2,73]),t(Ct,[2,74]),t(Ct,[2,75]),t(Ct,[2,76]),t(Ct,[2,77]),t(Ct,[2,78]),t(Ct,[2,79]),{8:P,9:L,10:Y,11:R,12:U,13:G,20:163,26:H,28:[1,162],30:q,34:W,47:$,55:Z,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{6:10,7:11,8:a,9:s,10:l,11:c,19:16,21:17,22:18,23:19,24:20,25:21,26:u,30:[1,164],32:23,33:29,34:h,36:30,61:d,62:f,63:p,64:g,65:m,66:v,76:y,77:b,80:_,81:x,82:w,84:S,85:k,89:31,91:C,92:A,93:T,94:E,95:M,96:D},{10:I,17:165},{10:[1,166],13:wt,34:W,66:St,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,88:134,90:167,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:[1,168]},t(At,[2,126]),t(At,[2,128]),t(At,[2,129]),t(At,[2,130]),t(At,[2,131]),{10:[1,169]},{10:[1,170],77:[1,171]},t(Tt,[2,97]),{10:[1,172]},{10:[1,173],13:wt,34:W,66:St,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,88:134,90:167,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:[1,174],13:wt,34:W,66:St,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,88:134,90:167,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:[1,175],13:wt,34:W,66:St,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,88:134,90:167,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},t(z,[2,44],{89:83,34:h,66:v,76:y,77:b,80:_,81:x,82:w,84:S,85:k,91:C,92:A,93:T,94:E,95:M,96:D}),{10:Y,12:U,13:G,26:H,29:[1,176],30:q,34:W,47:$,55:Z,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,27:177,30:q,34:W,47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,30:q,34:W,38:[1,178],47:$,55:Z,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,30:q,34:W,40:[1,179],47:$,55:Z,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,30:q,34:W,42:[1,180],47:$,55:Z,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,30:q,34:W,44:[1,181],47:$,55:Z,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,30:q,34:W,46:[1,182],47:$,55:Z,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,27:183,30:q,34:W,47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,29:[1,184],30:q,34:W,47:$,55:Z,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,30:q,34:W,47:$,49:[1,185],51:[1,186],55:Z,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{10:Y,12:U,13:G,26:H,30:q,34:W,47:$,49:[1,188],51:[1,187],55:Z,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},t(N,[2,39],{34:xt}),t(j,[2,61]),t(j,[2,60]),{10:Y,12:U,13:G,26:H,30:q,34:W,47:$,55:Z,57:[1,189],58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},t(j,[2,63]),t(Ct,[2,67]),{10:Y,12:U,13:G,26:H,27:190,30:q,34:W,47:$,55:Z,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},t(_t,o,{5:191}),t(O,[2,34]),{33:192,34:h,36:30,66:v,76:y,77:b,80:_,81:x,82:w,84:S,85:k,89:31,91:C,92:A,93:T,94:E,95:M,96:D},{10:Et,61:Mt,71:193,73:Dt,76:It,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},t(At,[2,127]),{10:Et,61:Mt,71:207,73:Dt,76:It,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},{10:Et,61:Mt,71:208,73:Dt,75:[1,209],76:It,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},{10:Et,61:Mt,71:210,73:Dt,75:[1,211],76:It,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},{76:[1,212]},{10:Et,61:Mt,71:213,73:Dt,76:It,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},{10:Et,61:Mt,71:214,73:Dt,76:It,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},{13:wt,34:W,66:St,72:215,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,88:134,90:132,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{13:wt,34:W,59:[1,217],66:St,72:216,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,88:134,90:132,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},t(F,[2,45]),{10:Y,12:U,13:G,26:H,30:q,34:W,38:[1,218],47:$,55:Z,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},t(F,[2,50]),t(F,[2,47]),t(F,[2,48]),t(F,[2,49]),t(F,[2,51]),{10:Y,12:U,13:G,26:H,30:q,34:W,46:[1,219],47:$,55:Z,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},t(F,[2,53]),t(F,[2,54]),t(F,[2,56]),t(F,[2,55]),t(F,[2,57]),t([10,34,66,76,77,80,81,82,84,85,91,92,93,94,95,96],[2,65]),{10:Y,12:U,13:G,26:H,29:[1,220],30:q,34:W,47:$,55:Z,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:ot,77:at,80:st,81:lt,82:ct,84:ut,85:ht,86:dt,87:ft,88:99,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{6:10,7:11,8:a,9:s,10:l,11:c,19:16,21:17,22:18,23:19,24:20,25:21,26:u,30:[1,221],32:23,33:29,34:h,36:30,61:d,62:f,63:p,64:g,65:m,66:v,76:y,77:b,80:_,81:x,82:w,84:S,85:k,89:31,91:C,92:A,93:T,94:E,95:M,96:D},t(z,[2,43]),t(Bt,[2,89],{77:Vt}),t(jt,[2,99],{79:223,10:Et,61:Mt,73:Dt,76:It,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft}),t(Yt,[2,101]),t(Yt,[2,103]),t(Yt,[2,104]),t(Yt,[2,105]),t(Yt,[2,106]),t(Yt,[2,107]),t(Yt,[2,108]),t(Yt,[2,109]),t(Yt,[2,110]),t(Yt,[2,111]),t(Yt,[2,112]),t(Yt,[2,113]),t(Bt,[2,90],{77:Vt}),t(Bt,[2,91],{77:Vt}),{10:[1,224]},t(Bt,[2,92],{77:Vt}),{10:[1,225]},t(Tt,[2,98]),t(Bt,[2,82],{77:Vt}),t(Bt,[2,83],{77:Vt}),t(Bt,[2,84],{88:134,90:167,13:wt,34:W,66:St,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt}),t(Bt,[2,85],{88:134,90:167,10:[1,226],13:wt,34:W,66:St,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt}),t(Bt,[2,87],{10:[1,227]}),{38:[1,228]},{46:[1,229]},{8:P,9:L,11:R,20:230},t(O,[2,33]),{10:Et,61:Mt,73:Dt,76:It,78:231,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},t(Yt,[2,102]),{13:wt,34:W,66:St,72:232,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,88:134,90:132,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{13:wt,34:W,66:St,72:233,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,88:134,90:132,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt},{59:[1,234]},{59:[1,235]},t(F,[2,46]),t(F,[2,52]),t(_t,o,{5:236}),t(jt,[2,100],{79:223,10:Et,61:Mt,73:Dt,76:It,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft}),t(Bt,[2,95],{88:134,90:167,10:[1,237],13:wt,34:W,66:St,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt}),t(Bt,[2,96],{88:134,90:167,10:[1,238],13:wt,34:W,66:St,76:ot,77:at,80:st,81:lt,82:kt,84:ut,85:ht,91:pt,92:gt,93:mt,94:vt,95:yt,96:bt}),t(Bt,[2,86]),t(Bt,[2,88]),{6:10,7:11,8:a,9:s,10:l,11:c,19:16,21:17,22:18,23:19,24:20,25:21,26:u,30:[1,239],32:23,33:29,34:h,36:30,61:d,62:f,63:p,64:g,65:m,66:v,76:y,77:b,80:_,81:x,82:w,84:S,85:k,89:31,91:C,92:A,93:T,94:E,95:M,96:D},{10:Et,61:Mt,71:240,73:Dt,76:It,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},{10:Et,61:Mt,71:241,73:Dt,76:It,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},t(O,[2,32]),t(Bt,[2,93],{77:Vt}),t(Bt,[2,94],{77:Vt})],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],o=[],a=this.table,s="",l=0,c=0,u=0,h=2,d=1,f=o.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(g.yy[m]=this.yy[m]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var v=p.yylloc;o.push(v);var y=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||d)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var _,x,w,S,k,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?S=this.defaultActions[w]:(null==_&&(_=b()),S=a[w]&&a[w][_]),void 0===S||!S.length||!S[0]){var M="";for(C in T=[],a[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==d?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:v,expected:T})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+_);switch(S[0]){case 1:n.push(_),i.push(p.yytext),o.push(p.yylloc),n.push(S[1]),_=null,x?(_=x,x=null):(c=p.yyleng,s=p.yytext,l=p.yylineno,v=p.yylloc,u>0&&u--);break;case 2:if(E.$=i[i.length-(A=this.productions_[S[1]][1])],E._$={first_line:o[o.length-(A||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(A||1)].first_column,last_column:o[o.length-1].last_column},y&&(E._$.range=[o[o.length-(A||1)].range[0],o[o.length-1].range[1]]),void 0!==(k=this.performAction.apply(E,[s,c,l,g.yy,S[1],i,o].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),o=o.slice(0,-1*A)),n.push(this.productions_[S[1]][0]),i.push(E.$),o.push(E._$),n.push(a[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function Gt(){this.yy={}}return Ut.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var o in i)this[o]=i[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),o=0;oe[0].length)){if(e=n,r=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[o])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:break;case 1:this.begin("string");break;case 2:this.popState();break;case 3:return"STR";case 4:return 61;case 5:return 70;case 6:return 62;case 7:return 75;case 8:return 63;case 9:return 64;case 10:return 65;case 11:case 12:return t.lex.firstGraph()&&this.begin("dir"),12;case 13:return 26;case 14:return 30;case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:return this.popState(),13;case 25:return 76;case 26:return 84;case 27:return 35;case 28:return 81;case 29:return 34;case 30:return 8;case 31:return 77;case 32:return 95;case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:return 56;case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:return 55;case 73:return 39;case 74:return 40;case 75:return 41;case 76:return 42;case 77:return 43;case 78:return 44;case 79:return 82;case 80:return 85;case 81:return 96;case 82:return 93;case 83:return 86;case 84:case 85:return 94;case 86:return 87;case 87:return 47;case 88:return 67;case 89:return"SEP";case 90:return 66;case 91:return 80;case 92:return 49;case 93:return 48;case 94:return 51;case 95:return 50;case 96:return 91;case 97:return 92;case 98:return 57;case 99:return 37;case 100:return 38;case 101:return 28;case 102:return 29;case 103:return 45;case 104:return 46;case 105:return 102;case 106:return 9;case 107:return 10;case 108:return 11}},rules:[/^(?:%%[^\n]*\n*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:click\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*--[x]\s*)/,/^(?:\s*-->\s*)/,/^(?:\s*<-->\s*)/,/^(?:\s*[x]--[x]\s*)/,/^(?:\s*[o]--[o]\s*)/,/^(?:\s*[o]\.-[o]\s*)/,/^(?:\s*<==>\s*)/,/^(?:\s*[o]==[o]\s*)/,/^(?:\s*[x]==[x]\s*)/,/^(?:\s*[x].-[x]\s*)/,/^(?:\s*[x]-\.-[x]\s*)/,/^(?:\s*<\.->\s*)/,/^(?:\s*<-\.->\s*)/,/^(?:\s*[o]-\.-[o]\s*)/,/^(?:\s*--[o]\s*)/,/^(?:\s*---\s*)/,/^(?:\s*-\.-[x]\s*)/,/^(?:\s*-\.->\s*)/,/^(?:\s*-\.-[o]\s*)/,/^(?:\s*-\.-\s*)/,/^(?:\s*.-[x]\s*)/,/^(?:\s*\.->\s*)/,/^(?:\s*\.-[o]\s*)/,/^(?:\s*\.-\s*)/,/^(?:\s*==[x]\s*)/,/^(?:\s*==>\s*)/,/^(?:\s*==[o]\s*)/,/^(?:\s*==[\=]\s*)/,/^(?:\s*<--\s*)/,/^(?:\s*[x]--\s*)/,/^(?:\s*[o]--\s*)/,/^(?:\s*<-\.\s*)/,/^(?:\s*[x]-\.\s*)/,/^(?:\s*[o]-\.\s*)/,/^(?:\s*<==\s*)/,/^(?:\s*[x]==\s*)/,/^(?:\s*[o]==\s*)/,/^(?:\s*--\s*)/,/^(?:\s*-\.\s*)/,/^(?:\s*==\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\()/,/^(?:\)\])/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r|\n|\r\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{vertex:{rules:[],inclusive:!1},dir:{rules:[15,16,17,18,19,20,21,22,23,24],inclusive:!1},string:{rules:[2,3],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,8,9,10,11,12,13,14,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,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108],inclusive:!0}}},Gt.prototype=Ut,Ut.Parser=Gt,new Gt}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e){t.exports=n("409L")},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,13],n=[1,16],r=[1,14],i=[1,15],o=[1,17],a=[1,18],s=[1,20],l=[1,21],c=[1,22],u=[6,8],h=[1,31],d=[1,32],f=[1,33],p=[1,34],g=[1,35],m=[1,36],v=[6,8,14,20,28,31,32,33,34,35,36],y=[6,8,12,14,20,24,28,31,32,33,34,35,36,52,53,54],b=[28,52,53,54],_=[28,35,36,52,53,54],x=[28,31,32,33,34,52,53,54],w=[6,8,14],S=[1,59],k={trace:function(){},yy:{},symbols_:{error:2,mermaidDoc:3,graphConfig:4,CLASS_DIAGRAM:5,NEWLINE:6,statements:7,EOF:8,statement:9,className:10,alphaNumToken:11,GENERICTYPE:12,relationStatement:13,LABEL:14,classStatement:15,methodStatement:16,annotationStatement:17,clickStatement:18,CLASS:19,STRUCT_START:20,members:21,STRUCT_STOP:22,ANNOTATION_START:23,ANNOTATION_END:24,MEMBER:25,SEPARATOR:26,relation:27,STR:28,relationType:29,lineType:30,AGGREGATION:31,EXTENSION:32,COMPOSITION:33,DEPENDENCY:34,LINE:35,DOTTED_LINE:36,CALLBACK:37,LINK:38,commentToken:39,textToken:40,graphCodeTokens:41,textNoTagsToken:42,TAGSTART:43,TAGEND:44,"==":45,"--":46,PCT:47,DEFAULT:48,SPACE:49,MINUS:50,keywords:51,UNICODE_TEXT:52,NUM:53,ALPHA:54,$accept:0,$end:1},terminals_:{2:"error",5:"CLASS_DIAGRAM",6:"NEWLINE",8:"EOF",12:"GENERICTYPE",14:"LABEL",19:"CLASS",20:"STRUCT_START",22:"STRUCT_STOP",23:"ANNOTATION_START",24:"ANNOTATION_END",25:"MEMBER",26:"SEPARATOR",28:"STR",31:"AGGREGATION",32:"EXTENSION",33:"COMPOSITION",34:"DEPENDENCY",35:"LINE",36:"DOTTED_LINE",37:"CALLBACK",38:"LINK",41:"graphCodeTokens",43:"TAGSTART",44:"TAGEND",45:"==",46:"--",47:"PCT",48:"DEFAULT",49:"SPACE",50:"MINUS",51:"keywords",52:"UNICODE_TEXT",53:"NUM",54:"ALPHA"},productions_:[0,[3,1],[4,4],[7,1],[7,2],[7,3],[10,2],[10,1],[10,3],[10,2],[9,1],[9,2],[9,1],[9,1],[9,1],[9,1],[15,2],[15,5],[17,4],[21,1],[21,2],[16,1],[16,2],[16,1],[16,1],[13,3],[13,4],[13,4],[13,5],[27,3],[27,2],[27,2],[27,1],[29,1],[29,1],[29,1],[29,1],[30,1],[30,1],[18,3],[18,4],[18,3],[18,4],[39,1],[39,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[42,1],[42,1],[42,1],[42,1],[11,1],[11,1],[11,1]],performAction:function(t,e,n,r,i,o,a){var s=o.length-1;switch(i){case 6:this.$=o[s-1]+o[s];break;case 7:this.$=o[s];break;case 8:this.$=o[s-2]+"~"+o[s-1]+o[s];break;case 9:this.$=o[s-1]+"~"+o[s];break;case 10:r.addRelation(o[s]);break;case 11:o[s-1].title=r.cleanupLabel(o[s]),r.addRelation(o[s-1]);break;case 16:r.addClass(o[s]);break;case 17:r.addClass(o[s-3]),r.addMembers(o[s-3],o[s-1]);break;case 18:r.addAnnotation(o[s],o[s-2]);break;case 19:this.$=[o[s]];break;case 20:o[s].push(o[s-1]),this.$=o[s];break;case 21:break;case 22:r.addMember(o[s-1],r.cleanupLabel(o[s]));break;case 23:case 24:break;case 25:this.$={id1:o[s-2],id2:o[s],relation:o[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 26:this.$={id1:o[s-3],id2:o[s],relation:o[s-1],relationTitle1:o[s-2],relationTitle2:"none"};break;case 27:this.$={id1:o[s-3],id2:o[s],relation:o[s-2],relationTitle1:"none",relationTitle2:o[s-1]};break;case 28:this.$={id1:o[s-4],id2:o[s],relation:o[s-2],relationTitle1:o[s-3],relationTitle2:o[s-1]};break;case 29:this.$={type1:o[s-2],type2:o[s],lineType:o[s-1]};break;case 30:this.$={type1:"none",type2:o[s],lineType:o[s-1]};break;case 31:this.$={type1:o[s-1],type2:"none",lineType:o[s]};break;case 32:this.$={type1:"none",type2:"none",lineType:o[s]};break;case 33:this.$=r.relationType.AGGREGATION;break;case 34:this.$=r.relationType.EXTENSION;break;case 35:this.$=r.relationType.COMPOSITION;break;case 36:this.$=r.relationType.DEPENDENCY;break;case 37:this.$=r.lineType.LINE;break;case 38:this.$=r.lineType.DOTTED_LINE;break;case 39:this.$=o[s-2],r.setClickEvent(o[s-1],o[s],void 0);break;case 40:this.$=o[s-3],r.setClickEvent(o[s-2],o[s-1],o[s]);break;case 41:this.$=o[s-2],r.setLink(o[s-1],o[s],void 0);break;case 42:this.$=o[s-3],r.setLink(o[s-2],o[s-1],o[s])}},table:[{3:1,4:2,5:[1,3]},{1:[3]},{1:[2,1]},{6:[1,4]},{7:5,9:6,10:12,11:19,13:7,15:8,16:9,17:10,18:11,19:e,23:n,25:r,26:i,37:o,38:a,52:s,53:l,54:c},{8:[1,23]},{6:[1,24],8:[2,3]},t(u,[2,10],{14:[1,25]}),t(u,[2,12]),t(u,[2,13]),t(u,[2,14]),t(u,[2,15]),t(u,[2,21],{27:26,29:29,30:30,14:[1,28],28:[1,27],31:h,32:d,33:f,34:p,35:g,36:m}),{10:37,11:19,52:s,53:l,54:c},t(u,[2,23]),t(u,[2,24]),{11:38,52:s,53:l,54:c},{10:39,11:19,52:s,53:l,54:c},{10:40,11:19,52:s,53:l,54:c},t(v,[2,7],{11:19,10:41,12:[1,42],52:s,53:l,54:c}),t(y,[2,56]),t(y,[2,57]),t(y,[2,58]),{1:[2,2]},{7:43,8:[2,4],9:6,10:12,11:19,13:7,15:8,16:9,17:10,18:11,19:e,23:n,25:r,26:i,37:o,38:a,52:s,53:l,54:c},t(u,[2,11]),{10:44,11:19,28:[1,45],52:s,53:l,54:c},{27:46,29:29,30:30,31:h,32:d,33:f,34:p,35:g,36:m},t(u,[2,22]),{30:47,35:g,36:m},t(b,[2,32],{29:48,31:h,32:d,33:f,34:p}),t(_,[2,33]),t(_,[2,34]),t(_,[2,35]),t(_,[2,36]),t(x,[2,37]),t(x,[2,38]),t(u,[2,16],{20:[1,49]}),{24:[1,50]},{28:[1,51]},{28:[1,52]},t(v,[2,6]),t(v,[2,9],{11:19,10:53,52:s,53:l,54:c}),{8:[2,5]},t(w,[2,25]),{10:54,11:19,52:s,53:l,54:c},{10:55,11:19,28:[1,56],52:s,53:l,54:c},t(b,[2,31],{29:57,31:h,32:d,33:f,34:p}),t(b,[2,30]),{21:58,25:S},{10:60,11:19,52:s,53:l,54:c},t(u,[2,39],{28:[1,61]}),t(u,[2,41],{28:[1,62]}),t(v,[2,8]),t(w,[2,27]),t(w,[2,26]),{10:63,11:19,52:s,53:l,54:c},t(b,[2,29]),{22:[1,64]},{21:65,22:[2,19],25:S},t(u,[2,18]),t(u,[2,40]),t(u,[2,42]),t(w,[2,28]),t(u,[2,17]),{22:[2,20]}],defaultActions:{2:[2,1],23:[2,2],43:[2,5],65:[2,20]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],o=[],a=this.table,s="",l=0,c=0,u=0,h=2,d=1,f=o.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(g.yy[m]=this.yy[m]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var v=p.yylloc;o.push(v);var y=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||d)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var _,x,w,S,k,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?S=this.defaultActions[w]:(null==_&&(_=b()),S=a[w]&&a[w][_]),void 0===S||!S.length||!S[0]){var M="";for(C in T=[],a[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==d?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:v,expected:T})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+_);switch(S[0]){case 1:n.push(_),i.push(p.yytext),o.push(p.yylloc),n.push(S[1]),_=null,x?(_=x,x=null):(c=p.yyleng,s=p.yytext,l=p.yylineno,v=p.yylloc,u>0&&u--);break;case 2:if(E.$=i[i.length-(A=this.productions_[S[1]][1])],E._$={first_line:o[o.length-(A||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(A||1)].first_column,last_column:o[o.length-1].last_column},y&&(E._$.range=[o[o.length-(A||1)].range[0],o[o.length-1].range[1]]),void 0!==(k=this.performAction.apply(E,[s,c,l,g.yy,S[1],i,o].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),o=o.slice(0,-1*A)),n.push(this.productions_[S[1]][0]),i.push(E.$),o.push(E._$),n.push(a[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function C(){this.yy={}}return k.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var o in i)this[o]=i[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),o=0;oe[0].length)){if(e=n,r=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[o])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:break;case 1:return 6;case 2:break;case 3:return 5;case 4:return this.begin("struct"),20;case 5:return"EOF_IN_STRUCT";case 6:return"OPEN_IN_STRUCT";case 7:return this.popState(),22;case 8:break;case 9:return"MEMBER";case 10:return 19;case 11:return 37;case 12:return 38;case 13:return 23;case 14:return 24;case 15:this.begin("generic");break;case 16:this.popState();break;case 17:return"GENERICTYPE";case 18:this.begin("string");break;case 19:this.popState();break;case 20:return"STR";case 21:case 22:return 32;case 23:case 24:return 34;case 25:return 33;case 26:return 31;case 27:return 35;case 28:return 36;case 29:return 14;case 30:return 50;case 31:return"DOT";case 32:return"PLUS";case 33:return 47;case 34:case 35:return"EQUALS";case 36:return 54;case 37:return"PUNCTUATION";case 38:return 53;case 39:return 52;case 40:return 49;case 41:return 8}},rules:[/^(?:%%[^\n]*\n*)/,/^(?:\n+)/,/^(?:\s+)/,/^(?:classDiagram\b)/,/^(?:[\{])/,/^(?:$)/,/^(?:[\{])/,/^(?:\})/,/^(?:[\n])/,/^(?:[^\{\}\n]*)/,/^(?:class\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:--)/,/^(?:\.\.)/,/^(?::[^\n;]+)/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{string:{rules:[19,20],inclusive:!1},generic:{rules:[16,17],inclusive:!1},struct:{rules:[5,6,7,8,9],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,10,11,12,13,14,15,18,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],inclusive:!0}}},C.prototype=k,k.Parser=C,new C}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,3],r=[1,4],i=[2,4],o=[1,9],a=[1,11],s=[1,13],l=[1,14],c=[1,15],u=[1,16],h=[1,21],d=[1,17],f=[1,18],p=[1,19],g=[1,20],m=[1,22],v=[1,4,5,13,14,16,18,19,21,22,23,24,25,28],y=[1,4,5,11,12,13,14,16,18,19,21,22,23,24,25,28],b=[4,5,13,14,16,18,19,21,22,23,24,25,28],_={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,idStatement:10,DESCR:11,"--\x3e":12,HIDE_EMPTY:13,scale:14,WIDTH:15,COMPOSIT_STATE:16,STRUCT_START:17,STRUCT_STOP:18,STATE_DESCR:19,AS:20,ID:21,FORK:22,JOIN:23,CONCURRENT:24,note:25,notePosition:26,NOTE_TEXT:27,EDGE_STATE:28,left_of:29,right_of:30,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",11:"DESCR",12:"--\x3e",13:"HIDE_EMPTY",14:"scale",15:"WIDTH",16:"COMPOSIT_STATE",17:"STRUCT_START",18:"STRUCT_STOP",19:"STATE_DESCR",20:"AS",21:"ID",22:"FORK",23:"JOIN",24:"CONCURRENT",25:"note",27:"NOTE_TEXT",28:"EDGE_STATE",29:"left_of",30:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,4],[9,4],[10,1],[10,1],[26,1],[26,1]],performAction:function(t,e,n,r,i,o,a){var s=o.length-1;switch(i){case 3:return r.setRootDoc(o[s]),o[s];case 4:this.$=[];break;case 5:"nl"!=o[s]&&(o[s-1].push(o[s]),this.$=o[s-1]);break;case 6:case 7:this.$=o[s];break;case 8:this.$="nl";break;case 9:this.$={stmt:"state",id:o[s],type:"default",description:""};break;case 10:this.$={stmt:"state",id:o[s-1],type:"default",description:o[s].trim()};break;case 11:this.$={stmt:"relation",state1:{stmt:"state",id:o[s-2],type:"default",description:""},state2:{stmt:"state",id:o[s],type:"default",description:""}};break;case 12:this.$={stmt:"relation",state1:{stmt:"state",id:o[s-3],type:"default",description:""},state2:{stmt:"state",id:o[s-1],type:"default",description:""},description:o[s].substr(1).trim()};break;case 16:this.$={stmt:"state",id:o[s-3],type:"default",description:"",doc:o[s-1]};break;case 17:var l=o[s],c=o[s-2].trim();if(o[s].match(":")){var u=o[s].split(":");l=u[0],c=[c,u[1]]}this.$={stmt:"state",id:l,type:"default",description:c};break;case 18:this.$={stmt:"state",id:o[s-3],type:"default",description:o[s-5],doc:o[s-1]};break;case 19:this.$={stmt:"state",id:o[s],type:"fork"};break;case 20:this.$={stmt:"state",id:o[s],type:"join"};break;case 21:this.$={stmt:"state",id:r.getDividerId(),type:"divider"};break;case 22:this.$={stmt:"state",id:o[s-1].trim(),note:{position:o[s-2].trim(),text:o[s].trim()}};break;case 24:case 25:this.$=o[s]}},table:[{3:1,4:e,5:n,6:r},{1:[3]},{3:5,4:e,5:n,6:r},{3:6,4:e,5:n,6:r},t([1,4,5,13,14,16,19,21,22,23,24,25,28],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:o,5:a,8:8,9:10,10:12,13:s,14:l,16:c,19:u,21:h,22:d,23:f,24:p,25:g,28:m},t(v,[2,5]),{9:23,10:12,13:s,14:l,16:c,19:u,21:h,22:d,23:f,24:p,25:g,28:m},t(v,[2,7]),t(v,[2,8]),t(v,[2,9],{11:[1,24],12:[1,25]}),t(v,[2,13]),{15:[1,26]},t(v,[2,15],{17:[1,27]}),{20:[1,28]},t(v,[2,19]),t(v,[2,20]),t(v,[2,21]),{26:29,27:[1,30],29:[1,31],30:[1,32]},t(y,[2,24]),t(y,[2,25]),t(v,[2,6]),t(v,[2,10]),{10:33,21:h,28:m},t(v,[2,14]),t(b,i,{7:34}),{21:[1,35]},{21:[1,36]},{20:[1,37]},{21:[2,26]},{21:[2,27]},t(v,[2,11],{11:[1,38]}),{4:o,5:a,8:8,9:10,10:12,13:s,14:l,16:c,18:[1,39],19:u,21:h,22:d,23:f,24:p,25:g,28:m},t(v,[2,17],{17:[1,40]}),{27:[1,41]},{21:[1,42]},t(v,[2,12]),t(v,[2,16]),t(b,i,{7:43}),t(v,[2,22]),t(v,[2,23]),{4:o,5:a,8:8,9:10,10:12,13:s,14:l,16:c,18:[1,44],19:u,21:h,22:d,23:f,24:p,25:g,28:m},t(v,[2,18])],defaultActions:{5:[2,1],6:[2,2],31:[2,26],32:[2,27]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],o=[],a=this.table,s="",l=0,c=0,u=0,h=2,d=1,f=o.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(g.yy[m]=this.yy[m]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var v=p.yylloc;o.push(v);var y=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||d)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var _,x,w,S,k,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?S=this.defaultActions[w]:(null==_&&(_=b()),S=a[w]&&a[w][_]),void 0===S||!S.length||!S[0]){var M="";for(C in T=[],a[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==d?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:v,expected:T})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+_);switch(S[0]){case 1:n.push(_),i.push(p.yytext),o.push(p.yylloc),n.push(S[1]),_=null,x?(_=x,x=null):(c=p.yyleng,s=p.yytext,l=p.yylineno,v=p.yylloc,u>0&&u--);break;case 2:if(E.$=i[i.length-(A=this.productions_[S[1]][1])],E._$={first_line:o[o.length-(A||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(A||1)].first_column,last_column:o[o.length-1].last_column},y&&(E._$.range=[o[o.length-(A||1)].range[0],o[o.length-1].range[1]]),void 0!==(k=this.performAction.apply(E,[s,c,l,g.yy,S[1],i,o].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),o=o.slice(0,-1*A)),n.push(this.productions_[S[1]][0]),i.push(E.$),o.push(E._$),n.push(a[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function x(){this.yy={}}return _.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var o in i)this[o]=i[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),o=0;oe[0].length)){if(e=n,r=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[o])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 5;case 1:case 2:case 3:case 4:break;case 5:return this.pushState("SCALE"),14;case 6:return 15;case 7:this.popState();break;case 8:this.pushState("STATE");break;case 9:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),22;case 10:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),23;case 11:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),22;case 12:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),23;case 13:this.begin("STATE_STRING");break;case 14:return this.popState(),this.pushState("STATE_ID"),"AS";case 15:return this.popState(),"ID";case 16:this.popState();break;case 17:return"STATE_DESCR";case 18:return 16;case 19:this.popState();break;case 20:return this.popState(),this.pushState("struct"),17;case 21:return this.popState(),18;case 22:break;case 23:return this.begin("NOTE"),25;case 24:return this.popState(),this.pushState("NOTE_ID"),29;case 25:return this.popState(),this.pushState("NOTE_ID"),30;case 26:this.popState(),this.pushState("FLOATING_NOTE");break;case 27:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 28:break;case 29:return"NOTE_TEXT";case 30:return this.popState(),"ID";case 31:return this.popState(),this.pushState("NOTE_TEXT"),21;case 32:return this.popState(),e.yytext=e.yytext.substr(2).trim(),27;case 33:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),27;case 34:return 6;case 35:return 13;case 36:return 28;case 37:return 21;case 38:return e.yytext=e.yytext.trim(),11;case 39:return 12;case 40:return 24;case 41:return 5;case 42:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:\s*[^:;]+end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[2,3],inclusive:!1},struct:{rules:[2,3,8,21,22,23,36,37,38,39,40],inclusive:!1},FLOATING_NOTE_ID:{rules:[30],inclusive:!1},FLOATING_NOTE:{rules:[27,28,29],inclusive:!1},NOTE_TEXT:{rules:[32,33],inclusive:!1},NOTE_ID:{rules:[31],inclusive:!1},NOTE:{rules:[24,25,26],inclusive:!1},SCALE:{rules:[6,7],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[15],inclusive:!1},STATE_STRING:{rules:[16,17],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[2,3,9,10,11,12,13,14,18,19,20],inclusive:!1},ID:{rules:[2,3],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,8,20,23,34,35,36,37,38,39,41,42],inclusive:!0}}},x.prototype=_,_.Parser=x,new x}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e){t.exports=n("LvDl")},function(t){t.exports=JSON.parse('{"name":"mermaid","version":"8.5.0","description":"Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.","main":"dist/mermaid.core.js","keywords":["diagram","markdown","flowchart","sequence diagram","gantt","class diagram","git graph"],"scripts":{"build":"webpack --progress --colors -p","postbuild":"documentation build src/mermaidAPI.js --shallow -f md --markdown-toc false -o docs/mermaidAPI.md","build:watch":"yarn build --watch","minify":"minify ./dist/mermaid.js > ./dist/mermaid.min.js","release":"yarn build -p --config webpack.config.prod.babel.js","lint":"eslint src","e2e:depr":"yarn lint && jest e2e --config e2e/jest.config.js","cypress":"percy exec -- cypress run","e2e":"start-server-and-test dev http://localhost:9000/ cypress","e2e-upd":"yarn lint && jest e2e -u --config e2e/jest.config.js","dev":"webpack-dev-server --config webpack.config.e2e.js","test":"yarn lint && jest src/.*","test:watch":"jest --watch src","prepublishOnly":"yarn build && yarn release && yarn test && yarn e2e","prepush":"yarn test"},"repository":{"type":"git","url":"https://github.com/knsv/mermaid"},"author":"Knut Sveidqvist","license":"MIT","standard":{"ignore":["**/parser/*.js","dist/**/*.js","cypress/**/*.js"],"globals":["page"]},"dependencies":{"@braintree/sanitize-url":"^3.1.0","crypto-random-string":"^3.0.1","d3":"^5.7.0","dagre":"^0.8.4","dagre-d3":"^0.6.4","graphlib":"^2.1.7","he":"^1.2.0","lodash":"^4.17.11","minify":"^4.1.1","moment-mini":"^2.22.1","scope-css":"^1.2.1"},"devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.8.4","@babel/register":"^7.0.0","@percy/cypress":"*","babel-core":"7.0.0-bridge.0","babel-jest":"^24.9.0","babel-loader":"^8.0.4","coveralls":"^3.0.2","css-loader":"^2.0.1","css-to-string-loader":"^0.1.3","cypress":"4.0.1","documentation":"^12.0.1","eslint":"^6.3.0","eslint-config-prettier":"^6.3.0","eslint-plugin-prettier":"^3.1.0","husky":"^1.2.1","identity-obj-proxy":"^3.0.0","jest":"^24.9.0","jison":"^0.4.18","moment":"^2.23.0","node-sass":"^4.12.0","prettier":"^1.18.2","puppeteer":"^1.17.0","sass-loader":"^7.1.0","start-server-and-test":"^1.10.6","terser-webpack-plugin":"^2.2.2","webpack":"^4.41.2","webpack-cli":"^3.1.2","webpack-dev-server":"^3.4.1","webpack-node-externals":"^1.7.2","yarn-upgrade-all":"^0.5.0"},"files":["dist"],"yarn-upgrade-all":{"ignore":["babel-core"]}}')},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */",o=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[n].concat(o).concat([i]).join("\n")}return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;ih&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==d?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:v,expected:T})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+_);switch(S[0]){case 1:n.push(_),i.push(p.yytext),o.push(p.yylloc),n.push(S[1]),_=null,x?(_=x,x=null):(c=p.yyleng,s=p.yytext,l=p.yylineno,v=p.yylloc,u>0&&u--);break;case 2:if(E.$=i[i.length-(A=this.productions_[S[1]][1])],E._$={first_line:o[o.length-(A||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(A||1)].first_column,last_column:o[o.length-1].last_column},y&&(E._$.range=[o[o.length-(A||1)].range[0],o[o.length-1].range[1]]),void 0!==(k=this.performAction.apply(E,[s,c,l,g.yy,S[1],i,o].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),o=o.slice(0,-1*A)),n.push(this.productions_[S[1]][0]),i.push(E.$),o.push(E._$),n.push(a[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function l(){this.yy={}}return s.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var o in i)this[o]=i[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),o=0;oe[0].length)){if(e=n,r=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[o])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 12;case 1:case 2:case 3:break;case 4:return 4;case 5:return 15;case 6:return 17;case 7:return 20;case 8:return 21;case 9:return 19;case 10:case 11:return 8;case 12:return 5;case 13:return 26;case 14:this.begin("options");break;case 15:this.popState();break;case 16:return 11;case 17:this.begin("string");break;case 18:this.popState();break;case 19:return 23;case 20:return 18;case 21:return 7}},rules:[/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit\b)/i,/^(?:branch\b)/i,/^(?:merge\b)/i,/^(?:reset\b)/i,/^(?:checkout\b)/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:end\r?\n)/i,/^(?:[^\n]+\r?\n)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[a-zA-Z][a-zA-Z0-9_]+)/i,/^(?:$)/i],conditions:{options:{rules:[15,16],inclusive:!1},string:{rules:[18,19],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,20,21],inclusive:!0}}},l.prototype=s,s.Parser=l,new l}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,r,i,o,a){switch(i){case 1:return r;case 4:break;case 6:r.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],o=[],a=this.table,s="",l=0,c=0,u=0,h=2,d=1,f=o.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(g.yy[m]=this.yy[m]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var v=p.yylloc;o.push(v);var y=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||d)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var _,x,w,S,k,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?S=this.defaultActions[w]:(null==_&&(_=b()),S=a[w]&&a[w][_]),void 0===S||!S.length||!S[0]){var M="";for(C in T=[],a[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==d?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:v,expected:T})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+_);switch(S[0]){case 1:n.push(_),i.push(p.yytext),o.push(p.yylloc),n.push(S[1]),_=null,x?(_=x,x=null):(c=p.yyleng,s=p.yytext,l=p.yylineno,v=p.yylloc,u>0&&u--);break;case 2:if(E.$=i[i.length-(A=this.productions_[S[1]][1])],E._$={first_line:o[o.length-(A||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(A||1)].first_column,last_column:o[o.length-1].last_column},y&&(E._$.range=[o[o.length-(A||1)].range[0],o[o.length-1].range[1]]),void 0!==(k=this.performAction.apply(E,[s,c,l,g.yy,S[1],i,o].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),o=o.slice(0,-1*A)),n.push(this.productions_[S[1]][0]),i.push(E.$),o.push(E._$),n.push(a[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}},r={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var o in i)this[o]=i[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),o=0;oe[0].length)){if(e=n,r=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[o])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function i(){this.yy={}}return n.lexer=r,i.prototype=n,n.Parser=i,new i}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,9,10,12],n={trace:function(){},yy:{},symbols_:{error:2,start:3,pie:4,document:5,EOF:6,line:7,statement:8,NL:9,STR:10,VALUE:11,title:12,$accept:0,$end:1},terminals_:{2:"error",4:"pie",6:"EOF",9:"NL",10:"STR",11:"VALUE",12:"title"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,2],[8,1]],performAction:function(t,e,n,r,i,o,a){var s=o.length-1;switch(i){case 4:break;case 6:r.addSection(o[s-1],r.cleanupValue(o[s]));break;case 7:r.setTitle(o[s].substr(6)),this.$=o[s].substr(6)}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8],12:[1,9]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),{11:[1,10]},t(e,[2,7]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],o=[],a=this.table,s="",l=0,c=0,u=0,h=2,d=1,f=o.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(g.yy[m]=this.yy[m]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var v=p.yylloc;o.push(v);var y=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||d)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var _,x,w,S,k,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?S=this.defaultActions[w]:(null==_&&(_=b()),S=a[w]&&a[w][_]),void 0===S||!S.length||!S[0]){var M="";for(C in T=[],a[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==d?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:v,expected:T})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+_);switch(S[0]){case 1:n.push(_),i.push(p.yytext),o.push(p.yylloc),n.push(S[1]),_=null,x?(_=x,x=null):(c=p.yyleng,s=p.yytext,l=p.yylineno,v=p.yylloc,u>0&&u--);break;case 2:if(E.$=i[i.length-(A=this.productions_[S[1]][1])],E._$={first_line:o[o.length-(A||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(A||1)].first_column,last_column:o[o.length-1].last_column},y&&(E._$.range=[o[o.length-(A||1)].range[0],o[o.length-1].range[1]]),void 0!==(k=this.performAction.apply(E,[s,c,l,g.yy,S[1],i,o].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),o=o.slice(0,-1*A)),n.push(this.productions_[S[1]][0]),i.push(E.$),o.push(E._$),n.push(a[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}},r={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var o in i)this[o]=i[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),o=0;oe[0].length)){if(e=n,r=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[o])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:case 1:break;case 2:return 4;case 3:return 9;case 4:return"space";case 5:return 12;case 6:this.begin("string");break;case 7:this.popState();break;case 8:return"STR";case 9:return"VALUE";case 10:return 6}},rules:[/^(?:%%[^\n]*)/i,/^(?:\s+)/i,/^(?:pie\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:title\s[^#\n;]+)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{string:{rules:[7,8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,9,10],inclusive:!0}}};function i(){this.yy={}}return n.lexer=r,i.prototype=n,n.Parser=i,new i}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,12],n=[1,7],r=[1,10],i=[1,11],o=[1,12],a=[1,13],s=[12,19,20],l=[15,16,17,18],c={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,statement:7,entityName:8,relSpec:9,":":10,role:11,ALPHANUM:12,cardinality:13,relType:14,ZERO_OR_ONE:15,ZERO_OR_MORE:16,ONE_OR_MORE:17,ONLY_ONE:18,NON_IDENTIFYING:19,IDENTIFYING:20,STR:21,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",10:":",12:"ALPHANUM",15:"ZERO_OR_ONE",16:"ZERO_OR_MORE",17:"ONE_OR_MORE",18:"ONLY_ONE",19:"NON_IDENTIFYING",20:"IDENTIFYING",21:"STR"},productions_:[0,[3,3],[5,0],[5,2],[7,5],[8,1],[9,3],[13,1],[13,1],[13,1],[13,1],[14,1],[14,1],[11,1],[11,1]],performAction:function(t,e,n,r,i,o,a){var s=o.length-1;switch(i){case 1:break;case 4:r.addEntity(o[s-4]),r.addEntity(o[s-2]),r.addRelationship(o[s-4],o[s],o[s-2],o[s-3]);break;case 5:this.$=o[s];break;case 6:this.$={cardA:o[s],relType:o[s-1],cardB:o[s-2]};break;case 7:this.$=r.Cardinality.ZERO_OR_ONE;break;case 8:this.$=r.Cardinality.ZERO_OR_MORE;break;case 9:this.$=r.Cardinality.ONE_OR_MORE;break;case 10:this.$=r.Cardinality.ONLY_ONE;break;case 11:this.$=r.Identification.NON_IDENTIFYING;break;case 12:this.$=r.Identification.IDENTIFYING;break;case 13:case 14:this.$=o[s]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,12:n},{1:[2,1]},t(e,[2,3]),{9:8,13:9,15:r,16:i,17:o,18:a},t([10,15,16,17,18],[2,5]),{8:14,12:n},{14:15,19:[1,16],20:[1,17]},t(s,[2,7]),t(s,[2,8]),t(s,[2,9]),t(s,[2,10]),{10:[1,18]},{13:19,15:r,16:i,17:o,18:a},t(l,[2,11]),t(l,[2,12]),{11:20,12:[1,22],21:[1,21]},{12:[2,6]},t(e,[2,4]),t(e,[2,13]),t(e,[2,14])],defaultActions:{4:[2,1],19:[2,6]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],o=[],a=this.table,s="",l=0,c=0,u=0,h=2,d=1,f=o.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var m in this.yy)Object.prototype.hasOwnProperty.call(this.yy,m)&&(g.yy[m]=this.yy[m]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var v=p.yylloc;o.push(v);var y=p.options&&p.options.ranges;function b(){var t;return"number"!=typeof(t=r.pop()||p.lex()||d)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var _,x,w,S,k,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?S=this.defaultActions[w]:(null==_&&(_=b()),S=a[w]&&a[w][_]),void 0===S||!S.length||!S[0]){var M="";for(C in T=[],a[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[_]||_)+"'":"Parse error on line "+(l+1)+": Unexpected "+(_==d?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[_]||_,line:p.yylineno,loc:v,expected:T})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+_);switch(S[0]){case 1:n.push(_),i.push(p.yytext),o.push(p.yylloc),n.push(S[1]),_=null,x?(_=x,x=null):(c=p.yyleng,s=p.yytext,l=p.yylineno,v=p.yylloc,u>0&&u--);break;case 2:if(E.$=i[i.length-(A=this.productions_[S[1]][1])],E._$={first_line:o[o.length-(A||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(A||1)].first_column,last_column:o[o.length-1].last_column},y&&(E._$.range=[o[o.length-(A||1)].range[0],o[o.length-1].range[1]]),void 0!==(k=this.performAction.apply(E,[s,c,l,g.yy,S[1],i,o].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),o=o.slice(0,-1*A)),n.push(this.productions_[S[1]][0]),i.push(E.$),o.push(E._$),n.push(a[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function u(){this.yy={}}return c.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var o in i)this[o]=i[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),o=0;oe[0].length)){if(e=n,r=o,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[o])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:break;case 1:return"SPACE";case 2:this.begin("string");break;case 3:this.popState();break;case 4:return 21;case 5:return 4;case 6:return 15;case 7:return 16;case 8:return 17;case 9:return 18;case 10:return 15;case 11:return 16;case 12:return 17;case 13:return 19;case 14:return 20;case 15:case 16:return 19;case 17:return 12;case 18:return e.yytext[0];case 19:return 6}},rules:[/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:erDiagram\b)/i,/^(?:\|o\b)/i,/^(?:\}o\b)/i,/^(?:\}\|)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{string:{rules:[3,4],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],inclusive:!0}}},u.prototype=c,c.Parser=u,new u}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e){t.exports=n("ktc5")},function(t,e){t.exports=n("ZJr7")},function(t,e){t.exports=n("RVb6")},function(t,e,n){var r={"./dark/index.scss":27,"./default/index.scss":29,"./forest/index.scss":31,"./neutral/index.scss":33};function i(t){var e=o(t);return n(e)}function o(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id=26},function(t,e,n){var r=n(28);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(16)(!1)).push([t.i,".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#BDD5EA;stroke:purple;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#d3d3d3}.edgePath .path{stroke:#d3d3d3;stroke-width:1.5px}.edgeLabel{background-color:#e8e8e8;text-align:center}.cluster rect{fill:#6D6D65;stroke:rgba(255,255,255,0.25);stroke-width:1px}.cluster text{fill:#F9FFFE}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#6D6D65;border:1px solid rgba(255,255,255,0.25);border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#81B1DB;fill:#BDD5EA}text.actor{fill:#000;stroke:none}.actor-line{stroke:#d3d3d3}.messageLine0{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#d3d3d3}.messageLine1{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#d3d3d3}#arrowhead{fill:#d3d3d3}.sequenceNumber{fill:#fff}#sequencenumber{fill:#d3d3d3}#crosshead path{fill:#d3d3d3 !important;stroke:#d3d3d3 !important}.messageText{fill:#d3d3d3;stroke:none}.labelBox{stroke:#81B1DB;fill:#BDD5EA}.labelText{fill:#323D47;stroke:none}.loopText{fill:#d3d3d3;stroke:none}.loopLine{stroke-width:2;stroke-dasharray:'2 2';stroke:#81B1DB}.note{stroke:rgba(255,255,255,0.25);fill:#fff5ad}.noteText{fill:black;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:14px}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\"trebuchet ms\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:rgba(255,255,255,0.3)}.section2{fill:#EAE8B9}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#F9FFFE}.sectionTitle1{fill:#F9FFFE}.sectionTitle2{fill:#F9FFFE}.sectionTitle3{fill:#F9FFFE}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:#DB5757;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#323D47;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#323D47;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#323D47}.task0,.task1,.task2,.task3{fill:#BDD5EA;stroke:rgba(255,255,255,0.5)}.taskTextOutside0,.taskTextOutside2{fill:#d3d3d3}.taskTextOutside1,.taskTextOutside3{fill:#d3d3d3}.active0,.active1,.active2,.active3{fill:#81B1DB;stroke:rgba(255,255,255,0.5)}.activeText0,.activeText1,.activeText2,.activeText3{fill:#323D47 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#323D47 !important}.crit0,.crit1,.crit2,.crit3{stroke:#E83737;fill:#E83737;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#E83737;fill:#81B1DB;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#E83737;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#323D47 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#323D47 !important}.titleText{text-anchor:middle;font-size:18px;fill:#323D47;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:purple;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#BDD5EA;stroke:purple}g.classGroup line{stroke:purple;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#BDD5EA;opacity:0.5}.classLabel .label{fill:purple;font-size:10px}.relation{stroke:purple;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:purple;stroke:purple;stroke-width:1}#compositionEnd{fill:purple;stroke:purple;stroke-width:1}#aggregationStart{fill:#BDD5EA;stroke:purple;stroke-width:1}#aggregationEnd{fill:#BDD5EA;stroke:purple;stroke-width:1}#dependencyStart{fill:purple;stroke:purple;stroke-width:1}#dependencyEnd{fill:purple;stroke:purple;stroke-width:1}#extensionStart{fill:purple;stroke:purple;stroke-width:1}#extensionEnd{fill:purple;stroke:purple;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#323D47;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:purple;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:purple;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#BDD5EA;stroke:purple}g.stateGroup line{stroke:purple;stroke-width:1}.transition{stroke:purple;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:rgba(255,255,255,0.25);fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#BDD5EA;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}:root{--mermaid-font-family: '\"trebuchet ms\", verdana, arial';--mermaid-font-family: \"Comic Sans MS\", \"Comic Sans\", cursive}\n",""])},function(t,e,n){var r=n(30);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(16)(!1)).push([t.i,".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#333}.edgePath .path{stroke:#333;stroke-width:1.5px}.edgeLabel{background-color:#e8e8e8;text-align:center}.cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#ccf;fill:#ECECFF}text.actor{fill:#000;stroke:none}.actor-line{stroke:grey}.messageLine0{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}#arrowhead{fill:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333 !important;stroke:#333 !important}.messageText{fill:#333;stroke:none}.labelBox{stroke:#ccf;fill:#ECECFF}.labelText{fill:#000;stroke:none}.loopText{fill:#000;stroke:none}.loopLine{stroke-width:2;stroke-dasharray:'2 2';stroke:#ccf}.note{stroke:#aa3;fill:#fff5ad}.noteText{fill:black;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:14px}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\"trebuchet ms\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:rgba(102,102,255,0.49)}.section2{fill:#fff400}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:red;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#8a90dd;stroke:#534fbc}.taskTextOutside0,.taskTextOutside2{fill:#000}.taskTextOutside1,.taskTextOutside3{fill:#000}.active0,.active1,.active2,.active3{fill:#bfc7ff;stroke:#534fbc}.activeText0,.activeText1,.activeText2,.activeText3{fill:#000 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#000 !important}.crit0,.crit1,.crit2,.crit3{stroke:#f88;fill:red;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#000 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#000 !important}.titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#ECECFF;stroke:#9370db}g.classGroup line{stroke:#9370db;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}.classLabel .label{fill:#9370db;font-size:10px}.relation{stroke:#9370db;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#9370db;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#ECECFF;stroke:#9370db}g.stateGroup line{stroke:#9370db;stroke-width:1}.transition{stroke:#9370db;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#aa3;fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}:root{--mermaid-font-family: '\"trebuchet ms\", verdana, arial';--mermaid-font-family: \"Comic Sans MS\", \"Comic Sans\", cursive}\n",""])},function(t,e,n){var r=n(32);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(16)(!1)).push([t.i,".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#cde498;stroke:#13540c;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:green}.edgePath .path{stroke:green;stroke-width:1.5px}.edgeLabel{background-color:#e8e8e8;text-align:center}.cluster rect{fill:#cdffb2;stroke:#6eaa49;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#cdffb2;border:1px solid #6eaa49;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#13540c;fill:#cde498}text.actor{fill:#000;stroke:none}.actor-line{stroke:grey}.messageLine0{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}#arrowhead{fill:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333 !important;stroke:#333 !important}.messageText{fill:#333;stroke:none}.labelBox{stroke:#326932;fill:#cde498}.labelText{fill:#000;stroke:none}.loopText{fill:#000;stroke:none}.loopLine{stroke-width:2;stroke-dasharray:'2 2';stroke:#326932}.note{stroke:#6eaa49;fill:#fff5ad}.noteText{fill:black;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:14px}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\"trebuchet ms\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:#6eaa49}.section2{fill:#6eaa49}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:red;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#487e3a;stroke:#13540c}.taskTextOutside0,.taskTextOutside2{fill:#000}.taskTextOutside1,.taskTextOutside3{fill:#000}.active0,.active1,.active2,.active3{fill:#cde498;stroke:#13540c}.activeText0,.activeText1,.activeText2,.activeText3{fill:#000 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#000 !important}.crit0,.crit1,.crit2,.crit3{stroke:#f88;fill:red;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#f88;fill:#cde498;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#000 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#000 !important}.titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#13540c;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#cde498;stroke:#13540c}g.classGroup line{stroke:#13540c;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#cde498;opacity:0.5}.classLabel .label{fill:#13540c;font-size:10px}.relation{stroke:#13540c;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#13540c;stroke:#13540c;stroke-width:1}#compositionEnd{fill:#13540c;stroke:#13540c;stroke-width:1}#aggregationStart{fill:#cde498;stroke:#13540c;stroke-width:1}#aggregationEnd{fill:#cde498;stroke:#13540c;stroke-width:1}#dependencyStart{fill:#13540c;stroke:#13540c;stroke-width:1}#dependencyEnd{fill:#13540c;stroke:#13540c;stroke-width:1}#extensionStart{fill:#13540c;stroke:#13540c;stroke-width:1}#extensionEnd{fill:#13540c;stroke:#13540c;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#13540c;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#13540c;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#cde498;stroke:#13540c}g.stateGroup line{stroke:#13540c;stroke-width:1}.transition{stroke:#13540c;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#6eaa49;fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#cde498;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}:root{--mermaid-font-family: '\"trebuchet ms\", verdana, arial';--mermaid-font-family: \"Comic Sans MS\", \"Comic Sans\", cursive}\n",""])},function(t,e,n){var r=n(34);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(16)(!1)).push([t.i,".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#eee;stroke:#999;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#333}.edgePath .path{stroke:#666;stroke-width:1.5px}.edgeLabel{background-color:#fff;text-align:center}.cluster rect{fill:#eaf2fb;stroke:#26a;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#eaf2fb;border:1px solid #26a;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#999;fill:#eee}text.actor{fill:#333;stroke:none}.actor-line{stroke:#666}.messageLine0{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}#arrowhead{fill:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333 !important;stroke:#333 !important}.messageText{fill:#333;stroke:none}.labelBox{stroke:#999;fill:#eee}.labelText{fill:#333;stroke:none}.loopText{fill:#333;stroke:none}.loopLine{stroke-width:2;stroke-dasharray:'2 2';stroke:#999}.note{stroke:#770;fill:#ffa}.noteText{fill:black;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:14px}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\"trebuchet ms\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:#80b3e6}.section2{fill:#80b3e6}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#e6e6e6;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:#d42;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#333;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#333;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#26a;stroke:#1a4d80}.taskTextOutside0,.taskTextOutside2{fill:#333}.taskTextOutside1,.taskTextOutside3{fill:#333}.active0,.active1,.active2,.active3{fill:#eee;stroke:#1a4d80}.activeText0,.activeText1,.activeText2,.activeText3{fill:#333 !important}.done0,.done1,.done2,.done3{stroke:#666;fill:#bbb;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#333 !important}.crit0,.crit1,.crit2,.crit3{stroke:#b1361b;fill:#d42;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#b1361b;fill:#eee;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#b1361b;fill:#bbb;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#333 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#333 !important}.titleText{text-anchor:middle;font-size:18px;fill:#333;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#999;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#eee;stroke:#999}g.classGroup line{stroke:#999;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#eee;opacity:0.5}.classLabel .label{fill:#999;font-size:10px}.relation{stroke:#999;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#999;stroke:#999;stroke-width:1}#compositionEnd{fill:#999;stroke:#999;stroke-width:1}#aggregationStart{fill:#eee;stroke:#999;stroke-width:1}#aggregationEnd{fill:#eee;stroke:#999;stroke-width:1}#dependencyStart{fill:#999;stroke:#999;stroke-width:1}#dependencyEnd{fill:#999;stroke:#999;stroke-width:1}#extensionStart{fill:#999;stroke:#999;stroke-width:1}#extensionEnd{fill:#999;stroke:#999;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#333;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#999;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#999;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#eee;stroke:#999}g.stateGroup line{stroke:#999;stroke-width:1}.transition{stroke:#999;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#770;fill:#ffa}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#eee;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}:root{--mermaid-font-family: '\"trebuchet ms\", verdana, arial';--mermaid-font-family: \"Comic Sans MS\", \"Comic Sans\", cursive}\n",""])},function(t,e,n){"use strict";n.r(e);var r=n(23),i=n.n(r),o=n(0),a=n(24),s=n.n(a),l=n(15);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u={},h=function(t){!function(t){for(var e=Object.keys(t),n=0;n=1&&(r={x:t.x,y:t.y}),o>0&&o<1&&(r={x:(1-o)*e.x+o*t.x,y:(1-o)*e.y+o*t.y})}}e=t})),r}(t)},k=function(t,e,n){var r;e[0]!==n&&(e=e.reverse()),e.forEach((function(t){_(t,r),r=t}));var i,o=25;r=void 0,e.forEach((function(t){if(r&&!i){var e=_(t,r);if(e=1&&(i={x:t.x,y:t.y}),n>0&&n<1&&(i={x:(1-n)*r.x+n*t.x,y:(1-n)*r.y+n*t.y})}}r=t}));var a=t?10:5,s=Math.atan2(e[0].y-i.y,e[0].x-i.x),l={x:0,y:0};return l.x=Math.sin(s)*a+(e[0].x+i.x)/2,l.y=-Math.cos(s)*a+(e[0].y+i.y)/2,l},C=function(t,e){var n=t.trim();if(n)return"loose"!==e.securityLevel?Object(y.sanitizeUrl)(n):n},A=n(3),T=n.n(A),E=function(t){return t.replace(//gi,"#br#")},M=function(t){if(!t)return 1;var e=E(t);return(e=e.replace(/\\n/g,"#br#")).split("#br#")},D=function(t,e){var n=t,r=!0;return!e.flowchart||!1!==e.flowchart.htmlLabels&&"false"!==e.flowchart.htmlLabels||(r=!1),"loose"!==e.securityLevel&&r&&(n=function(t){return t.replace(/#br#/g,"
")}(n=(n=(n=E(n)).replace(//g,">")).replace(/=/g,"="))),n};function I(t){return(I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var O,P=d(),L={},R=[],N=[],z=[],F={},B={},V=0,j=!0,Y=[],U=function(t,e,n,r){var i=t,o=e;i[0].match(/\d/)&&(i=""+i),o[0].match(/\d/)&&(o=""+o),g.info("Got edge...",i,o);var a={start:i,end:o,type:void 0,text:""};void 0!==(r=n.text)&&(a.text=D(r.trim(),P),'"'===a.text[0]&&'"'===a.text[a.text.length-1]&&(a.text=a.text.substring(1,a.text.length-1))),void 0!==n&&(a.type=n.type,a.stroke=n.stroke),R.push(a)},G=function(t,e){t.split(",").forEach((function(t){var n=t;t[0].match(/\d/)&&(n=""+n),void 0!==L[n]&&L[n].classes.push(e),void 0!==F[n]&&F[n].classes.push(e)}))},H=function(t,e){t.split(",").forEach((function(t){void 0!==e&&(B[t]=D(e,P))}))},q=function(t){var e=o.select(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=o.select("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),o.select(t).select("svg").selectAll("g.node").on("mouseover",(function(){var t=o.select(this);if(null!==t.attr("title")){var n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.html(t.attr("title")).style("left",n.left+(n.right-n.left)/2+"px").style("top",n.top-14+document.body.scrollTop+"px"),t.classed("hover",!0)}})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),o.select(this).classed("hover",!1)}))};Y.push(q);var W=function(t){for(var e=0;e/)&&(O="LR"),O.match(/.*v/)&&(O="TB")},setClass:G,getTooltip:function(t){return B[t]},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){!function(t,e){var n=t;t[0].match(/\d/)&&(n=""+n),"loose"===P.securityLevel&&void 0!==e&&void 0!==L[n]&&Y.push((function(){var t=document.querySelector('[id="'.concat(n,'"]'));null!==t&&t.addEventListener("click",(function(){window[e](n)}),!1)}))}(t,e)})),H(t,n),G(t,"clickable")},setLink:function(t,e,n){t.split(",").forEach((function(t){var n=t;t[0].match(/\d/)&&(n=""+n),void 0!==L[n]&&(L[n].link=C(e,P))})),H(t,n),G(t,"clickable")},bindFunctions:function(t){Y.forEach((function(e){e(t)}))},getDirection:function(){return O.trim()},getVertices:function(){return L},getEdges:function(){return R},getClasses:function(){return N},clear:function(){L={},N={},R=[],(Y=[]).push(q),z=[],F={},V=0,B=[],j=!0},defaultStyle:function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},addSubGraph:function(t,e,n){var r=t.trim(),i=n;t===n&&n.match(/\s/)&&(r=void 0);var o,a,s,l=[];o=l.concat.apply(l,e),a={boolean:{},number:{},string:{}},s=[],l=o.filter((function(t){var e=I(t);return""!==t.trim()&&(e in a?!a[e].hasOwnProperty(t)&&(a[e][t]=!0):!(s.indexOf(t)>=0)&&s.push(t))}));for(var c=0;c0&&function t(e,n){var r=z[n].nodes;if(!(($+=1)>2e3)){if(Z[$]=n,z[n].id===e)return{result:!0,count:0};for(var i=0,o=1;i=0){var s=t(e,a);if(s.result)return{result:!0,count:o+s.count};o+=s.count}i+=1}return{result:!1,count:o}}}("none",z.length-1)},getSubGraphs:function(){return z},destructLink:function(t,e){var n,r=function(t){switch(t.trim()){case"--x":return{type:"arrow_cross",stroke:"normal"};case"--\x3e":return{type:"arrow",stroke:"normal"};case"<--\x3e":return{type:"double_arrow_point",stroke:"normal"};case"x--x":return{type:"double_arrow_cross",stroke:"normal"};case"o--o":return{type:"double_arrow_circle",stroke:"normal"};case"o.-o":return{type:"double_arrow_circle",stroke:"dotted"};case"<==>":return{type:"double_arrow_point",stroke:"thick"};case"o==o":return{type:"double_arrow_circle",stroke:"thick"};case"x==x":return{type:"double_arrow_cross",stroke:"thick"};case"x.-x":case"x-.-x":return{type:"double_arrow_cross",stroke:"dotted"};case"<.->":case"<-.->":return{type:"double_arrow_point",stroke:"dotted"};case"o-.-o":return{type:"double_arrow_circle",stroke:"dotted"};case"--o":return{type:"arrow_circle",stroke:"normal"};case"---":return{type:"arrow_open",stroke:"normal"};case"-.-x":return{type:"arrow_cross",stroke:"dotted"};case"-.->":return{type:"arrow",stroke:"dotted"};case"-.-o":return{type:"arrow_circle",stroke:"dotted"};case"-.-":return{type:"arrow_open",stroke:"dotted"};case".-x":return{type:"arrow_cross",stroke:"dotted"};case".->":return{type:"arrow",stroke:"dotted"};case".-o":return{type:"arrow_circle",stroke:"dotted"};case".-":return{type:"arrow_open",stroke:"dotted"};case"==x":return{type:"arrow_cross",stroke:"thick"};case"==>":return{type:"arrow",stroke:"thick"};case"==o":return{type:"arrow_circle",stroke:"thick"};case"===":return{type:"arrow_open",stroke:"thick"}}}(t);if(e){if((n=function(t){switch(t.trim()){case"<--":return{type:"arrow",stroke:"normal"};case"x--":return{type:"arrow_cross",stroke:"normal"};case"o--":return{type:"arrow_circle",stroke:"normal"};case"<-.":return{type:"arrow",stroke:"dotted"};case"x-.":return{type:"arrow_cross",stroke:"dotted"};case"o-.":return{type:"arrow_circle",stroke:"dotted"};case"<==":return{type:"arrow",stroke:"thick"};case"x==":return{type:"arrow_cross",stroke:"thick"};case"o==":return{type:"arrow_circle",stroke:"thick"};case"--":return{type:"arrow_open",stroke:"normal"};case"==":return{type:"arrow_open",stroke:"thick"};case"-.":return{type:"arrow_open",stroke:"dotted"}}}(e)).stroke!==r.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===n.type)n.type=r.type;else{if(n.type!==r.type)return{type:"INVALID",stroke:"INVALID"};n.type="double_"+n.type}return"double_arrow"===n.type&&(n.type="double_arrow_point"),n}return r},lex:{firstGraph:function(){return!!j&&(j=!1,!0)}}},K=n(10),Q=n.n(K),J=n(2),tt=n.n(J),et=n(18),nt=n.n(et);function rt(t,e,n){var r=.9*(e.width+e.height),i=[{x:r/2,y:0},{x:r,y:-r/2},{x:r/2,y:-r},{x:0,y:-r/2}],o=ft(t,r,r,i);return n.intersect=function(t){return tt.a.intersect.polygon(n,i,t)},o}function it(t,e,n){var r=e.height,i=r/4,o=e.width+2*i,a=[{x:i,y:0},{x:o-i,y:0},{x:o,y:-r/2},{x:o-i,y:-r},{x:i,y:-r},{x:0,y:-r/2}],s=ft(t,o,r,a);return n.intersect=function(t){return tt.a.intersect.polygon(n,a,t)},s}function ot(t,e,n){var r=e.width,i=e.height,o=[{x:-i/2,y:0},{x:r,y:0},{x:r,y:-i},{x:-i/2,y:-i},{x:0,y:-i/2}],a=ft(t,r,i,o);return n.intersect=function(t){return tt.a.intersect.polygon(n,o,t)},a}function at(t,e,n){var r=e.width,i=e.height,o=[{x:-2*i/6,y:0},{x:r-i/6,y:0},{x:r+2*i/6,y:-i},{x:i/6,y:-i}],a=ft(t,r,i,o);return n.intersect=function(t){return tt.a.intersect.polygon(n,o,t)},a}function st(t,e,n){var r=e.width,i=e.height,o=[{x:2*i/6,y:0},{x:r+i/6,y:0},{x:r-2*i/6,y:-i},{x:-i/6,y:-i}],a=ft(t,r,i,o);return n.intersect=function(t){return tt.a.intersect.polygon(n,o,t)},a}function lt(t,e,n){var r=e.width,i=e.height,o=[{x:-2*i/6,y:0},{x:r+2*i/6,y:0},{x:r-i/6,y:-i},{x:i/6,y:-i}],a=ft(t,r,i,o);return n.intersect=function(t){return tt.a.intersect.polygon(n,o,t)},a}function ct(t,e,n){var r=e.width,i=e.height,o=[{x:i/6,y:0},{x:r-i/6,y:0},{x:r+2*i/6,y:-i},{x:-2*i/6,y:-i}],a=ft(t,r,i,o);return n.intersect=function(t){return tt.a.intersect.polygon(n,o,t)},a}function ut(t,e,n){var r=e.width,i=e.height,o=[{x:0,y:0},{x:r+i/2,y:0},{x:r,y:-i/2},{x:r+i/2,y:-i},{x:0,y:-i}],a=ft(t,r,i,o);return n.intersect=function(t){return tt.a.intersect.polygon(n,o,t)},a}function ht(t,e,n){var r=e.height,i=e.width+r/4,o=t.insert("rect",":first-child").attr("rx",r/2).attr("ry",r/2).attr("x",-i/2).attr("y",-r/2).attr("width",i).attr("height",r);return n.intersect=function(t){return tt.a.intersect.rect(n,t)},o}function dt(t,e,n){var r=e.width,i=r/2,o=i/(2.5+r/50),a=e.height+o,s="M 0,"+o+" a "+i+","+o+" 0,0,0 "+r+" 0 a "+i+","+o+" 0,0,0 "+-r+" 0 l 0,"+a+" a "+i+","+o+" 0,0,0 "+r+" 0 l 0,"+-a,l=t.attr("label-offset-y",o).insert("path",":first-child").attr("d",s).attr("transform","translate("+-r/2+","+-(a/2+o)+")");return n.intersect=function(t){var e=tt.a.intersect.rect(n,t),r=e.x-n.x;if(0!=i&&(Math.abs(r)n.height/2-o)){var a=o*o*(1-r*r/(i*i));0!=a&&(a=Math.sqrt(a)),a=o-a,t.y-n.y>0&&(a=-a),e.y+=a}return e},l}function ft(t,e,n,r){return t.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("transform","translate("+-e/2+","+n/2+")")}var pt=function(t){t.shapes().question=rt,t.shapes().hexagon=it,t.shapes().stadium=ht,t.shapes().cylinder=dt,t.shapes().rect_left_inv_arrow=ot,t.shapes().lean_right=at,t.shapes().lean_left=st,t.shapes().trapezoid=lt,t.shapes().inv_trapezoid=ct,t.shapes().rect_right_inv_arrow=ut},gt={},mt=function(t,e,n){var r=o.select('[id="'.concat(n,'"]'));Object.keys(t).forEach((function(n){var i=t[n],o="default";i.classes.length>0&&(o=i.classes.join(" "));var a,s=x(i.styles),l=void 0!==i.text?i.text:i.id;if(d().flowchart.htmlLabels){var c={label:l.replace(/fa[lrsb]?:fa-[\w-]+/g,(function(t){return"")}))};(a=nt()(r,c).node()).parentNode.removeChild(a)}else{var u=document.createElementNS("http://www.w3.org/2000/svg","text");u.setAttribute("style",s.labelStyle.replace("color:","fill:"));for(var h=l.split(//gi),f=0;f"):(s.labelType="text",s.label=a.text.replace(//gi,"\n"),void 0===a.style&&(s.style=s.style||"stroke: #333; stroke-width: 1.5px;fill:none"),s.labelStyle=s.labelStyle.replace("color:","fill:"))),e.setEdge(a.start,a.end,s,i)}))},yt=function(t,e){g.info("Drawing flowchart"),X.clear();var n=Q.a.parser;n.yy=X;try{n.parse(t)}catch(t){g.debug("Parsing failed")}var r=X.getDirection();void 0===r&&(r="TD");for(var i,a=d().flowchart,s=a.nodeSpacing||50,l=a.rankSpacing||50,c=new T.a.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:r,nodesep:s,ranksep:l,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),u=X.getSubGraphs(),h=u.length-1;h>=0;h--)X.addVertex((i=u[h]).id,i.title,"group",void 0,i.classes);var f=X.getVertices(),p=X.getEdges(),m=0;for(m=u.length-1;m>=0;m--){i=u[m],o.selectAll("cluster").append("text");for(var v=0;v0&&(o=i.classes.join(" "));var a,s=x(i.styles),l=void 0!==i.text?i.text:i.id;if(d().flowchart.htmlLabels){var c={label:l.replace(/fa[lrsb]?:fa-[\w-]+/g,(function(t){return"")}))};(a=nt()(r,c).node()).parentNode.removeChild(a)}else{var u=document.createElementNS("http://www.w3.org/2000/svg","text");u.setAttribute("style",s.labelStyle.replace("color:","fill:"));for(var h=l.split(//gi),f=0;f"):(s.labelType="text",s.label=a.text.replace(//gi,"\n"),void 0===a.style&&(s.style=s.style||"stroke: #333; stroke-width: 1.5px;fill:none"),s.labelStyle=s.labelStyle.replace("color:","fill:"))),e.setEdge(a.start,a.end,s,i)}))},wt={setConf:function(t){for(var e=Object.keys(t),n=0;n=0;h--)X.addVertex((i=u[h]).id,i.title,"group",void 0,i.classes);var f=X.getVertices(),p=X.getEdges(),m=0;for(m=u.length-1;m>=0;m--){i=u[m],o.selectAll("cluster").append("text");for(var v=0;v/gi," "),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.style("text-anchor",e.anchor),r.attr("fill",e.fill),void 0!==e.class&&r.attr("class",e.class);var i=r.append("tspan");return i.attr("x",e.x+2*e.textMargin),i.attr("fill",e.fill),i.text(n),r},Ct=-1,At=function(){function t(t,e,n,i,o,a,s){r(e.append("text").attr("x",n+o/2).attr("y",i+a/2+5).style("text-anchor","middle").text(t),s)}function e(t,e,n,i,o,a,s,l){for(var c=l.actorFontSize,u=l.actorFontFamily,h=t.split(//gi),d=0;d>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},o}}return Rt.push({from:t,to:e,message:n,type:r}),!0},jt={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23},Yt=function(t,e,n){var r={actor:t,placement:e,message:n},i=[].concat(t,t);Nt.push(r),Rt.push({from:i[0],to:i[1],message:n,type:jt.NOTE,placement:e})},Ut=function(t){zt=t},Gt={addActor:Bt,addMessage:function(t,e,n,r){Rt.push({from:t,to:e,message:n,answer:r})},addSignal:Vt,enableSequenceNumbers:function(){Ft=!0},showSequenceNumbers:function(){return Ft},getMessages:function(){return Rt},getActors:function(){return Lt},getActor:function(t){return Lt[t]},getActorKeys:function(){return Object.keys(Lt)},getTitle:function(){return zt},clear:function(){Lt={},Rt=[]},LINETYPE:jt,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:Yt,setTitle:Ut,apply:function t(e){if(e instanceof Array)e.forEach((function(e){t(e)}));else switch(e.type){case"addActor":Bt(e.actor,e.actor,e.description);break;case"activeStart":case"activeEnd":Vt(e.actor,void 0,void 0,e.signalType);break;case"addNote":Yt(e.actor,e.placement,e.text);break;case"addMessage":Vt(e.from,e.to,e.msg,e.signalType);break;case"loopStart":Vt(void 0,void 0,e.loopText,e.signalType);break;case"loopEnd":Vt(void 0,void 0,void 0,e.signalType);break;case"rectStart":Vt(void 0,void 0,e.color,e.signalType);break;case"rectEnd":Vt(void 0,void 0,void 0,e.signalType);break;case"optStart":Vt(void 0,void 0,e.optText,e.signalType);break;case"optEnd":Vt(void 0,void 0,void 0,e.signalType);break;case"altStart":case"else":Vt(void 0,void 0,e.altText,e.signalType);break;case"altEnd":Vt(void 0,void 0,void 0,e.signalType);break;case"setTitle":Ut(e.text);break;case"parStart":case"and":Vt(void 0,void 0,e.parText,e.signalType);break;case"parEnd":Vt(void 0,void 0,void 0,e.signalType)}}};Ot.parser.yy=Gt;var Ht,qt,Wt={diagramMarginX:50,diagramMarginY:30,actorMargin:50,width:150,height:65,actorFontSize:14,actorFontFamily:'"Open-Sans", "sans-serif"',boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!1,bottomMarginAdj:1,activationWidth:10,textPlacement:"tspan",showSequenceNumbers:!1},$t={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],init:function(){this.sequenceItems=[],this.activations=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,n,r){t[e]=void 0===t[e]?n:r(n,t[e])},updateBounds:function(t,e,n,r){var i=this,o=0;function a(a){return function(s){o++;var l=i.sequenceItems.length-o+1;i.updateVal(s,"starty",e-l*Wt.boxMargin,Math.min),i.updateVal(s,"stopy",r+l*Wt.boxMargin,Math.max),i.updateVal($t.data,"startx",t-l*Wt.boxMargin,Math.min),i.updateVal($t.data,"stopx",n+l*Wt.boxMargin,Math.max),"activation"!==a&&(i.updateVal(s,"startx",t-l*Wt.boxMargin,Math.min),i.updateVal(s,"stopx",n+l*Wt.boxMargin,Math.max),i.updateVal($t.data,"starty",e-l*Wt.boxMargin,Math.min),i.updateVal($t.data,"stopy",r+l*Wt.boxMargin,Math.max))}}this.sequenceItems.forEach(a()),this.activations.forEach(a("activation"))},insert:function(t,e,n,r){var i=Math.min(t,n),o=Math.max(t,n),a=Math.min(e,r),s=Math.max(e,r);this.updateVal($t.data,"startx",i,Math.min),this.updateVal($t.data,"starty",a,Math.min),this.updateVal($t.data,"stopx",o,Math.max),this.updateVal($t.data,"stopy",s,Math.max),this.updateBounds(i,a,o,s)},newActivation:function(t,e){var n=Ot.parser.yy.getActors()[t.from.actor],r=Kt(t.from.actor).length,i=n.x+Wt.width/2+(r-1)*Wt.activationWidth/2;this.activations.push({startx:i,starty:this.verticalPos+2,stopx:i+Wt.activationWidth,stopy:void 0,actor:t.from.actor,anchored:Dt(e)})},endActivation:function(t){var e=this.activations.map((function(t){return t.actor})).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},newLoop:function(t,e){this.sequenceItems.push({startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t,fill:e})},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(t){var e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push($t.getVerticalPos()),e.sectionTitles.push(t),this.sequenceItems.push(e)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},Zt=function(t,e,n,r,i){var o={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0};o.x=e,o.y=n,o.width=i||Wt.width,o.class="note";var a=t.append("g"),s=Tt(a,o),l=function(t,e,n,r,i){var o=0,a=t.split(//gi),s=!0,l=!1,c=void 0;try{for(var u,h=a[Symbol.iterator]();!(s=(u=h.next()).done);s=!0){var d=u.value,f={x:0,y:0,fill:void 0,"text-anchor":"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0};f.x=e,f.y=n+o,f.textMargin=Wt.noteMargin,f.dy="1em",f.text=d,f.class="noteText";var p=Et(r,f,i);o+=(p._groups||p)[0][0].getBBox().height}}catch(t){l=!0,c=t}finally{try{s||null==h.return||h.return()}finally{if(l)throw c}}return o}(r.message,e-4,n+24,a,o.width-Wt.noteMargin);$t.insert(e,n,e+o.width,n+2*Wt.noteMargin+l),s.attr("height",l+2*Wt.noteMargin),$t.bumpVerticalPos(l+2*Wt.noteMargin)},Xt=function(t,e,n,r){for(var i=0;i=6&&n.indexOf("weekends")>=0||n.indexOf(t.format("dddd").toLowerCase())>=0||n.indexOf(t.format(e.trim()))>=0},pe=function(t,e,n){if(n.length&&!t.manualEndTime){var r=p()(t.startTime,e,!0);r.add(1,"d");var i=p()(t.endTime,e,!0),o=ge(r,i,e,n);t.endTime=i.toDate(),t.renderEndTime=o}},ge=function(t,e,n,r){for(var i=!1,o=null;t<=e;)i||(o=e.toDate()),(i=fe(t,n,r))&&e.add(1,"d"),t.add(1,"d");return o},me=function(t,e,n){n=n.trim();var r=/^after\s+([\d\w- ]+)/.exec(n.trim());if(null!==r){var i=null;if(r[1].split(" ").forEach((function(t){var e=Se(t);void 0!==e&&(i?e.endTime>i.endTime&&(i=e):i=e)})),i)return i.endTime;var o=new Date;return o.setHours(0,0,0,0),o}var a=p()(n,e.trim(),!0);return a.isValid()?a.toDate():(g.debug("Invalid date:"+n),g.debug("With date format:"+e.trim()),new Date)},ve=function(t,e){if(null!==t)switch(t[2]){case"s":e.add(t[1],"seconds");break;case"m":e.add(t[1],"minutes");break;case"h":e.add(t[1],"hours");break;case"d":e.add(t[1],"days");break;case"w":e.add(t[1],"weeks")}return e.toDate()},ye=function(t,e,n,r){r=r||!1,n=n.trim();var i=p()(n,e.trim(),!0);return i.isValid()?(r&&i.add(1,"d"),i.toDate()):ve(/^([\d]+)([wdhms])/.exec(n.trim()),p()(t))},be=0,_e=function(t){return void 0===t?"task"+(be+=1):t},xe=[],we={},Se=function(t){return xe[we[t]]},ke=function(){for(var t=function(t){var e=xe[t],n="";switch(xe[t].raw.startTime.type){case"prevTaskEnd":var r=Se(e.prevTaskId);e.startTime=r.endTime;break;case"getStartDate":(n=me(0,re,xe[t].raw.startTime.startData))&&(xe[t].startTime=n)}return xe[t].startTime&&(xe[t].endTime=ye(xe[t].startTime,re,xe[t].raw.endTime.data,de),xe[t].endTime&&(xe[t].processed=!0,xe[t].manualEndTime=p()(xe[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),pe(xe[t],re,oe))),xe[t].processed},e=!0,n=0;n0){var r=t.split("~");n=r[0],e=r[1]}return{className:n,type:e}},Be=function(t){var e=Fe(t);void 0===Re[e.className]&&(Re[e.className]={id:e.className,type:e.type,cssClasses:[],methods:[],members:[],annotations:[],domId:"classid-"+e.className+"-"+Ne},Ne++)},Ve=function(t){for(var e=Object.keys(Re),n=0;n>")?r.annotations.push(i.substring(2,i.length-2)):i.indexOf(")")>0?r.methods.push(i):i&&r.members.push(i)}},Ye=function(t,e){t.split(",").forEach((function(t){var n=t;t[0].match(/\d/)&&(n="classid-"+n),void 0!==Re[n]&&Re[n].cssClasses.push(e)}))},Ue=function(t){var e=o.select(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=o.select("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),o.select(t).select("svg").selectAll("g.node").on("mouseover",(function(){var t=o.select(this);if(null!==t.attr("title")){var n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.html(t.attr("title")).style("left",n.left+(n.right-n.left)/2+"px").style("top",n.top-14+document.body.scrollTop+"px"),t.classed("hover",!0)}})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),o.select(this).classed("hover",!1)}))};ze.push(Ue);var Ge={addClass:Be,bindFunctions:function(t){ze.forEach((function(e){e(t)}))},clear:function(){Le=[],Re={},(ze=[]).push(Ue)},getClass:function(t){return Re[t]},getClasses:function(){return Re},addAnnotation:function(t,e){var n=Fe(t).className;Re[n].annotations.push(e)},getRelations:function(){return Le},addRelation:function(t){g.debug("Adding relation: "+JSON.stringify(t)),Be(t.id1),Be(t.id2),t.id1=Fe(t.id1).className,t.id2=Fe(t.id2).className,Le.push(t)},addMember:je,addMembers:function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach((function(e){return je(t,e)})))},cleanupLabel:function(t){return":"===t.substring(0,1)?t.substr(1).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){!function(t,e,n){var r=t,i=Ve(r);"loose"===Pe.securityLevel&&void 0!==e&&void 0!==Re[r]&&(n&&(Re[r].tooltip=D(n,Pe)),ze.push((function(){var t=document.querySelector('[id="'.concat(i,'"]'));null!==t&&t.addEventListener("click",(function(){window[e](i)}),!1)})))}(t,e,n)})),Ye(t,"clickable")},setCssClass:Ye,setLink:function(t,e,n){t.split(",").forEach((function(t){var r=t;t[0].match(/\d/)&&(r="classid-"+r),void 0!==Re[r]&&(Re[r].link=C(e,Pe),n&&(Re[r].tooltip=D(n,Pe)))})),Ye(t,"clickable")},lookUpDomId:Ve},He=n(12),qe=n.n(He),We=0,$e=function(t,e,n,r){var i=function(t){var e=t.match(/^(\+|-|~|#)?(\w+)(~\w+~|\[\])?\s+(\w+)$/),n=t.match(/^(\+|-|~|#)?(\w+)\s?\(\s*(\w+(~\w+~|\[\])?\s*(\w+)?)?\s*\)\s?([*|$])?\s?(\w+(~\w+~|\[\])?)?\s*$/);return e?function(t){return{displayText:(t[1]?t[1].trim():"")+(t[2]?t[2].trim():"")+(t[3]?Ze(t[3]):"")+" "+(t[4]?t[4].trim():""),cssStyle:""}}(e):n?function(t){var e=t[1]?t[1].trim():"",n=t[2]?t[2].trim():"",r=t[3]?Ze(t[3]):"",i=t[6]?t[6].trim():"";return{displayText:e+n+"("+r+")"+(t[7]?" : "+Ze(t[7]).trim():""),cssStyle:Xe(i)}}(n):function(t){var e="",n="",r="",i=t.indexOf("("),o=t.indexOf(")");if(i>1&&o>i&&o<=t.length){var a=t.match(/(\+|-|~|#)?(\w+)/),s=a[1]?a[1].trim():"",l=a[2],c=t.substring(i+1,o),u=t.substring(o,o+1);n=Xe(u),o<(e=s+l+"("+Ze(c.trim())+")").length&&""!==(r=t.substring(o+2).trim())&&(r=" : "+Ze(r))}else e=Ze(t);return{displayText:e+r,cssStyle:n}}(t)}(e),o=t.append("tspan").attr("x",r.padding).text(i.displayText);""!==i.cssStyle&&o.attr("style",i.cssStyle),n||o.attr("dy",r.textHeight)},Ze=function t(e){var n=e;return-1!=e.indexOf("~")?t(n=(n=n.replace("~","<")).replace("~",">")):n},Xe=function(t){switch(t){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}},Ke=function(t,e,n){g.info("Rendering class "+e);var r="classGroup ";e.cssClasses.length>0&&(r+=e.cssClasses.join(" "));var i,o=e.id,a={id:o,label:e.id,width:0,height:0},s=t.append("g").attr("id",Ve(o)).attr("class",r);i=e.link?s.append("svg:a").attr("xlink:href",e.link).attr("target","_blank").append("text").attr("y",n.textHeight+n.padding).attr("x",0):s.append("text").attr("y",n.textHeight+n.padding).attr("x",0);var l=!0;e.annotations.forEach((function(t){var e=i.append("tspan").text("\xab"+t+"\xbb");l||e.attr("dy",n.textHeight),l=!1}));var c=e.id;void 0!==e.type&&""!==e.type&&(c+="<"+e.type+">");var u=i.append("tspan").text(c).attr("class","title");l||u.attr("dy",n.textHeight);var h=i.node().getBBox().height,d=s.append("line").attr("x1",0).attr("y1",n.padding+h+n.dividerMargin/2).attr("y2",n.padding+h+n.dividerMargin/2),f=s.append("text").attr("x",n.padding).attr("y",h+n.dividerMargin+n.textHeight).attr("fill","white").attr("class","classText");l=!0,e.members.forEach((function(t){$e(f,t,l,n),l=!1}));var p=f.node().getBBox(),m=s.append("line").attr("x1",0).attr("y1",n.padding+h+n.dividerMargin+p.height).attr("y2",n.padding+h+n.dividerMargin+p.height),v=s.append("text").attr("x",n.padding).attr("y",h+2*n.dividerMargin+p.height+n.textHeight).attr("fill","white").attr("class","classText");l=!0,e.methods.forEach((function(t){$e(v,t,l,n),l=!1}));var y=s.node().getBBox(),b=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",y.width+2*n.padding).attr("height",y.height+n.padding+.5*n.dividerMargin).node().getBBox().width;return i.node().childNodes.forEach((function(t){t.setAttribute("x",(b-t.getBBox().width)/2)})),e.tooltip&&i.insert("title").text(e.tooltip),d.attr("x2",b),m.attr("x2",b),a.width=b,a.height=y.height+n.padding+.5*n.dividerMargin,a};He.parser.yy=Ge;var Qe={},Je={dividerMargin:10,padding:5,textHeight:10},tn=function(t){for(var e=Object.keys(Qe),n=0;ns&&(r=(s-h)/2+i),Math.abs(l-f.x)s&&(r=l-(u-s)/2);var p=1-d().state.textHeight;return t.insert("rect",":first-child").attr("x",r).attr("y",p).attr("class",n?"alt-composit":"composit").attr("width",h).attr("height",f.height+d().state.textHeight+d().state.titleShift+1).attr("rx","0"),c.attr("x",r+i),u<=s&&c.attr("x",l+(h-o)/2-u/2+i),t.insert("rect",":first-child").attr("x",r).attr("y",d().state.titleShift-d().state.textHeight-d().state.padding).attr("width",h).attr("height",3*d().state.textHeight).attr("rx",d().state.radius),t.insert("rect",":first-child").attr("x",r).attr("y",d().state.titleShift-d().state.textHeight-d().state.padding).attr("width",h).attr("height",f.height+3+2*d().state.textHeight).attr("rx",d().state.radius),t},yn=function(t,e){var n=e.id,r={id:n,label:e.id,width:0,height:0},i=t.append("g").attr("id",n).attr("class","stateGroup");"start"===e.type&&function(t){t.append("circle").style("stroke","black").style("fill","black").attr("r",d().state.sizeUnit).attr("cx",d().state.padding+d().state.sizeUnit).attr("cy",d().state.padding+d().state.sizeUnit)}(i),"end"===e.type&&function(t){t.append("circle").style("stroke","black").style("fill","white").attr("r",d().state.sizeUnit+d().state.miniPadding).attr("cx",d().state.padding+d().state.sizeUnit+d().state.miniPadding).attr("cy",d().state.padding+d().state.sizeUnit+d().state.miniPadding),t.append("circle").style("stroke","black").style("fill","black").attr("r",d().state.sizeUnit).attr("cx",d().state.padding+d().state.sizeUnit+2).attr("cy",d().state.padding+d().state.sizeUnit+2)}(i),"fork"!==e.type&&"join"!==e.type||function(t,e){var n=d().state.forkWidth,r=d().state.forkHeight;if(e.parentId){var i=n;n=r,r=i}t.append("rect").style("stroke","black").style("fill","black").attr("width",n).attr("height",r).attr("x",d().state.padding).attr("y",d().state.padding)}(i,e),"note"===e.type&&function(t,e){e.attr("class","state-note");var n=e.append("rect").attr("x",0).attr("y",d().state.padding),r=function(t,e,n,r){var i=0,o=r.append("text");o.style("text-anchor","start"),o.attr("class","noteText");var a=t.replace(/\r\n/g,"
"),s=(a=a.replace(/\n/g,"
")).split(//gi),l=1.25*d().state.noteMargin,c=!0,u=!1,h=void 0;try{for(var f,p=s[Symbol.iterator]();!(c=(f=p.next()).done);c=!0){var g=f.value.trim();if(g.length>0){var m=o.append("tspan");m.text(g),0===l&&(l+=m.node().getBBox().height),i+=l,m.attr("x",0+d().state.noteMargin),m.attr("y",0+i+1.25*d().state.noteMargin)}}}catch(t){u=!0,h=t}finally{try{c||null==p.return||p.return()}finally{if(u)throw h}}return{textWidth:o.node().getBBox().width,textHeight:i}}(t,0,0,e.append("g")),i=r.textWidth;n.attr("height",r.textHeight+2*d().state.noteMargin),n.attr("width",i+2*d().state.noteMargin)}(e.note.text,i),"divider"===e.type&&function(t){t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",d().state.textHeight).attr("class","divider").attr("x2",2*d().state.textHeight).attr("y1",0).attr("y2",0)}(i),"default"===e.type&&0===e.descriptions.length&&function(t,e){var n=t.append("text").attr("x",2*d().state.padding).attr("y",d().state.textHeight+2*d().state.padding).attr("font-size",d().state.fontSize).attr("class","state-title").text(e.id).node().getBBox();t.insert("rect",":first-child").attr("x",d().state.padding).attr("y",d().state.padding).attr("width",n.width+2*d().state.padding).attr("height",n.height+2*d().state.padding).attr("rx",d().state.radius)}(i,e),"default"===e.type&&e.descriptions.length>0&&function(t,e){var n=t.append("text").attr("x",2*d().state.padding).attr("y",d().state.textHeight+1.3*d().state.padding).attr("font-size",d().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),r=n.height,i=t.append("text").attr("x",d().state.padding).attr("y",r+.4*d().state.padding+d().state.dividerMargin+d().state.textHeight).attr("class","state-description"),o=!0,a=!0;e.descriptions.forEach((function(t){o||(function(t,e,n){var r=t.append("tspan").attr("x",2*d().state.padding).text(e);n||r.attr("dy",d().state.textHeight)}(i,t,a),a=!1),o=!1}));var s=t.append("line").attr("x1",d().state.padding).attr("y1",d().state.padding+r+d().state.dividerMargin/2).attr("y2",d().state.padding+r+d().state.dividerMargin/2).attr("class","descr-divider"),l=i.node().getBBox(),c=Math.max(l.width,n.width);s.attr("x2",c+3*d().state.padding),t.insert("rect",":first-child").attr("x",d().state.padding).attr("y",d().state.padding).attr("width",c+2*d().state.padding).attr("height",l.height+r+2*d().state.padding).attr("rx",d().state.radius)}(i,e);var o=i.node().getBBox();return r.width=o.width+2*d().state.padding,r.height=o.height+2*d().state.padding,function(t,e){mn[t]=e}(n,r),r},bn=0;pn.parser.yy=fn;var _n={},xn=function(t,e){nn=d().state,pn.parser.yy.clear(),pn.parser.parse(t),g.debug("Rendering diagram "+t);var n=o.select("[id='".concat(e,"']"));n.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z"),new T.a.Graph({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel((function(){return{}})),function t(e,n,r,i){var a,s=new T.a.Graph({compound:!0,multigraph:!0}),l=!0;for(a=0;a "+t.w+": "+JSON.stringify(s.edge(t))),function(t,e,n){e.points=e.points.filter((function(t){return!Number.isNaN(t.y)}));var r=e.points,i=o.line().x((function(t){return t.x})).y((function(t){return t.y})).curve(o.curveBasis),a=t.append("path").attr("d",i(r)).attr("id","edge"+bn).attr("class","transition"),s="";if(d().state.arrowMarkerAbsolute&&(s=(s=(s=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),a.attr("marker-end","url("+s+"#"+function(t){switch(t){case fn.relationType.AGGREGATION:return"aggregation";case fn.relationType.EXTENSION:return"extension";case fn.relationType.COMPOSITION:return"composition";case fn.relationType.DEPENDENCY:return"dependency"}}(fn.relationType.DEPENDENCY)+"End)"),void 0!==n.title){for(var l=t.append("g").attr("class","stateLabel"),c=S(e.points),u=c.x,h=c.y,f=M(n.title),p=0,m=[],v=0,y=0,b=0;b<=f.length;b++){var _=l.append("text").attr("text-anchor","middle").text(f[b]).attr("x",u).attr("y",h+p),x=_.node().getBBox();if(v=Math.max(v,x.width),y=Math.min(y,x.x),g.info(x.x,u,h+p),0===p){var w=_.node().getBBox();g.info("Title height",p=w.height,h)}m.push(_)}var k=p*f.length;if(f.length>1){var C=(f.length-1)*p*.5;m.forEach((function(t,e){return t.attr("y",h+e*p-C)})),k=p*f.length}var A=l.node().getBBox();l.insert("rect",":first-child").attr("class","box").attr("x",u-v/2-d().state.padding/2).attr("y",h-k/2-d().state.padding/2-3.5).attr("width",v+d().state.padding).attr("height",k+d().state.padding),g.info(A)}bn++}(n,s.edge(t),s.edge(t).relation))})),w=x.getBBox();var k={id:r||"root",label:r||"root",width:0,height:0};return k.width=w.width+2*nn.padding,k.height=w.height+2*nn.padding,g.debug("Doc rendered",k,s),k}(fn.getRootDoc(),n,void 0,!1);var r=nn.padding,i=n.node().getBBox(),a=i.width+2*r,s=i.height+2*r;n.attr("width",1.75*a),n.attr("viewBox","".concat(i.x-nn.padding," ").concat(i.y-nn.padding," ")+a+" "+s)},wn=n(14),Sn=n.n(wn),kn=n(25),Cn=n.n(kn),An={},Tn=null,En={master:Tn},Mn="master",Dn="LR",In=0;function On(){return Cn()({length:7,characters:"0123456789abcdef"})}function Pn(t,e){for(g.debug("Entering isfastforwardable:",t.id,e.id);t.seq<=e.seq&&t!==e&&null!=e.parent;){if(Array.isArray(e.parent))return g.debug("In merge commit:",e.parent),Pn(t,An[e.parent[0]])||Pn(t,An[e.parent[1]]);e=An[e.parent]}return g.debug(t.id,e.id),t.id===e.id}var Ln={};function Rn(t,e,n){var r=t.indexOf(e);-1===r?t.push(n):t.splice(r,1,n)}var Nn,zn=function(){var t=Object.keys(An).map((function(t){return An[t]}));return t.forEach((function(t){g.debug(t.id)})),Sn.a.orderBy(t,["seq"],["desc"])},Fn={setDirection:function(t){Dn=t},setOptions:function(t){g.debug("options str",t),t=(t=t&&t.trim())||"{}";try{Ln=JSON.parse(t)}catch(t){g.error("error while parsing gitGraph options",t.message)}},getOptions:function(){return Ln},commit:function(t){var e={id:On(),message:t,seq:In++,parent:null==Tn?null:Tn.id};Tn=e,An[e.id]=e,En[Mn]=e.id,g.debug("in pushCommit "+e.id)},branch:function(t){En[t]=null!=Tn?Tn.id:null,g.debug("in createBranch")},merge:function(t){var e=An[En[Mn]],n=An[En[t]];if(function(t,e){return t.seq>e.seq&&Pn(e,t)}(e,n))g.debug("Already merged");else{if(Pn(e,n))En[Mn]=En[t],Tn=An[En[Mn]];else{var r={id:On(),message:"merged branch "+t+" into "+Mn,seq:In++,parent:[null==Tn?null:Tn.id,En[t]]};Tn=r,An[r.id]=r,En[Mn]=r.id}g.debug(En),g.debug("in mergeBranch")}},checkout:function(t){g.debug("in checkout");var e=En[Mn=t];Tn=An[e]},reset:function(t){g.debug("in reset",t);var e=t.split(":")[0],n=parseInt(t.split(":")[1]),r="HEAD"===e?Tn:An[En[e]];for(g.debug(r,n);n>0;)if(n--,!(r=An[r.parent])){var i="Critical error - unique parent commit not found during reset";throw g.error(i),i}Tn=r,En[Mn]=r.id},prettyPrint:function(){g.debug(An),function t(e){var n=Sn.a.maxBy(e,"seq"),r="";e.forEach((function(t){r+=t===n?"\t*":"\t|"}));var i=[r,n.id,n.seq];for(var o in En)En[o]===n.id&&i.push(o);if(g.debug(i.join(" ")),Array.isArray(n.parent))Rn(e,n,An[n.parent[0]]),e.push(An[n.parent[1]]);else{if(null==n.parent)return;Rn(e,n,An[n.parent])}t(e=Sn.a.uniqBy(e,"id"))}([zn()[0]])},clear:function(){An={},En={master:Tn=null},Mn="master",In=0},getBranchesAsObjArray:function(){var t=[];for(var e in En)t.push({name:e,commit:An[En[e]]});return t},getBranches:function(){return En},getCommits:function(){return An},getCommitsArray:zn,getCurrentBranch:function(){return Mn},getDirection:function(){return Dn},getHead:function(){return Tn}},Bn=n(19),Vn=n.n(Bn),jn={},Yn={nodeSpacing:150,nodeFillColor:"yellow",nodeStrokeWidth:2,nodeStrokeColor:"grey",lineStrokeWidth:4,branchOffset:50,lineColor:"grey",leftMargin:50,branchColors:["#442f74","#983351","#609732","#AA9A39"],nodeRadius:10,nodeLabel:{width:75,height:100,x:-25,y:0}},Un={};function Gn(t,e,n,r){var i=b(r,o.curveBasis),a=Yn.branchColors[n%Yn.branchColors.length],s=o.line().x((function(t){return Math.round(t.x)})).y((function(t){return Math.round(t.y)})).curve(i);t.append("svg:path").attr("d",s(e)).style("stroke",a).style("stroke-width",Yn.lineStrokeWidth).style("fill","none")}function Hn(t,e){e=e||t.node().getBBox();var n=t.node().getCTM();return{left:n.e+e.x*n.a,top:n.f+e.y*n.d,width:e.width,height:e.height}}function qn(t,e,n,r,i){g.debug("svgDrawLineForCommits: ",e,n);var o=Hn(t.select("#node-"+e+" circle")),a=Hn(t.select("#node-"+n+" circle"));switch(r){case"LR":if(o.left-a.left>Yn.nodeSpacing){var s={x:o.left-Yn.nodeSpacing,y:a.top+a.height/2};Gn(t,[s,{x:a.left+a.width,y:a.top+a.height/2}],i,"linear"),Gn(t,[{x:o.left,y:o.top+o.height/2},{x:o.left-Yn.nodeSpacing/2,y:o.top+o.height/2},{x:o.left-Yn.nodeSpacing/2,y:s.y},s],i)}else Gn(t,[{x:o.left,y:o.top+o.height/2},{x:o.left-Yn.nodeSpacing/2,y:o.top+o.height/2},{x:o.left-Yn.nodeSpacing/2,y:a.top+a.height/2},{x:a.left+a.width,y:a.top+a.height/2}],i);break;case"BT":if(a.top-o.top>Yn.nodeSpacing){var l={x:a.left+a.width/2,y:o.top+o.height+Yn.nodeSpacing};Gn(t,[l,{x:a.left+a.width/2,y:a.top}],i,"linear"),Gn(t,[{x:o.left+o.width/2,y:o.top+o.height},{x:o.left+o.width/2,y:o.top+o.height+Yn.nodeSpacing/2},{x:a.left+a.width/2,y:l.y-Yn.nodeSpacing/2},l],i)}else Gn(t,[{x:o.left+o.width/2,y:o.top+o.height},{x:o.left+o.width/2,y:o.top+Yn.nodeSpacing/2},{x:a.left+a.width/2,y:a.top-Yn.nodeSpacing/2},{x:a.left+a.width/2,y:a.top}],i)}}function Wn(t,e){return t.select(e).node().cloneNode(!0)}function $n(t,e,n,r){var i,o=Object.keys(jn).length;if("string"==typeof e)do{if(g.debug("in renderCommitHistory",(i=jn[e]).id,i.seq),t.select("#node-"+e).size()>0)return;t.append((function(){return Wn(t,"#def-commit")})).attr("class","commit").attr("id",(function(){return"node-"+i.id})).attr("transform",(function(){switch(r){case"LR":return"translate("+(i.seq*Yn.nodeSpacing+Yn.leftMargin)+", "+Nn*Yn.branchOffset+")";case"BT":return"translate("+(Nn*Yn.branchOffset+Yn.leftMargin)+", "+(o-i.seq)*Yn.nodeSpacing+")"}})).attr("fill",Yn.nodeFillColor).attr("stroke",Yn.nodeStrokeColor).attr("stroke-width",Yn.nodeStrokeWidth);var a=void 0;for(var s in n)if(n[s].commit===i){a=n[s];break}a&&(g.debug("found branch ",a.name),t.select("#node-"+i.id+" p").append("xhtml:span").attr("class","branch-label").text(a.name+", ")),t.select("#node-"+i.id+" p").append("xhtml:span").attr("class","commit-id").text(i.id),""!==i.message&&"BT"===r&&t.select("#node-"+i.id+" p").append("xhtml:span").attr("class","commit-msg").text(", "+i.message),e=i.parent}while(e&&jn[e]);Array.isArray(e)&&(g.debug("found merge commmit",e),$n(t,e[0],n,r),Nn++,$n(t,e[1],n,r),Nn--)}function Zn(t,e,n,r){for(r=r||0;e.seq>0&&!e.lineDrawn;)"string"==typeof e.parent?(qn(t,e.id,e.parent,n,r),e.lineDrawn=!0,e=jn[e.parent]):Array.isArray(e.parent)&&(qn(t,e.id,e.parent[0],n,r),qn(t,e.id,e.parent[1],n,r+1),Zn(t,jn[e.parent[1]],n,r+1),e.lineDrawn=!0,e=jn[e.parent[0]])}var Xn,Kn="",Qn=!1,Jn={setMessage:function(t){g.debug("Setting message to: "+t),Kn=t},getMessage:function(){return Kn},setInfo:function(t){Qn=t},getInfo:function(){return Qn}},tr=n(20),er=n.n(tr),nr={},rr={},ir="",or={addSection:function(t,e){void 0===rr[t]&&(rr[t]=e,g.debug("Added new section :",t))},getSections:function(){return rr},cleanupValue:function(t){return":"===t.substring(0,1)?(t=t.substring(1).trim(),Number(t.trim())):Number(t.trim())},clear:function(){rr={},ir=""},setTitle:function(t){ir=t},getTitle:function(){return ir}},ar=n(21),sr=n.n(ar),lr={},cr={},ur=[],hr="",dr={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},addEntity:function(t){void 0===cr[t]&&(cr[t]=t,g.debug("Added new entity :",t))},getEntities:function(){return cr},addRelationship:function(t,e,n,r){var i={entityA:t,roleA:e,entityB:n,relSpec:r};ur.push(i),g.debug("Added new relationship :",i)},getRelationships:function(){return ur},clear:function(){cr={},ur=[],hr=""},setTitle:function(t){hr=t},getTitle:function(){return hr}},fr=n(22),pr=n.n(fr),gr={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END"},mr=gr,vr={},yr=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")},br=0,_r=function(t,e){g.info("Drawing ER diagram"),dr.clear();var n=pr.a.parser;n.yy=dr;try{n.parse(t)}catch(t){g.debug("Parsing failed")}var r,i=o.select("[id='".concat(e,"']"));(function(t,e){var n;t.append("defs").append("marker").attr("id",gr.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",gr.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),(n=t.append("defs").append("marker").attr("id",gr.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),(n=t.append("defs").append("marker").attr("id",gr.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",gr.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",gr.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),(n=t.append("defs").append("marker").attr("id",gr.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),(n=t.append("defs").append("marker").attr("id",gr.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")})(i,vr),r=new T.a.Graph({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:vr.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));var a,s,l,c,u=(a=i,s=dr.getEntities(),l=r,Object.keys(s).forEach((function(t){var e=a.append("g").attr("id",t);c=void 0===c?t:c;var n="entity-"+t,r=e.append("text").attr("id",n).attr("x",0).attr("y",(vr.fontSize+2*vr.entityPadding)/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("style","font-family: "+d().fontFamily+"; font-size: "+vr.fontSize).text(t),i=r.node().getBBox(),o=Math.max(vr.minEntityWidth,i.width+2*vr.entityPadding),s=Math.max(vr.minEntityHeight,i.height+2*vr.entityPadding);r.attr("transform","translate("+o/2+","+s/2+")");var u=e.insert("rect","#"+n).attr("fill",vr.fill).attr("fill-opacity","100%").attr("stroke",vr.stroke).attr("x",0).attr("y",0).attr("width",o).attr("height",s).node().getBBox();l.setNode(t,{width:u.width,height:u.height,shape:"rect",id:t})})),c),h=function(t,e){return t.forEach((function(t){e.setEdge(t.entityA,t.entityB,{relationship:t},yr(t))})),t}(dr.getRelationships(),r);Oe.a.layout(r),function(t,e){e.nodes().forEach((function(n){void 0!==n&&void 0!==e.node(n)&&t.select("#"+n).attr("transform","translate("+(e.node(n).x-e.node(n).width/2)+","+(e.node(n).y-e.node(n).height/2)+" )")}))}(i,r),h.forEach((function(t){!function(t,e,n,r){br++;var i=n.edge(e.entityA,e.entityB,yr(e)),a=o.line().x((function(t){return t.x})).y((function(t){return t.y})).curve(o.curveBasis),s=t.insert("path","#"+r).attr("d",a(i.points)).attr("stroke",vr.stroke).attr("fill","none");e.relSpec.relType===dr.Identification.NON_IDENTIFYING&&s.attr("stroke-dasharray","8,8");var l="";switch(vr.arrowMarkerAbsolute&&(l=(l=(l=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),e.relSpec.cardA){case dr.Cardinality.ZERO_OR_ONE:s.attr("marker-end","url("+l+"#"+mr.ZERO_OR_ONE_END+")");break;case dr.Cardinality.ZERO_OR_MORE:s.attr("marker-end","url("+l+"#"+mr.ZERO_OR_MORE_END+")");break;case dr.Cardinality.ONE_OR_MORE:s.attr("marker-end","url("+l+"#"+mr.ONE_OR_MORE_END+")");break;case dr.Cardinality.ONLY_ONE:s.attr("marker-end","url("+l+"#"+mr.ONLY_ONE_END+")")}switch(e.relSpec.cardB){case dr.Cardinality.ZERO_OR_ONE:s.attr("marker-start","url("+l+"#"+mr.ZERO_OR_ONE_START+")");break;case dr.Cardinality.ZERO_OR_MORE:s.attr("marker-start","url("+l+"#"+mr.ZERO_OR_MORE_START+")");break;case dr.Cardinality.ONE_OR_MORE:s.attr("marker-start","url("+l+"#"+mr.ONE_OR_MORE_START+")");break;case dr.Cardinality.ONLY_ONE:s.attr("marker-start","url("+l+"#"+mr.ONLY_ONE_START+")")}var c=s.node().getTotalLength(),u=s.node().getPointAtLength(.5*c),h="rel"+br,f=t.append("text").attr("id",h).attr("x",u.x).attr("y",u.y).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("style","font-family: "+d().fontFamily+"; font-size: "+vr.fontSize).text(e.roleA).node().getBBox();t.insert("rect","#"+h).attr("x",u.x-f.width/2).attr("y",u.y-f.height/2).attr("width",f.width).attr("height",f.height).attr("fill","white").attr("fill-opacity","85%")}(i,t,r,u)}));var f=vr.diagramPadding,p=i.node().getBBox(),m=p.width+2*f,v=p.height+2*f;i.attr("height",v),i.attr("width","100%"),i.attr("style","max-width: ".concat(m,"px;")),i.attr("viewBox","".concat(p.x-f," ").concat(p.y-f," ").concat(m," ").concat(v))};function xr(t){return(xr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}for(var wr={},Sr=0,kr=["default","forest","dark","neutral"];SrAr.maxTextSize&&(i="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa"),void 0!==r)r.innerHTML="",o.select(r).append("div").attr("id","d"+t).attr("style","font-family: "+Ar.fontFamily).append("svg").attr("id",t).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg").append("g");else{var a=document.getElementById(t);a&&a.remove();var c=document.querySelector("#d"+t);c&&(c.innerHTML=""),o.select("body").append("div").attr("id","d"+t).append("svg").attr("id",t).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg").append("g")}window.txt=i,i=function(t){return t.replace(/style.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})).replace(/classDef.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})).replace(/#\w+;/g,(function(t){var e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"\ufb02\xb0\xb0"+e+"\xb6\xdf":"\ufb02\xb0"+e+"\xb6\xdf"}))}(i);var u=o.select("#d"+t).node(),h=w(i),d=u.firstChild,f=d.firstChild,p=wr[Ar.theme];if(void 0===p&&(p=""),void 0!==Ar.themeCSS&&(p+="\n".concat(Ar.themeCSS)),void 0!==Ar.fontFamily&&(p+="\n:root { --mermaid-font-family: ".concat(Ar.fontFamily,"}")),void 0!==Ar.altFontFamily&&(p+="\n:root { --mermaid-alt-font-family: ".concat(Ar.altFontFamily,"}")),"flowchart"===h){var m=function(t){g.info("Extracting classes"),X.clear();var e=Q.a.parser;return e.yy=X,e.parse(t),X.getClasses()}(i);for(var v in m)p+="\n.".concat(v," > * { ").concat(m[v].styles.join(" !important; ")," !important; }"),m[v].textStyles&&(p+="\n.".concat(v," tspan { ").concat(m[v].textStyles.join(" !important; ")," !important; }"))}var y=document.createElement("style");y.innerHTML=s()(p,"#".concat(t)),d.insertBefore(y,f);var b=document.createElement("style"),_=window.getComputedStyle(d);switch(b.innerHTML="#".concat(t," {\n color: ").concat(_.color,";\n font: ").concat(_.font,";\n }"),d.insertBefore(b,f),h){case"git":Ar.flowchart.arrowMarkerAbsolute=Ar.arrowMarkerAbsolute,function(t){Un=t}(Ar.git),function(t,e,n){try{var r=Vn.a.parser;r.yy=Fn,r.yy.clear(),g.debug("in gitgraph renderer",t+"\n","id:",e,!1),r.parse(t+"\n"),Yn=Sn.a.assign(Yn,Un,Fn.getOptions()),g.debug("effective options",Yn);var i=Fn.getDirection();jn=Fn.getCommits();var a=Fn.getBranchesAsObjArray();"BT"===i&&(Yn.nodeLabel.x=a.length*Yn.branchOffset,Yn.nodeLabel.width="100%",Yn.nodeLabel.y=-2*Yn.nodeRadius);var s=o.select('[id="'.concat(e,'"]'));for(var l in function(t){t.append("defs").append("g").attr("id","def-commit").append("circle").attr("r",Yn.nodeRadius).attr("cx",0).attr("cy",0),t.select("#def-commit").append("foreignObject").attr("width",Yn.nodeLabel.width).attr("height",Yn.nodeLabel.height).attr("x",Yn.nodeLabel.x).attr("y",Yn.nodeLabel.y).attr("class","node-label").attr("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility").append("p").html("")}(s),Nn=1,a){var c=a[l];$n(s,c.commit.id,a,i),Zn(s,c.commit,i),Nn++}s.attr("height",(function(){return"BT"===i?Object.keys(jn).length*Yn.nodeSpacing:(a.length+1)*Yn.branchOffset}))}catch(t){g.error("Error while rendering gitgraph"),g.error(t.message)}}(i,t);break;case"flowchart":Ar.flowchart.arrowMarkerAbsolute=Ar.arrowMarkerAbsolute,function(t){for(var e=Object.keys(t),n=0;ne&&(n.starty=e-6,e+=12),function(t,e,n,r,i){var o={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0},a=e.anchored;o.x=e.startx,o.y=e.starty,o.class="activation"+i%3,o.width=e.stopx-e.startx,o.height=n-e.starty,St(a,o)}(0,n,e,0,Kt(t.from.actor).length),$t.insert(n.startx,e-10,n.stopx,e)}(t,$t.getVerticalPos());break;case Ot.parser.yy.LINETYPE.LOOP_START:$t.bumpVerticalPos(Wt.boxMargin),$t.newLoop(t.message),$t.bumpVerticalPos(Wt.boxMargin+Wt.boxTextMargin);break;case Ot.parser.yy.LINETYPE.LOOP_END:e=$t.endLoop(),It(a,e,"loop",Wt),$t.bumpVerticalPos(Wt.boxMargin);break;case Ot.parser.yy.LINETYPE.RECT_START:$t.bumpVerticalPos(Wt.boxMargin),$t.newLoop(void 0,t.message),$t.bumpVerticalPos(Wt.boxMargin);break;case Ot.parser.yy.LINETYPE.RECT_END:var o=$t.endLoop();(function(t,e){St(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()})(a,o),$t.bumpVerticalPos(Wt.boxMargin);break;case Ot.parser.yy.LINETYPE.OPT_START:$t.bumpVerticalPos(Wt.boxMargin),$t.newLoop(t.message),$t.bumpVerticalPos(Wt.boxMargin+Wt.boxTextMargin);break;case Ot.parser.yy.LINETYPE.OPT_END:e=$t.endLoop(),It(a,e,"opt",Wt),$t.bumpVerticalPos(Wt.boxMargin);break;case Ot.parser.yy.LINETYPE.ALT_START:$t.bumpVerticalPos(Wt.boxMargin),$t.newLoop(t.message),$t.bumpVerticalPos(Wt.boxMargin+Wt.boxTextMargin);break;case Ot.parser.yy.LINETYPE.ALT_ELSE:$t.bumpVerticalPos(Wt.boxMargin),e=$t.addSectionToLoop(t.message),$t.bumpVerticalPos(Wt.boxMargin);break;case Ot.parser.yy.LINETYPE.ALT_END:e=$t.endLoop(),It(a,e,"alt",Wt),$t.bumpVerticalPos(Wt.boxMargin);break;case Ot.parser.yy.LINETYPE.PAR_START:$t.bumpVerticalPos(Wt.boxMargin),$t.newLoop(t.message),$t.bumpVerticalPos(Wt.boxMargin+Wt.boxTextMargin);break;case Ot.parser.yy.LINETYPE.PAR_AND:$t.bumpVerticalPos(Wt.boxMargin),e=$t.addSectionToLoop(t.message),$t.bumpVerticalPos(Wt.boxMargin);break;case Ot.parser.yy.LINETYPE.PAR_END:e=$t.endLoop(),It(a,e,"par",Wt),$t.bumpVerticalPos(Wt.boxMargin);break;default:try{$t.bumpVerticalPos(Wt.messageMargin);var l=Qt(t.from),c=Qt(t.to);n=l[l[0]<=c[0]?1:0],r=c[l[0]/gi),h=!0,d=!1,f=void 0;try{for(var p,g=u[Symbol.iterator]();!(h=(p=g.next()).done);h=!0){var m=p.value;l.push(a.append("text").attr("x",s).attr("y",r-7+17*c).style("text-anchor","middle").attr("class","messageText").text(m.trim())),c++}}catch(t){d=!0,f=t}finally{try{h||null==g.return||g.return()}finally{if(d)throw f}}for(var v,y=17*(c-1),b=l.map((function(t){return(t._groups||t)[0][0].getBBox().width})),_=Math.max.apply(Math,function(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e0&&(e=t.classes.join(" "));for(var n=0,r=0;rn-e?n+o+1.5*De.leftPadding>c?e+r-5:n+r+5:(n-e)/2+e+r})).attr("y",(function(t,r){return r*e+De.barHeight/2+(De.fontSize/2-2)+n})).attr("text-height",i).attr("class",(function(t){var e=s(t.startTime),n=s(t.endTime);t.milestone&&(n=e+i);var r=this.getBBox().width,o="";t.classes.length>0&&(o=t.classes.join(" "));for(var a=0,u=0;un-e?n+r+1.5*De.leftPadding>c?o+" taskTextOutsideLeft taskTextOutside"+a+" "+h:o+" taskTextOutsideRight taskTextOutside"+a+" "+h+" width-"+r:o+" taskText taskText"+a+" "+h+" width-"+r}))}(t,i,c,d,r,0,e),function(t,e){for(var n=[],r=0,i=0;i/gi),n=-(e.length-1)/2,r=document.createElementNS("http://www.w3.org/2000/svg","text");r.setAttribute("dy",n+"em");for(var i=0;i0&&o.setAttribute("dy","1em"),o.textContent=e[i],r.appendChild(o)}return r})).attr("x",10).attr("y",(function(i,o){if(!(o>0))return i[1]*t/2+e;for(var a=0;a "+t.w+": "+JSON.stringify(i.edge(t))),function(t,e,n,r){var i=function(t){switch(t){case Ge.relationType.AGGREGATION:return"aggregation";case Ge.relationType.EXTENSION:return"extension";case Ge.relationType.COMPOSITION:return"composition";case Ge.relationType.DEPENDENCY:return"dependency"}};e.points=e.points.filter((function(t){return!Number.isNaN(t.y)}));var a,s,l=e.points,c=o.line().x((function(t){return t.x})).y((function(t){return t.y})).curve(o.curveBasis),u=t.append("path").attr("d",c(l)).attr("id","edge"+We).attr("class","relation"),h="";r.arrowMarkerAbsolute&&(h=(h=(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),1==n.relation.lineType&&u.attr("class","relation dashed-line"),"none"!==n.relation.type1&&u.attr("marker-start","url("+h+"#"+i(n.relation.type1)+"Start)"),"none"!==n.relation.type2&&u.attr("marker-end","url("+h+"#"+i(n.relation.type2)+"End)");var d,f,p,m,v=e.points.length,y=S(e.points);if(a=y.x,s=y.y,v%2!=0&&v>1){var b=k("none"!==n.relation.type1,e.points,e.points[0]),_=k("none"!==n.relation.type2,e.points,e.points[v-1]);g.debug("cardinality_1_point "+JSON.stringify(b)),g.debug("cardinality_2_point "+JSON.stringify(_)),d=b.x,f=b.y,p=_.x,m=_.y}if(void 0!==n.title){var x=t.append("g").attr("class","classLabel"),w=x.append("text").attr("class","label").attr("x",a).attr("y",s).attr("fill","red").attr("text-anchor","middle").text(n.title);window.label=w;var C=w.node().getBBox();x.insert("rect",":first-child").attr("class","box").attr("x",C.x-r.padding/2).attr("y",C.y-r.padding/2).attr("width",C.width+r.padding).attr("height",C.height+r.padding)}g.info("Rendering relation "+JSON.stringify(n)),void 0!==n.relationTitle1&&"none"!==n.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",d).attr("y",f).attr("fill","black").attr("font-size","6").text(n.relationTitle1),void 0!==n.relationTitle2&&"none"!==n.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",p).attr("y",m).attr("fill","black").attr("font-size","6").text(n.relationTitle2),We++}(r,i.edge(t),i.edge(t).relation,Je))})),r.attr("height",i.graph().height+40),r.attr("width",1.5*i.graph().width+20),r.attr("viewBox","-10 -10 "+(i.graph().width+20)+" "+(i.graph().height+20))}(i,t);break;case"state":xn(i,t);break;case"info":Ar.class.arrowMarkerAbsolute=Ar.arrowMarkerAbsolute,function(t){Object.keys(t).forEach((function(e){nr[e]=t[e]}))}(Ar.class),function(t,e,n){try{var r=er.a.parser;r.yy=Jn,g.debug("Renering info diagram\n"+t),r.parse(t),g.debug("Parsed info diagram");var i=o.select("#"+e);i.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+n),i.attr("height",100),i.attr("width",400)}catch(t){g.error("Error while rendering info diagram"),g.error(t.message)}}(i,t,l.version);break;case"pie":Ar.class.arrowMarkerAbsolute=Ar.arrowMarkerAbsolute,function(t){Object.keys(t).forEach((function(e){lr[e]=t[e]}))}(Ar.class),function(t,e){try{var n=sr.a.parser;n.yy=or,g.debug("Rendering info diagram\n"+t),n.yy.clear(),n.parse(t),g.debug("Parsed info diagram");var r=document.getElementById(e);void 0===(Xn=r.parentElement.offsetWidth)&&(Xn=1200),void 0!==lr.useWidth&&(Xn=lr.useWidth),r.setAttribute("height","100%"),r.setAttribute("viewBox","0 0 "+Xn+" 450");var i=Xn,a=Math.min(i,450)/2-40,s=o.select("#"+e).append("svg").attr("width",i).attr("height",450).append("g").attr("transform","translate("+i/2+",225)"),l=or.getSections(),c=0;Object.keys(l).forEach((function(t){c+=l[t]})),g.info(l);var u=o.scaleOrdinal().domain(l).range(o.schemeSet2),h=o.pie().value((function(t){return t.value}))(o.entries(l)),d=o.arc().innerRadius(0).outerRadius(a);s.selectAll("mySlices").data(h).enter().append("path").attr("d",d).attr("fill",(function(t){return u(t.data.key)})).attr("stroke","black").style("stroke-width","2px").style("opacity",.7),s.selectAll("mySlices").data(h).enter().append("text").text((function(t){return(t.data.value/c*100).toFixed(0)+"%"})).attr("transform",(function(t){return"translate("+d.centroid(t)+")"})).style("text-anchor","middle").attr("class","slice").style("font-size",17),s.append("text").text(n.yy.getTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");var f=s.selectAll(".legend").data(u.domain()).enter().append("g").attr("class","legend").attr("transform",(function(t,e){return"translate(216,"+(22*e-22*u.domain().length/2)+")"}));f.append("rect").attr("width",18).attr("height",18).style("fill",u).style("stroke",u),f.append("text").attr("x",22).attr("y",14).text((function(t){return t}))}catch(t){g.error("Error while rendering info diagram"),g.error(t.message)}}(i,t);break;case"er":(function(t){for(var e=Object.keys(t),n=0;n *").attr("xmlns","http://www.w3.org/1999/xhtml");var x=o.select("#d"+t).node().innerHTML;if(Ar.arrowMarkerAbsolute&&"false"!==Ar.arrowMarkerAbsolute||(x=x.replace(/marker-end="url\(.*?#/g,'marker-end="url(#',"g")),x=function(t){return t.replace(/\ufb02\xb0\xb0/g,(function(){return"&#"})).replace(/\ufb02\xb0/g,(function(){return"&"})).replace(/\xb6\xdf/g,(function(){return";"}))}(x),void 0!==n)switch(h){case"flowchart":n(x,X.bindFunctions);break;case"gantt":n(x,Te.bindFunctions);break;case"class":n(x,Ge.bindFunctions);break;default:n(x)}else g.debug("CB = undefined!");var C=o.select("#d"+t).node();return null!==C&&"function"==typeof C.remove&&o.select("#d"+t).node().remove(),x},parse:function(t){var e,n=w(t);switch(g.debug("Type "+n),n){case"git":(e=Vn.a).parser.yy=Fn;break;case"flowchart":X.clear(),(e=Q.a).parser.yy=X;break;case"flowchart-v2":X.clear(),(e=wt).parser.yy=X;break;case"sequence":(e=Pt.a).parser.yy=Gt;break;case"gantt":(e=ee.a).parser.yy=Te;break;case"class":(e=qe.a).parser.yy=Ge;break;case"state":(e=gn.a).parser.yy=fn;break;case"info":g.debug("info info info"),(e=er.a).parser.yy=Jn;break;case"pie":g.debug("pie"),(e=sr.a).parser.yy=or;break;case"er":g.debug("er"),(e=pr.a).parser.yy=dr}e.parser.yy.parseError=function(t,e){throw{str:t,hash:e}},e.parse(t)},initialize:function(t){g.debug("Initializing mermaidAPI ",l.version),"object"===xr(t)&&function(t){for(var e=Object.keys(t),n=0;n=2?(void 0!==arguments[0]&&(Mr.sequenceConfig=arguments[0]),t=arguments[1]):t=arguments[0],"function"==typeof arguments[arguments.length-1]?(e=arguments[arguments.length-1],g.debug("Callback function found")):void 0!==r.mermaid&&("function"==typeof r.mermaid.callback?(e=r.mermaid.callback,g.debug("Callback function found")):g.debug("No Callback function found")),t=void 0===t?document.querySelectorAll(".mermaid"):"string"==typeof t?document.querySelectorAll(t):t instanceof window.Node?[t]:t,g.debug("Start On Load before: "+Mr.startOnLoad),void 0!==Mr.startOnLoad&&(g.debug("Start On Load inner: "+Mr.startOnLoad),Tr.initialize({startOnLoad:Mr.startOnLoad})),void 0!==Mr.ganttConfig&&Tr.initialize({gantt:Mr.ganttConfig});for(var o=function(r){var o=t[r];if(o.getAttribute("data-processed"))return"continue";o.setAttribute("data-processed",!0);var a="mermaid-".concat(Date.now());n=i.a.decode(n=o.innerHTML).trim().replace(//gi,"
"),Tr.render(a,n,(function(t,n){o.innerHTML=t,void 0!==e&&e(a),n&&n(o)}),o)},a=0;ar||l.newline?(o=0,u=m,a+=s+n,s=f.height):s=Math.max(s,f.height)}else{var v=f.height+(g?-g.y+f.y:0);(h=a+v)>i||l.newline?(o+=s+n,a=0,h=v,s=f.width):s=Math.max(s,f.width)}l.newline||(d[0]=o,d[1]=a,"horizontal"===t?o=u+n:a=h+n)}))}var h=u,d=r.curry(u,"vertical"),f=r.curry(u,"horizontal");function p(t,e,n){n=a.normalizeCssArray(n||0);var r=e.width,s=e.height,l=o(t.left,r),c=o(t.top,s),u=o(t.right,r),h=o(t.bottom,s),d=o(t.width,r),f=o(t.height,s),p=n[2]+n[0],g=n[1]+n[3],m=t.aspect;switch(isNaN(d)&&(d=r-u-g-l),isNaN(f)&&(f=s-h-p-c),null!=m&&(isNaN(d)&&isNaN(f)&&(m>r/s?d=.8*r:f=.8*s),isNaN(d)&&(d=m*f),isNaN(f)&&(f=d/m)),isNaN(l)&&(l=r-u-d-g),isNaN(c)&&(c=s-h-f-p),t.left||t.right){case"center":l=r/2-d/2-n[3];break;case"right":l=r-d-g}switch(t.top||t.bottom){case"middle":case"center":c=s/2-f/2-n[0];break;case"bottom":c=s-f-p}l=l||0,c=c||0,isNaN(d)&&(d=r-g-l-(u||0)),isNaN(f)&&(f=s-p-c-(h||0));var v=new i(l+n[3],c+n[0],d,f);return v.margin=n,v}function g(t,e){return e&&t&&s(l,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}e.LOCATION_PARAMS=l,e.HV_NAMES=c,e.box=h,e.vbox=d,e.hbox=f,e.getAvailableSize=function(t,e,n){var r=e.width,i=e.height,s=o(t.x,r),l=o(t.y,i),c=o(t.x2,r),u=o(t.y2,i);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(c)||isNaN(parseFloat(t.x2)))&&(c=r),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(u)||isNaN(parseFloat(t.y2)))&&(u=i),n=a.normalizeCssArray(n||0),{width:Math.max(c-s-n[1]-n[3],0),height:Math.max(u-l-n[0]-n[2],0)}},e.getLayoutRect=p,e.positionElement=function(t,e,n,o,a){var s=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],c=a&&a.boundingMode||"all";if(s||l){var u;if("raw"===c)u="group"===t.type?new i(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(u=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(u=u.clone()).applyTransform(h)}e=p(r.defaults({width:u.width,height:u.height},e),n,o);var d=t.position,f=s?e.x-u.x:0,g=l?e.y-u.y:0;t.attr("position","raw"===c?[f,g]:[d[0]+f,d[1]+g])}},e.sizeCalculable=function(t,e){return null!=t[c[e][0]]||null!=t[c[e][1]]&&null!=t[c[e][2]]},e.mergeLayoutParam=function(t,e,n){!r.isObject(n)&&(n={});var i=n.ignoreSize;!r.isArray(i)&&(i=[i,i]);var o=l(c[0],0),a=l(c[1],1);function l(n,r){var o={},a=0,l={},c=0;if(s(n,(function(e){l[e]=t[e]})),s(n,(function(t){u(e,t)&&(o[t]=l[t]=e[t]),h(o,t)&&a++,h(l,t)&&c++})),i[r])return h(e,n[1])?l[n[2]]=null:h(e,n[2])&&(l[n[1]]=null),l;if(2!==c&&a){if(a>=2)return o;for(var d=0;dg[1]?-1:1,v=["start"===s?g[0]-m*p:"end"===s?g[1]+m*p:(g[0]+g[1])/2,A(s)?t.labelOffset+u*p:0],b=e.get("nameRotate");null!=b&&(b=b*y/180),A(s)?r=w(t.rotation,null!=b?b:t.rotation,u):(r=function(t,e,n,r){var i,o,a=f(n-t.rotation),s=r[0]>r[1],l="start"===e&&!s||"start"!==e&&s;return d(a-y/2)?(o=l?"bottom":"top",i="center"):d(a-1.5*y)?(o=l?"top":"bottom",i="center"):(o="middle",i=a<1.5*y&&a>y/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}(t,s,b||0,g),null!=(o=t.axisNameAvailableWidth)&&(o=Math.abs(o/Math.sin(r.rotation)),!isFinite(o)&&(o=null)));var _=h.getFont(),k=e.get("nameTruncate",!0)||{},C=k.ellipsis,T=i(t.nameTruncateMaxWidth,k.maxWidth,o),E=null!=C&&null!=T?l.truncateText(n,T,_,C,{minChar:2,placeholder:k.placeholder}):n,M=e.get("tooltip",!0),D=e.mainType,I={componentType:D,name:n,$vars:["name"]};I[D+"Index"]=e.componentIndex;var O=new c.Text({anid:"name",__fullText:n,__truncatedText:E,position:v,rotation:r.rotation,silent:S(e),z2:1,tooltip:M&&M.show?a({content:n,formatter:function(){return n},formatterParams:I},M):null});c.setTextStyle(O.style,h,{text:E,textFont:_,textFill:h.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:h.get("align")||r.textAlign,textVerticalAlign:h.get("verticalAlign")||r.textVerticalAlign}),e.get("triggerEvent")&&(O.eventData=x(e),O.eventData.targetType="axisName",O.eventData.name=n),this._dumbGroup.add(O),O.updateTransform(),this.group.add(O),O.decomposeTransform()}}},x=b.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},w=b.innerTextLayout=function(t,e,n){var r,i,o=f(e-t);return d(o)?(i=n>0?"top":"bottom",r="center"):d(o-y)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:r,textVerticalAlign:i}},S=b.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function k(t){t&&(t.ignore=!0)}function C(t,e,n){var r=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(r&&i){var o=g.identity([]);return g.rotate(o,o,-t.rotation),r.applyTransform(g.mul([],o,t.getLocalTransform())),i.applyTransform(g.mul([],o,e.getLocalTransform())),r.intersect(i)}}function A(t){return"middle"===t||"center"===t}function T(t,e,n,r,i){for(var o=[],a=[],s=[],l=0;l1?(("e"===(r=[t(e,(n=n.split(""))[0]),t(e,n[1])])[0]||"w"===r[0])&&r.reverse(),r.join("")):{left:"w",right:"e",top:"n",bottom:"s"}[r=o.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[n],function(t){return o.getTransform(t.group)}(e))];var r}(t,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?g[a]+"-resize":null})}))}function P(t,e,n,r,i,o,a){var s,l,c,u=e.childOfName(n);u&&u.setShape((s=B(t,e,[[r,i],[r+o,i+a]]),{x:l=h(s[0][0],s[1][0]),y:c=h(s[0][1],s[1][1]),width:d(s[0][0],s[1][0])-l,height:d(s[0][1],s[1][1])-c}))}function L(t){return r.defaults({strokeNoScale:!0},t.brushStyle)}function R(t,e,n,r){var i=[h(t,n),h(e,r)],o=[d(t,n),d(e,r)];return[[i[0],o[0]],[i[1],o[1]]]}function N(t,e,n,r,i,o,a,s){var l=r.__brushOption,u=t(l.range),h=F(n,o,a);c(i.split(""),(function(t){var e=p[t];u[e[0]][e[1]]+=h[e[0]]})),l.range=e(R(u[0][0],u[1][0],u[0][1],u[1][1])),S(n,r),E(n,{isEnd:!1})}function z(t,e,n,r,i){var o=e.__brushOption.range,a=F(t,n,r);c(o,(function(t){t[0]+=a[0],t[1]+=a[1]})),S(t,e),E(t,{isEnd:!1})}function F(t,e,n){var r=t.group,i=r.transformCoordToLocal(e,n),o=r.transformCoordToLocal(0,0);return[i[0]-o[0],i[1]-o[1]]}function B(t,e,n){var i=A(t,e);return i&&!0!==i?i.clipPath(n,t._transform):r.clone(n)}function V(t){var e=t.event;e.preventDefault&&e.preventDefault()}function j(t,e,n){return t.childOfName("main").contain(e,n)}function Y(t,e,n,i){var o,a=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],r=e[0],i=n[0]-r[0],o=n[1]-r[1];return f(i*i+o*o,.5)>6}(t)||a){if(s&&!a){"single"===l.brushMode&&T(t);var c=r.clone(l);c.brushType=U(c.brushType,s),c.panelId=!0===s?null:s.panelId,a=t._creatingCover=b(t,c),t._covers.push(a)}if(a){var u=q[U(t._brushType,s)];a.__brushOption.range=u.getCreatingRange(B(t,a,t._track)),i&&(_(t,a),u.updateCommon(t,a)),x(t,a),o={isEnd:i}}}else i&&"single"===l.brushMode&&l.removeOnClick&&C(t,e,n)&&T(t)&&(o={isEnd:i,removeOnClick:!0});return o}function U(t,e){return"auto"===t?e.defaultBrushType:t}y.prototype={constructor:y,enableBrush:function(t){var e;return this._brushType&&(a.release(e=this._zr,"globalPan",this._uid),function(t,e){c(e,(function(e,n){t.off(n,e)}))}(e,this._handlers),this._brushType=this._brushOption=null),t.brushType&&function(t,e){var n=t._zr;t._enableGlobalPan||a.take(n,"globalPan",t._uid),function(t,e){c(e,(function(e,n){t.on(n,e)}))}(n,t._handlers),t._brushType=e.brushType,t._brushOption=r.merge(r.clone(m),e,!0)}(this,t),this},setPanels:function(t){if(t&&t.length){var e=this._panels={};r.each(t,(function(t){e[t.panelId]=r.clone(t)}))}else this._panels=null;return this},mount:function(t){this._enableGlobalPan=(t=t||{}).enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this._transform=e.getLocalTransform(),this},eachCover:function(t,e){c(this._covers,t,e)},updateCovers:function(t){t=r.map(t,(function(t){return r.merge(r.clone(m),t,!0)}));var e=this._covers,n=this._covers=[],i=this,o=this._creatingCover;return new s(e,t,(function(t,e){return a(t.__brushOption,e)}),a).add(l).update(l).remove((function(t){e[t]!==o&&i.group.remove(e[t])})).execute(),this;function a(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function l(r,a){var s=t[r];if(null!=a&&e[a]===o)n[r]=e[a];else{var l=n[r]=null!=a?(e[a].__brushOption=s,e[a]):_(i,b(i,s));S(i,l)}}},unmount:function(){return this.enableBrush(!1),T(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},r.mixin(y,i);var G={mousedown:function(t){if(this._dragging)H(this,t);else if(!t.target||!t.target.draggable){V(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=C(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var r=t._zr;return e<0||e>r.getWidth()||void 0>r.getHeight()}(t,e)){var r=t._zr,i=t._covers,o=C(t,e,n);if(!t._dragging)for(var a=0;aa;)l+=360*c;return[s,l]},coordToPoint:function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*r,endAngle:-n[1]*r,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,r=e-this.cy,i=n*n+r*r,o=this.r,a=this.r0;return i<=o*o&&i>=a*a}}}},t.exports=o},"/WM3":function(t,e,n){var r=n("QuXc"),i=n("bYtY").isFunction;t.exports={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),o=(t.visualColorAccessPath||"itemStyle.color").split("."),a=t.get(o),s=!i(a)||a instanceof r?null:a;a&&!s||(a=t.getColorFromPalette(t.name,null,e.getSeriesCount())),n.setVisual("color",a);var l=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),c=t.get(l);if(n.setVisual("borderColor",c),!e.isSeriesFiltered(t))return s&&n.each((function(e){n.setItemVisual(e,"color",s(t.getDataParams(e)))})),{dataEach:n.hasItemOption?function(t,e){var n=t.getItemModel(e),r=n.get(o,!0),i=n.get(l,!0);null!=r&&t.setItemVisual(e,"color",r),null!=i&&t.setItemVisual(e,"borderColor",i)}:null}}}},"/d5a":function(t,e){var n={average:function(t){for(var e=0,n=0,r=0;re&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n1&&("string"==typeof a?l=n[a]:"function"==typeof a&&(l=a),l&&t.setData(o.downSample(o.mapDimension(u.dim),1/f,l,r)))}}}}},"/iHx":function(t,e,n){var r=n("6GrX"),i=n("IwbS"),o=["textStyle","color"];t.exports={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(o):null)},getFont:function(){return i.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return r.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"))}}},"/ry/":function(t,e,n){var r=n("bYtY"),i=n("T4UG"),o=n("5GhG").seriesModelMixin,a=i.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}});r.mixin(a,o,!0),t.exports=a},"/stD":function(t,e,n){var r=n("bYtY"),i=n("IUWy"),o=n("Kagy");function a(t,e,n){this.model=t,this.ecModel=e,this.api=n}a.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:r.clone(o.toolbox.brush.title)};var s=a.prototype;s.render=s.updateView=function(t,e,n){var i,o,a;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,o=t.brushOption.brushMode||"single",a|=t.areas.length})),this._brushType=i,this._brushMode=o,r.each(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===o:"clear"===e?a:e===i)?"emphasis":"normal")}))},s.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return r.each(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},s.onclick=function(t,e,n){var r=this._brushType,i=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},i.register("brush",a),t.exports=a},"/uUt":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("7o/Q");function i(t,e){return n=>n.lift(new o(t,e))}class o{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new a(t,this.compare,this.keySelector))}}class a extends r.a{constructor(t,e,n){super(t),this.keySelector=n,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:n}=this;e=n?n(t):t}catch(r){return this.destination.error(r)}let n=!1;if(this.hasKey)try{const{compare:t}=this;n=t(this.key,e)}catch(r){return this.destination.error(r)}else this.hasKey=!0;n||(this.key=e,this.destination.next(t))}}},"/y7N":function(t,e,n){var r=n("bYtY"),i=n("IwbS"),o=n("6GrX"),a=n("7aKB"),s=n("Fofx"),l=n("aX7z"),c=n("+rIm");function u(t,e,n,r,i){var s=h(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),l=n.getModel("label"),c=a.normalizeCssArray(l.get("padding")||0),u=l.getFont(),d=o.getBoundingRect(s,u),f=i.position,p=d.width+c[1]+c[3],g=d.height+c[0]+c[2],m=i.align;"right"===m&&(f[0]-=p),"center"===m&&(f[0]-=p/2);var v=i.verticalAlign;"bottom"===v&&(f[1]-=g),"middle"===v&&(f[1]-=g/2),function(t,e,n,r){var i=r.getWidth(),o=r.getHeight();t[0]=Math.min(t[0]+e,i)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(f,p,g,r);var y=l.get("backgroundColor");y&&"auto"!==y||(y=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:p,height:g,r:l.get("borderRadius")},position:f.slice(),style:{text:s,textFont:u,textFill:l.getTextColor(),textPosition:"inside",textPadding:c,fill:y,stroke:l.get("borderColor")||"transparent",lineWidth:l.get("borderWidth")||0,shadowBlur:l.get("shadowBlur"),shadowColor:l.get("shadowColor"),shadowOffsetX:l.get("shadowOffsetX"),shadowOffsetY:l.get("shadowOffsetY")},z2:10}}function h(t,e,n,i,o){t=e.scale.parse(t);var a=e.scale.getLabel(t,{precision:o.precision}),s=o.formatter;if(s){var c={value:l.getAxisRawValue(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};r.each(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),r=e&&e.getDataParams(t.dataIndexInside);r&&c.seriesData.push(r)})),r.isString(s)?a=s.replace("{value}",a):r.isFunction(s)&&(a=s(c))}return a}function d(t,e,n){var r=s.create();return s.rotate(r,r,n.rotation),s.translate(r,r,n.position),i.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}e.buildElStyle=function(t){var e,n=t.get("type"),r=t.getModel(n+"Style");return"line"===n?(e=r.getLineStyle()).fill=null:"shadow"===n&&((e=r.getAreaStyle()).stroke=null),e},e.buildLabelElOption=u,e.getValueLabel=h,e.getTransformedPosition=d,e.buildCartesianSingleLabelElOption=function(t,e,n,r,i,o){var a=c.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get("label.margin"),u(e,r,i,o,{position:d(r.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})},e.makeLineShape=function(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}},e.makeRectShape=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},e.makeSectorShape=function(t,e,n,r,i,o){return{cx:t,cy:e,r0:n,r,startAngle:i,endAngle:o,clockwise:!0}}},0:function(t,e,n){t.exports=n("zUnb")},"0/Rx":function(t,e){t.exports=function(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var r=t.getData();r.filterSelf((function(t){for(var e=r.getName(t),i=0;i=0&&i.each(t,(function(t){r.setIconStatus(t,"normal")}))})),r.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==o?null:{seriesIndex:o}},(function(e){var o=u[n](e.subType,e.id,e,r);o&&(i.defaults(o,e.option),l.series.push(o));var a=e.coordinateSystem;if(a&&"cartesian2d"===a.type&&("line"===n||"bar"===n)){var s=a.getAxesByScale("ordinal")[0];if(s){var c=s.dim+"Axis",h=t.queryComponents({mainType:c,index:e.get(name+"Index"),id:e.get(name+"Id")})[0].componentIndex;l[c]=l[c]||[];for(var d=0;d<=h;d++)l[c][h]=l[c][h]||{};l[c][h].boundaryGap="bar"===n}}})),"stack"===n&&(a=l.series&&l.series[0]&&"__ec_magicType_stack__"===l.series[0].stack?i.merge({stack:s.title.tiled},s.title):i.clone(s.title)),e.dispatchAction({type:"changeMagicType",currentType:n,newOption:l,newTitle:a})}},r.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)})),a.register("magicType",l),t.exports=l},"06Qe":function(t,e,n){var r,i=n("ItGF"),o="urn:schemas-microsoft-com:vml",a="undefined"==typeof window?null:window,s=!1,l=a&&a.document;if(l&&!i.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",o),r=function(t){return l.createElement("')}}catch(c){r=function(t){return l.createElement("<"+t+' xmlns="'+o+'" class="zrvml">')}}e.doc=l,e.createNode=function(t){return r(t)},e.initVML=function(){if(!s&&l){s=!0;var t=l.styleSheets;t.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}},"0Bwj":function(t,e,n){var r=n("T4UG"),i=n("I3/A"),o=n("7aKB").encodeHTML,a=n("Qxkt"),s=(n("Tghj"),r.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(t,e){for(var n=t.edges||t.links,r=t.data||t.nodes,o=t.levels,s=this.levelModels={},l=0;l=0&&(s[o[l].depth]=new a(o[l],this,e));if(r&&n)return i(r,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,r=n.getData().getItemLayout(e).depth;return n.levelModels[r]||this.parentModel})),t})),e.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,r=n.getGraph().getEdgeByIndex(e).node1.getLayout().depth;return n.levelModels[r]||this.parentModel})),t}))})).data},setNodePosition:function(t,e){var n=this.option.data[t];n.localX=e[0],n.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,n){if("edge"===n){var r=this.getDataParams(t,n),i=r.data,a=i.source+" -- "+i.target;return r.value&&(a+=" : "+r.value),o(a)}if("node"===n){var l=this.getGraph().getNodeByIndex(t).getLayout().value,c=this.getDataParams(t,n).data.name;return l&&(a=c+" : "+l),o(a)}return s.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,e){var n=s.superCall(this,"getDataParams",t,e);if(null==n.value&&"node"===e){var r=this.getGraph().getNodeByIndex(t).getLayout().value;n.value=r}return n},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}}));t.exports=s},"0Cz8":function(t,e,n){var r=n("Xi7e"),i=n("ebwN"),o=n("e4Nc");t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(t,e),this.size=n.size,this}},"0EUg":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("bHdf");function i(){return Object(r.a)(1)}},"0HBW":function(t,e,n){var r=n("ProS"),i=n("bYtY");function o(t,e){e.update="updateView",r.registerAction(e,(function(e,n){var r={};return n.eachComponent({mainType:"geo",query:e},(function(n){n[t](e.name),i.each(n.coordinateSystem.regions,(function(t){r[t.name]=n.isSelected(t.name)||!1}))})),{selected:r,name:e.name}}))}n("Hxpc"),n("7uqq"),n("dmGj"),n("SehX"),o("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),o("select",{type:"geoSelect",event:"geoselected"}),o("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(t,e,n){var r=n("bYtY"),i=n("+TT/"),o=n("OELB"),a=n("IDmD");function s(t,e,n){this._model=t}function l(t,e,n,r){var i=n.calendarModel,o=n.seriesModel,a=i?i.coordinateSystem:o?o.coordinateSystem:null;return a===this?a[t](r):null}s.prototype={constructor:s,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(t){var e=(t=o.parseDate(t)).getFullYear(),n=t.getMonth()+1;n=n<10?"0"+n:n;var r=t.getDate();r=r<10?"0"+r:r;var i=t.getDay();return{y:e,m:n,d:r,day:i=Math.abs((i+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+n+"-"+r,date:t}},getNextNDay:function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},update:function(t,e){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 n=this._rangeInfo.weeks||1,o=["width","height"],a=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[n,7]:[7,n];r.each([0,1],(function(t){h(a,t)&&(s[o[t]]=a[t]*l[t])}));var c={width:e.getWidth(),height:e.getHeight()},u=this._rect=i.getLayoutRect(s,c);function h(t,e){return null!=t[e]&&"auto"!==t[e]}r.each([0,1],(function(t){h(a,t)||(a[t]=u[o[t]]/l[t])})),this._sw=a[0],this._sh=a[1]},dataToPoint:function(t,e){r.isArray(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo;if(e&&!(n.time>=i.start.time&&n.timea.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var n=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,r=new Date(t[0].time),i=r.getDate(),o=t[1].date.getDate();if(r.setDate(i+n-1),r.getDate()!==o)for(var a=r.getTime()-t[1].time>0?1:-1;r.getDate()!==o&&(r.getTime()-t[1].time)*a>0;)r.setDate(i+(n-=a)-1);var s=Math.floor((n+t[0].day+6)/7),l=e?1-s:s-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:s,nthWeek:l,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){var r=this._getRangeInfo(n);if(t>r.weeks||0===t&&er.lweek)return!1;var i=7*(t-1)-r.fweek+e,o=new Date(r.start.time);return o.setDate(r.start.d+i),this.getDateInfo(o)}},s.dimensions=s.prototype.dimensions,s.getDimensionsInfo=s.prototype.getDimensionsInfo,s.create=function(t,e){var n=[];return t.eachComponent("calendar",(function(r){var i=new s(r,t,e);n.push(i),r.coordinateSystem=i})),t.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])})),n},a.register("calendar",s),t.exports=s},"0V0F":function(t,e,n){var r=n("bYtY"),i=r.createHashMap,o=r.each;function a(t){o(t,(function(e,n){var r=[],i=[NaN,NaN],o=e.data,a=e.isStackedByIndex,s=o.map([e.stackResultDimension,e.stackedOverDimension],(function(s,l,c){var u,h,d=o.get(e.stackedDimension,c);if(isNaN(d))return i;a?h=o.getRawIndex(c):u=o.get(e.stackedByDimension,c);for(var f=NaN,p=n-1;p>=0;p--){var g=t[p];if(a||(h=g.data.rawIndexOf(g.stackedByDimension,u)),h>=0){var m=g.data.getByRawIndex(g.stackResultDimension,h);if(d>=0&&m>0||d<=0&&m<0){d+=m,f=m;break}}}return r[0]=d,r[1]=f,r}));o.hostModel.setData(s),e.data=s}))}t.exports=function(t){var e=i();t.eachSeries((function(t){var n=t.get("stack");if(n){var r=e.get(n)||e.set(n,[]),i=t.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:t};if(!o.stackedDimension||!o.isStackedByIndex&&!o.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(o)}})),e.each(a)}},"0o9m":function(t,e,n){var r=n("ProS");n("hNWo"),n("RlCK"),n("XpcN");var i=n("kDyi"),o=n("bLfw");r.registerProcessor(r.PRIORITY.PROCESSOR.SERIES_FILTER,i),o.registerSubTypeDefaulter("legend",(function(){return"plain"}))},"0qV/":function(t,e,n){var r=n("ProS");r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},"0s+r":function(t,e,n){var r=n("bYtY"),i=n("QBsz"),o=n("y23F"),a=n("H6uX"),s=n("YH21"),l=n("C0SR");function c(){s.stop(this.event)}function u(){}u.prototype.dispose=function(){};var h=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],d=function(t,e,n,r){a.call(this),this.storage=t,this.painter=e,this.painterRoot=r,n=n||new u,this.proxy=null,this._hovered={},o.call(this),this.setHandlerProxy(n)};function f(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var r,i=t;i;){if(i.clipPath&&!i.clipPath.contain(e,n))return!1;i.silent&&(r=!0),i=i.parent}return!r||"silent"}return!1}function p(t,e,n){var r=t.painter;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}d.prototype={constructor:d,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(r.each(h,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,r=p(this,e,n),i=this._hovered,o=i.target;o&&!o.__zr&&(o=(i=this.findHover(i.x,i.y)).target);var a=this._hovered=r?{x:e,y:n}:this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!n&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){var r=(t=t||{}).target;if(!r||!r.silent){for(var i="on"+e,o=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:c}}(e,t,n);r&&(r[i]&&(o.cancelBubble=r[i].call(r,o)),r.trigger(e,o),r=r.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer((function(t){"function"==typeof t[i]&&t[i].call(t,o),t.trigger&&t.trigger(e,o)})))}},findHover:function(t,e,n){for(var r=this.storage.getDisplayList(),i={x:t,y:e},o=r.length-1;o>=0;o--){var a;if(r[o]!==n&&!r[o].ignore&&(a=f(r[o],t,e))&&(!i.topTarget&&(i.topTarget=r[o]),"silent"!==a)){i.target=r[o];break}}return i},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr;"start"===e&&n.clear();var r=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),r){var i=r.type;t.gestureEvent=i,this.dispatchToElement({target:r.target},i,r.event)}}},r.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){d.prototype[t]=function(e){var n,r,o=e.zrX,a=e.zrY,s=p(this,o,a);if("mouseup"===t&&s||(r=(n=this.findHover(o,a)).target),"mousedown"===t)this._downEl=r,this._downPoint=[e.zrX,e.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||i.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}})),r.mixin(d,a),r.mixin(d,o),t.exports=d},"0uVh":function(t,e,n){t.exports=function(){function t(t,e,n,r,i,o){this.message=t,this.expected=e,this.found=n,this.offset=r,this.line=i,this.column=o,this.name="SyntaxError"}return function(t,e){function n(){this.constructor=t}n.prototype=e.prototype,t.prototype=new n}(t,Error),{SyntaxError:t,parse:function(e){var r,i=arguments.length>1?arguments[1]:{},o={},a={start:be,graphStmt:_e},s=be,l=o,c=null,u="{",h={type:"literal",value:"{",description:'"{"'},d="}",f={type:"literal",value:"}",description:'"}"'},p=function(t,e,n,r){return{type:e,id:n,strict:null!==t,stmts:r}},g=";",m={type:"literal",value:";",description:'";"'},v=function(t,e){for(var n=[t],r=0;r",description:'"->"'},V=function(t,e){var n=[t];if(e)for(var r=0;rt&&(he=0,de={line:1,column:1,seenCR:!1}),function(t,n,r){var i,o;for(i=n;ife&&(fe=ue,pe=[]),pe.push(t))}function ye(n,r,i){var o=me(i),a=ie.description?1:0}));e1?r.slice(0,-1).join(", ")+" or "+r[t.length-1]:r[0])+" but "+(e?'"'+function(t){function e(t){return t.charCodeAt(0).toString(16).toUpperCase()}return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,(function(t){return"\\x0"+e(t)})).replace(/[\x10-\x1F\x80-\xFF]/g,(function(t){return"\\x"+e(t)})).replace(/[\u0180-\u0FFF]/g,(function(t){return"\\u0"+e(t)})).replace(/[\u1080-\uFFFF]/g,(function(t){return"\\u"+e(t)}))}(e)+'"':"end of input")+" found."}(r,a),r,a,i,o.line,o.column)}function be(){var t,e;if(t=[],(e=_e())!==o)for(;e!==o;)t.push(e),e=_e();else t=l;return t}function _e(){var t,n,r,i,a,s,g,m,v,y,b,_,x,w;for(t=ue,n=[],r=We();r!==o;)n.push(r),r=We();if(n!==o)if(r=ue,(i=Ue())!==o&&(a=We())!==o?r=i=[i,a]:(ue=r,r=l),r===o&&(r=c),r!==o)if((i=Ge())!==o){for(a=[],s=We();s!==o;)a.push(s),s=We();if(a!==o)if((s=ze())===o&&(s=c),s!==o){for(g=[],m=We();m!==o;)g.push(m),m=We();if(g!==o)if(123===e.charCodeAt(ue)?(m=u,ue++):(m=o,0===ge&&ve(h)),m!==o){for(v=[],y=We();y!==o;)v.push(y),y=We();if(v!==o)if((y=xe())===o&&(y=c),y!==o){for(b=[],_=We();_!==o;)b.push(_),_=We();if(b!==o)if(125===e.charCodeAt(ue)?(_=d,ue++):(_=o,0===ge&&ve(f)),_!==o){for(x=[],w=We();w!==o;)x.push(w),w=We();x!==o?t=n=p(r,i,s,y):(ue=t,t=l)}else ue=t,t=l;else ue=t,t=l}else ue=t,t=l;else ue=t,t=l}else ue=t,t=l;else ue=t,t=l}else ue=t,t=l;else ue=t,t=l}else ue=t,t=l;else ue=t,t=l;else ue=t,t=l;return t}function xe(){var t,n,r,i,a,s,u,h,d,f;if(t=ue,(n=we())!==o){for(r=[],i=We();i!==o;)r.push(i),i=We();if(r!==o)if(59===e.charCodeAt(ue)?(i=g,ue++):(i=o,0===ge&&ve(m)),i===o&&(i=c),i!==o){for(a=[],s=ue,u=[],h=We();h!==o;)u.push(h),h=We();if(u!==o)if((h=we())!==o){for(d=[],f=We();f!==o;)d.push(f),f=We();d!==o?(59===e.charCodeAt(ue)?(f=g,ue++):(f=o,0===ge&&ve(m)),f===o&&(f=c),f!==o?s=u=[u,h,d,f]:(ue=s,s=l)):(ue=s,s=l)}else ue=s,s=l;else ue=s,s=l;for(;s!==o;){for(a.push(s),s=ue,u=[],h=We();h!==o;)u.push(h),h=We();if(u!==o)if((h=we())!==o){for(d=[],f=We();f!==o;)d.push(f),f=We();d!==o?(59===e.charCodeAt(ue)?(f=g,ue++):(f=o,0===ge&&ve(m)),f===o&&(f=c),f!==o?s=u=[u,h,d,f]:(ue=s,s=l)):(ue=s,s=l)}else ue=s,s=l;else ue=s,s=l}a!==o?t=n=v(n,a):(ue=t,t=l)}else ue=t,t=l;else ue=t,t=l}else ue=t,t=l;return t}function we(){var t;return(t=Se())===o&&(t=Ae())===o&&(t=Te())===o&&(t=ke())===o&&(t=Ce()),t}function Se(){var t,e,n,r;if(t=ue,(e=Ve())===o&&(e=Fe())===o&&(e=Be()),e!==o){for(n=[],r=We();r!==o;)n.push(r),r=We();n!==o&&(r=Ee())!==o?t=e=y(e,r):(ue=t,t=l)}else ue=t,t=l;return t}function ke(){var t,n,r,i,a,s;if(t=ue,(n=ze())!==o){for(r=[],i=We();i!==o;)r.push(i),i=We();if(r!==o)if(61===e.charCodeAt(ue)?(i=b,ue++):(i=o,0===ge&&ve(_)),i!==o){for(a=[],s=We();s!==o;)a.push(s),s=We();a!==o&&(s=ze())!==o?t=n=x(n,s):(ue=t,t=l)}else ue=t,t=l;else ue=t,t=l}else ue=t,t=l;return t}function Ce(){var t,e,n,r;if(t=ue,(e=Le())!==o){for(n=[],r=We();r!==o;)n.push(r),r=We();n!==o?((r=Ee())===o&&(r=c),r!==o?t=e=w(e,r):(ue=t,t=l)):(ue=t,t=l)}else ue=t,t=l;return t}function Ae(){var t,e,n,r,i,a;if(t=ue,(e=Pe())!==o){for(n=[],r=We();r!==o;)n.push(r),r=We();if(n!==o)if((r=Ie())!==o){for(i=[],a=We();a!==o;)i.push(a),a=We();i!==o?((a=Ee())===o&&(a=c),a!==o?t=e=S(e,r,a):(ue=t,t=l)):(ue=t,t=l)}else ue=t,t=l;else ue=t,t=l}else ue=t,t=l;return t}function Te(){var t,n,r,i,a,s,p,g;if(t=ue,n=ue,(r=Ye())!==o){for(i=[],a=We();a!==o;)i.push(a),a=We();if(i!==o){if(a=ue,(s=ze())!==o){for(p=[],g=We();g!==o;)p.push(g),g=We();p!==o?a=s=[s,p]:(ue=a,a=l)}else ue=a,a=l;a===o&&(a=c),a!==o?n=r=[r,i,a]:(ue=n,n=l)}else ue=n,n=l}else ue=n,n=l;if(n===o&&(n=c),n!==o)if(123===e.charCodeAt(ue)?(r=u,ue++):(r=o,0===ge&&ve(h)),r!==o){for(i=[],a=We();a!==o;)i.push(a),a=We();if(i!==o)if((a=xe())===o&&(a=c),a!==o){for(s=[],p=We();p!==o;)s.push(p),p=We();s!==o?(125===e.charCodeAt(ue)?(p=d,ue++):(p=o,0===ge&&ve(f)),p!==o?t=n=k(n,a):(ue=t,t=l)):(ue=t,t=l)}else ue=t,t=l;else ue=t,t=l}else ue=t,t=l;else ue=t,t=l;return t}function Ee(){var t,e,n,r,i,a;if(t=ue,(e=Me())!==o){for(n=[],r=ue,i=[],a=We();a!==o;)i.push(a),a=We();for(i!==o&&(a=Me())!==o?r=i=[i,a]:(ue=r,r=l);r!==o;){for(n.push(r),r=ue,i=[],a=We();a!==o;)i.push(a),a=We();i!==o&&(a=Me())!==o?r=i=[i,a]:(ue=r,r=l)}n!==o?t=e=C(e,n):(ue=t,t=l)}else ue=t,t=l;return t}function Me(){var t,n,r,i,a,s;if(t=ue,91===e.charCodeAt(ue)?(n=A,ue++):(n=o,0===ge&&ve(T)),n!==o){for(r=[],i=We();i!==o;)r.push(i),i=We();if(r!==o)if((i=De())===o&&(i=c),i!==o){for(a=[],s=We();s!==o;)a.push(s),s=We();a!==o?(93===e.charCodeAt(ue)?(s=E,ue++):(s=o,0===ge&&ve(M)),s!==o?t=n=D(i):(ue=t,t=l)):(ue=t,t=l)}else ue=t,t=l;else ue=t,t=l}else ue=t,t=l;return t}function De(){var t,n,r,i,a,s,u,h;if(t=ue,(n=Oe())!==o){for(r=[],i=ue,a=[],s=We();s!==o;)a.push(s),s=We();if(a!==o)if(44===e.charCodeAt(ue)?(s=I,ue++):(s=o,0===ge&&ve(O)),s===o&&(s=c),s!==o){for(u=[],h=We();h!==o;)u.push(h),h=We();u!==o&&(h=Oe())!==o?i=a=[a,s,u,h]:(ue=i,i=l)}else ue=i,i=l;else ue=i,i=l;for(;i!==o;){for(r.push(i),i=ue,a=[],s=We();s!==o;)a.push(s),s=We();if(a!==o)if(44===e.charCodeAt(ue)?(s=I,ue++):(s=o,0===ge&&ve(O)),s===o&&(s=c),s!==o){for(u=[],h=We();h!==o;)u.push(h),h=We();u!==o&&(h=Oe())!==o?i=a=[a,s,u,h]:(ue=i,i=l)}else ue=i,i=l;else ue=i,i=l}r!==o?t=n=P(n,r):(ue=t,t=l)}else ue=t,t=l;return t}function Ie(){var t,n,r,i,a,s;if(t=ue,n=ue,e.substr(ue,2)===L?(r=L,ue+=2):(r=o,0===ge&&ve(R)),r!==o&&(i=(i=N())?l:z)!==o?n=r=[r,i]:(ue=n,n=l),n===o&&(n=ue,e.substr(ue,2)===F?(r=F,ue+=2):(r=o,0===ge&&ve(B)),r!==o&&(i=(i=N())?z:l)!==o?n=r=[r,i]:(ue=n,n=l)),n!==o){for(r=[],i=We();i!==o;)r.push(i),i=We();if(r!==o)if((i=Pe())!==o){for(a=[],s=We();s!==o;)a.push(s),s=We();a!==o?((s=Ie())===o&&(s=c),s!==o?t=n=V(i,s):(ue=t,t=l)):(ue=t,t=l)}else ue=t,t=l;else ue=t,t=l}else ue=t,t=l;return t}function Oe(){var t,n,r,i,a,s,u;if(t=ue,(n=ze())!==o){for(r=ue,i=[],a=We();a!==o;)i.push(a),a=We();if(i!==o)if(61===e.charCodeAt(ue)?(a=b,ue++):(a=o,0===ge&&ve(_)),a!==o){for(s=[],u=We();u!==o;)s.push(u),u=We();s!==o&&(u=ze())!==o?r=i=[i,a,s,u]:(ue=r,r=l)}else ue=r,r=l;else ue=r,r=l;r===o&&(r=c),r!==o?t=n=j(n,r):(ue=t,t=l)}else ue=t,t=l;return t}function Pe(){var t,e;return(t=Te())===o&&(t=ue,(e=Le())!==o&&(e=Y(e)),t=e),t}function Le(){var t,e,n,r;if(t=ue,(e=ze())!==o){for(n=[],r=We();r!==o;)n.push(r),r=We();n!==o?((r=Re())===o&&(r=c),r!==o?t=e=U(e):(ue=t,t=l)):(ue=t,t=l)}else ue=t,t=l;return t}function Re(){var t,n,r,i,a,s,u,h,d;if(t=ue,58===e.charCodeAt(ue)?(n=G,ue++):(n=o,0===ge&&ve(H)),n!==o){for(r=[],i=We();i!==o;)r.push(i),i=We();if(r!==o)if((i=ze())!==o){for(a=[],s=We();s!==o;)a.push(s),s=We();if(a!==o){if(s=ue,58===e.charCodeAt(ue)?(u=G,ue++):(u=o,0===ge&&ve(H)),u!==o){for(h=[],d=We();d!==o;)h.push(d),d=We();h!==o&&(d=Ne())!==o?s=u=[u,h,d]:(ue=s,s=l)}else ue=s,s=l;s===o&&(s=c),s!==o?t=n=[n,r,i,a,s]:(ue=t,t=l)}else ue=t,t=l}else ue=t,t=l;else ue=t,t=l}else ue=t,t=l;return t}function Ne(){var t;return e.substr(ue,2)===q?(t=q,ue+=2):(t=o,0===ge&&ve(W)),t===o&&(e.substr(ue,2)===$?(t=$,ue+=2):(t=o,0===ge&&ve(Z)),t===o&&(e.substr(ue,2)===X?(t=X,ue+=2):(t=o,0===ge&&ve(K)),t===o&&(e.substr(ue,2)===Q?(t=Q,ue+=2):(t=o,0===ge&&ve(J)),t===o&&(110===e.charCodeAt(ue)?(t=tt,ue++):(t=o,0===ge&&ve(et)),t===o&&(101===e.charCodeAt(ue)?(t=nt,ue++):(t=o,0===ge&&ve(rt)),t===o&&(115===e.charCodeAt(ue)?(t=it,ue++):(t=o,0===ge&&ve(ot)),t===o&&(119===e.charCodeAt(ue)?(t=at,ue++):(t=o,0===ge&&ve(st)),t===o&&(99===e.charCodeAt(ue)?(t=lt,ue++):(t=o,0===ge&&ve(ct)),t===o&&(95===e.charCodeAt(ue)?(t=ut,ue++):(t=o,0===ge&&ve(ht))))))))))),t}function ze(){var t,n,r,i,a,s,u;if(ge++,t=ue,ft.test(e.charAt(ue))?(n=e.charAt(ue),ue++):(n=o,0===ge&&ve(pt)),n!==o){for(r=[],gt.test(e.charAt(ue))?(i=e.charAt(ue),ue++):(i=o,0===ge&&ve(mt));i!==o;)r.push(i),gt.test(e.charAt(ue))?(i=e.charAt(ue),ue++):(i=o,0===ge&&ve(mt));r!==o?t=n=vt(n,r):(ue=t,t=l)}else ue=t,t=l;if(t===o){if(t=ue,45===e.charCodeAt(ue)?(n=yt,ue++):(n=o,0===ge&&ve(bt)),n===o&&(n=c),n!==o)if(46===e.charCodeAt(ue)?(r=_t,ue++):(r=o,0===ge&&ve(xt)),r!==o){if(i=[],wt.test(e.charAt(ue))?(a=e.charAt(ue),ue++):(a=o,0===ge&&ve(St)),a!==o)for(;a!==o;)i.push(a),wt.test(e.charAt(ue))?(a=e.charAt(ue),ue++):(a=o,0===ge&&ve(St));else i=l;i!==o?t=n=kt(n,r,i):(ue=t,t=l)}else ue=t,t=l;else ue=t,t=l;if(t===o){if(t=ue,45===e.charCodeAt(ue)?(n=yt,ue++):(n=o,0===ge&&ve(bt)),n===o&&(n=c),n!==o){if(r=[],wt.test(e.charAt(ue))?(i=e.charAt(ue),ue++):(i=o,0===ge&&ve(St)),i!==o)for(;i!==o;)r.push(i),wt.test(e.charAt(ue))?(i=e.charAt(ue),ue++):(i=o,0===ge&&ve(St));else r=l;if(r!==o){if(i=ue,46===e.charCodeAt(ue)?(a=_t,ue++):(a=o,0===ge&&ve(xt)),a!==o){for(s=[],wt.test(e.charAt(ue))?(u=e.charAt(ue),ue++):(u=o,0===ge&&ve(St));u!==o;)s.push(u),wt.test(e.charAt(ue))?(u=e.charAt(ue),ue++):(u=o,0===ge&&ve(St));s!==o?i=a=[a,s]:(ue=i,i=l)}else ue=i,i=l;i===o&&(i=c),i!==o?t=n=Ct(n,r,i):(ue=t,t=l)}else ue=t,t=l}else ue=t,t=l;if(t===o)if(t=ue,34===e.charCodeAt(ue)?(n=At,ue++):(n=o,0===ge&&ve(Tt)),n!==o){for(r=[],i=ue,e.substr(ue,2)===Et?(a=Et,ue+=2):(a=o,0===ge&&ve(Mt)),a!==o&&(a=Dt()),(i=a)===o&&(i=ue,92===e.charCodeAt(ue)?(a=It,ue++):(a=o,0===ge&&ve(Ot)),a!==o?(Pt.test(e.charAt(ue))?(s=e.charAt(ue),ue++):(s=o,0===ge&&ve(Lt)),s!==o?i=a=Rt(s):(ue=i,i=l)):(ue=i,i=l),i===o&&(Pt.test(e.charAt(ue))?(i=e.charAt(ue),ue++):(i=o,0===ge&&ve(Lt))));i!==o;)r.push(i),i=ue,e.substr(ue,2)===Et?(a=Et,ue+=2):(a=o,0===ge&&ve(Mt)),a!==o&&(a=Dt()),(i=a)===o&&(i=ue,92===e.charCodeAt(ue)?(a=It,ue++):(a=o,0===ge&&ve(Ot)),a!==o?(Pt.test(e.charAt(ue))?(s=e.charAt(ue),ue++):(s=o,0===ge&&ve(Lt)),s!==o?i=a=Rt(s):(ue=i,i=l)):(ue=i,i=l),i===o&&(Pt.test(e.charAt(ue))?(i=e.charAt(ue),ue++):(i=o,0===ge&&ve(Lt))));r!==o?(34===e.charCodeAt(ue)?(i=At,ue++):(i=o,0===ge&&ve(Tt)),i!==o?t=n=Nt(r):(ue=t,t=l)):(ue=t,t=l)}else ue=t,t=l}}return ge--,t===o&&(n=o,0===ge&&ve(dt)),t}function Fe(){var t;return e.substr(ue,4).toLowerCase()===zt?(t=e.substr(ue,4),ue+=4):(t=o,0===ge&&ve(Ft)),t!==o&&(t=Bt(t)),t}function Be(){var t;return e.substr(ue,4).toLowerCase()===Vt?(t=e.substr(ue,4),ue+=4):(t=o,0===ge&&ve(jt)),t!==o&&(t=Bt(t)),t}function Ve(){var t;return e.substr(ue,5).toLowerCase()===Yt?(t=e.substr(ue,5),ue+=5):(t=o,0===ge&&ve(Ut)),t!==o&&(t=Bt(t)),t}function je(){var t;return e.substr(ue,7).toLowerCase()===Gt?(t=e.substr(ue,7),ue+=7):(t=o,0===ge&&ve(Ht)),t!==o&&(t=Bt(t)),t}function Ye(){var t;return e.substr(ue,8).toLowerCase()===qt?(t=e.substr(ue,8),ue+=8):(t=o,0===ge&&ve(Wt)),t!==o&&(t=Bt(t)),t}function Ue(){var t;return e.substr(ue,6).toLowerCase()===$t?(t=e.substr(ue,6),ue+=6):(t=o,0===ge&&ve(Zt)),t!==o&&(t=Bt(t)),t}function Ge(){var t,e;return(t=Ve())===o&&(t=ue,(e=je())!==o&&(e=Xt(e)),t=e),t}function He(){var t,n;if(ge++,t=[],Qt.test(e.charAt(ue))?(n=e.charAt(ue),ue++):(n=o,0===ge&&ve(Jt)),n!==o)for(;n!==o;)t.push(n),Qt.test(e.charAt(ue))?(n=e.charAt(ue),ue++):(n=o,0===ge&&ve(Jt));else t=l;return ge--,t===o&&(n=o,0===ge&&ve(Kt)),t}function qe(){var t,n,r,i,a,s;if(ge++,t=ue,e.substr(ue,2)===ee?(n=ee,ue+=2):(n=o,0===ge&&ve(ne)),n!==o){for(r=[],re.test(e.charAt(ue))?(i=e.charAt(ue),ue++):(i=o,0===ge&&ve(ie));i!==o;)r.push(i),re.test(e.charAt(ue))?(i=e.charAt(ue),ue++):(i=o,0===ge&&ve(ie));r!==o?t=n=[n,r]:(ue=t,t=l)}else ue=t,t=l;if(t===o)if(t=ue,e.substr(ue,2)===oe?(n=oe,ue+=2):(n=o,0===ge&&ve(ae)),n!==o){for(r=[],i=ue,a=ue,ge++,e.substr(ue,2)===se?(s=se,ue+=2):(s=o,0===ge&&ve(le)),ge--,s===o?a=z:(ue=a,a=l),a!==o?(e.length>ue?(s=e.charAt(ue),ue++):(s=o,0===ge&&ve(ce)),s!==o?i=a=[a,s]:(ue=i,i=l)):(ue=i,i=l);i!==o;)r.push(i),i=ue,a=ue,ge++,e.substr(ue,2)===se?(s=se,ue+=2):(s=o,0===ge&&ve(le)),ge--,s===o?a=z:(ue=a,a=l),a!==o?(e.length>ue?(s=e.charAt(ue),ue++):(s=o,0===ge&&ve(ce)),s!==o?i=a=[a,s]:(ue=i,i=l)):(ue=i,i=l);r!==o?(e.substr(ue,2)===se?(i=se,ue+=2):(i=o,0===ge&&ve(le)),i!==o?t=n=[n,r,i]:(ue=t,t=l)):(ue=t,t=l)}else ue=t,t=l;return ge--,t===o&&(n=o,0===ge&&ve(te)),t}function We(){var t;return(t=He())===o&&(t=qe()),t}var $e,Ze=n("WG3t");if((r=s())!==o&&ue===e.length)return r;throw r!==o&&ue0;)e%2&&(n+=l[e+1]),l[e=e-1>>1]+=t.weight;c+=t.weight*n}))),c}t.exports=function(t,e){for(var n=0,r=1;r=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,e){i.unregister(e.getZr(),"axisPointer"),o.superApply(this._model,"remove",arguments)},dispose:function(t,e){i.unregister("axisPointer",e),o.superApply(this._model,"dispose",arguments)}});t.exports=o},"1LK5":function(t,e){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},"1MYJ":function(t,e,n){var r=n("y+Vt"),i=r.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,n=0;n=i||m<0)break;if(f(y)){if(p){m+=o;continue}break}if(m===n)t[o>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var b=e[g],_="y"===u?1:0,x=(y[_]-b[_])*l;c(h,b),h[_]=b[_]+x,c(d,y),d[_]=y[_]-x,t.bezierCurveTo(h[0],h[1],d[0],d[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=m,m+=o}return v}function m(t,e,n,r,o,p,g,m,v,y,b){for(var _=0,x=n,w=0;w=o||x<0)break;if(f(S)){if(b){x+=p;continue}break}if(x===n)t[p>0?"moveTo":"lineTo"](S[0],S[1]),c(h,S);else if(v>0){var k=x+p,C=e[k];if(b)for(;C&&f(e[k]);)C=e[k+=p];var A=.5,T=e[_];if(!(C=e[k])||f(C))c(d,S);else{var E,M;if(f(C)&&!b&&(C=S),i.sub(u,C,T),"x"===y||"y"===y){var D="x"===y?0:1;E=Math.abs(S[D]-T[D]),M=Math.abs(S[D]-C[D])}else E=i.dist(S,T),M=i.dist(S,C);l(d,S,u,-v*(1-(A=M/(M+E))))}a(h,h,m),s(h,h,g),a(d,d,m),s(d,d,g),t.bezierCurveTo(h[0],h[1],d[0],d[1],S[0],S[1]),l(h,S,u,v*A)}else t.lineTo(S[0],S[1]);_=x,x+=p}return w}function v(t,e){var n=[1/0,1/0],r=[-1/0,-1/0];if(e)for(var i=0;ir[0]&&(r[0]=o[0]),o[1]>r[1]&&(r[1]=o[1])}return{min:e?n:r,max:e?r:n}}var y=r.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:o(r.prototype.brush),buildPath:function(t,e){var n=e.points,r=0,i=n.length,o=v(n,e.smoothConstraint);if(e.connectNulls){for(;i>0&&f(n[i-1]);i--);for(;r0&&f(n[o-1]);o--);for(;i=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},a.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},a.clear=function(){this._list.clear(),this._map={}},t.exports=o},"1bdT":function(t,e,n){var r=n("3gBT"),i=n("H6uX"),o=n("DN4a"),a=n("vWvF"),s=n("bYtY"),l=function(t){o.call(this,t),i.call(this,t),a.call(this,t),this.id=t.id||r()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var n=this[t];n||(n=this[t]=[]),n[0]=e[0],n[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var n in t)t.hasOwnProperty(n)&&this.attrKV(n,t[n]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var n=0;nn.getHeight()&&(r.textPosition="top",s=!0);var l=s?-5-i.height:d+8;a+i.width/2>n.getWidth()?(r.textPosition=["100%",l],r.textAlign="right"):a-i.width/2<0&&(r.textPosition=[0,l],r.textAlign="left")}}))}function m(o,c){var u,m=g[o],v=g[c],y=f[m],b=new l(y,t,t.ecModel);if(r&&null!=r.newTitle&&(y.title=r.newTitle),m&&!v){if(function(t){return 0===t.indexOf("my")}(m))u={model:b,onclick:b.option.onclick,featureName:m};else{var _=a.get(m);if(!_)return;u=new _(b,e,n)}p[m]=u}else{if(!(u=p[v]))return;u.model=b,u.ecModel=e,u.api=n}m||!v?b.get("show")&&!u.unusable?(function(r,o,a){var l=r.getModel("iconStyle"),c=r.getModel("emphasis.iconStyle"),u=o.getIcons?o.getIcons():r.get("icon"),f=r.get("title")||{};if("string"==typeof u){var p=u,g=f;f={},(u={})[a]=p,f[a]=g}var m=r.iconPaths={};i.each(u,(function(a,u){var p=s.createIcon(a,{},{x:-d/2,y:-d/2,width:d,height:d});p.setStyle(l.getItemStyle()),p.hoverStyle=c.getItemStyle(),p.setStyle({text:f[u],textAlign:c.get("textAlign"),textBorderRadius:c.get("textBorderRadius"),textPadding:c.get("textPadding"),textFill:null});var g=t.getModel("tooltip");g&&g.get("show")&&p.attr("tooltip",i.extend({content:f[u],formatter:g.get("formatter",!0)||function(){return f[u]},formatterParams:{componentType:"toolbox",name:u,title:f[u],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),s.setHoverStyle(p),t.get("showTitle")&&(p.__title=f[u],p.on("mouseover",(function(){var e=c.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";p.setStyle({textFill:c.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:c.get("textBackgroundColor"),textPosition:c.get("textPosition")||n})})).on("mouseout",(function(){p.setStyle({textFill:null,textBackgroundColor:null})}))),p.trigger(r.get("iconStatus."+u)||"normal"),h.add(p),p.on("click",i.bind(o.onclick,o,e,n,u)),m[u]=p}))}(b,u,m),b.setIconStatus=function(t,e){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,r[t]&&r[t].trigger(e)},u.render&&u.render(b,e,n,r)):u.remove&&u.remove(e,n):u.dispose&&u.dispose(e,n)}},updateView:function(t,e,n,r){i.each(this._features,(function(t){t.updateView&&t.updateView(t.model,e,n,r)}))},remove:function(t,e){i.each(this._features,(function(n){n.remove&&n.remove(t,e)})),this.group.removeAll()},dispose:function(t,e){i.each(this._features,(function(n){n.dispose&&n.dispose(t,e)}))}});t.exports=h},"2B6p":function(t,e){e.updateCenterAndZoom=function(t,e,n){var r=t.getZoom(),i=t.getCenter(),o=e.zoom,a=t.dataToPoint(i);if(null!=e.dx&&null!=e.dy&&(a[0]-=e.dx,a[1]-=e.dy,i=t.pointToData(a),t.setCenter(i)),null!=o){if(n){var s=n.min||0;o=Math.max(Math.min(r*o,n.max||1/0),s)/r}t.scale[0]*=o,t.scale[1]*=o;var l=t.position,c=(e.originY-l[1])*(o-1);l[0]-=(e.originX-l[0])*(o-1),l[1]-=c,t.updateTransform(),i=t.pointToData(a),t.setCenter(i),t.setZoom(o*r)}return{center:t.getCenter(),zoom:t.getZoom()}}},"2DNl":function(t,e,n){var r=n("IMiH"),i=n("loD1"),o=n("59Ip"),a=n("aKvl"),s=n("n1HI"),l=n("hX1E").normalizeRadian,c=n("Sj9i"),u=n("hyiK"),h=r.CMD,d=2*Math.PI,f=[-1,-1,-1],p=[-1,-1];function g(t,e,n,r,i,o,a,s,l,u){if(u>e&&u>r&&u>o&&u>s||u1&&(h=p[0],p[0]=p[1],p[1]=h),g=c.cubicAt(e,r,o,s,p[0]),y>1&&(m=c.cubicAt(e,r,o,s,p[1]))),v+=2===y?_e&&s>r&&s>o||s=0&&u<=1){for(var h=0,d=c.quadraticAt(e,r,o,u),p=0;pn||s<-n)return 0;var c=Math.sqrt(n*n-s*s);f[0]=-c,f[1]=c;var u=Math.abs(r-i);if(u<1e-4)return 0;if(u%d<1e-4){r=0,i=d;var h=o?1:-1;return a>=f[0]+t&&a<=f[1]+t?h:0}o?(c=r,r=l(i),i=l(c)):(r=l(r),i=l(i)),r>i&&(i+=d);for(var p=0,g=0;g<2;g++){var m=f[g];if(m+t>a){var v=Math.atan2(s,m);h=o?1:-1,v<0&&(v=d+v),(v>=r&&v<=i||v+d>=r&&v+d<=i)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),p+=h)}}return p}function y(t,e,n,r,l){for(var c=0,d=0,f=0,p=0,y=0,b=0;b1&&(n||(c+=u(d,f,p,y,r,l))),1===b&&(p=d=t[b],y=f=t[b+1]),_){case h.M:d=p=t[b++],f=y=t[b++];break;case h.L:if(n){if(i.containStroke(d,f,t[b],t[b+1],e,r,l))return!0}else c+=u(d,f,t[b],t[b+1],r,l)||0;d=t[b++],f=t[b++];break;case h.C:if(n){if(o.containStroke(d,f,t[b++],t[b++],t[b++],t[b++],t[b],t[b+1],e,r,l))return!0}else c+=g(d,f,t[b++],t[b++],t[b++],t[b++],t[b],t[b+1],r,l)||0;d=t[b++],f=t[b++];break;case h.Q:if(n){if(a.containStroke(d,f,t[b++],t[b++],t[b],t[b+1],e,r,l))return!0}else c+=m(d,f,t[b++],t[b++],t[b],t[b+1],r,l)||0;d=t[b++],f=t[b++];break;case h.A:var x=t[b++],w=t[b++],S=t[b++],k=t[b++],C=t[b++],A=t[b++];b+=1;var T=1-t[b++],E=Math.cos(C)*S+x,M=Math.sin(C)*k+w;b>1?c+=u(d,f,E,M,r,l):(p=E,y=M);var D=(r-x)*k/S+x;if(n){if(s.containStroke(x,w,k,C,C+A,T,e,D,l))return!0}else c+=v(x,w,k,C,C+A,T,D,l);d=Math.cos(C+A)*S+x,f=Math.sin(C+A)*k+w;break;case h.R:if(p=d=t[b++],y=f=t[b++],E=p+t[b++],M=y+t[b++],n){if(i.containStroke(p,y,E,y,e,r,l)||i.containStroke(E,y,E,M,e,r,l)||i.containStroke(E,M,p,M,e,r,l)||i.containStroke(p,M,p,y,e,r,l))return!0}else c+=u(E,y,E,M,r,l),c+=u(p,M,p,y,r,l);break;case h.Z:if(n){if(i.containStroke(d,f,p,y,e,r,l))return!0}else c+=u(d,f,p,y,r,l);d=p,f=y}}return n||Math.abs(f-y)<1e-4||(c+=u(d,f,p,y,r,l)||0),0!==c}e.contain=function(t,e,n){return y(t,0,!1,e,n)},e.containStroke=function(t,e,n,r){return y(t,e,!0,n,r)}},"2J+T":function(t,e,n){t.exports={components:n("5EqP"),dijkstra:n("pHPU"),dijkstraAll:n("0xIU"),findCycles:n("3azA"),floydWarshall:n("ZzYp"),isAcyclic:n("Q+g8"),postorder:n("Txda"),preorder:n("qvmO"),prim:n("Yen4"),tarjan:n("z6cq"),topsort:n("gYXE")}},"2QA8":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2ajD":function(t,e){t.exports=function(t){return t!=t}},"2dDv":function(t,e,n){var r=n("bYtY"),i=n("Fofx"),o=n("+TT/"),a=n("aX7z"),s=n("D1WM"),l=n("IwbS"),c=n("OELB"),u=n("72pK"),h=r.each,d=Math.min,f=Math.max,p=Math.floor,g=Math.ceil,m=c.round,v=Math.PI;function y(t,e,n){this._axesMap=r.createHashMap(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}function b(t,e){return d(f(t,e[0]),e[1])}function _(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function x(t,e){var n,r,i=e.axisExpandWidth,o=e.axisCollapseWidth,a=e.winInnerIndices,s=o,l=!1;return t=n&&o<=n+e.axisLength&&a>=r&&a<=r+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var r=n.getData();h(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(r,r.mapDimension(t)),a.niceScaleExtent(e.scale,e.model)}),this)}}),this)},resize:function(t,e){this._rect=o.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,n=this._rect,r=["x","y"],i=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[i[a]],l=[0,s],c=this.dimensions.length,u=b(e.get("axisExpandWidth"),l),h=b(e.get("axisExpandCount")||0,[0,c]),d=e.get("axisExpandable")&&c>3&&c>h&&h>1&&u>0&&s>0,f=e.get("axisExpandWindow");f?(t=b(f[1]-f[0],l),f[1]=f[0]+t):(t=b(u*(h-1),l),(f=[u*(e.get("axisExpandCenter")||p(c/2))-t/2])[1]=f[0]+t);var v=(s-t)/(c-h);v<3&&(v=0);var y=[p(m(f[0]/u,1))+1,g(m(f[1]/u,1))-1];return{layout:o,pixelDimIndex:a,layoutBase:n[r[a]],layoutLength:s,axisBase:n[r[1-a]],axisLength:n[i[1-a]],axisExpandable:d,axisExpandWidth:u,axisCollapseWidth:v,axisExpandWindow:f,axisCount:c,winInnerIndices:y,axisExpandWindow0Pos:v/u*f[0]}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),o=r.layout;e.each((function(t){var e=[0,r.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),h(n,(function(e,n){var a=(r.axisExpandable?x:_)(n,r),s={horizontal:{x:a.position,y:r.axisLength},vertical:{x:0,y:a.position}},l=[s[o].x+t.x,s[o].y+t.y],c={horizontal:v/2,vertical:0}[o],u=i.create();i.rotate(u,u,c),i.translate(u,u,l),this._axesLayout[e]={position:l,rotation:c,transform:u,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var o=this._axesMap,a=this.dimensions,s=[],l=[];r.each(a,(function(e){s.push(t.mapDimension(e)),l.push(o.get(e).model)}));for(var c=this.hasAxisBrushed(),u=n;ui*(1-h[0])?(l="jump",a=s-i*(1-h[2])):(a=s-i*h[1])>=0&&(a=s-i*(1-h[1]))<=0&&(a=0),(a*=e.axisExpandWidth/c)?u(a,r,o,"all"):l="none"):((r=[f(0,o[1]*s/(i=r[1]-r[0])-i/2)])[1]=d(o[1],r[0]+i),r[0]=r[1]-i),{axisExpandWindow:r,behavior:l}}},t.exports=y},"2fFW":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));let r=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},"2fGM":function(t,e,n){var r=n("bYtY"),i=n("bLfw"),o=n("nkfE"),a=n("ICMv"),s=i.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});function l(t,e){return e.type||(e.data?"category":"value")}r.merge(s.prototype,a),o("angle",s,l,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),o("radius",s,l,{splitNumber:5})},"2fNS":function(t,e,n){"use strict";var r=n("b5wT");t.exports=function(t,e){var n={};return r.forEach(t,(function(t,e){var i=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};r.isUndefined(t.barycenter)||(i.barycenter=t.barycenter,i.weight=t.weight)})),r.forEach(e.edges(),(function(t){var e=n[t.v],i=n[t.w];r.isUndefined(e)||r.isUndefined(i)||(i.indegree++,e.out.push(n[t.w]))})),function(t){var e=[];function n(t){return function(e){var n,i,o,a;e.merged||(r.isUndefined(e.barycenter)||r.isUndefined(t.barycenter)||e.barycenter>=t.barycenter)&&(o=0,a=0,(n=t).weight&&(o+=n.barycenter*n.weight,a+=n.weight),(i=e).weight&&(o+=i.barycenter*i.weight,a+=i.weight),n.vs=i.vs.concat(n.vs),n.barycenter=o/a,n.weight=a,n.i=Math.min(i.i,n.i),i.merged=!0)}}function i(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var o=t.pop();e.push(o),r.forEach(o.in.reverse(),n(o)),r.forEach(o.out,i(o))}return r.map(r.filter(e,(function(t){return!t.merged})),(function(t){return r.pick(t,["vs","i","barycenter","weight"])}))}(r.filter(n,(function(t){return!t.indegree})))}},"2fw6":function(t,e,n){var r=n("y+Vt").extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=r},"2gN3":function(t,e,n){var r=n("Kz5y");t.exports=r["__core-js_shared__"]},"2uGb":function(t,e,n){var r=n("ProS");n("ko1b"),n("s2lz"),n("RBEP");var i=n("kMLO"),o=n("nKiI");r.registerVisual(i),r.registerLayout(o)},"2w7y":function(t,e,n){var r=n("ProS");n("qMZE"),n("g0SD"),r.registerPreprocessor((function(t){t.markPoint=t.markPoint||{}}))},"33Ds":function(t,e,n){var r=n("ProS"),i=n("b9oc"),o=n("Kagy"),a=n("IUWy");function s(t){this.model=t}s.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:o.toolbox.restore.title},s.prototype.onclick=function(t,e,n){i.clear(t),e.dispatchAction({type:"restore",from:this.uid})},a.register("restore",s),r.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")})),t.exports=s},"3A9y":function(t,e){t.exports=function(t){return this.__data__.has(t)}},"3C/r":function(t,e){var n=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")},t.exports=n},"3CBa":function(t,e,n){var r=n("hydK").createElement,i=n("bYtY"),o=n("SUKs"),a=n("y+Vt"),s=n("Dagg"),l=n("dqUG"),c=n("DBLp"),u=n("sW+o"),h=n("n6Mw"),d=n("vKoX"),f=n("P47w"),p=f.path,g=f.image,m=f.text;function v(t){return parseInt(t,10)}function y(t,e){return e&&t&&e.parentNode!==t}function b(t,e,n){if(y(t,e)&&n){var r=n.nextSibling;r?t.insertBefore(e,r):t.appendChild(e)}}function _(t,e){if(y(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function x(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function w(t){return t.__textSvgEl}function S(t){return t.__svgEl}var k=function(t,e,n,o){this.root=t,this.storage=e,this._opts=n=i.extend({},n||{});var a=r("svg");a.setAttribute("xmlns","http://www.w3.org/2000/svg"),a.setAttribute("version","1.1"),a.setAttribute("baseProfile","full"),a.style.cssText="user-select:none;position:absolute;left:0;top:0;",this.gradientManager=new u(o,a),this.clipPathManager=new h(o,a),this.shadowManager=new d(o,a);var s=document.createElement("div");s.style.cssText="overflow:hidden;position:relative",this._svgRoot=a,this._viewport=s,t.appendChild(s),s.appendChild(a),this.resize(n.width,n.height),this._visibleList=[]};k.prototype={constructor:k,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._viewport.style.background=t},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,n,r=this._svgRoot,i=this._visibleList,o=t.length,u=[];for(e=0;e=0;--r)if(n[r]===t)return!0;return!1}),e):null:e[0]},resize:function(t,e){var n=this._viewport;n.style.display="none";var r=this._opts;if(null!=t&&(r.width=t),null!=e&&(r.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var i=n.style;i.width=t+"px",i.height=e+"px";var o=this._svgRoot;o.setAttribute("width",t),o.setAttribute("height",e)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],r=["clientWidth","clientHeight"][t],i=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var a=this.root,s=document.defaultView.getComputedStyle(a);return(a[r]||v(s[n])||v(a.style[n]))-(v(s[i])||0)-(v(s[o])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToDataUrl:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+this._svgRoot.outerHTML}},i.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],(function(t){var e;k.prototype[t]=(e=t,function(){o('In SVG mode painter not support method "'+e+'"')})})),t.exports=k},"3Fdi":function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},"3L66":function(t,e,n){var r=n("MMmD"),i=n("ExA7");t.exports=function(t){return i(t)&&r(t)}},"3LNs":function(t,e,n){var r=n("bYtY"),i=n("Yl7c"),o=n("IwbS"),a=n("zTMp"),s=n("YH21"),l=n("iLNv"),c=(0,n("4NO4").makeInner)(),u=r.clone,h=r.bind;function d(){}function f(t,e,n,i){(function t(e,n){if(r.isObject(e)&&r.isObject(n)){var i=!0;return r.each(n,(function(n,r){i=i&&t(e[r],n)})),!!i}return e===n})(c(n).lastProp,i)||(c(n).lastProp=i,e?o.updateProps(n,i,t):(n.stopAnimation(),n.attr(i)))}function p(t,e){t[e.get("label.show")?"show":"hide"]()}function g(t){return{position:t.position.slice(),rotation:t.rotation||0}}function m(t,e,n){var r=e.get("z"),i=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=r&&(t.z=r),null!=i&&(t.zlevel=i),t.silent=n)}))}(d.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,i){var a=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==a||this._lastStatus!==s){this._lastValue=a,this._lastStatus=s;var l=this._group,c=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(c&&c.hide());l&&l.show(),c&&c.show();var u={};this.makeElOption(u,a,t,e,n);var h=u.graphicKey;h!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=h;var d=this._moveAnimation=this.determineAnimation(t,e);if(l){var p=r.curry(f,e,d);this.updatePointerEl(l,u,p,e),this.updateLabelEl(l,u,p,e)}else l=this._group=new o.Group,this.createPointerEl(l,u,t,e),this.createLabelEl(l,u,t,e),n.getZr().add(l);m(l,e,!0),this._renderHandle(a)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n=e.get("animation"),r=t.axis,i="category"===r.type,o=e.get("snap");if(!o&&!i)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(i&&r.getBandWidth()>s)return!0;if(o){var l=a.getAxisInfo(t).seriesDataCount,c=r.getExtent();return Math.abs(c[0]-c[1])/l>s}return!1}return!0===n},makeElOption:function(t,e,n,r,i){},createPointerEl:function(t,e,n,r){var i=e.pointer;if(i){var a=c(t).pointerEl=new o[i.type](u(e.pointer));t.add(a)}},createLabelEl:function(t,e,n,r){if(e.label){var i=c(t).labelEl=new o.Rect(u(e.label));t.add(i),p(i,r)}},updatePointerEl:function(t,e,n){var r=c(t).pointerEl;r&&e.pointer&&(r.setStyle(e.pointer.style),n(r,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,r){var i=c(t).labelEl;i&&(i.setStyle(e.label.style),n(i,{shape:e.label.shape,position:e.label.position}),p(i,r))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),a=this._handle,c=n.getModel("handle"),u=n.get("status");if(!c.get("show")||!u||"hide"===u)return a&&i.remove(a),void(this._handle=null);this._handle||(e=!0,a=this._handle=o.createIcon(c.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:h(this._onHandleDragMove,this,0,0),drift:h(this._onHandleDragMove,this),ondragend:h(this._onHandleDragEnd,this)}),i.add(a)),m(a,n,!1),a.setStyle(c.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var d=c.get("size");r.isArray(d)||(d=[d,d]),a.attr("scale",[d[0]/2,d[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",c.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){f(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(g(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(g(r)),c(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},_onHandleDragEnd:function(t){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,r=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),r&&e.remove(r),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}}).constructor=d,i.enableClassExtend(d),t.exports=d},"3N8a":function(t,e,n){"use strict";var r=n("quSY");class i extends r.a{constructor(t,e){super()}schedule(t,e=0){return this}}n.d(e,"a",(function(){return o}));class o extends i{constructor(t,e){super(t,e),this.scheduler=t,this.work=e,this.pending=!1}schedule(t,e=0){if(this.closed)return this;this.state=t;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}requestAsyncId(t,e,n=0){return setInterval(t.flush.bind(t,this),n)}recycleAsyncId(t,e,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}execute(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(t,e){let n=!1,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}_unsubscribe(){const t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}},"3OrL":function(t,e,n){var r=n("bYtY"),i=n("6Ic6"),o=n("IwbS"),a=n("y+Vt"),s=["itemStyle"],l=["emphasis","itemStyle"],c=i.extend({type:"boxplot",render:function(t,e,n){var r=t.getData(),i=this.group,o=this._data;this._data||i.removeAll();var a="horizontal"===t.get("layout")?1:0;r.diff(o).add((function(t){if(r.hasValue(t)){var e=h(r.getItemLayout(t),r,t,a,!0);r.setItemGraphicEl(t,e),i.add(e)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var s=r.getItemLayout(t);n?d(s,n,r,t):n=h(s,r,t,a),i.add(n),r.setItemGraphicEl(t,n)}else i.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=r},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},dispose:r.noop}),u=a.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var n=e.points,r=0;for(t.moveTo(n[r][0],n[r][1]),r++;r<4;r++)t.lineTo(n[r][0],n[r][1]);for(t.closePath();r{const r=t.length;if(0===r)return void n.complete();const i=new Array(r);let o=0,a=0;for(let s=0;s{u||(u=!0,a++),i[s]=t},error:t=>n.error(t),complete:()=>{o++,o!==r&&u||(a===r&&n.next(e?e.reduce((t,e,n)=>(t[e]=i[n],t),{}):i),n.complete())}}))}})}n.d(e,"a",(function(){return xt})),n.d(e,"b",(function(){return kt})),n.d(e,"c",(function(){return Ct})),n.d(e,"d",(function(){return k})),n.d(e,"e",(function(){return h})),n.d(e,"f",(function(){return w})),n.d(e,"g",(function(){return mt})),n.d(e,"h",(function(){return At})),n.d(e,"i",(function(){return T}));const h=new r.q("NgValueAccessor"),d={provide:h,useExisting:Object(r.U)(()=>f),multi:!0};let f=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.E),r.Ob(r.l))},t.\u0275dir=r.Jb({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&r.cc("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[r.Bb([d])]}),t})();const p={provide:h,useExisting:Object(r.U)(()=>m),multi:!0},g=new r.q("CompositionEventMode");let m=(()=>{class t{constructor(t,e,n){this._renderer=t,this._elementRef=e,this._compositionMode=n,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Object(i.w)()?Object(i.w)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.E),r.Ob(r.l),r.Ob(g,8))},t.\u0275dir=r.Jb({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&r.cc("input",(function(t){return e._handleInput(t.target.value)}))("blur",(function(){return e.onTouched()}))("compositionstart",(function(){return e._compositionStart()}))("compositionend",(function(t){return e._compositionEnd(t.target.value)}))},features:[r.Bb([p])]}),t})(),v=(()=>{class t{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Jb({type:t}),t})(),y=(()=>{class t extends v{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return b(e||t)},t.\u0275dir=r.Jb({type:t,features:[r.zb]}),t})();const b=r.Wb(y);function _(){throw new Error("unimplemented")}class x extends v{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return _()}get asyncValidator(){return _()}}let w=(()=>{class t extends class{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(x,2))},t.\u0275dir=r.Jb({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&r.Gb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[r.zb]}),t})();function S(t){return null==t||0===t.length}const k=new r.q("NgValidators"),C=new r.q("NgAsyncValidators"),A=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[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])?)*$/;class T{static min(t){return e=>{if(S(e.value)||S(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n{if(S(e.value)||S(t))return null;const n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null}}static required(t){return S(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return S(t.value)||A.test(t.value)?null:{email:!0}}static minLength(t){return e=>{if(S(e.value))return null;const n=e.value?e.value.length:0;return n{const n=e.value?e.value.length:0;return n>t?{maxlength:{requiredLength:t,actualLength:n}}:null}}static pattern(t){if(!t)return T.nullValidator;let e,n;return"string"==typeof t?(n="","^"!==t.charAt(0)&&(n+="^"),n+=t,"$"!==t.charAt(t.length-1)&&(n+="$"),e=new RegExp(n)):(n=t.toString(),e=t),t=>{if(S(t.value))return null;const r=t.value;return e.test(r)?null:{pattern:{requiredPattern:n,actualValue:r}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(E);return 0==e.length?null:function(t){return D(function(t,e){return e.map(e=>e(t))}(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(E);return 0==e.length?null:function(t){return function(...t){if(1===t.length){const e=t[0];if(Object(a.a)(e))return u(e,null);if(Object(l.a)(e)&&Object.getPrototypeOf(e)===Object.prototype){const t=Object.keys(e);return u(t.map(t=>e[t]),t)}}if("function"==typeof t[t.length-1]){const e=t.pop();return u(t=1===t.length&&Object(a.a)(t[0])?t[0]:t,null).pipe(Object(s.a)(t=>e(...t)))}return u(t,null)}(function(t,e){return e.map(e=>e(t))}(t,e).map(M)).pipe(Object(s.a)(D))}}}function E(t){return null!=t}function M(t){const e=Object(r.tb)(t)?Object(c.a)(t):t;if(!Object(r.sb)(e))throw new Error("Expected validator to return Promise or Observable.");return e}function D(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function I(t){return t.validate?e=>t.validate(e):t}function O(t){return t.validate?e=>t.validate(e):t}const P={provide:h,useExisting:Object(r.U)(()=>L),multi:!0};let L=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.E),r.Ob(r.l))},t.\u0275dir=r.Jb({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&r.cc("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[r.Bb([P])]}),t})();const R={provide:h,useExisting:Object(r.U)(()=>z),multi:!0};let N=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})(),z=(()=>{class t{constructor(t,e,n,r){this._renderer=t,this._elementRef=e,this._registry=n,this._injector=r,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(x),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.E),r.Ob(r.l),r.Ob(N),r.Ob(r.r))},t.\u0275dir=r.Jb({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&r.cc("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r.Bb([R])]}),t})();const F={provide:h,useExisting:Object(r.U)(()=>B),multi:!0};let B=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.E),r.Ob(r.l))},t.\u0275dir=r.Jb({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&r.cc("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[r.Bb([F])]}),t})();const V='\n
\n
\n \n
\n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',j='\n
\n
\n \n
\n
',Y={provide:h,useExisting:Object(r.U)(()=>U),multi:!0};let U=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=r.ub}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.E),r.Ob(r.l))},t.\u0275dir=r.Jb({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&r.cc("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r.Bb([Y])]}),t})();const G={provide:h,useExisting:Object(r.U)(()=>H),multi:!0};let H=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=r.ub}set compareWith(t){if("function"!=typeof t)throw new Error("compareWith must be a function, but received "+JSON.stringify(t));this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const n=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(n.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const n=[];if(e.hasOwnProperty("selectedOptions")){const t=e.selectedOptions;for(let e=0;e{t._pendingValue=n,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&$(t,e)})}(t,e),function(t,e){t.registerOnChange((t,n)=>{e.valueAccessor.writeValue(t),n&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&$(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function $(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function Z(t,e){let n;throw n=t.path.length>1?`path: '${t.path.join(" -> ")}'`:t.path[0]?`name: '${t.path}'`:"unspecified name attribute",new Error(`${e} ${n}`)}function X(t){return null!=t?T.compose(t.map(I)):null}function K(t){return null!=t?T.composeAsync(t.map(O)):null}const Q=[f,B,L,U,H,z];function J(t){const e=et(t)?t.validators:t;return Array.isArray(e)?X(e):e||null}function tt(t,e){const n=et(e)?e.asyncValidators:t;return Array.isArray(n)?K(n):n||null}function et(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class nt{constructor(t,e){this.validator=t,this.asyncValidator=e,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this.validator=J(t)}setAsyncValidators(t){this.asyncValidator=tt(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING";const e=M(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>this.setErrors(e,{emitEvent:t}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let r=t;return e.forEach(t=>{r=r instanceof it?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof ot&&r.at(t)||null}),r}(this,t)}getError(t,e){const n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new r.n,this.statusChanges=new r.n}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){et(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class rt extends nt{constructor(t=null,e,n){super(J(e),tt(n,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class it extends nt{constructor(t,e,n){super(J(e),tt(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,n)=>(t[n]=e instanceof rt?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){let e=!1;return this._forEachChild((n,r)=>{e=e||this.contains(r)&&t(n)}),e}_reduceValue(){return this._reduceChildren({},(t,e,n)=>((e.enabled||this.disabled)&&(t[n]=e.value),t))}_reduceChildren(t,e){let n=t;return this._forEachChild((t,r)=>{n=e(n,t,r)}),n}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class ot extends nt{constructor(t,e,n){super(J(e),tt(n,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,n)=>{this.at(n)&&this.at(n).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((n,r)=>{n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof rt?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)}_forEachChild(t){this.controls.forEach((e,n)=>{t(e,n)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,n)=>{if(void 0===t[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const at={provide:y,useExisting:Object(r.U)(()=>lt)},st=(()=>Promise.resolve(null))();let lt=(()=>{class t extends y{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new r.n,this.form=new it({},X(t),K(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){st.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),W(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){st.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),function(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}(this._directives,t)})}addFormGroup(t){st.then(()=>{const e=this._findContainer(t.path),n=new it({});(function(t,e){null==t&&Z(e,"Cannot find control with"),t.validator=T.compose([t.validator,e.validator]),t.asyncValidator=T.composeAsync([t.asyncValidator,e.asyncValidator])})(n,t),e.registerControl(t.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){st.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){st.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,e=this._directives,this.form._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)}),this.ngSubmit.emit(t),!1;var e}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(k,10),r.Ob(C,10))},t.\u0275dir=r.Jb({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&r.cc("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.Bb([at]),r.zb]}),t})(),ct=(()=>{class t extends y{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return q(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return X(this._validators)}get asyncValidator(){return K(this._asyncValidators)}_checkParentType(){}}return t.\u0275fac=function(e){return ut(e||t)},t.\u0275dir=r.Jb({type:t,features:[r.zb]}),t})();const ut=r.Wb(ct);class ht{static modelParentException(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n \n
\n \n
\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
\n \n \n
\n ')}static formGroupNameException(){throw new Error(`\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ${V}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${j}`)}static missingNameException(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')}static modelGroupParentException(){throw new Error(`\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ${V}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${j}`)}}const dt={provide:y,useExisting:Object(r.U)(()=>ft)};let ft=(()=>{class t extends ct{constructor(t,e,n){super(),this._parent=t,this._validators=e,this._asyncValidators=n}_checkParentType(){this._parent instanceof t||this._parent instanceof lt||ht.modelGroupParentException()}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(y,5),r.Ob(k,10),r.Ob(C,10))},t.\u0275dir=r.Jb({type:t,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[r.Bb([dt]),r.zb]}),t})();const pt={provide:x,useExisting:Object(r.U)(()=>mt)},gt=(()=>Promise.resolve(null))();let mt=(()=>{class t extends x{constructor(t,e,n,i){super(),this.control=new rt,this._registered=!1,this.update=new r.n,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=n||[],this.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||Z(t,"Value accessor was not provided as an array for form control with");let n=void 0,r=void 0,i=void 0;return e.forEach(e=>{var o;e.constructor===m?n=e:(o=e,Q.some(t=>o.constructor===t)?(r&&Z(t,"More than one built-in value accessor matches form control with"),r=e):(i&&Z(t,"More than one custom value accessor matches form control with"),i=e))}),i||r||n||(Z(t,"No valid value accessor for form control with"),null)}(this,i)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;const n=t.model;return!!n.isFirstChange()||!Object(r.ub)(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?q(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return X(this._rawValidators)}get asyncValidator(){return K(this._rawAsyncValidators)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){W(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof ft)&&this._parent instanceof ct?ht.formGroupNameException():this._parent instanceof ft||this._parent instanceof lt||ht.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ht.missingNameException()}_updateValue(t){gt.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,n=""===e||e&&"false"!==e;gt.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(y,9),r.Ob(k,10),r.Ob(C,10),r.Ob(h,10))},t.\u0275dir=r.Jb({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r.Bb([pt]),r.zb,r.Ab]}),t})();const vt=new r.q("NgModelWithFormControlWarning"),yt={provide:k,useExisting:Object(r.U)(()=>_t),multi:!0},bt={provide:k,useExisting:Object(r.U)(()=>xt),multi:!0};let _t=(()=>{class t{get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}validate(t){return this.required?T.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Jb({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&r.Db("required",e.required?"":null)},inputs:{required:"required"},features:[r.Bb([yt])]}),t})(),xt=(()=>{class t extends _t{validate(t){return this.required?T.requiredTrue(t):null}}return t.\u0275fac=function(e){return wt(e||t)},t.\u0275dir=r.Jb({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&r.Db("required",e.required?"":null)},features:[r.Bb([bt]),r.zb]}),t})();const wt=r.Wb(xt);let St=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t})(),kt=(()=>{class t{group(t,e=null){const n=this._reduceControls(t);let r=null,i=null,o=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(r=null!=e.validators?e.validators:null,i=null!=e.asyncValidators?e.asyncValidators:null,o=null!=e.updateOn?e.updateOn:void 0):(r=null!=e.validator?e.validator:null,i=null!=e.asyncValidator?e.asyncValidator:null)),new it(n,{asyncValidators:i,updateOn:o,validators:r})}control(t,e,n){return new rt(t,e,n)}array(t,e,n){const r=t.map(t=>this._createControl(t));return new ot(r,e,n)}_reduceControls(t){const e={};return Object.keys(t).forEach(n=>{e[n]=this._createControl(t[n])}),e}_createControl(t){return t instanceof rt||t instanceof it||t instanceof ot?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})(),Ct=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[N],imports:[St]}),t})(),At=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:vt,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[kt,N],imports:[St]}),t})()},"3TkU":function(t,e,n){n("aTJb"),n("OlYY"),n("fc+c"),n("QUw5"),n("Swgg"),n("LBfv"),n("noeP")},"3WF5":function(t,e,n){var r=n("eUgh"),i=n("ut/Y"),o=n("l9OW"),a=n("Z0cm");t.exports=function(t,e){return(a(t)?r:o)(t,i(e,3))}},"3X6L":function(t,e,n){var r=n("bYtY"),i=n("7a+S"),o=n("OKJ2"),a=i.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:[]}});r.mixin(a,o),t.exports=a},"3azA":function(t,e,n){var r=n("M96O"),i=n("z6cq");t.exports=function(t){return r.filter(i(t),(function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])}))}},"3e3G":function(t,e,n){var r=n("bYtY"),i=n("QuXc"),o=function(t,e,n,r,o){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=o||!1,i.call(this,r)};o.prototype={constructor:o},r.inherits(o,i),t.exports=o},"3gBT":function(t,e){var n=2311;t.exports=function(){return n++}},"3hzK":function(t,e){t.exports={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")}}}},"3m61":function(t,e){function n(t){return t instanceof Array||(t=[t,t]),t}t.exports=function(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),r=t.getEdgeData(),i=n(t.get("edgeSymbol")),o=n(t.get("edgeSymbolSize")),a="lineStyle.color".split("."),s="lineStyle.opacity".split(".");r.setVisual("fromSymbol",i&&i[0]),r.setVisual("toSymbol",i&&i[1]),r.setVisual("fromSymbolSize",o&&o[0]),r.setVisual("toSymbolSize",o&&o[1]),r.setVisual("color",t.get(a)),r.setVisual("opacity",t.get(s)),r.each((function(t){var i=r.getItemModel(t),o=e.getEdgeByIndex(t),l=n(i.getShallow("symbol",!0)),c=n(i.getShallow("symbolSize",!0)),u=i.get(a),h=i.get(s);switch(u){case"source":u=o.node1.getVisual("color");break;case"target":u=o.node2.getVisual("color")}l[0]&&o.setVisual("fromSymbol",l[0]),l[1]&&o.setVisual("toSymbol",l[1]),c[0]&&o.setVisual("fromSymbolSize",c[0]),c[1]&&o.setVisual("toSymbolSize",c[1]),o.setVisual("color",u),o.setVisual("opacity",h)}))}))}},"3th9":function(t,e,n){var r=n("Sdz8");t.exports=function(t,e,n){return r(t,e,e,n)}},"3y7U":function(t,e,n){var r=n("M96O");t.exports=function(t,e,n){r.isArray(e)||(e=[e]);var i=(t.isDirected()?t.successors:t.neighbors).bind(t),o=[],a={};return r.each(e,(function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);!function t(e,n,i,o,a,s){r.has(o,n)||(o[n]=!0,i||s.push(n),r.each(a(n),(function(n){t(e,n,i,o,a,s)})),i&&s.push(n))}(t,e,"post"===n,a,i,o)})),o}},"3zoK":function(t,e,n){var r=n("bYtY"),i=n("bLfw"),o=n("KCsZ"),a=n("nkfE"),s=n("OELB"),l=n("ICMv"),c=i.extend({type:"baseParallelAxis",axis:null,activeIntervals:[],getAreaSelectStyle:function(){return o([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},setActiveIntervals:function(t){var e=this.activeIntervals=r.clone(t);if(e)for(var n=e.length-1;n>=0;n--)s.asc(e[n])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var r=0,i=e.length;r1&&d/u>2&&(h=Math.round(Math.ceil(h/u)*u));var f=c(t),p=a.get("showMinLabel")||f,g=a.get("showMaxLabel")||f;p&&h!==o[0]&&v(o[0]);for(var m=h;m<=o[1];m+=u)v(m);function v(t){l.push(n?t:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:t})}return g&&m-u!==o[1]&&v(o[1]),l}function m(t,e,n){var i=t.scale,o=s(t),a=[];return r.each(i.getTicks(),(function(t){var r=i.getLabel(t);e(t,r)&&a.push(n?t:{formattedLabel:o(t),rawLabel:r,tickValue:t})})),a}e.createAxisLabels=function(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=h(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=s(t);return{labels:r.map(e,(function(e,r){return{formattedLabel:n(e,r),rawLabel:t.scale.getLabel(e),tickValue:e}}))}}(t)},e.createAxisTicks=function(t,e){return"category"===t.type?function(t,e){var n,i,o=d(t,"ticks"),a=l(e),s=f(o,a);if(s)return s;if(e.get("show")&&!t.scale.isBlank()||(n=[]),r.isFunction(a))n=m(t,a,!0);else if("auto"===a){var c=h(t,t.getLabelModel());i=c.labelCategoryInterval,n=r.map(c.labels,(function(t){return t.tickValue}))}else n=g(t,i=a,!0);return p(o,a,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:t.scale.getTicks()}},e.calculateCategoryInterval=function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=s(t),r=(e.axisRotate-e.labelRotate)/180*Math.PI,o=t.scale,a=o.getExtent(),l=o.count();if(a[1]-a[0]<1)return 0;var c=1;l>40&&(c=Math.max(1,Math.floor(l/40)));for(var h=a[0],d=t.dataToCoord(h+1)-t.dataToCoord(h),f=Math.abs(d*Math.cos(r)),p=Math.abs(d*Math.sin(r)),g=0,m=0;h<=a[1];h+=c){var v,y=i.getBoundingRect(n(h),e.font,"center","top");v=1.3*y.height,g=Math.max(g,1.3*y.width,7),m=Math.max(m,v,7)}var b=g/f,_=m/p;isNaN(b)&&(b=1/0),isNaN(_)&&(_=1/0);var x=Math.max(0,Math.floor(Math.min(b,_))),w=u(t.model),S=t.getExtent(),k=w.lastAutoInterval,C=w.lastTickCount;return null!=k&&null!=C&&Math.abs(k-x)<=1&&Math.abs(C-l)<=1&&k>x&&w.axisExtend0===S[0]&&w.axisExtend1===S[1]?x=k:(w.lastTickCount=l,w.lastAutoInterval=x,w.axisExtend0=S[0],w.axisExtend1=S[1]),x}},"4I5i":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},"4JAw":function(t,e,n){var r=n("b5wT"),i=n("tQ6r"),o=n("F9We").Graph;t.exports={debugOrdering:function(t){var e=i.buildLayerMatrix(t),n=new o({compound:!0,multigraph:!0}).setGraph({});return r.forEach(t.nodes(),(function(e){n.setNode(e,{label:e}),n.setParent(e,"layer"+t.node(e).rank)})),r.forEach(t.edges(),(function(t){n.setEdge(t.v,t.w,{},t.name)})),r.forEach(e,(function(t,e){n.setNode("layer"+e,{rank:"same"}),r.reduce(t,(function(t,e){return n.setEdge(t,e,{style:"invis"}),e}))})),n}}},"4NO4":function(t,e,n){var r=n("bYtY"),i=n("ItGF"),o=r.each,a=r.isObject,s=r.isArray;function l(t){return t instanceof Array?t:null==t?[]:[t]}function c(t){return a(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}var u=0;function h(t,e){return t&&t.hasOwnProperty(e)}e.normalizeToArray=l,e.defaultEmphasis=function(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var r=0,i=n.length;r=n.length&&n.push({option:t})}})),n},e.makeIdAndName=function(t){var e=r.createHashMap();o(t,(function(t,n){var r=t.exist;r&&e.set(r.id,t)})),o(t,(function(t,n){var i=t.option;r.assert(!i||null==i.id||!e.get(i.id)||e.get(i.id)===t,"id duplicates: "+(i&&i.id)),i&&null!=i.id&&e.set(i.id,t),!t.keyInfo&&(t.keyInfo={})})),o(t,(function(t,n){var r=t.exist,i=t.option,o=t.keyInfo;if(a(i)){if(o.name=null!=i.name?i.name+"":r?r.name:"series\0"+n,r)o.id=r.id;else if(null!=i.id)o.id=i.id+"";else{var s=0;do{o.id="\0"+o.name+"\0"+s++}while(e.get(o.id))}e.set(o.id,t)}}))},e.isNameSpecified=function(t){var e=t.name;return!(!e||!e.indexOf("series\0"))},e.isIdInner=c,e.compressBatches=function(t,e){var n={},r={};return i(t||[],n),i(e||[],r,n),[o(n),o(r)];function i(t,e,n){for(var r=0,i=t.length;r=e[0]&&t<=e[1]},i.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},i.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},i.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},i.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},i.prototype.getExtent=function(){return this._extent.slice()},i.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},i.prototype.isBlank=function(){return this._isBlank},i.prototype.setBlank=function(t){this._isBlank=t},i.prototype.getLabel=null,r.enableClassExtend(i),r.enableClassManagement(i,{registerWhenExtend:!0}),t.exports=i},"4P+C":function(t,e,n){"use strict";var r=n("PEyx"),i=n("Ve/E");t.exports=function(t,e){function n(t){var n=e.node(t);return"translate("+n.x+","+n.y+")"}t.filter((function(){return!i.select(this).classed("update")})).attr("transform",n),r.applyTransition(t,e).style("opacity",1).attr("transform",n)}},"4fz+":function(t,e,n){var r=n("bYtY"),i=n("1bdT"),o=n("mFDi"),a=function(t){for(var e in i.call(this,t=t||{}),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};a.prototype={constructor:a,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;n=0&&(n.splice(r,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof a&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,i=this._children,o=r.indexOf(i,t);return o<0||(i.splice(o,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof a&&t.delChildrenFromStorage(n)),e&&e.refresh()),this},removeAll:function(){var t,e,n=this._children,r=this.__storage;for(e=0;e1e-4)return p[0]=t-n,p[1]=e-i,g[0]=t+n,void(g[1]=e+i);if(u[0]=l(o)*n+t,u[1]=s(o)*i+e,h[0]=l(a)*n+t,h[1]=s(a)*i+e,m(p,u,h),v(g,u,h),(o%=c)<0&&(o+=c),(a%=c)<0&&(a+=c),o>a&&!f?a+=c:oo&&(d[0]=l(_)*n+t,d[1]=s(_)*i+e,m(p,d,p),v(g,d,g))}},"4qC0":function(t,e,n){var r=n("NykK"),i=n("Z0cm"),o=n("ExA7");t.exports=function(t){return"string"==typeof t||!i(t)&&o(t)&&"[object String]"==r(t)}},"4sDh":function(t,e,n){var r=n("4uTw"),i=n("03A+"),o=n("Z0cm"),a=n("wJg7"),s=n("shjB"),l=n("9Nap");t.exports=function(t,e,n){for(var c=-1,u=(e=r(e,t)).length,h=!1;++cr.pipe(l((n,r)=>Object(s.a)(t(n,r)).pipe(Object(a.a)((t,i)=>e(n,t,r,i))),n)):("number"==typeof e&&(n=e),e=>e.lift(new c(t,n)))}class c{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new u(t,this.project,this.concurrent))}}class u extends i.a{constructor(t,e,n=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"51Dv":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("7o/Q");class i extends r.a{constructor(t,e,n){super(),this.parent=t,this.outerValue=e,this.outerIndex=n,this.index=0}_next(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}_error(t){this.parent.notifyError(t,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},"56rv":function(t,e,n){var r=n("IwbS"),i=n("x3X8").getDefaultLabel;function o(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=function(t,e,n,a,s,l,c){var u=n.getModel("label"),h=n.getModel("emphasis.label");r.setLabelStyle(t,e,u,h,{labelFetcher:s,labelDataIndex:l,defaultText:i(s.getData(),l),isRectText:!0,autoColor:a}),o(t),o(e)}},"59Ip":function(t,e,n){var r=n("Sj9i");e.containStroke=function(t,e,n,i,o,a,s,l,c,u,h){if(0===c)return!1;var d=c;return!(h>e+d&&h>i+d&&h>a+d&&h>l+d||ht+d&&u>n+d&&u>o+d&&u>s+d||ue)return t[r];return t[n-1]}(c,n):l;if((u=u||l)&&u.length){var h=u[a];return t&&(s[t]=h),r.colorIdx=(a+1)%u.length,h}}}},"5NHt":function(t,e,n){n("aTJb"),n("OlYY"),n("fc+c"),n("N5BQ"),n("IyUQ"),n("LBfv"),n("noeP")},"5Tg0":function(t,e,n){(function(t){var r=n("Kz5y"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}}).call(this,n("YuTi")(t))},"5VIG":function(t,e,n){var r;try{r=n("4Ai+")}catch(i){}r||(r=window.graphlib),t.exports=r},"5jIi":function(t,e,n){"use strict";var r=n("b5wT");t.exports=function(t){var e={},n=r.filter(t.nodes(),(function(e){return!t.children(e).length})),i=r.max(r.map(n,(function(e){return t.node(e).rank}))),o=r.map(r.range(i+1),(function(){return[]})),a=r.sortBy(n,(function(e){return t.node(e).rank}));return r.forEach(a,(function n(i){if(!r.has(e,i)){e[i]=!0;var a=t.node(i);o[a.rank].push(i),r.forEach(t.successors(i),n)}})),o}},"5s0K":function(t,e,n){var r=n("bYtY");e.createWrap=function(){var t,e=[],n={};return{add:function(t,i,o,a,s){return r.isString(a)&&(s=a,a=0),!n[t.id]&&(n[t.id]=1,e.push({el:t,target:i,time:o,delay:a,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var r=e.length,i=0,o=e.length;i=0&&l<0)&&(a=g,l=p,i=u,o.length=0),s(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:i}}(e,t),c=l.payloadBatch,u=l.snapToValue;c[0]&&null==o.seriesIndex&&r.extend(o,c[0]),!i&&t.snap&&a.containData(u)&&null!=u&&(e=u),n.showPointer(t,e,c,o),n.showTooltip(t,l,u)}else n.showPointer(t,e)}function h(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function d(t,e,n,r){var i=n.payloadBatch,a=e.axis,s=a.model,l=e.axisPointerModel;if(e.triggerTooltip&&i.length){var c=e.coordSys.model,u=o.makeKey(c),h=t.map[u];h||(h=t.map[u]={coordSysId:c.id,coordSysIndex:c.componentIndex,coordSysType:c.type,coordSysMainType:c.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:a.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:r,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:i.slice()})}}function f(t){var e=t.axis.model,n={},r=n.axisDim=t.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=e.componentIndex,n.axisName=n[r+"AxisName"]=e.name,n.axisId=n[r+"AxisId"]=e.id,n}function p(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=function(t,e,n){var i=t.currTrigger,o=[t.x,t.y],g=t,m=t.dispatchAction||r.bind(n.dispatchAction,n),v=e.getComponent("axisPointer").coordSysAxesInfo;if(v){p(o)&&(o=a({seriesIndex:g.seriesIndex,dataIndex:g.dataIndex},e).point);var y=p(o),b=g.axesInfo,_=v.axesInfo,x="leave"===i||p(o),w={},S={},k={list:[],map:{}},C={showPointer:l(h,S),showTooltip:l(d,k)};s(v.coordSysMap,(function(t,e){var n=y||t.containPoint(o);s(v.coordSysAxesInfo[e],(function(t,e){var r=t.axis,i=function(t,e){for(var n=0;n<(t||[]).length;n++){var r=t[n];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}(b,t);if(!x&&n&&(!b||i)){var a=i&&i.value;null!=a||y||(a=r.pointToData(o)),null!=a&&u(t,a,C,!1,w)}}))}));var A={};return s(_,(function(t,e){var n=t.linkGroup;n&&!S[e]&&s(n.axesInfo,(function(e,r){var i=S[r];if(e!==t&&i){var o=i.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,f(e),f(t)))),A[t.key]=o}}))})),s(A,(function(t,e){u(_[e],t,C,!0,w)})),function(t,e,n){var r=n.axesInfo=[];s(e,(function(e,n){var i=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(i.status="show"),i.value=o.value,i.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:i.value})}))}(S,_,w),function(t,e,n,r){if(!p(e)&&t.list.length){var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}else r({type:"hideTip"})}(k,o,t,m),function(t,e,n){var i=n.getZr(),o=c(i).axisPointerLastHighlights||{},a=c(i).axisPointerLastHighlights={};s(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&s(n.seriesDataIndices,(function(t){a[t.seriesIndex+" | "+t.dataIndex]=t}))}));var l=[],u=[];r.each(o,(function(t,e){!a[e]&&u.push(t)})),r.each(a,(function(t,e){!o[e]&&l.push(t)})),u.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:u}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:l})}(_,0,n),w}}},"6Ekc":function(t,e,n){"use strict";var r=n("b5wT");t.exports={longestPath:function(t){var e={};r.forEach(t.sources(),(function n(i){var o=t.node(i);if(r.has(e,i))return o.rank;e[i]=!0;var a=r.min(r.map(t.outEdges(i),(function(e){return n(e.w)-t.edge(e).minlen})));return a!==Number.POSITIVE_INFINITY&&null!=a||(a=0),o.rank=a}))},slack:function(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}}},"6GrX":function(t,e,n){var r=n("mFDi"),i=n("Xnb7"),o=n("bYtY"),a=o.getContext,s=o.extend,l=o.retrieve2,c=o.retrieve3,u=o.trim,h={},d=0,f=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,p={};function g(t,e){var n=t+":"+(e=e||"12px sans-serif");if(h[n])return h[n];for(var r=(t+"").split("\n"),i=0,o=0,a=r.length;o5e3&&(d=0,h={}),d++,h[n]=i,i}function m(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function v(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function y(t,e,n){var r=e.textDistance,i=n.x,o=n.y;r=r||0;var a=n.height,s=n.width,l=a/2,c="left",u="top";switch(e.textPosition){case"left":i-=r,o+=l,c="right",u="middle";break;case"right":i+=r+s,o+=l,u="middle";break;case"top":i+=s/2,o-=r,c="center",u="bottom";break;case"bottom":i+=s/2,o+=a+r,c="center";break;case"inside":i+=s/2,o+=l,c="center",u="middle";break;case"insideLeft":i+=r,o+=l,u="middle";break;case"insideRight":i+=s-r,o+=l,c="right",u="middle";break;case"insideTop":i+=s/2,o+=r,c="center";break;case"insideBottom":i+=s/2,o+=a-r,c="center",u="bottom";break;case"insideTopLeft":i+=r,o+=r;break;case"insideTopRight":i+=s-r,o+=r,c="right";break;case"insideBottomLeft":i+=r,o+=a-r,u="bottom";break;case"insideBottomRight":i+=s-r,o+=a-r,c="right",u="bottom"}return(t=t||{}).x=i,t.y=o,t.textAlign=c,t.textVerticalAlign=u,t}function b(t,e,n,r,i){if(!e)return"";var o=(t+"").split("\n");i=_(e,n,r,i);for(var a=0,s=o.length;a=o;c++)a-=o;var u=g(n,e);return u>a&&(n="",u=0),a=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=a,r.containerWidth=t,r}function x(t,e){var n=e.containerWidth,r=e.font,i=e.contentWidth;if(!n)return"";var o=g(t,r);if(o<=n)return t;for(var a=0;;a++){if(o<=i||a>=e.maxIterations){t+=e.ellipsis;break}var s=0===a?w(t,i,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*i/o):0;o=g(t=t.substr(0,s),r)}return""===t&&(t=e.placeholder),t}function w(t,e,n,r){for(var i=0,o=0,a=t.length;oh)t="",a=[];else if(null!=d)for(var f=_(d-(n?n[1]+n[3]:0),e,i.ellipsis,{minChar:i.minChar,placeholder:i.placeholder}),p=0,g=a.length;po&&T(n,t.substring(o,a)),T(n,r[2],r[1]),o=f.lastIndex}oy)return{lines:[],width:0,height:0};z.textWidth=g(z.text,M);var I=A.textWidth,O=null==I||"auto"===I;if("string"==typeof I&&"%"===I.charAt(I.length-1))z.percentWidth=I,d.push(z),I=0;else{if(O){I=z.textWidth;var P=A.textBackgroundColor,L=P&&P.image;L&&(L=i.findExistImage(L),i.isImageReady(L)&&(I=Math.max(I,L.width*D/L.height)))}var R=E?E[1]+E[3]:0;I+=R;var N=null!=v?v-k:null;null!=N&&N"],i.isArray(t)&&(t=t.slice(),r=!0),o=e?t:r?[u(t[0]),u(t[1])]:u(t),i.isString(c)?c.replace("{value}",r?o[0]:o).replace("{value2}",r?o[1]:o):i.isFunction(c)?r?c(t[0],t[1]):c(t):r?t[0]===l[0]?n[0]+" "+o[1]:t[1]===l[1]?n[1]+" "+o[0]:o[0]+" - "+o[1]:o;function u(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension;if(null!=e||t.dimensions.length){if(null!=e)return t.getDimension(e);for(var n=t.dimensions,r=n.length-1;r>=0;r--){var i=n[r];if(!t.getDimensionInfo(i).isCalculationCoord)return i}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},r=e.target||(e.target={}),o=e.controller||(e.controller={});i.merge(r,n),i.merge(o,n);var l=this.isCategory();function c(n){f(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")},p(this.stateList,(function(t){var e=n[t];if(i.isString(e)){var r=a.get(e,"active",l);r?(n[t]={},n[t][e]=r):delete n[t]}}),this)}c.call(this,r),c.call(this,o),(function(t,e,n){var r=t[e],i=t[n];r&&!i&&(i=t[n]={},p(r,(function(t,e){if(s.isValidType(e)){var n=a.get(e,"inactive",l);null!=n&&(i[e]=n,"color"!==e||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}).call(this,r,"inRange","outOfRange"),(function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,r=this.get("inactiveColor");p(this.stateList,(function(o){var a=this.itemSize,s=t[o];s||(s=t[o]={color:l?r:[r]}),null==s.symbol&&(s.symbol=e&&i.clone(e)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&i.clone(n)||(l?a[0]:[a[0],a[0]])),s.symbol=h(s.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t}));var c=s.symbolSize;if(null!=c){var u=-1/0;d(c,(function(t){t>u&&(u=t)})),s.symbolSize=h(c,(function(t){return m(t,[0,u],[0,a[0]],!0)}))}}),this)}).call(this,o)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:v,getValueState:v,getVisualMeta:v});t.exports=y},"6usn":function(t,e,n){var r=n("bYtY");function i(t,e){return r.map(["Radius","Angle"],(function(n,r){var i=this["get"+n+"Axis"](),o=e[r],a=t[r]/2,s="dataTo"+n,l="category"===i.type?i.getBandWidth():Math.abs(i[s](o-a)-i[s](o+a));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}t.exports=function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),o=e.getExtent();return o[0]>o[1]&&o.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:o[1],r0:o[0]},api:{coord:r.bind((function(r){var i=e.dataToRadius(r[0]),o=n.dataToAngle(r[1]),a=t.coordToPoint([i,o]);return a.push(i,o*Math.PI/180),a})),size:r.bind(i,t)}}}},"711d":function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},"72pK":function(t,e){function n(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function r(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}t.exports=function(t,e,i,o,a,s){t=t||0;var l=i[1]-i[0];if(null!=a&&(a=r(a,[0,l])),null!=s&&(s=Math.max(s,null!=a?a:0)),"all"===o){var c=Math.abs(e[1]-e[0]);c=r(c,[0,l]),a=s=r(c,[a,s]),o=0}e[0]=r(e[0],i),e[1]=r(e[1],i);var u=n(e,o);e[o]+=t;var h=a||0,d=i.slice();u.sign<0?d[0]+=h:d[1]-=h,e[o]=r(e[o],d);var f=n(e,o);return null!=a&&(f.sign!==u.sign||f.spans&&(e[1-o]=e[o]+f.sign*s),e}},"75ce":function(t,e,n){var r=n("ProS");n("IXuL"),n("8X+K");var i=n("f5Yq"),o=n("h8O9"),a=n("/d5a");n("Ae16"),r.registerVisual(i("line","circle","line")),r.registerLayout(o("line")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,a("line"))},"75ev":function(t,e,n){var r=n("ProS");n("IWNH"),n("bNin"),n("v5uJ");var i=n("f5Yq"),o=n("yik8");r.registerVisual(i("tree","circle")),r.registerLayout(o)},"77Zs":function(t,e,n){var r=n("Xi7e");t.exports=function(){this.__data__=new r,this.size=0}},"7AJT":function(t,e,n){var r=n("bYtY"),i=n("hM6l"),o=function(t,e,n,r,o){i.call(this,t,e,n),this.type=r||"value",this.position=o||"bottom"};o.prototype={constructor:o,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},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["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},r.inherits(o,i),t.exports=o},"7DRL":function(t,e,n){n("Tghj");var r=n("bYtY"),i=r.createHashMap,o=r.isString,a=r.isArray,s=r.each,l=n("MEGo").parseXML,c=i(),u={registerMap:function(t,e,n){var r;return a(e)?r=e:e.svg?r=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),r=[{type:"geoJSON",source:e,specialAreas:n}]),s(r,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,h[e])(t)})),c.set(t,r)},retrieveMap:function(t){return c.get(t)}},h={geoJSON:function(t){var e=t.source;t.geoJSON=o(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=l(t.source)}};t.exports=u},"7G+c":function(t,e,n){var r=n("bYtY"),i=r.createHashMap,o=r.isTypedArray,a=n("Yl7c").enableClassCheck,s=n("k9D9"),l=s.SOURCE_FORMAT_ORIGINAL,c=s.SERIES_LAYOUT_BY_COLUMN,u=s.SOURCE_FORMAT_UNKNOWN,h=s.SOURCE_FORMAT_TYPED_ARRAY,d=s.SOURCE_FORMAT_KEYED_COLUMNS;function f(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===d?{}:[]),this.sourceFormat=t.sourceFormat||u,this.seriesLayoutBy=t.seriesLayoutBy||c,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&i(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}f.seriesDataToSource=function(t){return new f({data:t,sourceFormat:o(t)?h:l,fromDataset:!1})},a(f),t.exports=f},"7GkX":function(t,e,n){var r=n("b80T"),i=n("A90E"),o=n("MMmD");t.exports=function(t){return o(t)?r(t):i(t)}},"7Ix3":function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},"7Phj":function(t,e,n){var r=n("bYtY"),i=n("OELB").parsePercent,o=r.each;t.exports=function(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var i=t.getBaseAxis(),o=r.indexOf(n,i);o<0&&(n[o=n.length]=i,e[o]={axis:i,seriesModels:[]}),e[o].seriesModels.push(t)})),e}(t);o(e,(function(t){var e=t.seriesModels;e.length&&(function(t){var e,n,a=t.axis,s=t.seriesModels,l=s.length,c=t.boxWidthList=[],u=t.boxOffsetList=[],h=[];if("category"===a.type)n=a.getBandWidth();else{var d=0;o(s,(function(t){d=Math.max(d,t.getData().count())})),e=a.getExtent(),Math.abs(e[1]-e[0])}o(s,(function(t){var e=t.get("boxWidth");r.isArray(e)||(e=[e,e]),h.push([i(e[0],n)||0,i(e[1],n)||0])}));var f=.8*n-2,p=f/l*.3,g=(f-p*(l-1))/l,m=g/2-f/2;o(s,(function(t,e){u.push(m),m+=p+g,c.push(Math.min(Math.max(g,h[e][0]),h[e][1]))}))}(t),o(e,(function(e,n){!function(t,e,n){var r=t.coordinateSystem,i=t.getData(),o=n/2,a="horizontal"===t.get("layout")?0:1,s=1-a,l=["x","y"],c=i.mapDimension(l[a]),u=i.mapDimension(l[s],!0);if(!(null==c||u.length<5))for(var h=0;h=0&&e.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n15)break}s.__drawIndex=m,s.__drawIndex0&&t>r[0]){for(s=0;st);s++);a=n[r[s]]}if(r.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var c=a.dom;c.nextSibling?l.insertBefore(e.dom,c.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else o("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,r,i=this._zlevelList;for(r=0;r0?.01:0),this._needsManuallyCompositing),s.__builtin__||o("ZLevel "+l+" has been used by unkown layer "+s.id),s!==r&&(s.__used=!0,s.__startIndex!==n&&(s.__dirty=!0),s.__startIndex=n,s.__drawIndex=s.incremental?-1:n,e(n),r=s),a.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__drawIndex=n))}e(n),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?i.merge(n[t],e,!0):n[t]=e;for(var r=0;r=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t=this.option,e=t.data||[],n=t.axisType,i=this._names=[];if("category"===n){var s=[];r.each(e,(function(t,e){var n,o=a.getDataItemValue(t);r.isObject(t)?(n=r.clone(t)).value=e:n=e,s.push(n),r.isString(o)||null!=o&&!isNaN(o)||(o=""),i.push(o+"")})),e=s}(this._data=new o([{name:"value",type:{category:"ordinal",time:"time"}[n]||"number"}],this)).initData(e,i)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}});t.exports=s},"7aKB":function(t,e,n){var r=n("bYtY"),i=n("6GrX"),o=n("OELB"),a=r.normalizeCssArray,s=/([&<>"'])/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"};function c(t){return null==t?"":(t+"").replace(s,(function(t,e){return l[e]}))}var u=["a","b","c","d","e","f","g"],h=function(t,e){return"{"+t+(null==e?"":e)+"}"};function d(t,e){return"0000".substr(0,e-(t+="").length)+t}var f=i.truncateText;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")},e.toCamelCase=function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},e.normalizeCssArray=a,e.encodeHTML=c,e.formatTpl=function(t,e,n){r.isArray(e)||(e=[e]);var i=e.length;if(!i)return"";for(var o=e[0].$vars||[],a=0;a':'':{renderMode:i,content:"{marker"+o+"|} ",style:{color:n}}:""},e.formatTime=function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var r=o.parseDate(e),i=n?"UTC":"",a=r["get"+i+"FullYear"](),s=r["get"+i+"Month"]()+1,l=r["get"+i+"Date"](),c=r["get"+i+"Hours"](),u=r["get"+i+"Minutes"](),h=r["get"+i+"Seconds"](),f=r["get"+i+"Milliseconds"]();return t.replace("MM",d(s,2)).replace("M",s).replace("yyyy",a).replace("yy",a%100).replace("dd",d(l,2)).replace("d",l).replace("hh",d(c,2)).replace("h",c).replace("mm",d(u,2)).replace("m",u).replace("ss",d(h,2)).replace("s",h).replace("SSS",d(f,3))},e.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},e.truncateText=f,e.getTextBoundingRect=function(t){return i.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},e.getTextRect=function(t,e,n,r,o,a,s,l){return i.getBoundingRect(t,e,n,r,o,l,a,s)}},"7bkD":function(t,e,n){var r=n("bYtY");e.layout=function(t,e){e=e||{};var n=t.axis,i={},o=n.position,a=n.orient,s=t.coordinateSystem.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],c={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};i.position=["vertical"===a?c.vertical[o]:l[0],"horizontal"===a?c.horizontal[o]:l[3]],i.rotation=Math.PI/2*{horizontal:0,vertical:1}[a],i.labelDirection=i.tickDirection=i.nameDirection={top:-1,bottom:1,right:1,left:-1}[o],t.get("axisTick.inside")&&(i.tickDirection=-i.tickDirection),r.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(i.labelDirection=-i.labelDirection);var u=e.rotate;return null==u&&(u=t.get("axisLabel.rotate")),i.labelRotation="top"===o?-u:u,i.z2=1,i}},"7fqy":function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},"7hqr":function(t,e,n){var r=n("bYtY"),i=r.each,o=r.isString;function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}e.enableDataStack=function(t,e,n){var r,a,s,l,c=(n=n||{}).byIndex,u=n.stackedCoordDimension,h=!(!t||!t.get("stack"));if(i(e,(function(t,n){o(t)&&(e[n]=t={name:t}),h&&!t.isExtraCoord&&(c||r||!t.ordinalMeta||(r=t),a||"ordinal"===t.type||"time"===t.type||u&&u!==t.coordDim||(a=t))})),!a||c||r||(c=!0),a){s="__\0ecstackresult",l="__\0ecstackedover",r&&(r.createInvertedIndices=!0);var d=a.coordDim,f=a.type,p=0;i(e,(function(t){t.coordDim===d&&p++})),e.push({name:s,coordDim:d,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0}),p++,e.push({name:l,coordDim:l,coordDimIndex:p,type:f,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:a&&a.name,stackedByDimension:r&&r.name,isStackedByIndex:c,stackedOverDimension:l,stackResultDimension:s}},e.isDimensionStacked=a,e.getStackedDimension=function(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},"7mYs":function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS"),a=n("7aKB"),s=n("OELB"),l={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"]},c={EN:["S","M","T","W","T","F","S"],CN:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},u=r.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var r=this.group;r.removeAll();var i=t.coordinateSystem,o=i.getRangeInfo(),a=i.getOrient();this._renderDayRect(t,o,r),this._renderLines(t,o,a,r),this._renderYearText(t,o,a,r),this._renderMonthText(t,a,r),this._renderWeekText(t,o,a,r)},_renderDayRect:function(t,e,n){for(var r=t.coordinateSystem,i=t.getModel("itemStyle").getItemStyle(),a=r.getCellWidth(),s=r.getCellHeight(),l=e.start.time;l<=e.end.time;l=r.getNextNDay(l,1).time){var c=r.dataToRect([l],!1).tl,u=new o.Rect({shape:{x:c[0],y:c[1],width:a,height:s},cursor:"default",style:i});n.add(u)}},_renderLines:function(t,e,n,r){var i=this,o=t.coordinateSystem,a=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=e.start,u=0;c.time<=e.end.time;u++){d(c.formatedDate),0===u&&(c=o.getDateInfo(e.start.y+"-"+e.start.m));var h=c.date;h.setMonth(h.getMonth()+1),c=o.getDateInfo(h)}function d(e){i._firstDayOfMonth.push(o.getDateInfo(e)),i._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=i._getLinePointsOfOneWeek(t,e,n);i._tlpoints.push(l[0]),i._blpoints.push(l[l.length-1]),s&&i._drawSplitline(l,a,r)}d(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,l,n),a,r),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,l,n),a,r)},_getEdgesPoints:function(t,e,n){var r=[t[0].slice(),t[t.length-1].slice()],i="horizontal"===n?0:1;return r[0][i]=r[0][i]-e/2,r[1][i]=r[1][i]+e/2,r},_drawSplitline:function(t,e,n){var r=new o.Polyline({z2:20,shape:{points:t},style:e});n.add(r)},_getLinePointsOfOneWeek:function(t,e,n){var r=t.coordinateSystem;e=r.getDateInfo(e);for(var i=[],o=0;o<7;o++){var a=r.getNextNDay(e.time,o),s=r.dataToRect([a.time],!1);i[2*a.day]=s.tl,i[2*a.day+1]=s["horizontal"===n?"bl":"tr"]}return i},_formatterLabel:function(t,e){return"string"==typeof t&&t?a.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,r,i){e=e.slice();var o=["center","bottom"];"bottom"===r?(e[1]+=i,o=["center","top"]):"left"===r?e[0]-=i:"right"===r?(e[0]+=i,o=["center","top"]):e[1]-=i;var a=0;return"left"!==r&&"right"!==r||(a=Math.PI/2),{rotation:a,position:e,style:{textAlign:o[0],textVerticalAlign:o[1]}}},_renderYearText:function(t,e,n,r){var i=t.getModel("yearLabel");if(i.get("show")){var a=i.get("margin"),s=i.get("position");s||(s="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],c=(l[0][0]+l[1][0])/2,u=(l[0][1]+l[1][1])/2,h="horizontal"===n?0:1,d={top:[c,l[h][1]],bottom:[c,l[1-h][1]],left:[l[1-h][0],u],right:[l[h][0],u]},f=e.start.y;+e.end.y>+e.start.y&&(f=f+"-"+e.end.y);var p=i.get("formatter"),g=this._formatterLabel(p,{start:e.start.y,end:e.end.y,nameMap:f}),m=new o.Text({z2:30});o.setTextStyle(m.style,i,{text:g}),m.attr(this._yearTextPositionControl(m,d[s],n,s,a)),r.add(m)}},_monthTextPositionControl:function(t,e,n,r,i){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=i,e&&(o="center"),"start"===r&&(a="bottom")):(s+=i,e&&(a="middle"),"start"===r&&(o="right")),{x:s,y:l,textAlign:o,textVerticalAlign:a}},_renderMonthText:function(t,e,n){var r=t.getModel("monthLabel");if(r.get("show")){var a=r.get("nameMap"),s=r.get("margin"),c=r.get("position"),u=r.get("align"),h=[this._tlpoints,this._blpoints];i.isString(a)&&(a=l[a.toUpperCase()]||[]);var d="start"===c?0:1,f="horizontal"===e?0:1;s="start"===c?-s:s;for(var p="center"===u,g=0;gthis._complete.call(this._context);s.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(n){if(this.unsubscribe(),s.a.useDeprecatedSynchronousErrorHandling)throw n;Object(l.a)(n)}}__tryOrSetError(t,e,n){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,n)}catch(r){return s.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=r,t.syncErrorThrown=!0,!0):(Object(l.a)(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"7oTu":function(t,e,n){var r=n("IMiH"),i=n("QBsz").applyTransform,o=r.CMD,a=[[],[],[]],s=Math.sqrt,l=Math.atan2;t.exports=function(t,e){var n,r,c,u,h,d=t.data,f=o.M,p=o.C,g=o.L,m=o.R,v=o.A,y=o.Q;for(c=0,u=0;c1?(g.width=u,g.height=u/f):(g.height=u,g.width=u*f),g.y=c[1]-g.height/2,g.x=c[0]-g.width/2}else(o=t.getBoxLayoutParams()).aspect=f,g=a.getLayoutRect(o,{width:h,height:d});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function h(t,e){i.each(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}var d={dimensions:o.prototype.dimensions,create:function(t,e){var n=[];t.eachComponent("geo",(function(t,r){var i=t.get("map"),a=t.get("aspectScale"),s=!0,l=c.retrieveMap(i);l&&l[0]&&"svg"===l[0].type?(null==a&&(a=1),s=!1):null==a&&(a=.75);var d=new o(i+r,i,t.get("nameMap"),s);d.aspectScale=a,d.zoomLimit=t.get("scaleLimit"),n.push(d),h(d,t),t.coordinateSystem=d,d.model=t,d.resize=u,d.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),i.each(r,(function(t,r){var a=i.map(t,(function(t){return t.get("nameMap")})),s=new o(r,r,i.mergeAll(a));s.zoomLimit=i.retrieve.apply(null,i.map(t,(function(t){return t.get("scaleLimit")}))),n.push(s),s.resize=u,s.aspectScale=t[0].get("aspectScale"),s.resize(t[0],e),i.each(t,(function(t){t.coordinateSystem=s,h(s,t)}))})),n},getFilledRegions:function(t,e,n){for(var r=(t||[]).slice(),o=i.createHashMap(),a=0;ae.barycenter?1:n?e.i-t.i:t.i-e.i})),d=o(c,l,d),r.forEach(s,(function(t){d+=t.vs.length,c.push(t.vs),u+=t.barycenter*t.weight,h+=t.weight,d=o(c,l,d)}));var f={vs:r.flatten(c,!0)};return h&&(f.barycenter=u/h,f.weight=h),f}},"88Gu":function(t,e){var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var i=n(),o=16-(i-r);if(r=i,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},"8SMY":function(t,e,n){var r=n("n4Lv"),i=r.prepareDataCoordInfo,o=r.getStackedOnPoint;t.exports=function(t,e,n,r,a,s,l,c){for(var u=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),h=[],d=[],f=[],p=[],g=[],m=[],v=[],y=i(a,e,l),b=i(s,t,c),_=0;_r)return!1;return!0}(s,e))){var l=e.mapDimension(s.dim),c={};return r.each(s.getViewLabels(),(function(t){c[t.tickValue]=1})),function(t){return!c.hasOwnProperty(e.get(l,t))}}}}(t,l,i),D=this._data;D&&D.eachItemGraphicEl((function(t,e){t.__temp&&(a.remove(t),D.setItemGraphicEl(e,null))})),E||m.remove(),a.add(S);var I,O=!d&&t.get("step");i&&i.getArea&&t.get("clip",!0)&&(null!=(I=i.getArea()).width?(I.x-=.1,I.y-=.1,I.width+=.2,I.height+=.2):I.r0&&(I.r0-=.5,I.r1+=.5)),this._clipShapeForSymbol=I,v&&f.type===i.type&&O===this._step?(C&&!y?y=this._newPolygon(h,T,i,k):y&&!C&&(S.remove(y),y=this._polygon=null),S.setClipPath(w(i,!1,t)),E&&m.updateData(l,{isIgnore:M,clipShape:I}),l.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),b(this._stackedOnPoints,T)&&b(this._points,h)||(k?this._updateAnimation(l,T,i,n,O,A):(O&&(h=x(h,i,O),T=x(T,i,O)),v.setShape({points:h}),y&&y.setShape({points:h,stackedOnPoints:T})))):(E&&m.updateData(l,{isIgnore:M,clipShape:I}),O&&(h=x(h,i,O),T=x(T,i,O)),v=this._newPolyline(h,i,k),C&&(y=this._newPolygon(h,T,i,k)),S.setClipPath(w(i,!0,t)));var P=function(t,e){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count()&&"cartesian2d"===e.type){for(var i,o,a=n.length-1;a>=0;a--){var l=t.getDimensionInfo(t.dimensions[n[a].dimension]);if("x"===(i=l&&l.coordDim)||"y"===i){o=n[a];break}}if(o){var c=e.getAxis(i),u=r.map(o.stops,(function(t){return{coord:c.toGlobalCoord(c.dataToCoord(t.value)),color:t.color}})),h=u.length,d=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),d.reverse());var f=u[0].coord-10,p=u[h-1].coord+10,g=p-f;if(g<.001)return"transparent";r.each(u,(function(t){t.offset=(t.coord-f)/g})),u.push({offset:h?u[h-1].offset:.5,color:d[1]||"transparent"}),u.unshift({offset:h?u[0].offset:.5,color:d[0]||"transparent"});var m=new s.LinearGradient(0,0,0,0,u,!0);return m[i]=f,m[i+"2"]=p,m}}}(l,i)||l.getVisual("color");v.useStyle(r.defaults(c.getLineStyle(),{fill:"none",stroke:P,lineJoin:"bevel"}));var L=t.get("smooth");if(L=_(t.get("smooth")),v.setShape({smooth:L,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),y){var R=l.getCalculationInfo("stackedOnSeries"),N=0;y.useStyle(r.defaults(u.getAreaStyle(),{fill:P,opacity:.7,lineJoin:"bevel"})),R&&(N=_(R.get("smooth"))),y.setShape({smooth:L,stackedOnSmooth:N,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=l,this._coordSys=i,this._stackedOnPoints=T,this._points=h,this._step=O,this._valueOrigin=A},dispose:function(){},highlight:function(t,e,n,r){var i=t.getData(),a=l.queryDataIndex(i,r);if(!(a instanceof Array)&&null!=a&&a>=0){var s=i.getItemGraphicEl(a);if(!s){var c=i.getItemLayout(a);if(!c)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c[0],c[1]))return;(s=new o(i,a)).position=c,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(c[0])||isNaN(c[1]),s.__temp=!0,i.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else d.prototype.highlight.call(this,t,e,n,r)},downplay:function(t,e,n,r){var i=t.getData(),o=l.queryDataIndex(i,r);if(null!=o&&o>=0){var a=i.getItemGraphicEl(o);a&&(a.__temp?(i.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else d.prototype.downplay.call(this,t,e,n,r)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new u({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new h({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(t,e,n,r,i,o){var l=this._polyline,c=this._polygon,u=t.hostModel,h=a(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,o),d=h.current,f=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;i&&(d=x(h.current,n,i),f=x(h.stackedOnCurrent,n,i),p=x(h.next,n,i),g=x(h.stackedOnNext,n,i)),l.shape.__points=h.current,l.shape.points=d,s.updateProps(l,{shape:{points:p}},u),c&&(c.setShape({points:d,stackedOnPoints:f}),s.updateProps(c,{shape:{points:p,stackedOnPoints:g}},u));for(var m=[],v=h.status,y=0;yl||c>e[i].lim));for(o=i,i=r;(i=t.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(t,e,i.v,i.w),a=o.path,s=o.lca,l=0,c=a[l],u=!0;n!==i.w;){if(r=t.node(n),u){for(;(c=a[l])!==s&&t.node(c).maxRank5)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&l(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r&&null})}}};function l(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}r.registerPreprocessor(a)},"8x+h":function(t,e,n){n("Tghj");var r=n("ProS"),i=n("bYtY"),o=n("K4ya"),a=n("Qxkt"),s=["#ddd"],l=r.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(t,e){var n=this.option;!e&&o.replaceVisualOption(n,t,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:s},r.hasOwnProperty("liftZ")||(r.liftZ=5)},setAreas:function(t){t&&(this.areas=i.map(t,(function(t){return c(this.option,t)}),this))},setBrushOption:function(t){this.brushOption=c(this.option,t),this.brushType=this.brushOption.brushType}});function c(t,e){return i.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new a(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}t.exports=l},"98bh":function(t,e,n){var r=n("ProS"),i=n("5GtS"),o=n("bYtY"),a=n("4NO4"),s=n("OELB").getPercentWithPrecision,l=n("cCMj"),c=n("KxfA").retrieveRawAttr,u=n("D5nY").makeSeriesEncodeForNameBased,h=n("xKMd"),d=r.extendSeriesModel({type:"series.pie",init:function(t){d.superApply(this,"init",arguments),this.legendVisualProvider=new h(o.bind(this.getData,this),o.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){d.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,e){return i(this,{coordDimensions:["value"],encodeDefaulter:o.curry(u,this)})},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),n=[],r=0,i=t.count();r=1)&&(t=1),t}l===u&&c===h||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=function(t,e){var n,i;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&((n=t._reset(t.context))&&n.progress&&(i=n.forceFirstProgress,n=n.progress),r(n)&&!n.length&&(n=null)),t._progress=n,t._modBy=t._modDataCount=null;var o=t._downstream;return o&&o.dirty(),i}(this,i)),this._modBy=u,this._modDataCount=h;var f=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,g=Math.min(null!=f?this._dueIndex+f:1/0,this._dueEnd);if(!i&&(a||p1&&r>0?s:a}};return o;function a(){return e=t?null:o=0;m--){var v=g[m],y=v.node,b=v.width,_=v.text;p>f.width&&(p-=b-h,b=h,_=null);var x=new r.Polygon({shape:{points:l(u,0,b,d,m===g.length-1,0===m)},style:o.defaults(n.getItemStyle(),{lineJoin:"bevel",text:_,textFill:a.getTextColor(),textFont:a.getFont()}),z:10,onclick:o.curry(s,y)});this.group.add(x),c(x,t,y),u+=b+8}},remove:function(){this.group.removeAll()}},t.exports=s},"9ppp":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=(()=>{function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t})()},"9u0u":function(t,e,n){var r=n("bYtY");t.exports=function(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),r=n?"o"+n.id:"i"+t.getMapType();(e[r]=e[r]||[]).push(t)})),r.each(e,(function(t,e){for(var n,i,o,a=(n=r.map(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),o={},r.each(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var r="ec-"+t.getName(n);o[r]=o[r]||[],isNaN(e)||o[r].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var r="ec-"+n[0].getName(e),a=0,s=1/0,l=-1/0,c=o[r].length,u=0;uthis._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[n].priority+" New: "+e);this._arr[n].priority=e,this._decrease(n)},i.prototype._heapify=function(t){var e=this._arr,n=2*t,r=n+1,i=t;n>1].priority=0;)i++;return i-e}function r(t,e,n,r,i){for(r===e&&r++;r>>1])<0?l=o:s=o+1;var c=r-s;switch(c){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;c>0;)t[s+c]=t[s+c-1],c--}t[s]=a}}function i(t,e,n,r,i,o){var a=0,s=0,l=1;if(o(t,e[n+i])>0){for(s=r-i;l0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}else{for(s=i+1;ls&&(l=s);var c=a;a=i-l,l=i-c}for(a++;a>>1);o(t,e[n+u])>0?a=u+1:l=u}return l}function o(t,e,n,r,i,o){var a=0,s=0,l=1;if(o(t,e[n+i])<0){for(s=i+1;ls&&(l=s);var c=a;a=i-l,l=i-c}else{for(s=r-i;l=0;)a=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),a+=i,l+=i}for(a++;a>>1);o(t,e[n+u])<0?l=u:a=u+1}return l}function a(t,e){var n,r,a=7,s=0,l=[];function c(c){var u=n[c],h=r[c],d=n[c+1],f=r[c+1];r[c]=h+f,c===s-3&&(n[c+1]=n[c+2],r[c+1]=r[c+2]),s--;var p=o(t[d],t,u,h,0,e);u+=p,0!=(h-=p)&&0!==(f=i(t[u+h-1],t,d,f,f-1,e))&&(h<=f?function(n,r,s,c){var u=0;for(u=0;u=7||g>=7);if(m)break;v<0&&(v=0),v+=2}if((a=v)<1&&(a=1),1===r){for(u=0;u=0;u--)t[g+u]=t[p+u];if(0===r){b=!0;break}}if(t[f--]=l[d--],1==--c){b=!0;break}if(0!=(y=c-i(t[h],l,0,c,c-1,e))){for(c-=y,g=1+(f-=y),p=1+(d-=y),u=0;u=7||y>=7);if(b)break;m<0&&(m=0),m+=2}if((a=m)<1&&(a=1),1===c){for(g=1+(f-=r),p=1+(h-=r),u=r-1;u>=0;u--)t[g+u]=t[p+u];t[f]=l[d]}else{if(0===c)throw new Error;for(p=f-(c-1),u=0;u=0;u--)t[g+u]=t[p+u];t[f]=l[d]}else for(p=f-(c-1),u=0;u1;){var t=s-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]r[t+1])break;c(t)}},this.forceMergeRuns=function(){for(;s>1;){var t=s-2;t>0&&r[t-1]=32;)e|=1&t,t>>=1;return t+e}(s);do{if((l=n(t,i,o,e))u&&(h=u),r(t,i,i+h,i+l,e),l=h}c.pushRun(i,l),c.mergeRuns(),s-=l,i+=l}while(0!==s);c.forceMergeRuns()}}}},BS4l:function(t,e,n){"use strict";var r=n("lU+G"),i=n("XedF"),o=n("PEyx"),a=n("Ve/E");t.exports=function(t,e){var n,s=t.selectAll("g.edgeLabel").data(e.edges(),(function(t){return o.edgeToId(t)})).classed("update",!0);return s.exit().remove(),s.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(s=t.selectAll("g.edgeLabel")).each((function(t){var n=a.select(this);n.select(".label").remove();var o=e.edge(t),s=i(n,e.edge(t),0,0).classed("label",!0),l=s.node().getBBox();o.labelId&&s.attr("id",o.labelId),r.has(o,"width")||(o.width=l.width),r.has(o,"height")||(o.height=l.height)})),n=s.exit?s.exit():s.selectAll(null),o.applyTransition(n,e).style("opacity",0).remove(),s}},BiGR:function(t,e,n){var r=n("nmnc"),i=n("03A+"),o=n("Z0cm"),a=r?r.isConcatSpreadable:void 0;t.exports=function(t){return o(t)||i(t)||!!(a&&t&&t[a])}},BkRI:function(t,e,n){var r=n("OBhP");t.exports=function(t){return r(t,5)}},BlVb:function(t,e,n){var r=n("hyiK");function i(t,e){return Math.abs(t-e)<1e-8}e.contain=function(t,e,n){var o=0,a=t[0];if(!a)return!1;for(var s=1;s.5?e:t}function h(t,e,n,r,i){var o=t.length;if(1===i)for(var a=0;ai)t.length=i;else for(var o=r;o=0&&!(A[n]<=e);n--);n=Math.min(n,_-2)}else{for(n=B;n<_&&!(A[n]>e);n++);n=Math.min(n-1,_-2)}B=n,V=e;var r=A[n+1]-A[n];if(0!==r)if(L=(e-A[n])/r,b)if(N=T[n],R=T[0===n?n:n-1],z=T[n>_-2?_-1:n+1],F=T[n>_-3?_-1:n+2],w)p(R,N,z,F,L,L*L,L*L*L,m(t,s),C);else{if(S)i=p(R,N,z,F,L,L*L,L*L*L,j,1),i=v(j);else{if(k)return u(N,z,L);i=g(R,N,z,F,L,L*L,L*L*L)}y(t,s,i)}else if(w)h(T[n],T[n+1],L,m(t,s),C);else{var i;if(S)h(T[n],T[n+1],L,j,1),i=v(j);else{if(k)return u(T[n],T[n+1],L);i=c(T[n],T[n+1],L)}y(t,s,i)}},ondestroy:n});return e&&"spline"!==e&&(Y.easing=e),Y}}}var b=function(t,e,n,r){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||s,this._setter=r||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};b.prototype={when:function(t,e){var n=this._tracks;for(var r in e)if(e.hasOwnProperty(r)){if(!n[r]){n[r]=[];var i=this._getter(this._target,r);if(null==i)continue;0!==t&&n[r].push({time:0,value:m(i)})}n[r].push({time:t,value:e[r]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;te&&(e=r.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,r=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e,n=this.hostTree,r=n.data.getItemModel(this.dataIndex),i=this.getLevelModel();return i||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(e=this.getLeavesModel()),r.getModel(t,(i||e||n.hostModel).getModel(t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},c.prototype={constructor:c,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,r=e.length;n0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=r.clone(t)},getValueState:function(t){var e=o.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimension(i),(function(e,n){o.findPieceIndex(e,this._pieceList)===t&&r.push(n)}),this),e.push({seriesId:n.id,dataIndex:r})}),this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],n=[],i=this,o=this._pieceList.slice();if(o.length){var a=o[0].interval[0];a!==-1/0&&o.unshift({interval:[-1/0,a]}),(a=o[o.length-1].interval[1])!==1/0&&o.push({interval:[a,1/0]})}else o.push({interval:[-1/0,1/0]});var s=-1/0;return r.each(o,(function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])}),this),{stops:e,outerColors:n}}function l(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}}}),c={splitNumber:function(){var t=this.option,e=this._pieceList,n=Math.min(t.precision,20),i=this.getExtent(),o=t.splitNumber;o=Math.max(parseInt(o,10),1),t.splitNumber=o;for(var a=(i[1]-i[0])/o;+a.toFixed(n)!==a&&n<5;)n++;t.precision=n,a=+a.toFixed(n);var l=0;t.minOpen&&e.push({index:l++,interval:[-1/0,i[0]],close:[0,0]});for(var c=i[0],u=l+o;l","\u2265"][e[0]]])}),this)}};function u(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}t.exports=l},C0SR:function(t,e,n){var r=n("YH21"),i=function(){this._track=[]};function o(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}i.prototype={constructor:i,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,n){var i=t.touches;if(i){for(var o={points:[],touches:[],target:e,event:t},a=0,s=i.length;a1&&i&&i.length>1){var s=o(i)/o(a);!isFinite(s)&&(s=1),e.pinchScale=s;var l=[((r=i)[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2];return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}};t.exports=i},C0tN:function(t,e,n){n("0o9m"),n("8Uz6"),n("Ducp"),n("6/nd")},C4tZ:function(t,e,n){"use strict";var r=n("6Ekc").longestPath,i=n("GEWS"),o=n("dOj1");t.exports=function(t){switch(t.graph().ranker){case"network-simplex":s(t);break;case"tight-tree":!function(t){r(t),i(t)}(t);break;case"longest-path":a(t);break;default:s(t)}};var a=r;function s(t){o(t)}},CBdT:function(t,e,n){var r=n("ProS");n("8waO"),n("AEZ6"),n("YNf1");var i=n("q3GZ");r.registerVisual(i)},CF2D:function(t,e,n){var r=n("ProS");n("vZI5"),n("GeKi");var i=n("6r85"),o=n("TJmX"),a=n("CbHG");r.registerPreprocessor(i),r.registerVisual(o),r.registerLayout(a)},CH3K:function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n":"--",n=new s;t.isMultigraph()||n.write("strict "),n.writeLine((t.isDirected()?"digraph":"graph")+" {"),n.indent();var i=t.graph();return r.isObject(i)&&r.each(i,(function(t,e){n.writeLine(a(e)+"="+a(t)+";")})),function t(e,n,i){var s=e.isCompound()?e.children(n):e.nodes();r.each(s,(function(n){e.isCompound()&&e.children(n).length?(i.writeLine("subgraph "+a(n)+" {"),i.indent(),r.isObject(e.node(n))&&r.map(e.node(n),(function(t,e){i.writeLine(a(e)+"="+a(t)+";")})),t(e,n,i),i.unindent(),i.writeLine("}")):function(t,e,n){n.write(a(e)),o(t.node(e),n),n.writeLine()}(e,n,i)}))}(t,void 0,n),t.edges().forEach((function(r){!function(t,e,n,r){var i=e.v,s=e.w,l=t.edge(e);r.write(a(i)+" "+n+" "+a(s)),o(l,r),r.writeLine()}(t,r,e,n)})),n.unindent(),n.writeLine("}"),n.toString()};var i=/^[a-zA-Z\200-\377_][a-zA-Z\200-\377_0-9]*$/;function o(t,e){if(r.isObject(t)){var n=r.map(t,(function(t,e){return a(e)+"="+a(t)}));n.length&&e.write(" ["+n.join(",")+"]")}}function a(t){return"number"==typeof t||t.toString().match(i)?t:'"'+t.toString().replace(/"/g,'\\"')+'"'}function s(){this._indent="",this._content="",this._shouldIndent=!0}s.prototype.INDENT=" ",s.prototype.indent=function(){this._indent+=this.INDENT},s.prototype.unindent=function(){this._indent=this._indent.slice(this.INDENT.length)},s.prototype.writeLine=function(t){this.write((t||"")+"\n"),this._shouldIndent=!0},s.prototype.write=function(t){this._shouldIndent&&(this._shouldIndent=!1,this._content+=this._indent),this._content+=t},s.prototype.toString=function(){return this._content}},"CMP+":function(t,e,n){var r=n("bYtY"),i=n("hM6l"),o=function(t,e,n,r){i.call(this,t,e,n),this.type=r||"value",this.model=null};o.prototype={constructor:o,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},r.inherits(o,i),t.exports=o},CMye:function(t,e,n){var r=n("GoyQ");t.exports=function(t){return t==t&&!r(t)}},CZoQ:function(t,e){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++rl?_[1]:b[1],ends:S,brushRect:A(h,m,a)})}function k(t,n){var r=[];return r[0]=n,r[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(r)}function C(t,e,n){var o=e.slice(),a=e.slice();o[0]=r(o[0]+i/2,1,!1),a[0]=r(a[0]-i/2,1,!0),n?t.push(o,a):t.push(a,o)}function A(t,e,n){var r=k(t,n),o=k(e,n);return r[0]-=i/2,o[0]-=i/2,{x:r[0],y:r[1],width:i,height:o[1]-r[1]}}function T(t){return t[0]=r(t[0],1),t}}}}};function c(t,e,n,r,i){return n>r?-1:n0?t.get(i,e-1)<=r?1:-1:1}t.exports=l},Cfvw:function(t,e,n){"use strict";var r=n("HDdC"),i=n("SeVD"),o=n("quSY"),a=n("kJWO"),s=n("jZKg"),l=n("Lhse"),c=n("c2HN"),u=n("I55L");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[a.a]}(t))return function(t,e){return new r.a(n=>{const r=new o.a;return r.add(e.schedule(()=>{const i=t[a.a]();r.add(i.subscribe({next(t){r.add(e.schedule(()=>n.next(t)))},error(t){r.add(e.schedule(()=>n.error(t)))},complete(){r.add(e.schedule(()=>n.complete()))}}))})),r})}(t,e);if(Object(c.a)(t))return function(t,e){return new r.a(n=>{const r=new o.a;return r.add(e.schedule(()=>t.then(t=>{r.add(e.schedule(()=>{n.next(t),r.add(e.schedule(()=>n.complete()))}))},t=>{r.add(e.schedule(()=>n.error(t)))}))),r})}(t,e);if(Object(u.a)(t))return Object(s.a)(t,e);if(function(t){return t&&"function"==typeof t[l.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new r.a(n=>{const r=new o.a;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(e.schedule(()=>{i=t[l.a](),r.add(e.schedule((function(){if(n.closed)return;let t,e;try{const n=i.next();t=n.value,e=n.done}catch(r){return void n.error(r)}e?n.complete():(n.next(t),this.schedule())})))})),r})}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof r.a?t:new r.a(Object(i.a)(t))}n.d(e,"a",(function(){return h}))},Cm0C:function(t,e,n){n("5NHt"),n("f3JH")},Cwc5:function(t,e,n){var r=n("NKxu"),i=n("Npjl");t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},D0XW:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("3N8a");const i=new(n("IjjT").a)(r.a)},D1WM:function(t,e,n){var r=n("bYtY"),i=n("hM6l"),o=function(t,e,n,r,o){i.call(this,t,e,n),this.type=r||"value",this.axisIndex=o};o.prototype={constructor:o,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},r.inherits(o,i),t.exports=o},D5nY:function(t,e,n){n("Tghj");var r=n("4NO4"),i=r.makeInner,o=r.getDataItemValue,a=n("bYtY"),s=a.createHashMap,l=a.each,c=a.map,u=a.isArray,h=a.isString,d=a.isObject,f=a.isTypedArray,p=a.isArrayLike,g=a.extend,m=n("7G+c"),v=n("k9D9"),y=v.SOURCE_FORMAT_ORIGINAL,b=v.SOURCE_FORMAT_ARRAY_ROWS,_=v.SOURCE_FORMAT_OBJECT_ROWS,x=v.SOURCE_FORMAT_KEYED_COLUMNS,w=v.SOURCE_FORMAT_UNKNOWN,S=v.SOURCE_FORMAT_TYPED_ARRAY,k=v.SERIES_LAYOUT_BY_ROW,C={Must:1,Might:2,Not:3},A=i();function T(t){if(t){var e=s();return c(t,(function(t,n){if(null==(t=g({},d(t)?t:{name:t})).name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var r=e.get(t.name);return r?t.name+="-"+r.count++:e.set(t.name,{count:1}),t}))}}function E(t,e,n,r){if(null==r&&(r=1/0),e===k)for(var i=0;i0&&(s=this.getLineLength(r)/c*1e3),s!==this._period||l!==this._loop){r.stopAnimation();var d=u;h&&(d=u(n)),r.__t>0&&(d=-s*r.__t),r.__t=0;var f=r.animate("",l).when(s,{__t:1}).delay(d).during((function(){i.updateSymbolPosition(r)}));l||f.done((function(){i.remove(r)})),f.start()}this._period=s,this._loop=l}},u.getLineLength=function(t){return s.dist(t.__p1,t.__cp1)+s.dist(t.__cp1,t.__p2)},u.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},u.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},u.updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,r=t.__cp1,i=t.__t,o=t.position,a=[o[0],o[1]],c=l.quadraticAt,u=l.quadraticDerivativeAt;o[0]=c(e[0],r[0],n[0],i),o[1]=c(e[1],r[1],n[1],i);var h=u(e[0],r[0],n[0],i),d=u(e[1],r[1],n[1],i);if(t.rotation=-Math.atan2(d,h)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==t.__lastT&&t.__lastT=o&&u+1>=a){for(var h=[],d=0;d=o&&d+1>=a)return r(0,l.components);c[n]=l}else c[n]=void 0}var g;s++}for(;s<=l;){var p=f();if(p)return p}},pushComponent:function(t,e,n){var r=t[t.length-1];r&&r.added===e&&r.removed===n?t[t.length-1]={count:r.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,r){for(var i=e.length,o=n.length,a=t.newPos,s=a-r,l=0;a+1=0)&&(I=t);var P=new s.Text({position:A(e.center.slice()),scale:[1/f.scale[0],1/f.scale[1]],z2:10,silent:!0});s.setLabelStyle(P.style,P.hoverStyle={},S,k,{labelFetcher:I,labelDataIndex:O,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),n.add(P)}if(l)l.setItemGraphicEl(o,n);else{var L=t.getRegionModel(e.name);i.eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:e.name,region:L&&L.option||{}}}(n.__regions||(n.__regions=[])).push(e),n.highDownSilentOnTouch=!!t.get("selectedMode"),s.setHoverStyle(n,w),d.add(n)})),this._updateController(t,e,n),function(t,e,n,i,o){n.off("click"),n.off("mousedown"),e.get("selectedMode")&&(n.on("mousedown",(function(){t._mouseDownFlag=!0})),n.on("click",(function(a){if(t._mouseDownFlag){t._mouseDownFlag=!1;for(var s=a.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",batch:r.map(s.__regions,(function(t){return{name:t.name,from:o.uid}}))};l[e.mainType+"Id"]=e.id,i.dispatchAction(l),h(e,n)}}})))}(this,t,d,n,i),h(t,d)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&l.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){var e=t.map;this._mapName!==e&&r.each(l.makeGraphic(e,this.uid),(function(t){this._backgroundGroup.add(t)}),this),this._mapName=e},_updateController:function(t,e,n){var i=t.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=i.getZoom(),s.enable(t.get("roam")||!1);var c=t.mainType;function u(){var e={type:"geoRoam",componentType:c};return e[c+"Id"]=t.id,e}s.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,o.updateViewOnPan(l,t.dx,t.dy),n.dispatchAction(r.extend(u(),{dx:t.dx,dy:t.dy}))}),this),s.off("zoom").on("zoom",(function(t){if(this._mouseDownFlag=!1,o.updateViewOnZoom(l,t.scale,t.originX,t.originY),n.dispatchAction(r.extend(u(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup){var e=this.group.scale;this._regionsGroup.traverse((function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])}))}}),this),s.setPointerChecker((function(e,r,o){return i.getViewRectAfterRoam().contain(r,o)&&!a(e,n,t)}))}},t.exports=d},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=(()=>Array.isArray||(t=>t&&"number"==typeof t.length))()},DN4a:function(t,e,n){var r=n("Fofx"),i=n("QBsz"),o=r.identity;function a(t){return t>5e-5||t<-5e-5}var s=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},l=s.prototype;l.transform=null,l.needLocalTransform=function(){return a(this.rotation)||a(this.position[0])||a(this.position[1])||a(this.scale[0]-1)||a(this.scale[1]-1)};var c=[];l.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),i=this.transform;if(n||e){i=i||r.create(),n?this.getLocalTransform(i):o(i),e&&(n?r.mul(i,t.transform,i):r.copy(i,t.transform)),this.transform=i;var a=this.globalScaleRatio;if(null!=a&&1!==a){this.getGlobalScale(c);var s=c[0]<0?-1:1,l=c[1]<0?-1:1,u=((c[0]-s)*a+s)/c[0]||0,h=((c[1]-l)*a+l)/c[1]||0;i[0]*=u,i[1]*=u,i[2]*=h,i[3]*=h}this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,i)}else i&&o(i)},l.getLocalTransform=function(t){return s.getLocalTransform(this,t)},l.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},l.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var u=[],h=r.create();l.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],r=this.position,i=this.scale;a(e-1)&&(e=Math.sqrt(e)),a(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),r[0]=t[4],r[1]=t[5],i[0]=e,i[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},l.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(r.mul(u,t.invTransform,e),e=u);var n=this.origin;n&&(n[0]||n[1])&&(h[4]=n[0],h[5]=n[1],r.mul(u,e,h),u[4]-=n[0],u[5]-=n[1],e=u),this.setLocalTransform(e)}},l.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},l.transformCoordToLocal=function(t,e){var n=[t,e],r=this.invTransform;return r&&i.applyTransform(n,n,r),n},l.transformCoordToGlobal=function(t,e){var n=[t,e],r=this.transform;return r&&i.applyTransform(n,n,r),n},s.getLocalTransform=function(t,e){o(e=e||[]);var n=t.origin,i=t.scale||[1,1],a=t.rotation||0,s=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),r.scale(e,e,i),a&&r.rotate(e,e,a),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=s[0],e[5]+=s[1],e},t.exports=s},DSRE:function(t,e,n){(function(t){var r=n("Kz5y"),i=n("B8du"),o=e&&!e.nodeType&&e,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,s=a&&a.exports===o?r.Buffer:void 0;t.exports=(s?s.isBuffer:void 0)||i}).call(this,n("YuTi")(t))},Dagg:function(t,e,n){var r=n("Gev7"),i=n("mFDi"),o=n("bYtY"),a=n("Xnb7");function s(t){r.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var n=this.style,r=n.image;n.bind(t,this,e);var i=this._image=a.createOrUpdateImage(r,this._image,this,this.onload);if(i&&a.isImageReady(i)){var o=n.x||0,s=n.y||0,l=n.width,c=n.height,u=i.width/i.height;if(null==l&&null!=c?l=c*u:null==c&&null!=l?c=l/u:null==l&&null==c&&(l=i.width,c=i.height),this.setTransform(t),n.sWidth&&n.sHeight)t.drawImage(i,h=n.sx||0,d=n.sy||0,n.sWidth,n.sHeight,o,s,l,c);else if(n.sx&&n.sy){var h,d;t.drawImage(i,h=n.sx,d=n.sy,l-h,c-d,o,s,l,c)}else t.drawImage(i,o,s,l,c);null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new i(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},o.inherits(s,r),t.exports=s},Dg8C:function(t,e,n){var r=n("XxSj"),i=n("bYtY");t.exports=function(t,e){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph().nodes;if(e.length){var n=1/0,o=-1/0;i.each(e,(function(t){var e=t.getLayout().value;eo&&(o=e)})),i.each(e,(function(e){var i=new r({type:"color",mappingMethod:"linear",dataExtent:[n,o],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),a=e.getModel().get("itemStyle.color");e.setVisual("color",null!=a?a:i)}))}}))}},DlQD:function(t,e,n){t.exports=function(){"use strict";function t(t,e){for(var n=0;n"']/,i=/[&<>"']/g,o=/[<>"']|&(?!#?\w+;)/,a=/[<>"']|&(?!#?\w+;)/g,s={"&":"&","<":"<",">":">",'"':""","'":"'"},l=function(t){return s[t]},c=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function u(t){return t.replace(c,(function(t,e){return"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""}))}var h=/(^|[^\[])\^/g,d=/[^\w:]/g,f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,p={},g=/^[^:]+:\/*[^/]*$/,m=/^([^:]+:)[\s\S]*$/,v=/^([^:]+:\/*[^/]*)[\s\S]*$/;function y(t,e,n){var r=t.length;if(0===r)return"";for(var i=0;i ?(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:S,table:S,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};A.def=k(A.def).replace("label",A._label).replace("title",A._title).getRegex(),A.bullet=/(?:[*+-]|\d{1,9}\.)/,A.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,A.item=k(A.item,"gm").replace(/bull/g,A.bullet).getRegex(),A.list=k(A.list).replace(/bull/g,A.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+A.def.source+")").getRegex(),A._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",A._comment=//,A.html=k(A.html,"i").replace("comment",A._comment).replace("tag",A._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),A.paragraph=k(A._paragraph).replace("hr",A.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",A._tag).getRegex(),A.blockquote=k(A.blockquote).replace("paragraph",A.paragraph).getRegex(),A.normal=C({},A),A.gfm=C({},A.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*|$)"}),A.gfm.nptable=k(A.gfm.nptable).replace("hr",A.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",A._tag).getRegex(),A.gfm.table=k(A.gfm.table).replace("hr",A.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",A._tag).getRegex(),A.pedantic=C({},A.normal,{html:k("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",A._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:S,paragraph:k(A.normal._paragraph).replace("hr",A.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",A.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var T={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:S,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:S,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~"};T.em=k(T.em).replace(/punctuation/g,T._punctuation).getRegex(),T._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,T._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,T._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])?)+(?![-_])/,T.autolink=k(T.autolink).replace("scheme",T._scheme).replace("email",T._email).getRegex(),T._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,T.tag=k(T.tag).replace("comment",A._comment).replace("attribute",T._attribute).getRegex(),T._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,T._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,T._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,T.link=k(T.link).replace("label",T._label).replace("href",T._href).replace("title",T._title).getRegex(),T.reflink=k(T.reflink).replace("label",T._label).getRegex(),T.normal=C({},T),T.pedantic=C({},T.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:k(/^!?\[(label)\]\((.*?)\)/).replace("label",T._label).getRegex(),reflink:k(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",T._label).getRegex()}),T.gfm=C({},T.normal,{escape:k(T.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]*?(?:(?=[\\=0&&"\\"===n[i];)r=!r;return r?"|":" |"})).split(/ \|/),r=0;if(n.length>e)n.splice(e);else for(;n.length1&&this.tokens.push({type:"space"})),i=this.rules.code.exec(t)){var y=this.tokens[this.tokens.length-1];t=t.substring(i[0].length),y&&"paragraph"===y.type?y.text+="\n"+i[0].trimRight():(i=i[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?i:I(i,"\n")}))}else if(i=this.rules.fences.exec(t))t=t.substring(i[0].length),this.tokens.push({type:"code",lang:i[2]?i[2].trim():i[2],text:i[3]||""});else if(i=this.rules.heading.exec(t))t=t.substring(i[0].length),this.tokens.push({type:"heading",depth:i[1].length,text:i[2]});else if((i=this.rules.nptable.exec(t))&&(s={type:"table",header:O(i[1].replace(/^ *| *\| *$/g,"")),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3]?i[3].replace(/\n$/,"").split("\n"):[]}).header.length===s.align.length){for(t=t.substring(i[0].length),d=0;d ?/gm,""),this.token(i,e),this.tokens.push({type:"blockquote_end"});else if(i=this.rules.list.exec(t)){for(t=t.substring(i[0].length),this.tokens.push(l={type:"list_start",ordered:g=(o=i[2]).length>1,start:g?+o:"",loose:!1}),c=[],n=!1,p=(i=i[0].match(this.rules.item)).length,d=0;d1?1===a.length:a.length>1||this.options.smartLists&&a!==o)&&(t=i.slice(d+1).join("\n")+t,d=p-1)),r=n||/\n\n(?!\s*$)/.test(s),d!==p-1&&(n="\n"===s.charAt(s.length-1),r||(r=n)),r&&(l.loose=!0),v=void 0,(m=/^\[[ xX]\] /.test(s))&&(v=" "!==s[1],s=s.replace(/^\[[ xX]\] +/,"")),c.push(u={type:"list_item_start",task:m,checked:v,loose:r}),this.tokens.push(u),this.token(s,!1),this.tokens.push({type:"list_item_end"});if(l.loose)for(p=c.length,d=0;d'+(n?t:z(t,!0))+"\n":"
"+(n?t:z(t,!0))+"
"},e.blockquote=function(t){return"
\n"+t+"
\n"},e.html=function(t){return t},e.heading=function(t,e,n,r){return this.options.headerIds?"'+t+"\n":""+t+"\n"},e.hr=function(){return this.options.xhtml?"
\n":"
\n"},e.list=function(t,e,n){var r=e?"ol":"ul";return"<"+r+(e&&1!==n?' start="'+n+'"':"")+">\n"+t+"\n"},e.listitem=function(t){return"
  • "+t+"
  • \n"},e.checkbox=function(t){return" "},e.paragraph=function(t){return"

    "+t+"

    \n"},e.table=function(t,e){return e&&(e=""+e+""),"\n\n"+t+"\n"+e+"
    \n"},e.tablerow=function(t){return"\n"+t+"\n"},e.tablecell=function(t,e){var n=e.header?"th":"td";return(e.align?"<"+n+' align="'+e.align+'">':"<"+n+">")+t+"\n"},e.strong=function(t){return""+t+""},e.em=function(t){return""+t+""},e.codespan=function(t){return""+t+""},e.br=function(){return this.options.xhtml?"
    ":"
    "},e.del=function(t){return""+t+""},e.link=function(t,e,n){if(null===(t=N(this.options.sanitize,this.options.baseUrl,t)))return n;var r='"+n+""},e.image=function(t,e,n){if(null===(t=N(this.options.sanitize,this.options.baseUrl,t)))return n;var r=''+n+'":">")},e.text=function(t){return t},t}(),B=function(){function t(){this.seen={}}return t.prototype.slug=function(t){var e=t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(e)){var n=e;do{this.seen[n]++,e=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(e))}return this.seen[e]=0,e},t}(),V=n.defaults,j=E.inline,Y=function(t,e){if(-1===t.indexOf(e[1]))return-1;for(var n=t.length,r=0,i=0;i/i.test(a[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(this.inRawBlock=!1),e=e.substring(a[0].length),l+=this.renderer.html(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):U(a[0]):a[0]);else if(a=this.rules.link.exec(e)){var c=Y(a[2],"()");if(c>-1){var u=(0===a[0].indexOf("!")?5:4)+a[1].length+c;a[2]=a[2].substring(0,c),a[0]=a[0].substring(0,u).trim(),a[3]=""}e=e.substring(a[0].length),this.inLink=!0,i=a[2],this.options.pedantic?(n=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i))?(i=n[1],o=n[3]):o="":o=a[3]?a[3].slice(1,-1):"",i=i.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(a,{href:t.escapes(i),title:t.escapes(o)}),this.inLink=!1}else if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),n=(a[2]||a[1]).replace(/\s+/g," "),!(n=this.links[n.toLowerCase()])||!n.href){l+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,l+=this.outputLink(a,n),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),l+=this.renderer.strong(this.output(a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.em.exec(e))e=e.substring(a[0].length),l+=this.renderer.em(this.output(a[6]||a[5]||a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.code.exec(e))e=e.substring(a[0].length),l+=this.renderer.codespan(U(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),l+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),l+=this.renderer.del(this.output(a[1]));else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),i="@"===a[2]?"mailto:"+(r=U(this.mangle(a[1]))):r=U(a[1]),l+=this.renderer.link(i,null,r);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.text.exec(e))e=e.substring(a[0].length),l+=this.renderer.text(this.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):U(a[0]):a[0]:U(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===a[2])i="mailto:"+(r=U(a[0]));else{do{s=a[0],a[0]=this.rules._backpedal.exec(a[0])[0]}while(s!==a[0]);r=U(a[0]),i="www."===a[1]?"http://"+r:r}e=e.substring(a[0].length),l+=this.renderer.link(i,null,r)}return l},t.escapes=function(e){return e?e.replace(t.rules._escapes,"$1"):e},n.outputLink=function(t,e){var n=e.href,r=e.title?U(e.title):null;return"!"!==t[0].charAt(0)?this.renderer.link(n,r,this.output(t[1])):this.renderer.image(n,r,U(t[1]))},n.smartypants=function(t){return this.options.smartypants?t.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026"):t},n.mangle=function(t){if(!this.options.mangle)return t;for(var e,n=t.length,r="",i=0;i.5&&(e="x"+e.toString(16)),r+="&#"+e+";";return r},e(t,null,[{key:"rules",get:function(){return j}}]),t}(),H=function(){function t(){}var e=t.prototype;return e.strong=function(t){return t},e.em=function(t){return t},e.codespan=function(t){return t},e.del=function(t){return t},e.html=function(t){return t},e.text=function(t){return t},e.link=function(t,e,n){return""+n},e.image=function(t,e,n){return""+n},e.br=function(){return""},t}(),q=n.defaults,W=x,$=_,Z=function(){function t(t){this.tokens=[],this.token=null,this.options=t||q,this.options.renderer=this.options.renderer||new F,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new B}t.parse=function(e,n){return new t(n).parse(e)};var e=t.prototype;return e.parse=function(t){this.inline=new G(t.links,this.options),this.inlineText=new G(t.links,W({},this.options,{renderer:new H})),this.tokens=t.reverse();for(var e="";this.next();)e+=this.tok();return e},e.next=function(){return this.token=this.tokens.pop(),this.token},e.peek=function(){return this.tokens[this.tokens.length-1]||0},e.parseText=function(){for(var t=this.token.text;"text"===this.peek().type;)t+="\n"+this.next().text;return this.inline.output(t)},e.tok=function(){var t="";switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,$(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,n,r,i,o="";for(r="",e=0;eAn error occurred:

    "+Q(i.message+"",!0)+"
    ";throw i}}return nt.options=nt.setOptions=function(t){return X(nt.defaults,t),tt(nt.defaults),nt},nt.getDefaults=J,nt.defaults=et,nt.Parser=Z,nt.parser=Z.parse,nt.Renderer=F,nt.TextRenderer=H,nt.Lexer=L,nt.lexer=L.lex,nt.InlineLexer=G,nt.inlineLexer=G.output,nt.Slugger=B,nt.parse=nt,nt}()},DqMY:function(t,e){t.exports="0.6.4"},Ducp:function(t,e,n){var r=n("bYtY"),i=n("IwbS"),o=n("+TT/"),a=n("XpcN"),s=i.Group,l=["width","height"],c=["x","y"],u=a.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){u.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s)},resetInner:function(){u.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,n,o,a,s,l){var c=this;u.superCall(this,"renderInner",t,e,n,o,a,s,l);var h=this._controllerGroup,d=e.get("pageIconSize",!0);r.isArray(d)||(d=[d,d]),p("pagePrev",0);var f=e.getModel("pageTextStyle");function p(t,n){var a=t+"DataIndex",s=i.createIcon(e.get("pageIcons",!0)[e.getOrient().name][n],{onclick:r.bind(c._pageGo,c,a,e,o)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});s.name=t,h.add(s)}h.add(new i.Text({name:"pageText",style:{textFill:f.getTextColor(),font:f.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),p("pageNext",1)},layoutInner:function(t,e,n,i,a,s){var u=this.getSelectorGroup(),h=t.getOrient().index,d=l[h],f=c[h],p=l[1-h],g=c[1-h];a&&o.box("horizontal",u,t.get("selectorItemGap",!0));var m=t.get("selectorButtonGap",!0),v=u.getBoundingRect(),y=[-v.x,-v.y],b=r.clone(n);a&&(b[d]=n[d]-v[d]-m);var _=this._layoutContentAndController(t,i,b,h,d,p,g);if(a){if("end"===s)y[h]+=_[d]+m;else{var x=v[d]+m;y[h]-=x,_[f]-=x}_[d]+=v[d]+m,y[1-h]+=_[g]+_[p]/2-v[p]/2,_[p]=Math.max(_[p],v[p]),_[g]=Math.min(_[g],v[g]+y[1-h]),u.attr("position",y)}return _},_layoutContentAndController:function(t,e,n,a,s,l,c){var u=this.getContentGroup(),h=this._containerGroup,d=this._controllerGroup;o.box(t.get("orient"),u,t.get("itemGap"),a?n.width:null,a?null:n.height),o.box("horizontal",d,t.get("pageButtonItemGap",!0));var f=u.getBoundingRect(),p=d.getBoundingRect(),g=this._showController=f[s]>n[s],m=[-f.x,-f.y];e||(m[a]=u.position[a]);var v=[0,0],y=[-p.x,-p.y],b=r.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));g&&("end"===t.get("pageButtonPosition",!0)?y[a]+=n[s]-p[s]:v[a]+=p[s]+b),y[1-a]+=f[l]/2-p[l]/2,u.attr("position",m),h.attr("position",v),d.attr("position",y);var _={x:0,y:0};if(_[s]=g?n[s]:f[s],_[l]=Math.max(f[l],p[l]),_[c]=Math.min(0,p[c]+y[1-a]),h.__rectSize=n[s],g){var x={x:0,y:0};x[s]=Math.max(n[s]-p[s]-b,0),x[l]=_[l],h.setClipPath(new i.Rect({shape:x})),h.__rectSize=x[s]}else d.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var w=this._getPageInfo(t);return null!=w.pageIndex&&i.updateProps(u,{position:w.contentPosition},!!g&&t),this._updatePageInfoView(t,w),_},_pageGo:function(t,e,n){var r=this._getPageInfo(e)[t];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:e.id})},_updatePageInfoView:function(t,e){var n=this._controllerGroup;r.each(["pagePrev","pageNext"],(function(r){var i=null!=e[r+"DataIndex"],o=n.childOfName(r);o&&(o.setStyle("fill",t.get(i?"pageIconColor":"pageIconInactiveColor",!0)),o.cursor=i?"pointer":"default")}));var i=n.childOfName("pageText"),o=t.get("pageFormatter"),a=e.pageIndex,s=null!=a?a+1:0,l=e.pageCount;i&&o&&i.setStyle("text",r.isString(o)?o.replace("{current}",s).replace("{total}",l):o({current:s,total:l}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=t.getOrient().index,o=l[i],a=c[i],s=this._findTargetItemIndex(e),u=n.children(),h=u[s],d=u.length,f=d?1:0,p={contentPosition:n.position.slice(),pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var g=_(h);p.contentPosition[i]=-g.s;for(var m=s+1,v=g,y=g,b=null;m<=d;++m)(!(b=_(u[m]))&&y.e>v.s+r||b&&!x(b,v.s))&&(v=y.i>v.i?y:b)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=v.i),++p.pageCount),y=b;for(m=s-1,v=g,y=g,b=null;m>=-1;--m)(b=_(u[m]))&&x(y,b.s)||!(v.i=e&&t.s<=e+r}},_findTargetItemIndex:function(t){return this._showController?(this.getContentGroup().eachChild((function(r,i){var o=r.__legendDataIndex;null==n&&null!=o&&(n=i),o===t&&(e=i)})),null!=e?e:n):0;var e,n}});t.exports=u},"Dw+G":function(t,e,n){var r=n("juv8"),i=n("mTTR");t.exports=function(t,e){return t&&r(e,i(e),t)}},"E+oP":function(t,e,n){var r=n("A90E"),i=n("QqLw"),o=n("03A+"),a=n("Z0cm"),s=n("MMmD"),l=n("DSRE"),c=n("6sVZ"),u=n("c6wG"),h=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(a(t)||"string"==typeof t||"function"==typeof t.splice||l(t)||u(t)||o(t)))return!t.length;var e=i(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(c(t))return!r(t).length;for(var n in t)if(h.call(t,n))return!1;return!0}},E2jh:function(t,e,n){var r,i=n("2gN3"),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!o&&o in t}},EA7m:function(t,e,n){var r=n("zZ0H"),i=n("Ioao"),o=n("wclG");t.exports=function(t,e){return o(i(t,e,r),t+"")}},EEGq:function(t,e,n){var r=n("juv8"),i=n("oCl/");t.exports=function(t,e){return r(t,i(t),e)}},EFJG:function(t,e){t.exports="0.6.4"},EMyp:function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=n("mFDi"),a=n("K4ya"),s=n("qJCg"),l=n("iLNv"),c=n("vZ6x"),u=["inBrush","outOfBrush"],h=r.PRIORITY.VISUAL.BRUSH;function d(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushTargetManager=new c(e.option,t)).setInputRanges(e.areas,t)}))}function f(t,e){if(!t.isDisposed()){var n=t.getZr();n.__ecInBrushSelectEvent=!0,t.dispatchAction({type:"brushSelect",batch:e}),n.__ecInBrushSelectEvent=!1}}function p(t,e,n,r){for(var i=0,o=e.length;ie[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&v(e)}};function v(t){return new o(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}e.layoutCovers=d},ERHi:function(t,e,n){var r=n("ProS");n("Z6js"),n("R4Th");var i=n("f5Yq"),o=n("h8O9");r.registerVisual(i("effectScatter","circle")),r.registerLayout(o("effectScatter"))},"EV5+":function(t,e,n){"use strict";var r=n("PEyx"),i=n("Ve/E"),o=n("lU+G");t.exports=function(t,e){function n(t){var n=e.edge(t);return o.has(n,"x")?"translate("+n.x+","+n.y+")":""}t.filter((function(){return!i.select(this).classed("update")})).attr("transform",n),r.applyTransition(t,e).style("opacity",1).attr("transform",n)}},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var r=n("HDdC");const i=new r.a(t=>t.complete());function o(t){return t?function(t){return new r.a(e=>t.schedule(()=>e.complete()))}(t):i}},EiaH:function(t,e,n){t.exports={graphlib:n("Xdfk"),dagre:n("yLCY"),intersect:n("U4bP"),render:n("cSR1"),util:n("PEyx"),version:n("EFJG")}},EpBk:function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},EwQA:function(t,e,n){var r=n("zZ0H");t.exports=function(t){return"function"==typeof t?t:r}},ExA7:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},Ez2D:function(t,e,n){var r=n("bYtY"),i=n("4NO4");t.exports=function(t,e){var n,o=[],a=t.seriesIndex;if(null==a||!(n=e.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=i.queryDataIndex(s,t);if(null==l||l<0||r.isArray(l))return{point:[]};var c=s.getItemGraphicEl(l),u=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(u&&u.dataToPoint)o=u.dataToPoint(s.getValues(r.map(u.dimensions,(function(t){return s.mapDimension(t)})),l,!0))||[];else if(c){var h=c.getBoundingRect().clone();h.applyTransform(c.transform),o=[h.x+h.width/2,h.y+h.height/2]}return{point:o,el:c}}},F0hE:function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=n("ca2m"),a=n("Qxkt"),s=n("ICMv"),l=o.valueAxis;function c(t,e){return i.defaults({show:e},t)}var u=r.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),r=this.get("axisLine"),o=this.get("axisTick"),l=this.get("axisType"),c=this.get("axisLabel"),u=this.get("name"),h=this.get("name.show"),d=this.get("name.formatter"),f=this.get("nameGap"),p=this.get("triggerEvent"),g=i.map(this.get("indicator")||[],(function(g){null!=g.max&&g.max>0&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var m=u;if(null!=g.color&&(m=i.defaults({color:g.color},u)),g=i.merge(i.clone(g),{boundaryGap:t,splitNumber:e,scale:n,axisLine:r,axisTick:o,axisType:l,axisLabel:c,name:g.text,nameLocation:"end",nameGap:f,nameTextStyle:m,triggerEvent:p},!1),h||(g.name=""),"string"==typeof d){var v=g.name;g.name=d.replace("{value}",null!=v?v:"")}else"function"==typeof d&&(g.name=d(g.name,g));var y=i.extend(new a(g,null,this.ecModel),s);return y.mainType="radar",y.componentIndex=this.componentIndex,y}),this);this.getIndicatorModels=function(){return g}},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:i.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:c(l.axisLabel,!1),axisTick:c(l.axisTick,!1),axisType:"interval",splitLine:c(l.splitLine,!0),splitArea:c(l.splitArea,!0),indicator:[]}});t.exports=u},F5Ls:function(t,e){var n={"\u5357\u6d77\u8bf8\u5c9b":[32,80],"\u5e7f\u4e1c":[0,-10],"\u9999\u6e2f":[10,5],"\u6fb3\u95e8":[-10,10],"\u5929\u6d25":[5,5]};t.exports=function(t,e){if("china"===t){var r=n[e.name];if(r){var i=e.center;i[0]+=r[0]/10.5,i[1]+=-r[1]/14}}}},F7hV:function(t,e,n){var r=n("MBQ8").extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},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}}});t.exports=r},F9We:function(t,e,n){var r;try{r=n("4Ai+")}catch(i){}r||(r=window.graphlib),t.exports=r},F9bG:function(t,e,n){var r=n("bYtY"),i=n("ItGF"),o=(0,n("4NO4").makeInner)(),a=r.each;function s(t,e,n){t.handler("leave",null,n)}function l(t,e,n,r){e.handler(t,n,r)}e.register=function(t,e,n){if(!i.node){var c=e.getZr();o(c).records||(o(c).records={}),function(t,e){function n(n,r){t.on(n,(function(n){var i=function(t){var e={showTip:[],hideTip:[]},n=function(r){var i=e[r.type];i?i.push(r):(r.dispatchAction=n,t.dispatchAction(r))};return{dispatchAction:n,pendings:e}}(e);a(o(t).records,(function(t){t&&r(t,n,i.dispatchAction)})),function(t,e){var n,r=t.showTip.length,i=t.hideTip.length;r?n=t.showTip[r-1]:i&&(n=t.hideTip[i-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(i.pendings,e)}))}o(t).initialized||(o(t).initialized=!0,n("click",r.curry(l,"click")),n("mousemove",r.curry(l,"mousemove")),n("globalout",s))}(c,e),(o(c).records[t]||(o(c).records[t]={})).handler=n}},e.unregister=function(t,e){if(!i.node){var n=e.getZr();(o(n).records||{})[t]&&(o(n).records[t]=null)}}},FBjb:function(t,e,n){var r=n("bYtY"),i=n("oVpE").createSymbol,o=n("IwbS"),a=n("OELB").parsePercent,s=n("x3X8").getDefaultLabel;function l(t,e,n){o.Group.call(this),this.updateData(t,e,n)}var c=l.prototype,u=l.getSymbolSize=function(t,e){var n=t.getItemVisual(e,"symbolSize");return n instanceof Array?n.slice():[+n,+n]};function h(t){return[t[0]/2,t[1]/2]}function d(t,e){this.parent.drift(t,e)}c._createSymbol=function(t,e,n,r,o){this.removeAll();var a=e.getItemVisual(n,"color"),s=i(t,-1,-1,2,2,a,o);s.attr({z2:100,culling:!0,scale:h(r)}),s.drift=d,this._symbolType=t,this.add(s)},c.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},c.getSymbolPath=function(){return this.childAt(0)},c.getScale=function(){return this.childAt(0).scale},c.highlight=function(){this.childAt(0).trigger("emphasis")},c.downplay=function(){this.childAt(0).trigger("normal")},c.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},c.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},c.updateData=function(t,e,n){this.silent=!1;var r=t.getItemVisual(e,"symbol")||"circle",i=t.hostModel,a=u(t,e),s=r!==this._symbolType;if(s){var l=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(r,t,e,a,l)}else(c=this.childAt(0)).silent=!1,o.updateProps(c,{scale:h(a)},i,e);if(this._updateCommon(t,e,a,n),s){var c=this.childAt(0),d=n&&n.fadeIn,f={scale:c.scale.slice()};d&&(f.style={opacity:c.style.opacity}),c.scale=[0,0],d&&(c.style.opacity=0),o.initProps(c,f,i,e)}this._seriesModel=i};var f=["itemStyle"],p=["emphasis","itemStyle"],g=["label"],m=["emphasis","label"];function v(t,e){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===e){var n=this.__symbolOriginalScale,r=n[1]/n[0],i={scale:[Math.max(1.1*n[0],n[0]+3),Math.max(1.1*n[1],n[1]+3*r)]};this.animateTo(i,400,"elasticOut")}else"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}c._updateCommon=function(t,e,n,i){var l=this.childAt(0),c=t.hostModel,u=t.getItemVisual(e,"color");"image"!==l.type?l.useStyle({strokeNoScale:!0}):l.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var d=i&&i.itemStyle,y=i&&i.hoverItemStyle,b=i&&i.symbolRotate,_=i&&i.symbolOffset,x=i&&i.labelModel,w=i&&i.hoverLabelModel,S=i&&i.hoverAnimation,k=i&&i.cursorStyle;if(!i||t.hasItemOption){var C=i&&i.itemModel?i.itemModel:t.getItemModel(e);d=C.getModel(f).getItemStyle(["color"]),y=C.getModel(p).getItemStyle(),b=C.getShallow("symbolRotate"),_=C.getShallow("symbolOffset"),x=C.getModel(g),w=C.getModel(m),S=C.getShallow("hoverAnimation"),k=C.getShallow("cursor")}else y=r.extend({},y);var A=l.style;l.attr("rotation",(b||0)*Math.PI/180||0),_&&l.attr("position",[a(_[0],n[0]),a(_[1],n[1])]),k&&l.attr("cursor",k),l.setColor(u,i&&i.symbolInnerColor),l.setStyle(d);var T=t.getItemVisual(e,"opacity");null!=T&&(A.opacity=T);var E=t.getItemVisual(e,"liftZ"),M=l.__z2Origin;null!=E?null==M&&(l.__z2Origin=l.z2,l.z2+=E):null!=M&&(l.z2=M,l.__z2Origin=null);var D=i&&i.useNameLabel;o.setLabelStyle(A,y,x,w,{labelFetcher:c,labelDataIndex:e,defaultText:function(e,n){return D?t.getName(e):s(t,e)},isRectText:!0,autoColor:u}),l.__symbolOriginalScale=h(n),l.hoverStyle=y,l.highDownOnUpdate=S&&c.isAnimationEnabled()?v:null,o.setHoverStyle(l)},c.fadeOut=function(t,e){var n=this.childAt(0);this.silent=n.silent=!0,(!e||!e.keepLabel)&&(n.style.text=null),o.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},r.inherits(l,o.Group),t.exports=l},FGaS:function(t,e,n){var r=n("ProS"),i=n("IwbS"),o=n("bYtY"),a=n("oVpE"),s=r.extendChartView({type:"radar",render:function(t,e,n){var r=t.coordinateSystem,s=this.group,l=t.getData(),c=this._data;function u(t,e){var n=t.getItemVisual(e,"symbol")||"circle",r=t.getItemVisual(e,"color");if("none"!==n){var i=function(t){return o.isArray(t)||(t=[+t,+t]),t}(t.getItemVisual(e,"symbolSize")),s=a.createSymbol(n,-1,-1,2,2,r);return s.attr({style:{strokeNoScale:!0},z2:100,scale:[i[0]/2,i[1]/2]}),s}}function h(e,n,r,o,a,s){r.removeAll();for(var l=0;l0?"P":"N",o=r.getVisual("borderColor"+i)||r.getVisual("color"+i),a=n.getModel(l).getItemStyle(u);e.useStyle(a),e.style.fill=null,e.style.stroke=o}t.exports=h},Gev7:function(t,e,n){var r=n("bYtY"),i=n("K2GJ"),o=n("1bdT"),a=n("ni6a");function s(t){for(var e in o.call(this,t=t||{}),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new i(t.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,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(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?o.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new i(t,this),this.dirty(!1),this},calculateTextPosition:null},r.inherits(s,o),r.mixin(s,a),t.exports=s},Gi0A:function(t,e,n){var r=n("QqLw"),i=n("ExA7");t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},GmSr:function(t,e,n){"use strict";var r=n("WG3t"),i=n("5VIG").Graph;function o(t,e,n,i){t.hasNode(e)||(t.setNode(e,r.clone(r.last(n).node)),t.setParent(e,i))}t.exports=function(t){var e=[{node:{},edge:{}}],n=t.id,a=new i({directed:"graph"!==t.type,multigraph:!t.strict,compound:!0});return a.setGraph(null===n?{}:{id:n}),r.each(t.stmts,(function(t){!function t(e,n,i,a){switch(n.type){case"node":!function(t,e,n,i){var a=e.id,s=e.attrs;o(t,a,n,i),r.merge(t.node(a),s)}(e,n,i,a);break;case"edge":!function(e,n,i,o){var a,s,l=n.attrs;r.each(n.elems,(function(n){switch(t(e,n,i,o),n.type){case"node":s=[n.id];break;case"subgraph":s=function(t){var e,n={},i=[],o=i.push.bind(i);for(o(t);i.length;)switch((e=i.pop()).type){case"node":n[e.id]=!0;break;case"edge":r.each(e.elems,o);break;case"subgraph":r.each(e.stmts,o)}return r.keys(n)}(n)}r.each(a,(function(t){r.each(s,(function(n){var o;e.hasEdge(t,n)&&e.isMultigraph()&&(o=r.uniqueId("edge")),e.hasEdge(t,n,o)||e.setEdge(t,n,r.clone(r.last(i).edge),o),r.merge(e.edge(t,n,o),l)}))})),a=s}))}(e,n,i,a);break;case"subgraph":!function(e,n,i,a){var s=n.id;void 0===s&&(s=function(t){var e;do{e=r.uniqueId("sg")}while(t.hasNode(e));return e}(e)),i.push(r.clone(r.last(i))),o(e,s,i,a),r.each(n.stmts,(function(n){t(e,n,i,s)})),e.children(s).length||e.removeNode(s),i.pop()}(e,n,i,a);break;case"attr":!function(t,e,n){r.merge(r.last(n)[e.attrType],e.attrs)}(0,n,i);break;case"inlineAttr":!function(t,e,n,i){r.merge(i?t.node(i):t.graph(),e.attrs)}(e,n,0,a)}}(a,t,e)})),a}},GoyQ:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},GrNh:function(t,e,n){var r=n("bYtY"),i=n("IwbS"),o=n("6Ic6");function a(t,e,n,r){var i=e.getData(),o=i.getName(this.dataIndex),a=e.get("selectedOffset");r.dispatchAction({type:"pieToggleSelect",from:t,name:o,seriesId:e.id}),i.each((function(t){s(i.getItemGraphicEl(t),i.getItemLayout(t),e.isSelected(i.getName(t)),a,n)}))}function s(t,e,n,r,i){var o=(e.startAngle+e.endAngle)/2,a=n?r:0,s=[Math.cos(o)*a,Math.sin(o)*a];i?t.animate().when(200,{position:s}).start("bounceOut"):t.attr("position",s)}function l(t,e){i.Group.call(this);var n=new i.Sector({z2:2}),r=new i.Polyline,o=new i.Text;this.add(n),this.add(r),this.add(o),this.updateData(t,e,!0)}var c=l.prototype;c.updateData=function(t,e,n){var o=this.childAt(0),a=this.childAt(1),l=this.childAt(2),c=t.hostModel,u=t.getItemModel(e),h=t.getItemLayout(e),d=r.extend({},h);d.label=null;var f=c.getShallow("animationTypeUpdate");n?(o.setShape(d),"scale"===c.getShallow("animationType")?(o.shape.r=h.r0,i.initProps(o,{shape:{r:h.r}},c,e)):(o.shape.endAngle=h.startAngle,i.updateProps(o,{shape:{endAngle:h.endAngle}},c,e))):"expansion"===f?o.setShape(d):i.updateProps(o,{shape:d},c,e);var p=t.getItemVisual(e,"color");o.useStyle(r.defaults({lineJoin:"bevel",fill:p},u.getModel("itemStyle").getItemStyle())),o.hoverStyle=u.getModel("emphasis.itemStyle").getItemStyle();var g=u.getShallow("cursor");g&&o.attr("cursor",g),s(this,t.getItemLayout(e),c.isSelected(t.getName(e)),c.get("selectedOffset"),c.get("animation")),this._updateLabel(t,e,!n&&"transition"===f),this.highDownOnUpdate=u.get("hoverAnimation")&&c.isAnimationEnabled()?function(t,e){"emphasis"===e?(a.ignore=a.hoverIgnore,l.ignore=l.hoverIgnore,o.stopAnimation(!0),o.animateTo({shape:{r:h.r+c.get("hoverOffset")}},300,"elasticOut")):(a.ignore=a.normalIgnore,l.ignore=l.normalIgnore,o.stopAnimation(!0),o.animateTo({shape:{r:h.r}},300,"elasticOut"))}:null,i.setHoverStyle(this)},c._updateLabel=function(t,e,n){var r=this.childAt(1),o=this.childAt(2),a=t.hostModel,s=t.getItemModel(e),l=t.getItemLayout(e).label,c=t.getItemVisual(e,"color");if(!l||isNaN(l.x)||isNaN(l.y))o.ignore=o.normalIgnore=o.hoverIgnore=r.ignore=r.normalIgnore=r.hoverIgnore=!0;else{var u={points:l.linePoints||[[l.x,l.y],[l.x,l.y],[l.x,l.y]]},h={x:l.x,y:l.y};n?(i.updateProps(r,{shape:u},a,e),i.updateProps(o,{style:h},a,e)):(r.attr({shape:u}),o.attr({style:h})),o.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var d=s.getModel("label"),f=s.getModel("emphasis.label"),p=s.getModel("labelLine"),g=s.getModel("emphasis.labelLine");c=t.getItemVisual(e,"color"),i.setLabelStyle(o.style,o.hoverStyle={},d,f,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:l.text,autoColor:c,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),o.ignore=o.normalIgnore=!d.get("show"),o.hoverIgnore=!f.get("show"),r.ignore=r.normalIgnore=!p.get("show"),r.hoverIgnore=!g.get("show"),r.setStyle({stroke:c,opacity:t.getItemVisual(e,"opacity")}),r.setStyle(p.getModel("lineStyle").getLineStyle()),r.hoverStyle=g.getModel("lineStyle").getLineStyle();var m=p.get("smooth");m&&!0===m&&(m=.4),r.setShape({smooth:m})}},r.inherits(l,i.Group);var u=o.extend({type:"pie",init:function(){var t=new i.Group;this._sectorGroup=t},render:function(t,e,n,i){if(!i||i.from!==this.uid){var o=t.getData(),s=this._data,c=this.group,u=e.get("animation"),h=!s,d=t.get("animationType"),f=t.get("animationTypeUpdate"),p=r.curry(a,this.uid,t,u,n),g=t.get("selectedMode");if(o.diff(s).add((function(t){var e=new l(o,t);h&&"scale"!==d&&e.eachChild((function(t){t.stopAnimation(!0)})),g&&e.on("click",p),o.setItemGraphicEl(t,e),c.add(e)})).update((function(t,e){var n=s.getItemGraphicEl(e);h||"transition"===f||n.eachChild((function(t){t.stopAnimation(!0)})),n.updateData(o,t),n.off("click"),g&&n.on("click",p),c.add(n),o.setItemGraphicEl(t,n)})).remove((function(t){var e=s.getItemGraphicEl(t);c.remove(e)})).execute(),u&&o.count()>0&&(h?"scale"!==d:"transition"!==f)){for(var m=o.getItemLayout(0),v=1;isNaN(m.startAngle)&&v=n.r0}}});t.exports=u},H6uX:function(t,e){var n=Array.prototype.slice,r=function(t){this._$handlers={},this._$eventProcessor=t};function i(t,e,n,r,i,o){var a=t._$handlers;if("function"==typeof n&&(i=r,r=n,n=null),!r||!e)return t;n=function(t,e){var n=t._$eventProcessor;return null!=e&&n&&n.normalizeQuery&&(e=n.normalizeQuery(e)),e}(t,n),a[e]||(a[e]=[]);for(var s=0;s3&&(i=n.call(i,1));for(var a=e.length,s=0;s4&&(i=n.call(i,1,i.length-1));for(var a=i[i.length-1],s=e.length,l=0;l{class t{constructor(t){this._isScalar=!1,t&&(this._subscribe=t)}lift(e){const n=new t;return n.source=this,n.operator=e,n}subscribe(t,e,n){const{operator:a}=this,s=function(t,e,n){if(t){if(t instanceof r.a)return t;if(t[i.a])return t[i.a]()}return t||e||n?new r.a(t,e,n):new r.a(o.a)}(t,e,n);if(s.add(a?a.call(s,this.source):this.source||l.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),l.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(t){try{return this._subscribe(t)}catch(e){l.a.useDeprecatedSynchronousErrorHandling&&(t.syncErrorThrown=!0,t.syncErrorValue=e),function(t){for(;t;){const{closed:e,destination:n,isStopped:i}=t;if(e||i)return!1;t=n&&n instanceof r.a?n:null}return!0}(t)?t.error(e):console.warn(e)}}forEach(t,e){return new(e=u(e))((e,n)=>{let r;r=this.subscribe(e=>{try{t(e)}catch(i){n(i),r&&r.unsubscribe()}},n,e)})}_subscribe(t){const{source:e}=this;return e&&e.subscribe(t)}[a.a](){return this}pipe(...t){return 0===t.length?this:Object(s.b)(t)(this)}toPromise(t){return new(t=u(t))((t,e)=>{let n;this.subscribe(t=>n=t,t=>e(t),()=>t(n))})}}return t.create=e=>new t(e),t})();function u(t){if(t||(t=l.a.Promise||Promise),!t)throw new Error("no Promise impl found");return t}},HDyB:function(t,e,n){var r=n("nmnc"),i=n("JHRd"),o=n("ljhN"),a=n("or5M"),s=n("7fqy"),l=n("rEGp"),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;t.exports=function(t,e,n,r,c,h,d){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!h(new i(t),new i(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var f=s;case"[object Set]":if(f||(f=l),t.size!=e.size&&!(1&r))return!1;var p=d.get(t);if(p)return p==e;r|=2,d.set(t,e);var g=a(f(t),f(e),r,c,h,d);return d.delete(t),g;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},"HF/U":function(t,e,n){var r=n("QBsz");function i(t){t.eachEdge((function(t){var e=t.getModel().get("lineStyle.curveness")||0,n=r.clone(t.node1.getLayout()),i=r.clone(t.node2.getLayout()),o=[n,i];+e&&o.push([(n[0]+i[0])/2-(n[1]-i[1])*e,(n[1]+i[1])/2-(i[0]-n[0])*e]),t.setLayout(o)}))}e.simpleLayout=function(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),i(n)}},e.simpleLayoutEdge=i},HLqC:function(t,e,n){var r=n("R5Y4"),i=n("mv/X"),o=n("ZCgT");t.exports=function(t){return function(e,n,a){return a&&"number"!=typeof a&&i(e,n,a)&&(n=a=void 0),e=o(e),void 0===n?(n=e,e=0):n=o(n),a=void 0===a?e=0?"p":"n",P=S;if(x&&(l[u][I]||(l[u][I]={p:S,n:S}),P=l[u][I][O]),"radius"===p.dim){var L=p.dataToRadius(D)-S,R=r.dataToAngle(I);Math.abs(L)=i/3?1:2),l=e.y-r(a)*o*(o>=i/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+r(a)*o),t.lineTo(e.x+n(e.angle)*i,e.y+r(e.angle)*i),t.lineTo(e.x-n(a)*o,e.y-r(a)*o),t.lineTo(s,l)}});t.exports=r},Hxpc:function(t,e,n){var r=n("bYtY"),i=n("4NO4"),o=n("bLfw"),a=n("Qxkt"),s=n("cCMj"),l=n("7uqq"),c=o.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){o.prototype.init.apply(this,arguments),i.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=r.reduce(t.regions||[],(function(t,n){return n.name&&t.set(n.name,new a(n,e)),t}),r.createHashMap()),this.updateSelectedMap(t.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(t){return this._optionModelMap.get(t)||new a(null,this,this.ecModel)},getFormattedLabel:function(t,e){var n=this.getRegionModel(t).get("label"+("normal"===e?".":e+".")+"formatter"),r={name:t};return"function"==typeof n?(r.status=e,n(r)):"string"==typeof n?n.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});r.mixin(c,s),t.exports=c},HzoJ:function(t,e,n){var r=n("b5wT");t.exports=function(t,e){return r.map(e,(function(e){var n=t.inEdges(e);if(n.length){var i=r.reduce(n,(function(e,n){var r=t.edge(n),i=t.node(n.v);return{sum:e.sum+r.weight*i.order,weight:e.weight+r.weight}}),{sum:0,weight:0});return{v:e,barycenter:i.sum/i.weight,weight:i.weight}}return{v:e}}))}},"I+77":function(t,e,n){var r=n("ProS");n("h54F"),n("lwQL"),n("10cm");var i=n("Z1r0"),o=n("f5Yq"),a=n("KUOm"),s=n("3m61"),l=n("01d+"),c=n("rdor"),u=n("WGYa"),h=n("ewwo");r.registerProcessor(i),r.registerVisual(o("graph","circle",null)),r.registerVisual(a),r.registerVisual(s),r.registerLayout(l),r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT,c),r.registerLayout(u),r.registerCoordinateSystem("graphView",{create:h})},"I+Bx":function(t,e,n){var r=n("bYtY"),i=n("eIcI"),o=n("ieMj"),a=n("OELB"),s=n("aX7z"),l=s.getScaleExtent,c=s.niceScaleExtent,u=n("IDmD"),h=n("jCoz");function d(t,e,n){this._model=t,this.dimensions=[],this._indicatorAxes=r.map(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,r=new i(n,"log"===t.get("axisType")?new h:new o);return r.name=t.get("name"),r.model=t,t.axis=r,this.dimensions.push(n),r}),this),this.resize(t,n)}d.prototype.getIndicatorAxes=function(){return this._indicatorAxes},d.prototype.dataToPoint=function(t,e){return this.coordToPoint(this._indicatorAxes[e].dataToCoord(t),e)},d.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},d.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,r=Math.sqrt(e*e+n*n);e/=r,n/=r;for(var i,o=Math.atan2(-n,e),a=1/0,s=-1,l=0;ln[0]&&isFinite(p)&&isFinite(n[0]));else{i.getTicks().length-1>o&&(d=s(d));var f=Math.ceil(n[1]/d)*d,p=a.round(f-d*o);i.setExtent(p,f),i.setInterval(d)}}))},d.dimensions=[],d.create=function(t,e){var n=[];return t.eachComponent("radar",(function(r){var i=new d(r,t,e);n.push(i),r.coordinateSystem=i})),t.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])})),n},u.register("radar",d),t.exports=d},I01J:function(t,e,n){var r=n("44Ds");t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},"I3/A":function(t,e,n){var r=n("bYtY"),i=n("YXkt"),o=n("c2i1"),a=n("Mdki"),s=n("sdST"),l=n("IDmD"),c=n("MwEJ");t.exports=function(t,e,n,u,h){for(var d=new o(u),f=0;f "+b)),m++)}var _,x=n.get("coordinateSystem");if("cartesian2d"===x||"polar"===x)_=c(t,n);else{var w=l.get(x),S=w&&"view"!==w.type&&w.dimensions||[];r.indexOf(S,"value")<0&&S.concat(["value"]);var k=s(t,{coordDimensions:S});(_=new i(k,n)).initData(t)}var C=new i(["value"],n);return C.initData(g,p),h&&h(_,C),a({mainData:_,struct:d,structAttr:"graph",datas:{node:_,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),d.update(),d}},I55L:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=t=>t&&"number"==typeof t.length&&"function"!=typeof t},ICMv:function(t,e,n){var r=n("bYtY");t.exports={getMin:function(t){var e=this.option,n=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!=typeof n&&!r.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(t){var e=this.option,n=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!=typeof n&&!r.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:r.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}}},IDmD:function(t,e,n){var r=n("bYtY"),i={};function o(){this._coordinateSystems=[]}o.prototype={constructor:o,create:function(t,e){var n=[];r.each(i,(function(r,i){var o=r.create(t,e);n=n.concat(o||[])})),this._coordinateSystems=n},update:function(t,e){r.each(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},o.register=function(t,e){i[t]=e},o.get=function(t){return i[t]},t.exports=o},IMiH:function(t,e,n){var r=n("Sj9i"),i=n("QBsz"),o=n("4mN7"),a=n("mFDi"),s=n("LPTA").devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},c=[],u=[],h=[],d=[],f=Math.min,p=Math.max,g=Math.cos,m=Math.sin,v=Math.sqrt,y=Math.abs,b="undefined"!=typeof Float32Array,_=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};_.prototype={constructor:_,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,n){this._ux=y((n=n||0)/s/t)||0,this._uy=y(n/s/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=y(t-this._xi)>this._ux||y(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,r,i,o){return this.addData(l.C,t,e,n,r,i,o),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,r,i,o):this._ctx.bezierCurveTo(t,e,n,r,i,o)),this._xi=i,this._yi=o,this},quadraticCurveTo:function(t,e,n,r){return this.addData(l.Q,t,e,n,r),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,r):this._ctx.quadraticCurveTo(t,e,n,r)),this._xi=n,this._yi=r,this},arc:function(t,e,n,r,i,o){return this.addData(l.A,t,e,n,n,r,i-r,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,r,i,o),this._xi=g(i)*n+t,this._yi=m(i)*n+e,this},arcTo:function(t,e,n,r,i){return this._ctx&&this._ctx.arcTo(t,e,n,r,i),this},rect:function(t,e,n,r){return this._ctx&&this._ctx.rect(t,e,n,r),this.addData(l.R,t,e,n,r),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;ne.length&&(this._expandData(),e=this.data);for(var n=0;n0&&g<=t||u<0&&g>=t||0===u&&(h>0&&m<=e||h<0&&m>=e);)g+=u*(n=a[r=this._dashIdx]),m+=h*n,this._dashIdx=(r+1)%y,u>0&&gl||h>0&&mc||s[r%2?"moveTo":"lineTo"](u>=0?f(g,t):p(g,t),h>=0?f(m,e):p(m,e));this._dashOffset=-v((u=g-t)*u+(h=m-e)*h)},_dashedBezierTo:function(t,e,n,i,o,a){var s,l,c,u,h,d=this._dashSum,f=this._dashOffset,p=this._lineDash,g=this._ctx,m=this._xi,y=this._yi,b=r.cubicAt,_=0,x=this._dashIdx,w=p.length,S=0;for(f<0&&(f=d+f),f%=d,s=0;s<1;s+=.1)l=b(m,t,n,o,s+.1)-b(m,t,n,o,s),c=b(y,e,i,a,s+.1)-b(y,e,i,a,s),_+=v(l*l+c*c);for(;xf);x++);for(s=(S-f)/_;s<=1;)u=b(m,t,n,o,s),h=b(y,e,i,a,s),x%2?g.moveTo(u,h):g.lineTo(u,h),s+=p[x]/_,x=(x+1)%w;x%2!=0&&g.lineTo(o,a),this._dashOffset=-v((l=o-u)*l+(c=a-h)*c)},_dashedQuadraticTo:function(t,e,n,r){var i=n,o=r;n=(n+2*t)/3,r=(r+2*e)/3,this._dashedBezierTo(t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,n,r,i,o)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,b&&(this.data=new Float32Array(t)))},getBoundingRect:function(){c[0]=c[1]=h[0]=h[1]=Number.MAX_VALUE,u[0]=u[1]=d[0]=d[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,r=0,s=0,f=0;fc||y(a-i)>u||d===h-1)&&(t.lineTo(o,a),r=o,i=a);break;case l.C:t.bezierCurveTo(s[d++],s[d++],s[d++],s[d++],s[d++],s[d++]),r=s[d-2],i=s[d-1];break;case l.Q:t.quadraticCurveTo(s[d++],s[d++],s[d++],s[d++]),r=s[d-2],i=s[d-1];break;case l.A:var p=s[d++],v=s[d++],b=s[d++],_=s[d++],x=s[d++],w=s[d++],S=s[d++],k=s[d++],C=b>_?b:_,A=b>_?1:b/_,T=b>_?_/b:1,E=x+w;Math.abs(b-_)>.001?(t.translate(p,v),t.rotate(S),t.scale(A,T),t.arc(0,0,C,x,E,1-k),t.scale(1/A,1/T),t.rotate(-S),t.translate(-p,-v)):t.arc(p,v,C,x,E,1-k),1===d&&(e=g(x)*b+p,n=m(x)*_+v),r=g(E)*b+p,i=m(E)*_+v;break;case l.R:e=r=s[d],n=i=s[d+1],t.rect(s[d++],s[d++],s[d++],s[d++]);break;case l.Z:t.closePath(),r=e,i=n}}}},_.CMD=l,t.exports=_},IOzZ:function(t,e){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},IUWy:function(t,e){var n={};e.register=function(t,e){n[t]=e},e.get=function(t){return n[t]}},IWNH:function(t,e,n){var r=n("T4UG"),i=n("Bsck"),o=n("7aKB").encodeHTML,a=r.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},n={};n.leaves=t.leaves||{};var r=i.createTree(e,this,n,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),i=n.getLeavesModel();return n.children.length&&n.isExpand||(t.parentModel=i),t}))})),o=0;r.eachNode("preorder",(function(t){t.depth>o&&(o=t.depth)}));var a=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:o;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=a})),r.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){for(var e=this.getData().tree,n=e.root.children[0],r=e.getNodeByDataIndex(t),i=r.getValue(),a=r.name;r&&r!==n;)a=r.parentNode.name+"."+a,r=r.parentNode;return o(a+(isNaN(i)||null==i?"":" : "+i))},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}});t.exports=a},IWTy:function(t,e,n){var r=n("yue5");t.exports=function(t,e,n){for(var i=-1,o=t.criteria,a=e.criteria,s=o.length,l=n.length;++i=l?c:c*("desc"==n[i]?-1:1)}return t.index-e.index}},IWp7:function(t,e,n){var r=n("bYtY"),i=n("OELB"),o=n("7aKB"),a=n("lE7J"),s=n("ieMj"),l=s.prototype,c=Math.ceil,u=Math.floor,h=864e5,d=s.extend({type:"time",getLabel:function(t){var e=this._stepLvl,n=new Date(t);return o.formatTime(e[0],n,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=h,e[1]+=h),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-h}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=i.round(u(e[0]/r)*r)),t.fixMax||(e[1]=i.round(c(e[1]/r)*r))},niceTicks:function(t,e,n){var r=this._extent,o=r[1]-r[0],s=o/(t=t||10);null!=e&&sn&&(s=n);var l=f.length,h=function(t,e,n,r){for(;n>>1;t[i][1]{class t{constructor(e,n=t.now){this.SchedulerAction=e,this.now=n}schedule(t,e=0,n){return new this.SchedulerAction(this,t).schedule(n,e)}}return t.now=()=>Date.now(),t})();n.d(e,"a",(function(){return i}));class i extends r{constructor(t,e=r.now){super(t,()=>i.delegate&&i.delegate!==this?i.delegate.now():e()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(t,e=0,n){return i.delegate&&i.delegate!==this?i.delegate.schedule(t,e,n):super.schedule(t,e,n)}flush(t){const{actions:e}=this;if(this.active)return void e.push(t);let n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}},Ioao:function(t,e,n){var r=n("heNW"),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),l=Array(s);++a=11),domSupported:"undefined"!=typeof document}),t.exports=n},Itpr:function(t,e,n){var r=n("+TT/");function i(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function o(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function a(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function s(t,e,n){var r=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=r,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=r}function l(t,e){return t.parentNode===e.parentNode?1:2}e.init=function(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e,n,r=[t];e=r.pop();)if(n=e.children,e.isExpand&&n.length)for(var i=n.length-1;i>=0;i--){var o=n[i];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i,thread:null},r.push(o)}},e.firstWalk=function(t,e){var n=t.isExpand?t.children:[],r=t.parentNode.children,l=t.hierNode.i?r[t.hierNode.i-1]:null;if(n.length){!function(t){for(var e=t.children,n=e.length,r=0,i=0;--n>=0;){var o=e[n];o.hierNode.prelim+=r,o.hierNode.modifier+=r,r+=o.hierNode.shift+(i+=o.hierNode.change)}}(t);var c=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;l?(t.hierNode.prelim=l.hierNode.prelim+e(t,l),t.hierNode.modifier=t.hierNode.prelim-c):t.hierNode.prelim=c}else l&&(t.hierNode.prelim=l.hierNode.prelim+e(t,l));t.parentNode.hierNode.defaultAncestor=function(t,e,n,r){if(e){for(var l=t,c=t,u=c.parentNode.children[0],h=e,d=l.hierNode.modifier,f=c.hierNode.modifier,p=u.hierNode.modifier,g=h.hierNode.modifier;h=i(h),c=o(c),h&&c;){l=i(l),u=o(u),l.hierNode.ancestor=t;var m=h.hierNode.prelim+g-c.hierNode.prelim-f+r(h,c);m>0&&(s(a(h,t,n),t,m),f+=m,d+=m),g+=h.hierNode.modifier,f+=c.hierNode.modifier,d+=l.hierNode.modifier,p+=u.hierNode.modifier}h&&!i(l)&&(l.hierNode.thread=h,l.hierNode.modifier+=g-d),c&&!o(u)&&(u.hierNode.thread=c,u.hierNode.modifier+=f-p,n=t)}return n}(t,l,t.parentNode.hierNode.defaultAncestor||r[0],e)},e.secondWalk=function(t){t.setLayout({x:t.hierNode.prelim+t.parentNode.hierNode.modifier},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier},e.separation=function(t){return arguments.length?t:l},e.radialCoordinate=function(t,e){var n={};return t-=Math.PI/2,n.x=e*Math.cos(t),n.y=e*Math.sin(t),n},e.getViewRect=function(t,e){return r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}},IwbS:function(t,e,n){var r=n("bYtY"),i=n("NC18"),o=n("Qe9p"),a=n("Fofx"),s=n("QBsz"),l=n("y+Vt"),c=n("DN4a"),u=n("Dagg");e.Image=u;var h=n("4fz+");e.Group=h;var d=n("dqUG");e.Text=d;var f=n("2fw6");e.Circle=f;var p=n("SqI9");e.Sector=p;var g=n("RXMa");e.Ring=g;var m=n("h7HQ");e.Polygon=m;var v=n("1Jh7");e.Polyline=v;var y=n("x6Kt");e.Rect=y;var b=n("yxFR");e.Line=b;var _=n("rA99");e.BezierCurve=_;var x=n("jTL6");e.Arc=x;var w=n("1MYJ");e.CompoundPath=w;var S=n("SKnc");e.LinearGradient=S;var k=n("3e3G");e.RadialGradient=k;var C=n("mFDi");e.BoundingRect=C;var A=n("OS9S");e.IncrementalDisplayable=A;var T=n("nPnh"),E=Math.max,M=Math.min,D={},I=1,O={},P={};function L(t,e){P[t]=e}function R(t,e,n,r){var o=i.createFromString(t,e);return n&&("center"===r&&(n=N(n,o.getBoundingRect())),F(o,n)),o}function N(t,e){var n,r=e.width/e.height,i=t.height*r;return n=i<=t.width?t.height:(i=t.width)/r,{x:t.x+t.width/2-i/2,y:t.y+t.height/2-n/2,width:i,height:n}}var z=i.mergePath;function F(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}var B=T.subPixelOptimize;function V(t){return null!=t&&"none"!==t}var j=r.createHashMap(),Y=0;function U(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var n=t.__zr,r=t.useHoverLayer&&n&&"canvas"===n.painter.type;if(t.__highlighted=r?"layer":"plain",!(t.isGroup||!n&&t.useHoverLayer)){var i=t,o=t.style;r&&(o=(i=n.addHover(t)).style),ot(o),r||function(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var n=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var r=t.style;for(var i in e)null!=e[i]&&(n[i]=r[i]);n.fill=r.fill,n.stroke=r.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}(i),o.extendFrom(e),G(o,e,"fill"),G(o,e,"stroke"),it(o),r||(t.dirty(!1),t.z2+=1)}}}function G(t,e,n){!V(e[n])&&V(t[n])&&(t[n]=function(t){if("string"!=typeof t)return t;var e=j.get(t);return e||(e=o.lift(t,-.1),Y<1e4&&(j.set(t,e),Y++)),e}(t[n]))}function H(t){var e=t.__highlighted;if(e&&(t.__highlighted=!1,!t.isGroup))if("layer"===e)t.__zr&&t.__zr.removeHover(t);else{var n=t.style,r=t.__cachedNormalStl;r&&(ot(n),t.setStyle(r),it(n));var i=t.__cachedNormalZ2;null!=i&&t.z2-i==1&&(t.z2=i)}}function q(t,e,n){var r,i="normal",o="normal";t.__highlighted&&(i="emphasis",r=!0),e(t,n),t.__highlighted&&(o="emphasis",r=!0),t.isGroup&&t.traverse((function(t){!t.isGroup&&e(t,n)})),r&&t.__highDownOnUpdate&&t.__highDownOnUpdate(i,o)}function W(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,H(t),U(t))}function $(t){!Q(this,t)&&!this.__highByOuter&&q(this,U)}function Z(t){!Q(this,t)&&!this.__highByOuter&&q(this,H)}function X(t){this.__highByOuter|=1<<(t||0),q(this,U)}function K(t){!(this.__highByOuter&=~(1<<(t||0)))&&q(this,H)}function Q(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function J(t,e){var n=!1===e;if(t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,!n||t.__highDownDispatcher){var r=n?"off":"on";t[r]("mouseover",$)[r]("mouseout",Z),t[r]("emphasis",X)[r]("normal",K),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n}}function tt(t,e,n,i,o){return et(t,e,i,o),n&&r.extend(t,n),t}function et(t,e,n,i){if((n=n||D).isRectText){var o;n.getTextPosition?o=n.getTextPosition(e,i):"outside"===(o=e.getShallow("position")||(i?null:"inside"))&&(o="top"),t.textPosition=o,t.textOffset=e.getShallow("offset");var a=e.getShallow("rotate");null!=a&&(a*=Math.PI/180),t.textRotation=a,t.textDistance=r.retrieve2(e.getShallow("distance"),i?null:5)}var s,l=e.ecModel,c=l&&l.option.textStyle,u=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||D).rich;if(n)for(var r in e=e||{},n)n.hasOwnProperty(r)&&(e[r]=1);t=t.parentModel}return e}(e);if(u)for(var h in s={},u)if(u.hasOwnProperty(h)){var d=e.getModel(["rich",h]);nt(s[h]={},d,c,n,i)}return t.rich=s,nt(t,e,c,n,i,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),t}function nt(t,e,n,i,o,a){n=!o&&n||D,t.textFill=rt(e.getShallow("color"),i)||n.color,t.textStroke=rt(e.getShallow("textBorderColor"),i)||n.textBorderColor,t.textStrokeWidth=r.retrieve2(e.getShallow("textBorderWidth"),n.textBorderWidth),o||(a&&(t.insideRollbackOpt=i,it(t)),null==t.textFill&&(t.textFill=i.autoColor)),t.fontStyle=e.getShallow("fontStyle")||n.fontStyle,t.fontWeight=e.getShallow("fontWeight")||n.fontWeight,t.fontSize=e.getShallow("fontSize")||n.fontSize,t.fontFamily=e.getShallow("fontFamily")||n.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),a&&i.disableBox||(t.textBackgroundColor=rt(e.getShallow("backgroundColor"),i),t.textPadding=e.getShallow("padding"),t.textBorderColor=rt(e.getShallow("borderColor"),i),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||n.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||n.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||n.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function rt(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function it(t){var e,n=t.textPosition,r=t.insideRollbackOpt;if(r&&null==t.textFill){var i=r.autoColor,o=r.useInsideStyle,a=!1!==o&&(!0===o||r.isRectText&&n&&"string"==typeof n&&n.indexOf("inside")>=0),s=!a&&null!=i;(a||s)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),a&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=i,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),s&&(t.textFill=i)}t.insideRollback=e}function ot(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function at(t,e,n,r,i,o){if("function"==typeof i&&(o=i,i=null),r&&r.isAnimationEnabled()){var a=t?"Update":"",s=r.getShallow("animationDuration"+a),l=r.getShallow("animationEasing"+a),c=r.getShallow("animationDelay"+a);"function"==typeof c&&(c=c(i,r.getAnimationDelayParams?r.getAnimationDelayParams(e,i):null)),"function"==typeof s&&(s=s(i)),s>0?e.animateTo(n,s,c||0,l,o,!!o):(e.stopAnimation(),e.attr(n),o&&o())}else e.stopAnimation(),e.attr(n),o&&o()}function st(t,e,n,r,i){at(!0,t,e,n,r,i)}function lt(t,e,n){return e&&!r.isArrayLike(e)&&(e=c.getLocalTransform(e)),n&&(e=a.invert([],e)),s.applyTransform([],t,e)}function ct(t,e,n,r,i,o,a,s){var l,c=n-t,u=r-e,h=a-i,d=s-o,f=ut(h,d,c,u);if((l=f)<=1e-6&&l>=-1e-6)return!1;var p=t-i,g=e-o,m=ut(p,g,c,u)/f;if(m<0||m>1)return!1;var v=ut(p,g,h,d)/f;return!(v<0||v>1)}function ut(t,e,n,r){return t*r-n*e}L("circle",f),L("sector",p),L("ring",g),L("polygon",m),L("polyline",v),L("rect",y),L("line",b),L("bezierCurve",_),L("arc",x),e.Z2_EMPHASIS_LIFT=1,e.CACHED_LABEL_STYLE_PROPERTIES={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},e.extendShape=function(t){return l.extend(t)},e.extendPath=function(t,e){return i.extendFromString(t,e)},e.registerShape=L,e.getShapeClass=function(t){if(P.hasOwnProperty(t))return P[t]},e.makePath=R,e.makeImage=function(t,e,n){var r=new u({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){"center"===n&&r.setStyle(N(e,{width:t.width,height:t.height}))}});return r},e.mergePath=z,e.resizePath=F,e.subPixelOptimizeLine=function(t){return T.subPixelOptimizeLine(t.shape,t.shape,t.style),t},e.subPixelOptimizeRect=function(t){return T.subPixelOptimizeRect(t.shape,t.shape,t.style),t},e.subPixelOptimize=B,e.setElementHoverStyle=W,e.setHoverStyle=function(t,e){J(t,!0),q(t,W,e)},e.setAsHighDownDispatcher=J,e.isHighDownDispatcher=function(t){return!(!t||!t.__highDownDispatcher)},e.getHighlightDigit=function(t){var e=O[t];return null==e&&I<=32&&(e=O[t]=I++),e},e.setLabelStyle=function(t,e,n,i,o,a,s){var l,c=(o=o||D).labelFetcher,u=o.labelDataIndex,h=o.labelDimIndex,d=n.getShallow("show"),f=i.getShallow("show");(d||f)&&(c&&(l=c.getFormattedLabel(u,"normal",null,h)),null==l&&(l=r.isFunction(o.defaultText)?o.defaultText(u,o):o.defaultText));var p=d?l:null,g=f?r.retrieve2(c?c.getFormattedLabel(u,"emphasis",null,h):null,l):null;null==p&&null==g||(tt(t,n,a,o),tt(e,i,s,o,!0)),t.text=p,e.text=g},e.modifyLabelStyle=function(t,e,n){var i=t.style;e&&(ot(i),t.setStyle(e),it(i)),i=t.__hoverStl,n&&i&&(ot(i),r.extend(i,n),it(i))},e.setTextStyle=tt,e.setText=function(t,e,n){var r,i={isRectText:!0};!1===n?r=!0:i.autoColor=n,et(t,e,i,r)},e.getFont=function(t,e){var n=e&&e.getModel("textStyle");return r.trim([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))},e.updateProps=st,e.initProps=function(t,e,n,r,i){at(!1,t,e,n,r,i)},e.getTransform=function(t,e){for(var n=a.identity([]);t&&t!==e;)a.mul(n,t.getLocalTransform(),n),t=t.parent;return n},e.applyTransform=lt,e.transformDirection=function(t,e,n){var r=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-r:"right"===t?r:0,"top"===t?-i:"bottom"===t?i:0];return o=lt(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"},e.groupTransition=function(t,e,n,i){if(t&&e){var o,a=(o={},t.traverse((function(t){!t.isGroup&&t.anid&&(o[t.anid]=t)})),o);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=a[t.anid];if(e){var r=l(t);t.attr(l(e)),st(t,r,n,t.dataIndex)}}}))}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=r.extend({},t.shape)),e}},e.clipPointsByRect=function(t,e){return r.map(t,(function(t){var n=t[0];n=E(n,e.x),n=M(n,e.x+e.width);var r=t[1];return r=E(r,e.y),[n,r=M(r,e.y+e.height)]}))},e.clipRectByRect=function(t,e){var n=E(t.x,e.x),r=M(t.x+t.width,e.x+e.width),i=E(t.y,e.y),o=M(t.y+t.height,e.y+e.height);if(r>=n&&o>=i)return{x:n,y:i,width:r-n,height:o-i}},e.createIcon=function(t,e,n){var i=(e=r.extend({rectHover:!0},e)).style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),r.defaults(i,n),new u(e)):R(t.replace("path://",""),e,n,"center")},e.linePolygonIntersect=function(t,e,n,r,i){for(var o=0,a=i[i.length-1];o0&&e%m)g+=p;else{var n=null==t||isNaN(t)||""===t,r=n?0:d(t,s,u,!0);n&&!c&&e?(h.push([h[h.length-1][0],0]),f.push([f[f.length-1][0],0])):!n&&c&&(h.push([g,0]),f.push([g,0])),h.push([g,r]),f.push([g,r]),g+=p,c=n}}));var v=this.dataZoomModel;this._displayables.barGroup.add(new o.Polygon({shape:{points:h},style:r.defaults({fill:v.get("dataBackgroundColor")},v.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new o.Polyline({shape:{points:f},style:v.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(o,a){var s=t.getAxisProxy(o.name,a).getTargetSeriesModels();r.each(s,(function(t){if(!(n||!0!==e&&r.indexOf(m,t.get("type"))<0)){var s,l=i.getComponent(o.axis,a).axis,c={x:"y",y:"x",radius:"angle",angle:"radius"}[o.name],u=t.coordinateSystem;null!=c&&u.getOtherAxis&&(s=u.getOtherAxis(l).inverse),c=t.getData().mapDimension(c),n={thisAxis:l,series:t,thisDim:o.name,otherDim:c,otherAxisInverse:s}}}),this)}),this),n}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],n=t.handleLabels=[],r=this._displayables.barGroup,i=this._size,a=this.dataZoomModel;r.add(t.filler=new h({draggable:!0,cursor:y(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:a.get("fillerColor"),textPosition:"inside"}})),r.add(new h({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:i[0],height:i[1]},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),g([0,1],(function(t){var i=o.createIcon(a.get("handleIcon"),{cursor:y(this._orient),draggable:!0,drift:p(this._onDragMove,this,t),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=i.getBoundingRect();this._handleHeight=l.parsePercent(a.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,i.setStyle(a.getModel("handleStyle").getItemStyle());var c=a.get("handleColor");null!=c&&(i.style.fill=c),r.add(e[t]=i);var u=a.textStyleModel;this.group.add(n[t]=new o.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:u.getTextColor(),textFont:u.getFont()},z2:10}))}),this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[d(t[0],[0,100],e,!0),d(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];u(e,r,i,n.get("zoomLock")?"all":t,null!=o.minSpan?d(o.minSpan,a,i,!0):null,null!=o.maxSpan?d(o.maxSpan,a,i,!0):null);var s=this._range,l=this._range=f([d(r[0],i,a,!0),d(r[1],i,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,n=this._handleEnds,r=f(n.slice()),i=this._size;g([0,1],(function(t){var r=this._handleHeight;e.handles[t].attr({scale:[r/2,r/2],position:[n[t],i[1]/2-r/2]})}),this),e.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,n=this._displayables,r=n.handleLabels,i=this._orient,a=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,c=this._range,u=t?s.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:s.getDataValueWindow();a=[this._formatLabel(u[0],l),this._formatLabel(u[1],l)]}}var h=f(this._handleEnds.slice());function d(t){var e=o.getTransform(n.handles[t].parent,this.group),s=o.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+5,c=o.applyTransform([h[t]+(0===t?-l:l),this._size[1]/2],e);r[t].setStyle({x:c[0],y:c[1],textVerticalAlign:"horizontal"===i?"middle":s,textAlign:"horizontal"===i?s:"center",text:a[t]})}d.call(this,0),d.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),o=n.get("labelPrecision");null!=o&&"auto"!==o||(o=e.getPixelPrecision());var a=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(o,20));return r.isFunction(i)?i(t,a):r.isString(i)?i.replace("{value}",a):a},_showDataInfo:function(t){var e=this._displayables.handleLabels;e[0].attr("invisible",!(t=this._dragging||t)),e[1].attr("invisible",!t)},_onDragMove:function(t,e,n,r){this._dragging=!0,i.stop(r.event);var a=this._displayables.barGroup.getLocalTransform(),s=o.applyTransform([e,n],a,!0),l=this._updateInterval(t,s[0]),c=this.dataZoomModel.get("realtime");this._updateView(!c),l&&c&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,n=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var r=this._handleEnds,i=this._updateInterval("all",n[0]-(r[0]+r[1])/2);this._updateView(),i&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),(function(e){if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}})),!t){var e=this.api.getWidth(),n=this.api.getHeight();t={x:.2*e,y:.2*n,width:.6*e,height:.6*n}}return t}});function y(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=v},IyW0:function(t,e,n){"use strict";var r=n("b5wT"),i=n("tQ6r"),o=n("jFXE").positionX;t.exports=function(t){(function(t){var e=i.buildLayerMatrix(t),n=t.graph().ranksep,o=0;r.forEach(e,(function(e){var i=r.max(r.map(e,(function(e){return t.node(e).height})));r.forEach(e,(function(e){t.node(e).y=o+i/2})),o+=i+n}))})(t=i.asNonCompoundGraph(t)),r.forEach(o(t),(function(e,n){t.node(n).x=e}))}},IzEk:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("7o/Q"),i=n("4I5i"),o=n("EY2u");function a(t){return e=>0===t?Object(o.b)():e.lift(new s(t))}class s{constructor(t){if(this.total=t,this.total<0)throw new i.a}call(t,e){return e.subscribe(new l(t,this.total))}}class l extends r.a{constructor(t,e){super(t),this.total=e,this.count=0}_next(t){const e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}},J2m7:function(t,e,n){var r=n("XKAG")(n("UfWW"));t.exports=r},JC6p:function(t,e,n){var r=n("cq/+"),i=n("7GkX");t.exports=function(t,e){return t&&r(t,e,i)}},JEkh:function(t,e,n){n("Tghj");var r=n("ProS"),i=n("bYtY"),o=n("ItGF"),a=n("4NO4"),s=n("7aKB"),l=n("OKJ2"),c=s.addCommas,u=s.encodeHTML;function h(t){a.defaultEmphasis(t,"label",["show"])}var d=r.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},isAnimationEnabled:function(){if(o.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e){this._mergeOption(t,e,!1,!1)},_mergeOption:function(t,e,n,r){var o=this.constructor,a=this.mainType+"Model";n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),s=t[a];n&&n.data?(s?s._mergeOption(n,e,!0):(r&&h(n),i.each(n.data,(function(t){t instanceof Array?(h(t[0]),h(t[1])):h(t)})),s=new o(n,this,e),i.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[a]=s):t[a]=null}),this)},formatTooltip:function(t){var e=this.getData(),n=this.getRawValue(t),r=i.isArray(n)?i.map(n,c).join(", "):c(n),o=e.getName(t),a=u(this.name);return(null!=n||o)&&(a+="
    "),o&&(a+=u(o),null!=n&&(a+=" : ")),null!=n&&(a+=u(r)),a},getData:function(){return this._data},setData:function(t){this._data=t}});i.mixin(d,l),t.exports=d},JHRd:function(t,e,n){var r=n("Kz5y");t.exports=r.Uint8Array},JHgL:function(t,e,n){var r=n("QkVE");t.exports=function(t){return r(this,t).get(t)}},JLnu:function(t,e,n){var r=n("+TT/"),i=n("OELB"),o=i.parsePercent,a=i.linearMap;t.exports=function(t,e,n){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),s=t.get("sort"),l=function(t,e){return r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),c=function(t,e){for(var n=t.mapDimension("value"),r=t.mapArray(n,(function(t){return t})),i=[],o="ascending"===e,a=0,s=t.count();ao(t,n,e)):e=>o(t,e)}n.d(e,"a",(function(){return s}))},JZM8:function(t,e,n){var r=n("FfPP"),i=n("xs/l")((function(t,e){return null==t?{}:r(t,e)}));t.exports=i},JmpY:function(t,e,n){var r=n("eUgh");t.exports=function(t,e){return r(e,(function(e){return t[e]}))}},JuEJ:function(t,e,n){var r=n("bYtY"),i=n("4NO4"),o=r.each,a=r.isObject,s=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function l(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=s.length;n0},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,n){for(var r=("radial"===e.type?l:s)(t,e,n),i=e.colorStops,o=0;o=0||i&&r.indexOf(i,s)<0)){var l=e.getShallow(s);null!=l&&(o[t[a][0]]=l)}}return o}}},KMkd:function(t,e){t.exports=function(){this.__data__=[],this.size=0}},KS52:function(t,e,n){var r=n("OELB"),i=r.parsePercent,o=r.linearMap,a=n("+TT/"),s=n("u3DP"),l=n("bYtY"),c=2*Math.PI,u=Math.PI/180;t.exports=function(t,e,n,r){e.eachSeriesByType(t,(function(t){var e=t.getData(),r=e.mapDimension("value"),h=function(t,e){return a.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,n),d=t.get("center"),f=t.get("radius");l.isArray(f)||(f=[0,f]),l.isArray(d)||(d=[d,d]);var p=i(h.width,n.getWidth()),g=i(h.height,n.getHeight()),m=Math.min(p,g),v=i(d[0],p)+h.x,y=i(d[1],g)+h.y,b=i(f[0],m/2),_=i(f[1],m/2),x=-t.get("startAngle")*u,w=t.get("minAngle")*u,S=0;e.each(r,(function(t){!isNaN(t)&&S++}));var k=e.getSum(r),C=Math.PI/(k||S)*2,A=t.get("clockwise"),T=t.get("roseType"),E=t.get("stillShowZeroSum"),M=e.getDataExtent(r);M[0]=0;var D=c,I=0,O=x,P=A?1:-1;if(e.each(r,(function(t,n){var r;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:A,cx:v,cy:y,r0:b,r:T?NaN:_,viewRect:h});else{(r="area"!==T?0===k&&E?C:t*C:c/S)0;--l)if(r=e[l].dequeue()){i=i.concat(s(t,e,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(c,(function(e){return t.outEdges(e.v,e.w)})),!0)};var a=r.constant(1);function s(t,e,n,i,o){var a=o?[]:void 0;return r.forEach(t.inEdges(i.v),(function(r){var i=t.edge(r),s=t.node(r.v);o&&a.push({v:r.v,w:r.w}),s.out-=i,l(e,n,s)})),r.forEach(t.outEdges(i.v),(function(r){var i=t.edge(r),o=t.node(r.w);o.in-=i,l(e,n,o)})),t.removeNode(i.v),a}function l(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}},Kagy:function(t,e){t.exports={legend:{selector:{all:"\u5168\u9009",inverse:"\u53cd\u9009"}},toolbox:{brush:{title:{rect:"\u77e9\u5f62\u9009\u62e9",polygon:"\u5708\u9009",lineX:"\u6a2a\u5411\u9009\u62e9",lineY:"\u7eb5\u5411\u9009\u62e9",keep:"\u4fdd\u6301\u9009\u62e9",clear:"\u6e05\u9664\u9009\u62e9"}},dataView:{title:"\u6570\u636e\u89c6\u56fe",lang:["\u6570\u636e\u89c6\u56fe","\u5173\u95ed","\u5237\u65b0"]},dataZoom:{title:{zoom:"\u533a\u57df\u7f29\u653e",back:"\u533a\u57df\u7f29\u653e\u8fd8\u539f"}},magicType:{title:{line:"\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",bar:"\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",stack:"\u5207\u6362\u4e3a\u5806\u53e0",tiled:"\u5207\u6362\u4e3a\u5e73\u94fa"}},restore:{title:"\u8fd8\u539f"},saveAsImage:{title:"\u4fdd\u5b58\u4e3a\u56fe\u7247",lang:["\u53f3\u952e\u53e6\u5b58\u4e3a\u56fe\u7247"]}},series:{typeNames:{pie:"\u997c\u56fe",bar:"\u67f1\u72b6\u56fe",line:"\u6298\u7ebf\u56fe",scatter:"\u6563\u70b9\u56fe",effectScatter:"\u6d9f\u6f2a\u6563\u70b9\u56fe",radar:"\u96f7\u8fbe\u56fe",tree:"\u6811\u56fe",treemap:"\u77e9\u5f62\u6811\u56fe",boxplot:"\u7bb1\u578b\u56fe",candlestick:"K\u7ebf\u56fe",k:"K\u7ebf\u56fe",heatmap:"\u70ed\u529b\u56fe",map:"\u5730\u56fe",parallel:"\u5e73\u884c\u5750\u6807\u56fe",lines:"\u7ebf\u56fe",graph:"\u5173\u7cfb\u56fe",sankey:"\u6851\u57fa\u56fe",funnel:"\u6f0f\u6597\u56fe",gauge:"\u4eea\u8868\u76d8\u56fe",pictorialBar:"\u8c61\u5f62\u67f1\u56fe",themeRiver:"\u4e3b\u9898\u6cb3\u6d41\u56fe",sunburst:"\u65ed\u65e5\u56fe"}},aria:{general:{withTitle:"\u8fd9\u662f\u4e00\u4e2a\u5173\u4e8e\u201c{title}\u201d\u7684\u56fe\u8868\u3002",withoutTitle:"\u8fd9\u662f\u4e00\u4e2a\u56fe\u8868\uff0c"},series:{single:{prefix:"",withName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\uff0c\u8868\u793a{seriesName}\u3002",withoutName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\u3002"},multiple:{prefix:"\u5b83\u7531{seriesCount}\u4e2a\u56fe\u8868\u7cfb\u5217\u7ec4\u6210\u3002",withName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a\u8868\u793a{seriesName}\u7684{seriesType}\uff0c",withoutName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a{seriesType}\uff0c",separator:{middle:"\uff1b",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636e\u662f\u2014\u2014",partialData:"\u5176\u4e2d\uff0c\u524d{displayCnt}\u9879\u662f\u2014\u2014",withName:"{name}\u7684\u6570\u636e\u662f{value}",withoutName:"{value}",separator:{middle:"\uff0c",end:""}}}}},KamJ:function(t,e,n){var r=n("ProS"),i=n("szbU");n("vF/C"),n("qwVE"),n("BuqR"),n("AE9C"),n("1u/T"),r.registerPreprocessor(i)},KfNM:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},Kj3r:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("7o/Q"),i=n("D0XW");function o(t,e=i.a){return n=>n.lift(new a(t,e))}class a{constructor(t,e){this.dueTime=t,this.scheduler=e}call(t,e){return e.subscribe(new s(t,this.dueTime,this.scheduler))}}class s extends r.a{constructor(t,e,n){super(t),this.dueTime=e,this.scheduler=n,this.debouncedSubscription=null,this.lastValue=null,this.hasValue=!1}_next(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}_complete(){this.debouncedNext(),this.destination.complete()}debouncedNext(){if(this.clearDebounce(),this.hasValue){const{lastValue:t}=this;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}clearDebounce(){const t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}function l(t){t.debouncedNext()}},Kp9H:function(t,e,n){"use strict";var r=n("b5wT"),i=n("5jIi"),o=n("14Cm"),a=n("OOL/"),s=n("iBet"),l=n("1PPP"),c=n("F9We").Graph,u=n("tQ6r");function h(t,e,n){return r.map(e,(function(e){return s(t,e,n)}))}function d(t,e){var n=new c;r.forEach(t,(function(t){var i=t.graph().root,o=a(t,i,n,e);r.forEach(o.vs,(function(e,n){t.node(e).order=n})),l(t,n,o.vs)}))}function f(t,e){r.forEach(e,(function(e){r.forEach(e,(function(e,n){t.node(e).order=n}))}))}t.exports=function(t){var e=u.maxRank(t),n=h(t,r.range(1,e+1),"inEdges"),a=h(t,r.range(e-1,-1,-1),"outEdges"),s=i(t);f(t,s);for(var l,c=Number.POSITIVE_INFINITY,p=0,g=0;g<4;++p,++g){d(p%2?n:a,p%4>=2),s=u.buildLayerMatrix(t);var m=o(t,s);m1&&a.sort((function(t,e){var r=t.x-n.x,i=t.y-n.y,o=Math.sqrt(r*r+i*i),a=e.x-n.x,s=e.y-n.y,l=Math.sqrt(a*a+s*s);return o=200){var g=e?null:s(t);if(g)return l(g);d=!1,u=a,p=new r}else p=e?[]:f;t:for(;++c1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++r"']/g,z=RegExp(R.source),F=RegExp(N.source),B=/<%-([\s\S]+?)%>/g,V=/<%([\s\S]+?)%>/g,j=/<%=([\s\S]+?)%>/g,Y=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,U=/^\w*$/,G=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,H=/[\\^$.*+?()[\]{}|]/g,q=RegExp(H.source),W=/^\s+|\s+$/g,$=/^\s+/,Z=/\s+$/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,K=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,J=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/\\(\\)?/g,et=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nt=/\w*$/,rt=/^[-+]0x[0-9a-f]+$/i,it=/^0b[01]+$/i,ot=/^\[object .+?Constructor\]$/,at=/^0o[0-7]+$/i,st=/^(?:0|[1-9]\d*)$/,lt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ct=/($^)/,ut=/['\n\r\u2028\u2029\\]/g,ht="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",dt="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ft="["+dt+"]",pt="["+ht+"]",gt="\\d+",mt="[a-z\\xdf-\\xf6\\xf8-\\xff]",vt="[^\\ud800-\\udfff"+dt+gt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",yt="\\ud83c[\\udffb-\\udfff]",bt="[^\\ud800-\\udfff]",_t="(?:\\ud83c[\\udde6-\\uddff]){2}",xt="[\\ud800-\\udbff][\\udc00-\\udfff]",wt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",St="(?:"+mt+"|"+vt+")",kt="(?:"+wt+"|"+vt+")",Ct="(?:"+pt+"|"+yt+")?",At="[\\ufe0e\\ufe0f]?"+Ct+"(?:\\u200d(?:"+[bt,_t,xt].join("|")+")[\\ufe0e\\ufe0f]?"+Ct+")*",Tt="(?:"+["[\\u2700-\\u27bf]",_t,xt].join("|")+")"+At,Et="(?:"+[bt+pt+"?",pt,_t,xt,"[\\ud800-\\udfff]"].join("|")+")",Mt=RegExp("['\u2019]","g"),Dt=RegExp(pt,"g"),It=RegExp(yt+"(?="+yt+")|"+Et+At,"g"),Ot=RegExp([wt+"?"+mt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[ft,wt,"$"].join("|")+")",kt+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[ft,wt+St,"$"].join("|")+")",wt+"?"+St+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",wt+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gt,Tt].join("|"),"g"),Pt=RegExp("[\\u200d\\ud800-\\udfff"+ht+"\\ufe0e\\ufe0f]"),Lt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Nt=-1,zt={};zt[k]=zt[C]=zt[A]=zt[T]=zt[E]=zt[M]=zt["[object Uint8ClampedArray]"]=zt[D]=zt[I]=!0,zt[s]=zt[l]=zt[w]=zt[c]=zt[S]=zt[u]=zt[h]=zt[d]=zt[p]=zt[g]=zt[m]=zt[v]=zt[y]=zt[b]=zt[x]=!1;var Ft={};Ft[s]=Ft[l]=Ft[w]=Ft[S]=Ft[c]=Ft[u]=Ft[k]=Ft[C]=Ft[A]=Ft[T]=Ft[E]=Ft[p]=Ft[g]=Ft[m]=Ft[v]=Ft[y]=Ft[b]=Ft[_]=Ft[M]=Ft["[object Uint8ClampedArray]"]=Ft[D]=Ft[I]=!0,Ft[h]=Ft[d]=Ft[x]=!1;var Bt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Vt=parseFloat,jt=parseInt,Yt="object"==typeof global&&global&&global.Object===Object&&global,Ut="object"==typeof self&&self&&self.Object===Object&&self,Gt=Yt||Ut||Function("return this")(),Ht=e&&!e.nodeType&&e,qt=Ht&&"object"==typeof t&&t&&!t.nodeType&&t,Wt=qt&&qt.exports===Ht,$t=Wt&&Yt.process,Zt=function(){try{return qt&&qt.require&&qt.require("util").types||$t&&$t.binding&&$t.binding("util")}catch(t){}}(),Xt=Zt&&Zt.isArrayBuffer,Kt=Zt&&Zt.isDate,Qt=Zt&&Zt.isMap,Jt=Zt&&Zt.isRegExp,te=Zt&&Zt.isSet,ee=Zt&&Zt.isTypedArray;function ne(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function re(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i-1}function ce(t,e,n){for(var r=-1,i=null==t?0:t.length;++r-1;);return n}function Ie(t,e){for(var n=t.length;n--&&ye(e,t[n],0)>-1;);return n}function Oe(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var Pe=Se({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),Le=Se({"&":"&","<":"<",">":">",'"':""","'":"'"});function Re(t){return"\\"+Bt[t]}function Ne(t){return Pt.test(t)}function ze(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function Fe(t,e){return function(n){return t(e(n))}}function Be(t,e){for(var n=-1,r=t.length,i=0,a=[];++n",""":'"',"'":"'"}),He=function t(e){var n,r=(e=null==e?Gt:He.defaults(Gt.Object(),e,He.pick(Gt,Rt))).Array,ht=e.Date,dt=e.Error,ft=e.Function,pt=e.Math,gt=e.Object,mt=e.RegExp,vt=e.String,yt=e.TypeError,bt=r.prototype,_t=gt.prototype,xt=e["__core-js_shared__"],wt=ft.prototype.toString,St=_t.hasOwnProperty,kt=0,Ct=(n=/[^.]+$/.exec(xt&&xt.keys&&xt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",At=_t.toString,Tt=wt.call(gt),Et=Gt._,It=mt("^"+wt.call(St).replace(H,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Pt=Wt?e.Buffer:void 0,Bt=e.Symbol,Yt=e.Uint8Array,Ut=Pt?Pt.allocUnsafe:void 0,Ht=Fe(gt.getPrototypeOf,gt),qt=gt.create,$t=_t.propertyIsEnumerable,Zt=bt.splice,ge=Bt?Bt.isConcatSpreadable:void 0,Se=Bt?Bt.iterator:void 0,qe=Bt?Bt.toStringTag:void 0,We=function(){try{var t=Ki(gt,"defineProperty");return t({},"",{}),t}catch(e){}}(),$e=e.clearTimeout!==Gt.clearTimeout&&e.clearTimeout,Ze=ht&&ht.now!==Gt.Date.now&&ht.now,Xe=e.setTimeout!==Gt.setTimeout&&e.setTimeout,Ke=pt.ceil,Qe=pt.floor,Je=gt.getOwnPropertySymbols,tn=Pt?Pt.isBuffer:void 0,en=e.isFinite,nn=bt.join,rn=Fe(gt.keys,gt),on=pt.max,an=pt.min,sn=ht.now,ln=e.parseInt,cn=pt.random,un=bt.reverse,hn=Ki(e,"DataView"),dn=Ki(e,"Map"),fn=Ki(e,"Promise"),pn=Ki(e,"Set"),gn=Ki(e,"WeakMap"),mn=Ki(gt,"create"),vn=gn&&new gn,yn={},bn=To(hn),_n=To(dn),xn=To(fn),wn=To(pn),Sn=To(gn),kn=Bt?Bt.prototype:void 0,Cn=kn?kn.valueOf:void 0,An=kn?kn.toString:void 0;function Tn(t){if(Ga(t)&&!Pa(t)&&!(t instanceof In)){if(t instanceof Dn)return t;if(St.call(t,"__wrapped__"))return Eo(t)}return new Dn(t)}var En=function(){function t(){}return function(e){if(!Ua(e))return{};if(qt)return qt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Mn(){}function Dn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function In(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function On(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function Zn(t,e,n,r,i,o){var a,l=1&e,h=2&e,x=4&e;if(n&&(a=i?n(t,r,i,o):n(t)),void 0!==a)return a;if(!Ua(t))return t;var O=Pa(t);if(O){if(a=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&St.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return gi(t,a)}else{var P=to(t),L=P==d||P==f;if(za(t))return ci(t,l);if(P==m||P==s||L&&!i){if(a=h||L?{}:no(t),!l)return h?function(t,e){return mi(t,Ji(t),e)}(t,function(t,e){return t&&mi(e,xs(e),t)}(a,t)):function(t,e){return mi(t,Qi(t),e)}(t,Hn(a,t))}else{if(!Ft[P])return i?t:{};a=function(t,e,n){var r=t.constructor;switch(e){case w:return ui(t);case c:case u:return new r(+t);case S:return function(t,e){var n=e?ui(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case k:case C:case A:case T:case E:case M:case"[object Uint8ClampedArray]":case D:case I:return hi(t,n);case p:return new r;case g:case b:return new r(t);case v:return function(t){var e=new t.constructor(t.source,nt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case y:return new r;case _:return Cn?gt(Cn.call(t)):{}}}(t,P,l)}}o||(o=new Nn);var R=o.get(t);if(R)return R;o.set(t,a),Za(t)?t.forEach((function(r){a.add(Zn(r,e,n,r,t,o))})):Ha(t)&&t.forEach((function(r,i){a.set(i,Zn(r,e,n,i,t,o))}));var N=O?void 0:(x?h?Gi:Ui:h?xs:_s)(t);return ie(N||t,(function(r,i){N&&(r=t[i=r]),Yn(a,i,Zn(r,e,n,i,t,o))})),a}function Xn(t,e,n){var r=n.length;if(null==t)return!r;for(t=gt(t);r--;){var i=n[r],o=t[i];if(void 0===o&&!(i in t)||!(0,e[i])(o))return!1}return!0}function Kn(t,e,n){if("function"!=typeof t)throw new yt(i);return yo((function(){t.apply(void 0,n)}),e)}function Qn(t,e,n,r){var i=-1,o=le,a=!0,s=t.length,l=[],c=e.length;if(!s)return l;n&&(e=ue(e,Te(n))),r?(o=ce,a=!1):e.length>=200&&(o=Me,a=!1,e=new Rn(e));t:for(;++i-1},Pn.prototype.set=function(t,e){var n=this.__data__,r=Un(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Ln.prototype.clear=function(){this.size=0,this.__data__={hash:new On,map:new(dn||Pn),string:new On}},Ln.prototype.delete=function(t){var e=Zi(this,t).delete(t);return this.size-=e?1:0,e},Ln.prototype.get=function(t){return Zi(this,t).get(t)},Ln.prototype.has=function(t){return Zi(this,t).has(t)},Ln.prototype.set=function(t,e){var n=Zi(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Rn.prototype.add=Rn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Rn.prototype.has=function(t){return this.__data__.has(t)},Nn.prototype.clear=function(){this.__data__=new Pn,this.size=0},Nn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Nn.prototype.get=function(t){return this.__data__.get(t)},Nn.prototype.has=function(t){return this.__data__.has(t)},Nn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Pn){var r=n.__data__;if(!dn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Ln(r)}return n.set(t,e),this.size=n.size,this};var Jn=bi(sr),tr=bi(lr,!0);function er(t,e){var n=!0;return Jn(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function nr(t,e,n){for(var r=-1,i=t.length;++r0&&n(s)?e>1?ir(s,e-1,n,r,i):he(i,s):r||(i[i.length]=s)}return i}var or=_i(),ar=_i(!0);function sr(t,e){return t&&or(t,e,_s)}function lr(t,e){return t&&ar(t,e,_s)}function cr(t,e){return se(e,(function(e){return Va(t[e])}))}function ur(t,e){for(var n=0,r=(e=oi(e,t)).length;null!=t&&ne}function pr(t,e){return null!=t&&St.call(t,e)}function gr(t,e){return null!=t&&e in gt(t)}function mr(t,e,n){for(var i=n?ce:le,o=t[0].length,a=t.length,s=a,l=r(a),c=1/0,u=[];s--;){var h=t[s];s&&e&&(h=ue(h,Te(e))),c=an(h.length,c),l[s]=!n&&(e||o>=120&&h.length>=120)?new Rn(s&&h):void 0}h=t[0];var d=-1,f=l[0];t:for(;++d=s?l:l*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}));r--;)t[r]=t[r].value;return t}(Cr(t,(function(t,n,i){return{criteria:ue(e,(function(e){return e(t)})),index:++r,value:t}})))}function Ir(t,e,n){for(var r=-1,i=e.length,o={};++r-1;)s!==t&&Zt.call(s,l,1),Zt.call(t,l,1);return t}function Pr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;io(i)?Zt.call(t,i,1):Kr(t,i)}}return t}function Lr(t,e){return t+Qe(cn()*(e-t+1))}function Rr(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=Qe(e/2))&&(t+=t)}while(e);return n}function Nr(t,e){return bo(fo(t,e,qs),t+"")}function zr(t){return Fn(Ms(t))}function Fr(t,e){var n=Ms(t);return wo(n,$n(e,0,n.length))}function Br(t,e,n,r){if(!Ua(t))return t;for(var i=-1,o=(e=oi(e,t)).length,a=o-1,s=t;null!=s&&++io?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var a=r(o);++i>>1,a=t[o];null!==a&&!Ka(a)&&(n?a<=e:a=200){var c=e?null:Ri(t);if(c)return Ve(c);a=!1,i=Me,l=new Rn}else l=e?[]:s;t:for(;++r=r?t:Ur(t,e,n)}var li=$e||function(t){return Gt.clearTimeout(t)};function ci(t,e){if(e)return t.slice();var n=t.length,r=Ut?Ut(n):new t.constructor(n);return t.copy(r),r}function ui(t){var e=new t.constructor(t.byteLength);return new Yt(e).set(new Yt(t)),e}function hi(t,e){var n=e?ui(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function di(t,e){if(t!==e){var n=void 0!==t,r=null===t,i=t==t,o=Ka(t),a=void 0!==e,s=null===e,l=e==e,c=Ka(e);if(!s&&!c&&!o&&t>e||o&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!i)return 1;if(!r&&!o&&!c&&t1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,a&&oo(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),e=gt(e);++r-1?i[o?e[a]:a]:void 0}}function Ci(t){return Yi((function(e){var n=e.length,r=n,o=Dn.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new yt(i);if(o&&!s&&"wrapper"==qi(a))var s=new Dn([],!0)}for(r=s?r:n;++r1&&b.reverse(),h&&cs))return!1;var c=o.get(t);if(c&&o.get(e))return c==e;var u=-1,h=!0,d=2&n?new Rn:void 0;for(o.set(t,e),o.set(e,t);++u-1&&t%1==0&&t1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(X,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return ie(a,(function(n){var r="_."+n[0];e&n[1]&&!le(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(K);return e?e[1].split(Q):[]}(r),n)))}function xo(t){var e=0,n=0;return function(){var r=sn(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function wo(t,e){var n=-1,r=t.length,i=r-1;for(e=void 0===e?r:e;++n1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,$o(t,n)}));function ea(t){var e=Tn(t);return e.__chain__=!0,e}function na(t,e){return e(t)}var ra=Yi((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return Wn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof In&&io(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:na,args:[i],thisArg:void 0}),new Dn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(i)})),ia=vi((function(t,e,n){St.call(t,n)?++t[n]:qn(t,n,1)})),oa=ki(Oo),aa=ki(Po);function sa(t,e){return(Pa(t)?ie:Jn)(t,$i(e,3))}function la(t,e){return(Pa(t)?oe:tr)(t,$i(e,3))}var ca=vi((function(t,e,n){St.call(t,n)?t[n].push(e):qn(t,n,[e])})),ua=Nr((function(t,e,n){var i=-1,o="function"==typeof e,a=Ra(t)?r(t.length):[];return Jn(t,(function(t){a[++i]=o?ne(e,t,n):vr(t,e,n)})),a})),ha=vi((function(t,e,n){qn(t,n,e)}));function da(t,e){return(Pa(t)?ue:Cr)(t,$i(e,3))}var fa=vi((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),pa=Nr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&oo(t,e[0],e[1])?e=[]:n>2&&oo(e[0],e[1],e[2])&&(e=[e[0]]),Dr(t,ir(e,1),[])})),ga=Ze||function(){return Gt.Date.now()};function ma(t,e,n){return e=n?void 0:e,zi(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function va(t,e){var n;if("function"!=typeof e)throw new yt(i);return t=rs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var ya=Nr((function(t,e,n){var r=1;if(n.length){var i=Be(n,Wi(ya));r|=32}return zi(t,r,e,n,i)})),ba=Nr((function(t,e,n){var r=3;if(n.length){var i=Be(n,Wi(ba));r|=32}return zi(e,r,t,n,i)}));function _a(t,e,n){var r,o,a,s,l,c,u=0,h=!1,d=!1,f=!0;if("function"!=typeof t)throw new yt(i);function p(e){var n=r,i=o;return r=o=void 0,u=e,s=t.apply(i,n)}function g(t){return u=t,l=yo(v,e),h?p(t):s}function m(t){var n=t-c;return void 0===c||n>=e||n<0||d&&t-u>=a}function v(){var t=ga();if(m(t))return y(t);l=yo(v,function(t){var n=e-(t-c);return d?an(n,a-(t-u)):n}(t))}function y(t){return l=void 0,f&&r?p(t):(r=o=void 0,s)}function b(){var t=ga(),n=m(t);if(r=arguments,o=this,c=t,n){if(void 0===l)return g(c);if(d)return li(l),l=yo(v,e),p(c)}return void 0===l&&(l=yo(v,e)),s}return e=os(e)||0,Ua(n)&&(h=!!n.leading,a=(d="maxWait"in n)?on(os(n.maxWait)||0,e):a,f="trailing"in n?!!n.trailing:f),b.cancel=function(){void 0!==l&&li(l),u=0,r=c=o=l=void 0},b.flush=function(){return void 0===l?s:y(ga())},b}var xa=Nr((function(t,e){return Kn(t,1,e)})),wa=Nr((function(t,e,n){return Kn(t,os(e)||0,n)}));function Sa(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new yt(i);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=t.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(Sa.Cache||Ln),n}function ka(t){if("function"!=typeof t)throw new yt(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}Sa.Cache=Ln;var Ca=ai((function(t,e){var n=(e=1==e.length&&Pa(e[0])?ue(e[0],Te($i())):ue(ir(e,1),Te($i()))).length;return Nr((function(r){for(var i=-1,o=an(r.length,n);++i=e})),Oa=yr(function(){return arguments}())?yr:function(t){return Ga(t)&&St.call(t,"callee")&&!$t.call(t,"callee")},Pa=r.isArray,La=Xt?Te(Xt):function(t){return Ga(t)&&dr(t)==w};function Ra(t){return null!=t&&Ya(t.length)&&!Va(t)}function Na(t){return Ga(t)&&Ra(t)}var za=tn||ol,Fa=Kt?Te(Kt):function(t){return Ga(t)&&dr(t)==u};function Ba(t){if(!Ga(t))return!1;var e=dr(t);return e==h||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Wa(t)}function Va(t){if(!Ua(t))return!1;var e=dr(t);return e==d||e==f||"[object AsyncFunction]"==e||"[object Proxy]"==e}function ja(t){return"number"==typeof t&&t==rs(t)}function Ya(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Ua(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ga(t){return null!=t&&"object"==typeof t}var Ha=Qt?Te(Qt):function(t){return Ga(t)&&to(t)==p};function qa(t){return"number"==typeof t||Ga(t)&&dr(t)==g}function Wa(t){if(!Ga(t)||dr(t)!=m)return!1;var e=Ht(t);if(null===e)return!0;var n=St.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&wt.call(n)==Tt}var $a=Jt?Te(Jt):function(t){return Ga(t)&&dr(t)==v},Za=te?Te(te):function(t){return Ga(t)&&to(t)==y};function Xa(t){return"string"==typeof t||!Pa(t)&&Ga(t)&&dr(t)==b}function Ka(t){return"symbol"==typeof t||Ga(t)&&dr(t)==_}var Qa=ee?Te(ee):function(t){return Ga(t)&&Ya(t.length)&&!!zt[dr(t)]},Ja=Oi(kr),ts=Oi((function(t,e){return t<=e}));function es(t){if(!t)return[];if(Ra(t))return Xa(t)?Ue(t):gi(t);if(Se&&t[Se])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Se]());var e=to(t);return(e==p?ze:e==y?Ve:Ms)(t)}function ns(t){return t?(t=os(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function rs(t){var e=ns(t),n=e%1;return e==e?n?e-n:e:0}function is(t){return t?$n(rs(t),0,4294967295):0}function os(t){if("number"==typeof t)return t;if(Ka(t))return NaN;if(Ua(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ua(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(W,"");var n=it.test(t);return n||at.test(t)?jt(t.slice(2),n?2:8):rt.test(t)?NaN:+t}function as(t){return mi(t,xs(t))}function ss(t){return null==t?"":Zr(t)}var ls=yi((function(t,e){if(co(e)||Ra(e))mi(e,_s(e),t);else for(var n in e)St.call(e,n)&&Yn(t,n,e[n])})),cs=yi((function(t,e){mi(e,xs(e),t)})),us=yi((function(t,e,n,r){mi(e,xs(e),t,r)})),hs=yi((function(t,e,n,r){mi(e,_s(e),t,r)})),ds=Yi(Wn),fs=Nr((function(t,e){t=gt(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&oo(e[0],e[1],i)&&(r=1);++n1),e})),mi(t,Gi(t),n),r&&(n=Zn(n,7,Vi));for(var i=e.length;i--;)Kr(n,e[i]);return n})),Cs=Yi((function(t,e){return null==t?{}:function(t,e){return Ir(t,e,(function(e,n){return ms(t,n)}))}(t,e)}));function As(t,e){if(null==t)return{};var n=ue(Gi(t),(function(t){return[t]}));return e=$i(e),Ir(t,n,(function(t,n){return e(t,n[0])}))}var Ts=Ni(_s),Es=Ni(xs);function Ms(t){return null==t?[]:Ee(t,_s(t))}var Ds=wi((function(t,e,n){return e=e.toLowerCase(),t+(n?Is(e):e)}));function Is(t){return Bs(ss(t).toLowerCase())}function Os(t){return(t=ss(t))&&t.replace(lt,Pe).replace(Dt,"")}var Ps=wi((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ls=wi((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Rs=xi("toLowerCase"),Ns=wi((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),zs=wi((function(t,e,n){return t+(n?" ":"")+Bs(e)})),Fs=wi((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Bs=xi("toUpperCase");function Vs(t,e,n){return t=ss(t),void 0===(e=n?void 0:e)?function(t){return Lt.test(t)}(t)?function(t){return t.match(Ot)||[]}(t):function(t){return t.match(J)||[]}(t):t.match(e)||[]}var js=Nr((function(t,e){try{return ne(t,void 0,e)}catch(n){return Ba(n)?n:new dt(n)}})),Ys=Yi((function(t,e){return ie(e,(function(e){e=Ao(e),qn(t,e,ya(t[e],t))})),t}));function Us(t){return function(){return t}}var Gs=Ci(),Hs=Ci(!0);function qs(t){return t}function Ws(t){return wr("function"==typeof t?t:Zn(t,1))}var $s=Nr((function(t,e){return function(n){return vr(n,t,e)}})),Zs=Nr((function(t,e){return function(n){return vr(t,n,e)}}));function Xs(t,e,n){var r=_s(e),i=cr(e,r);null!=n||Ua(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=cr(e,_s(e)));var o=!(Ua(n)&&"chain"in n&&!n.chain),a=Va(t);return ie(i,(function(n){var r=e[n];t[n]=r,a&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__),i=n.__actions__=gi(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,he([this.value()],arguments))})})),t}function Ks(){}var Qs=Mi(ue),Js=Mi(ae),tl=Mi(pe);function el(t){return ao(t)?we(Ao(t)):function(t){return function(e){return ur(e,t)}}(t)}var nl=Ii(),rl=Ii(!0);function il(){return[]}function ol(){return!1}var al,sl=Ei((function(t,e){return t+e}),0),ll=Li("ceil"),cl=Ei((function(t,e){return t/e}),1),ul=Li("floor"),hl=Ei((function(t,e){return t*e}),1),dl=Li("round"),fl=Ei((function(t,e){return t-e}),0);return Tn.after=function(t,e){if("function"!=typeof e)throw new yt(i);return t=rs(t),function(){if(--t<1)return e.apply(this,arguments)}},Tn.ary=ma,Tn.assign=ls,Tn.assignIn=cs,Tn.assignInWith=us,Tn.assignWith=hs,Tn.at=ds,Tn.before=va,Tn.bind=ya,Tn.bindAll=Ys,Tn.bindKey=ba,Tn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Pa(t)?t:[t]},Tn.chain=ea,Tn.chunk=function(t,e,n){e=(n?oo(t,e,n):void 0===e)?1:on(rs(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var o=0,a=0,s=r(Ke(i/e));oi?0:i+n),(r=void 0===r||r>i?i:rs(r))<0&&(r+=i),r=n>r?0:is(r);n>>0)?(t=ss(t))&&("string"==typeof e||null!=e&&!$a(e))&&!(e=Zr(e))&&Ne(t)?si(Ue(t),0,n):t.split(e,n):[]},Tn.spread=function(t,e){if("function"!=typeof t)throw new yt(i);return e=null==e?0:on(rs(e),0),Nr((function(n){var r=n[e],i=si(n,0,e);return r&&he(i,r),ne(t,this,i)}))},Tn.tail=function(t){var e=null==t?0:t.length;return e?Ur(t,1,e):[]},Tn.take=function(t,e,n){return t&&t.length?Ur(t,0,(e=n||void 0===e?1:rs(e))<0?0:e):[]},Tn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Ur(t,(e=r-(e=n||void 0===e?1:rs(e)))<0?0:e,r):[]},Tn.takeRightWhile=function(t,e){return t&&t.length?Jr(t,$i(e,3),!1,!0):[]},Tn.takeWhile=function(t,e){return t&&t.length?Jr(t,$i(e,3)):[]},Tn.tap=function(t,e){return e(t),t},Tn.throttle=function(t,e,n){var r=!0,o=!0;if("function"!=typeof t)throw new yt(i);return Ua(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),_a(t,e,{leading:r,maxWait:e,trailing:o})},Tn.thru=na,Tn.toArray=es,Tn.toPairs=Ts,Tn.toPairsIn=Es,Tn.toPath=function(t){return Pa(t)?ue(t,Ao):Ka(t)?[t]:gi(Co(ss(t)))},Tn.toPlainObject=as,Tn.transform=function(t,e,n){var r=Pa(t),i=r||za(t)||Qa(t);if(e=$i(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:Ua(t)&&Va(o)?En(Ht(t)):{}}return(i?ie:sr)(t,(function(t,r,i){return e(n,t,r,i)})),n},Tn.unary=function(t){return ma(t,1)},Tn.union=Go,Tn.unionBy=Ho,Tn.unionWith=qo,Tn.uniq=function(t){return t&&t.length?Xr(t):[]},Tn.uniqBy=function(t,e){return t&&t.length?Xr(t,$i(e,2)):[]},Tn.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Xr(t,void 0,e):[]},Tn.unset=function(t,e){return null==t||Kr(t,e)},Tn.unzip=Wo,Tn.unzipWith=$o,Tn.update=function(t,e,n){return null==t?t:Qr(t,e,ii(n))},Tn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:Qr(t,e,ii(n),r)},Tn.values=Ms,Tn.valuesIn=function(t){return null==t?[]:Ee(t,xs(t))},Tn.without=Zo,Tn.words=Vs,Tn.wrap=function(t,e){return Aa(ii(e),t)},Tn.xor=Xo,Tn.xorBy=Ko,Tn.xorWith=Qo,Tn.zip=Jo,Tn.zipObject=function(t,e){return ni(t||[],e||[],Yn)},Tn.zipObjectDeep=function(t,e){return ni(t||[],e||[],Br)},Tn.zipWith=ta,Tn.entries=Ts,Tn.entriesIn=Es,Tn.extend=cs,Tn.extendWith=us,Xs(Tn,Tn),Tn.add=sl,Tn.attempt=js,Tn.camelCase=Ds,Tn.capitalize=Is,Tn.ceil=ll,Tn.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=os(n))==n?n:0),void 0!==e&&(e=(e=os(e))==e?e:0),$n(os(t),e,n)},Tn.clone=function(t){return Zn(t,4)},Tn.cloneDeep=function(t){return Zn(t,5)},Tn.cloneDeepWith=function(t,e){return Zn(t,5,e="function"==typeof e?e:void 0)},Tn.cloneWith=function(t,e){return Zn(t,4,e="function"==typeof e?e:void 0)},Tn.conformsTo=function(t,e){return null==e||Xn(t,e,_s(e))},Tn.deburr=Os,Tn.defaultTo=function(t,e){return null==t||t!=t?e:t},Tn.divide=cl,Tn.endsWith=function(t,e,n){t=ss(t),e=Zr(e);var r=t.length,i=n=void 0===n?r:$n(rs(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},Tn.eq=Ma,Tn.escape=function(t){return(t=ss(t))&&F.test(t)?t.replace(N,Le):t},Tn.escapeRegExp=function(t){return(t=ss(t))&&q.test(t)?t.replace(H,"\\$&"):t},Tn.every=function(t,e,n){var r=Pa(t)?ae:er;return n&&oo(t,e,n)&&(e=void 0),r(t,$i(e,3))},Tn.find=oa,Tn.findIndex=Oo,Tn.findKey=function(t,e){return me(t,$i(e,3),sr)},Tn.findLast=aa,Tn.findLastIndex=Po,Tn.findLastKey=function(t,e){return me(t,$i(e,3),lr)},Tn.floor=ul,Tn.forEach=sa,Tn.forEachRight=la,Tn.forIn=function(t,e){return null==t?t:or(t,$i(e,3),xs)},Tn.forInRight=function(t,e){return null==t?t:ar(t,$i(e,3),xs)},Tn.forOwn=function(t,e){return t&&sr(t,$i(e,3))},Tn.forOwnRight=function(t,e){return t&&lr(t,$i(e,3))},Tn.get=gs,Tn.gt=Da,Tn.gte=Ia,Tn.has=function(t,e){return null!=t&&eo(t,e,pr)},Tn.hasIn=ms,Tn.head=Ro,Tn.identity=qs,Tn.includes=function(t,e,n,r){t=Ra(t)?t:Ms(t),n=n&&!r?rs(n):0;var i=t.length;return n<0&&(n=on(i+n,0)),Xa(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&ye(t,e,n)>-1},Tn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:rs(n);return i<0&&(i=on(r+i,0)),ye(t,e,i)},Tn.inRange=function(t,e,n){return e=ns(e),void 0===n?(n=e,e=0):n=ns(n),function(t,e,n){return t>=an(e,n)&&t=-9007199254740991&&t<=9007199254740991},Tn.isSet=Za,Tn.isString=Xa,Tn.isSymbol=Ka,Tn.isTypedArray=Qa,Tn.isUndefined=function(t){return void 0===t},Tn.isWeakMap=function(t){return Ga(t)&&to(t)==x},Tn.isWeakSet=function(t){return Ga(t)&&"[object WeakSet]"==dr(t)},Tn.join=function(t,e){return null==t?"":nn.call(t,e)},Tn.kebabCase=Ps,Tn.last=Bo,Tn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=rs(n))<0?on(r+i,0):an(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):ve(t,_e,i,!0)},Tn.lowerCase=Ls,Tn.lowerFirst=Rs,Tn.lt=Ja,Tn.lte=ts,Tn.max=function(t){return t&&t.length?nr(t,qs,fr):void 0},Tn.maxBy=function(t,e){return t&&t.length?nr(t,$i(e,2),fr):void 0},Tn.mean=function(t){return xe(t,qs)},Tn.meanBy=function(t,e){return xe(t,$i(e,2))},Tn.min=function(t){return t&&t.length?nr(t,qs,kr):void 0},Tn.minBy=function(t,e){return t&&t.length?nr(t,$i(e,2),kr):void 0},Tn.stubArray=il,Tn.stubFalse=ol,Tn.stubObject=function(){return{}},Tn.stubString=function(){return""},Tn.stubTrue=function(){return!0},Tn.multiply=hl,Tn.nth=function(t,e){return t&&t.length?Mr(t,rs(e)):void 0},Tn.noConflict=function(){return Gt._===this&&(Gt._=Et),this},Tn.noop=Ks,Tn.now=ga,Tn.pad=function(t,e,n){t=ss(t);var r=(e=rs(e))?Ye(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Di(Qe(i),n)+t+Di(Ke(i),n)},Tn.padEnd=function(t,e,n){t=ss(t);var r=(e=rs(e))?Ye(t):0;return e&&re){var r=t;t=e,e=r}if(n||t%1||e%1){var i=cn();return an(t+i*(e-t+Vt("1e-"+((i+"").length-1))),e)}return Lr(t,e)},Tn.reduce=function(t,e,n){var r=Pa(t)?de:ke,i=arguments.length<3;return r(t,$i(e,4),n,i,Jn)},Tn.reduceRight=function(t,e,n){var r=Pa(t)?fe:ke,i=arguments.length<3;return r(t,$i(e,4),n,i,tr)},Tn.repeat=function(t,e,n){return e=(n?oo(t,e,n):void 0===e)?1:rs(e),Rr(ss(t),e)},Tn.replace=function(){var t=arguments,e=ss(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Tn.result=function(t,e,n){var r=-1,i=(e=oi(e,t)).length;for(i||(i=1,t=void 0);++r9007199254740991)return[];var n=4294967295,r=an(t,4294967295);t-=4294967295;for(var i=Ae(r,e=$i(e));++n=o)return t;var s=n-Ye(r);if(s<1)return r;var l=a?si(a,0,s).join(""):t.slice(0,s);if(void 0===i)return l+r;if(a&&(s+=l.length-s),$a(i)){if(t.slice(s).search(i)){var c,u=l;for(i.global||(i=mt(i.source,ss(nt.exec(i))+"g")),i.lastIndex=0;c=i.exec(u);)var h=c.index;l=l.slice(0,void 0===h?s:h)}}else if(t.indexOf(Zr(i),s)!=s){var d=l.lastIndexOf(i);d>-1&&(l=l.slice(0,d))}return l+r},Tn.unescape=function(t){return(t=ss(t))&&z.test(t)?t.replace(R,Ge):t},Tn.uniqueId=function(t){var e=++kt;return ss(t)+e},Tn.upperCase=Fs,Tn.upperFirst=Bs,Tn.each=sa,Tn.eachRight=la,Tn.first=Ro,Xs(Tn,(al={},sr(Tn,(function(t,e){St.call(Tn.prototype,e)||(al[e]=t)})),al),{chain:!1}),Tn.VERSION="4.17.15",ie(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Tn[t].placeholder=Tn})),ie(["drop","take"],(function(t,e){In.prototype[t]=function(n){n=void 0===n?1:on(rs(n),0);var r=this.__filtered__&&!e?new In(this):this.clone();return r.__filtered__?r.__takeCount__=an(n,r.__takeCount__):r.__views__.push({size:an(n,4294967295),type:t+(r.__dir__<0?"Right":"")}),r},In.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),ie(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;In.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:$i(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),ie(["head","last"],(function(t,e){var n="take"+(e?"Right":"");In.prototype[t]=function(){return this[n](1).value()[0]}})),ie(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");In.prototype[t]=function(){return this.__filtered__?new In(this):this[n](1)}})),In.prototype.compact=function(){return this.filter(qs)},In.prototype.find=function(t){return this.filter(t).head()},In.prototype.findLast=function(t){return this.reverse().find(t)},In.prototype.invokeMap=Nr((function(t,e){return"function"==typeof t?new In(this):this.map((function(n){return vr(n,t,e)}))})),In.prototype.reject=function(t){return this.filter(ka($i(t)))},In.prototype.slice=function(t,e){t=rs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new In(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=rs(e))<0?n.dropRight(-e):n.take(e-t)),n)},In.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},In.prototype.toArray=function(){return this.take(4294967295)},sr(In.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=Tn[r?"take"+("last"==e?"Right":""):e],o=r||/^find/.test(e);i&&(Tn.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,s=e instanceof In,l=a[0],c=s||Pa(e),u=function(t){var e=i.apply(Tn,he([t],a));return r&&h?e[0]:e};c&&n&&"function"==typeof l&&1!=l.length&&(s=c=!1);var h=this.__chain__,d=!!this.__actions__.length,f=o&&!h,p=s&&!d;if(!o&&c){e=p?e:new In(this);var g=t.apply(e,a);return g.__actions__.push({func:na,args:[u],thisArg:void 0}),new Dn(g,h)}return f&&p?t.apply(this,a):(g=this.thru(u),f?r?g.value()[0]:g.value():g)})})),ie(["pop","push","shift","sort","splice","unshift"],(function(t){var e=bt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Tn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Pa(i)?i:[],t)}return this[n]((function(n){return e.apply(Pa(n)?n:[],t)}))}})),sr(In.prototype,(function(t,e){var n=Tn[e];if(n){var r=n.name+"";St.call(yn,r)||(yn[r]=[]),yn[r].push({name:e,func:n})}})),yn[Ai(void 0,2).name]=[{name:"wrapper",func:void 0}],In.prototype.clone=function(){var t=new In(this.__wrapped__);return t.__actions__=gi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=gi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=gi(this.__views__),t},In.prototype.reverse=function(){if(this.__filtered__){var t=new In(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},In.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Pa(t),r=e<0,i=n?t.length:0,o=function(t,e,n){for(var r=-1,i=n.length;++r=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Tn.prototype.plant=function(t){for(var e,n=this;n instanceof Mn;){var r=Eo(n);r.__index__=0,r.__values__=void 0,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},Tn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof In){var e=t;return this.__actions__.length&&(e=new In(this)),(e=e.reverse()).__actions__.push({func:na,args:[Uo],thisArg:void 0}),new Dn(e,this.__chain__)}return this.thru(Uo)},Tn.prototype.toJSON=Tn.prototype.valueOf=Tn.prototype.value=function(){return ti(this.__wrapped__,this.__actions__)},Tn.prototype.first=Tn.prototype.head,Se&&(Tn.prototype[Se]=function(){return this}),Tn}();Gt._=He,void 0===(r=(function(){return He}).call(e,n,e,t))||(t.exports=r)}).call(this)}).call(this,n("YuTi")(t))},Lw2E:function(t,e,n){var r={"./locale":"wCDk","./locale.js":"wCDk"};function i(t){var e=o(t);return n(e)}function o(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=o,t.exports=i,i.id="Lw2E"},LzGr:function(t,e,n){var r=n("ProS"),i=n("rnVJ");n("EMyp"),n("8x+h"),n("wt3j"),n("uOyE"),n("/stD"),r.registerPreprocessor(i)},M96O:function(t,e,n){var r;try{r={clone:n("uM7l"),constant:n("cvCv"),each:n("xkGU"),filter:n("k4Da"),has:n("OFL0"),isArray:n("Z0cm"),isEmpty:n("E+oP"),isFunction:n("lSCD"),isUndefined:n("TP7S"),keys:n("7GkX"),map:n("3WF5"),reduce:n("xaJk"),size:n("1iNE"),transform:n("UMpK"),union:n("v8eK"),values:n("P/G1")}}catch(i){}r||(r=window._),t.exports=r},MBQ8:function(t,e,n){var r=n("T4UG"),i=n("MwEJ"),o=r.extend({type:"series.__base_bar__",getInitialData:function(t,e){return i(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var n=e.dataToPoint(e.clampData(t)),r=this.getData(),i=r.getLayout("offset"),o=r.getLayout("size");return n[e.getBaseAxis().isHorizontal()?0:1]+=i+o/2,n}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});t.exports=o},MEGo:function(t,e,n){var r=n("4fz+"),i=n("Dagg"),o=n("dqUG"),a=n("2fw6"),s=n("x6Kt"),l=n("rmlV"),c=n("yxFR"),u=n("y+Vt"),h=n("h7HQ"),d=n("1Jh7"),f=n("SKnc"),p=n("K2GJ"),g=n("Fofx"),m=n("NC18").createFromString,v=n("bYtY"),y=v.isString,b=v.extend,_=v.defaults,x=v.trim,w=v.each,S=/[\s,]+/;function k(t){for(y(t)&&(t=(new DOMParser).parseFromString(t,"text/xml")),9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}function C(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}C.prototype.parse=function(t,e){e=e||{};var n=k(t);if(!n)throw new Error("Illegal svg");var i=new r;this._root=i;var o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),l=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(l)&&(l=null),I(n,i,null,!0);for(var c,u,h=n.firstChild;h;)this._parseNode(h,i),h=h.nextSibling;if(o){var d=x(o).split(S);d.length>=4&&(c={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(c&&null!=a&&null!=l&&(u=N(c,a,l),!e.ignoreViewBox)){var f=i;(i=new r).add(f),f.scale=u.scale.slice(),f.position=u.position.slice()}return e.ignoreRootClip||null==a||null==l||i.setClipPath(new s({shape:{x:0,y:0,width:a,height:l}})),{root:i,width:a,height:l,viewBoxRect:c,viewBoxTransform:u}},C.prototype._parseNode=function(t,e){var n,r,i=t.nodeName.toLowerCase();if("defs"===i?this._isDefine=!0:"text"===i&&(this._isText=!0),this._isDefine){if(r=T[i]){var o=r.call(this,t),a=t.getAttribute("id");a&&(this._defs[a]=o)}}else(r=A[i])&&(n=r.call(this,t,e),e.add(n));for(var s=t.firstChild;s;)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===i?this._isDefine=!1:"text"===i&&(this._isText=!1)},C.prototype._parseText=function(t,e){if(1===t.nodeType){var n=t.getAttribute("dx")||0,r=t.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(r)}var i=new o({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});E(e,i),I(t,i,this._defs);var a=i.style.fontSize;a&&a<9&&(i.style.fontSize=9,i.scale=i.scale||[1,1],i.scale[0]*=a/9,i.scale[1]*=a/9);var s=i.getBoundingRect();return this._textX+=s.width,e.add(i),i};var A={g:function(t,e){var n=new r;return E(e,n),I(t,n,this._defs),n},rect:function(t,e){var n=new s;return E(e,n),I(t,n,this._defs),n.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),n},circle:function(t,e){var n=new a;return E(e,n),I(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),n},line:function(t,e){var n=new c;return E(e,n),I(t,n,this._defs),n.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),n},ellipse:function(t,e){var n=new l;return E(e,n),I(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),n},polygon:function(t,e){var n=t.getAttribute("points");n&&(n=M(n));var r=new h({shape:{points:n||[]}});return E(e,r),I(t,r,this._defs),r},polyline:function(t,e){var n=new u;E(e,n),I(t,n,this._defs);var r=t.getAttribute("points");return r&&(r=M(r)),new d({shape:{points:r||[]}})},image:function(t,e){var n=new i;return E(e,n),I(t,n,this._defs),n.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),n},text:function(t,e){var n=t.getAttribute("x")||0,i=t.getAttribute("y")||0,o=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(o),this._textY=parseFloat(i)+parseFloat(a);var s=new r;return E(e,s),I(t,s,this._defs),s},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var o=t.getAttribute("dx")||0,a=t.getAttribute("dy")||0,s=new r;return E(e,s),I(t,s,this._defs),this._textX+=o,this._textY+=a,s},path:function(t,e){var n=t.getAttribute("d")||"",r=m(n);return E(e,r),I(t,r,this._defs),r}},T={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),n=parseInt(t.getAttribute("y1")||0,10),r=parseInt(t.getAttribute("x2")||10,10),i=parseInt(t.getAttribute("y2")||0,10),o=new f(e,n,r,i);return function(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType){var r=n.getAttribute("offset");r=r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var i=n.getAttribute("stop-color")||"#000000";e.addColorStop(r,i)}n=n.nextSibling}}(t,o),o},radialgradient:function(t){}};function E(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),_(e.__inheritedStyle,t.__inheritedStyle))}function M(t){for(var e=x(t).split(S),n=[],r=0;r0;o-=2){var a=i[o],s=i[o-1];switch(r=r||g.create(),s){case"translate":a=x(a).split(S),g.translate(r,r,[parseFloat(a[0]),parseFloat(a[1]||0)]);break;case"scale":a=x(a).split(S),g.scale(r,r,[parseFloat(a[0]),parseFloat(a[1]||a[0])]);break;case"rotate":a=x(a).split(S),g.rotate(r,r,parseFloat(a[0]));break;case"skew":a=x(a).split(S),console.warn("Skew transform is not supported yet");break;case"matrix":a=x(a).split(S),r[0]=parseFloat(a[0]),r[1]=parseFloat(a[1]),r[2]=parseFloat(a[2]),r[3]=parseFloat(a[3]),r[4]=parseFloat(a[4]),r[5]=parseFloat(a[5])}}e.setLocalTransform(r)}}(t,e),b(i,function(t){var e=t.getAttribute("style"),n={};if(!e)return n;var r,i={};for(R.lastIndex=0;null!=(r=R.exec(e));)i[r[1]]=r[2];for(var o in D)D.hasOwnProperty(o)&&null!=i[o]&&(n[D[o]]=i[o]);return n}(t)),!r))for(var a in D)if(D.hasOwnProperty(a)){var s=t.getAttribute(a);null!=s&&(i[D[a]]=s)}var l=o?"textFill":"fill",c=o?"textStroke":"stroke";e.style=e.style||new p;var u=e.style;null!=i.fill&&u.set(l,P(i.fill,n)),null!=i.stroke&&u.set(c,P(i.stroke,n)),w(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=i[t]&&u.set("lineWidth"===t&&o?"textStrokeWidth":t,parseFloat(i[t]))})),i.textBaseline&&"auto"!==i.textBaseline||(i.textBaseline="alphabetic"),"alphabetic"===i.textBaseline&&(i.textBaseline="bottom"),"start"===i.textAlign&&(i.textAlign="left"),"end"===i.textAlign&&(i.textAlign="right"),w(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(t){null!=i[t]&&u.set(t,i[t])})),i.lineDash&&(e.style.lineDash=x(i.lineDash).split(S)),u[c]&&"none"!==u[c]&&(e[c]=!0),e.__inheritedStyle=i}var O=/url\(\s*#(.*?)\)/;function P(t,e){var n=e&&t&&t.match(O);return n?e[x(n[1])]:t}var L=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g,R=/([^\s:;]+)\s*:\s*([^:;]+)/g;function N(t,e,n){var r=Math.min(e/t.width,n/t.height);return{scale:[r,r],position:[-(t.x+t.width/2)*r+e/2,-(t.y+t.height/2)*r+n/2]}}e.parseXML=k,e.makeViewBoxTransform=N,e.parseSVG=function(t,e){return(new C).parse(t,e)}},MH26:function(t,e,n){var r=n("bYtY"),i=n("YXkt"),o=n("OELB"),a=n("kj2x"),s=n("c8qY"),l=n("iPDy"),c=n("7hqr").getStackedDimension,u=function(t,e,n,i){var o=t.getData(),s=i.type;if(!r.isArray(i)&&("min"===s||"max"===s||"average"===s||"median"===s||null!=i.xAxis||null!=i.yAxis)){var l,u;if(null!=i.yAxis||null!=i.xAxis)l=e.getAxis(null!=i.yAxis?"y":"x"),u=r.retrieve(i.yAxis,i.xAxis);else{var h=a.getAxisInfo(i,o,e,t);l=h.valueAxis;var d=c(o,h.valueDataDim);u=a.numCalculate(o,d,s)}var f="x"===l.dim?0:1,p=1-f,g=r.clone(i),m={};g.type=null,g.coord=[],m.coord=[],g.coord[p]=-1/0,m.coord[p]=1/0;var v=n.get("precision");v>=0&&"number"==typeof u&&(u=+u.toFixed(Math.min(v,20))),g.coord[f]=m.coord[f]=u,i=[g,m,{type:s,valueIndex:i.valueIndex,value:u}]}return(i=[a.dataTransform(t,i[0]),a.dataTransform(t,i[1]),r.extend({},i[2])])[2].type=i[2].type||"",r.merge(i[2],i[0]),r.merge(i[2],i[1]),i};function h(t){return!isNaN(t)&&!isFinite(t)}function d(t,e,n,r){var i=1-t,o=r.dimensions[t];return h(e[i])&&h(n[i])&&e[t]===n[t]&&r.getAxis(o).containData(e[t])}function f(t,e){if("cartesian2d"===t.type){var n=e[0].coord,r=e[1].coord;if(n&&r&&(d(1,n,r,t)||d(0,n,r,t)))return!0}return a.dataFilter(t,e[0])&&a.dataFilter(t,e[1])}function p(t,e,n,r,i){var a,s=r.coordinateSystem,l=t.getItemModel(e),c=o.parsePercent(l.get("x"),i.getWidth()),u=o.parsePercent(l.get("y"),i.getHeight());if(isNaN(c)||isNaN(u)){if(r.getMarkerPosition)a=r.getMarkerPosition(t.getValues(t.dimensions,e));else{var d=t.get((p=s.dimensions)[0],e),f=t.get(p[1],e);a=s.dataToPoint([d,f])}if("cartesian2d"===s.type){var p,g=s.getAxis("x"),m=s.getAxis("y");h(t.get((p=s.dimensions)[0],e))?a[0]=g.toGlobalCoord(g.getExtent()[n?0:1]):h(t.get(p[1],e))&&(a[1]=m.toGlobalCoord(m.getExtent()[n?0:1]))}isNaN(c)||(a[0]=c),isNaN(u)||(a[1]=u)}else a=[c,u];t.setItemLayout(e,a)}var g=l.extend({type:"markLine",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markLineModel;if(e){var r=e.getData(),i=e.__from,o=e.__to;i.each((function(e){p(i,e,!0,t,n),p(o,e,!1,t,n)})),r.each((function(t){r.setItemLayout(t,[i.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},renderSeries:function(t,e,n,o){var l=t.coordinateSystem,c=t.id,h=t.getData(),d=this.markerGroupMap,g=d.get(c)||d.set(c,new s);this.group.add(g.group);var m=function(t,e,n){var o;o=t?r.map(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return r.defaults({name:t},n)})):[{name:"value",type:"float"}];var s=new i(o,n),l=new i(o,n),c=new i([],n),h=r.map(n.get("data"),r.curry(u,e,t,n));t&&(h=r.filter(h,r.curry(f,t)));var d=t?a.dimValueGetter:function(t){return t.value};return s.initData(r.map(h,(function(t){return t[0]})),null,d),l.initData(r.map(h,(function(t){return t[1]})),null,d),c.initData(r.map(h,(function(t){return t[2]}))),c.hasItemOption=!0,{from:s,to:l,line:c}}(l,t,e),v=m.from,y=m.to,b=m.line;e.__from=v,e.__to=y,e.setData(b);var _=e.get("symbol"),x=e.get("symbolSize");function w(e,n,r){var i=e.getItemModel(n);p(e,n,r,t,o),e.setItemVisual(n,{symbolSize:i.get("symbolSize")||x[r?0:1],symbol:i.get("symbol",!0)||_[r?0:1],color:i.get("itemStyle.color")||h.getVisual("color")})}r.isArray(_)||(_=[_,_]),"number"==typeof x&&(x=[x,x]),m.from.each((function(t){w(v,t,!0),w(y,t,!1)})),b.each((function(t){var e=b.getItemModel(t).get("lineStyle.color");b.setItemVisual(t,{color:e||v.getItemVisual(t,"color")}),b.setItemLayout(t,[v.getItemLayout(t),y.getItemLayout(t)]),b.setItemVisual(t,{fromSymbolSize:v.getItemVisual(t,"symbolSize"),fromSymbol:v.getItemVisual(t,"symbol"),toSymbolSize:y.getItemVisual(t,"symbolSize"),toSymbol:y.getItemVisual(t,"symbol")})})),g.updateData(b),m.line.eachItemGraphicEl((function(t,n){t.traverse((function(t){t.dataModel=e}))})),g.__keep=!0,g.group.silent=e.get("silent")||t.get("silent")}});t.exports=g},MHoB:function(t,e,n){var r=n("bYtY"),i=n("6uqw"),o=n("OELB"),a=[20,140],s=i.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(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=a[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=a[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):r.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){i.prototype.completeVisualOption.apply(this,arguments),r.each(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=o.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimension(i),(function(e,n){t[0]<=e&&e<=t[1]&&r.push(n)}),this),e.push({seriesId:n.id,dataIndex:r})}),this),e},getVisualMeta:function(t){var e=l(0,0,this.getExtent()),n=l(0,0,this.option.range.slice()),r=[];function i(e,n){r.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,c=e.length;a=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(a[1]-a[0])+a[0],u=Math.max(1/r.scale,0);a[0]=(a[0]-c)*u+c,a[1]=(a[1]-c)*u+c;var d=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return o(0,a,[0,100],0,d.minSpan,d.maxSpan),this._range=a,i[0]!==a[0]||i[1]!==a[1]?a:void 0}},pan:u((function(t,e,n,r,i,o){var a=h[r]([o.oldX,o.oldY],[o.newX,o.newY],e,i,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:u((function(t,e,n,r,i,o){return h[r]([0,0],[o.scrollDelta,o.scrollDelta],e,i,n).signal*(t[1]-t[0])*o.scrollDelta}))};function u(t){return function(e,n,r,i){var a=this._range,s=a.slice(),l=e.axisModels[0];if(l){var c=t(s,l,e,n,r,i);return o(c,s,[0,100],"all"),this._range=s,a[0]!==s[0]||a[1]!==s[1]?s:void 0}}}var h={grid:function(t,e,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,r,i){var o=n.axis,a={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),c=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=c[1]-c[0],a.pixelStart=c[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,r,i){var o=n.axis,a=i.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};t.exports=l},MrPd:function(t,e,n){var r=n("hypo"),i=n("ljhN"),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];o.call(t,e)&&i(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},MvSz:function(t,e,n){var r=n("LXxW"),i=n("0ycA"),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;t.exports=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return o.call(t,e)})))}:i},MwEJ:function(t,e,n){var r=n("bYtY"),i=n("YXkt"),o=n("sdST"),a=n("k9D9").SOURCE_FORMAT_ORIGINAL,s=n("L0Ub").getDimensionTypeByAxis,l=n("4NO4").getDataItemValue,c=n("IDmD"),u=n("i38C").getCoordSysInfoBySeries,h=n("7G+c"),d=n("7hqr").enableDataStack,f=n("D5nY").makeSeriesEncodeForAxisCoordSys;t.exports=function(t,e,n){n=n||{},h.isInstance(t)||(t=h.seriesDataToSource(t));var p,g=e.get("coordinateSystem"),m=c.get(g),v=u(e);v&&(p=r.map(v.coordSysDims,(function(t){var e={name:t},n=v.axisMap.get(t);if(n){var r=n.get("type");e.type=s(r)}return e}))),p||(p=m&&(m.getDimensionsInfo?m.getDimensionsInfo():m.dimensions.slice())||["x","y"]);var y,b,_=o(t,{coordDimensions:p,generateCoord:n.generateCoord,encodeDefaulter:n.useEncodeDefaulter?r.curry(f,p,e):null});v&&r.each(_,(function(t,e){var n=v.categoryAxisMap.get(t.coordDim);n&&(null==y&&(y=e),t.ordinalMeta=n.getOrdinalMeta()),null!=t.otherDims.itemName&&(b=!0)})),b||null==y||(_[y].otherDims.itemName=0);var x=d(e,_),w=new i(_,e);w.setCalculationInfo(x);var S=null!=y&&function(t){if(t.sourceFormat===a){var e=function(t){for(var e=0;e0?1:a<0?-1:0}(n,a,o,r,v),function(t,e,n,r,o,a,s,c,u,h){var d=u.valueDim,f=u.categoryDim,p=Math.abs(n[f.wh]),g=t.getItemVisual(e,"symbolSize");i.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[f.index]=l(g[f.index],p),g[d.index]=l(g[d.index],r?p:Math.abs(a)),h.symbolSize=g,(h.symbolScale=[g[0]/c,g[1]/c])[d.index]*=(u.isHorizontal?-1:1)*s}(t,e,o,a,0,v.boundingLength,v.pxSign,p,r,v),function(t,e,n,r,i){var o=t.get(h)||0;o&&(f.attr({scale:e.slice(),rotation:n}),f.updateTransform(),o/=f.getLineScale(),o*=e[r.valueDim.index]),i.valueLineWidth=o}(n,v.symbolScale,d,r,v);var y=v.symbolSize,b=n.get("symbolOffset");return i.isArray(b)&&(b=[l(b[0],y[0]),l(b[1],y[1])]),function(t,e,n,r,o,a,s,u,h,d,f,p){var g=f.categoryDim,m=f.valueDim,v=p.pxSign,y=Math.max(e[m.index]+u,0),b=y;if(r){var _=Math.abs(h),x=i.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;x.lastIndexOf("!")===x.length-1&&(w=!0,x=x.slice(0,x.length-1)),x=l(x,e[m.index]);var S=Math.max(y+2*x,0),k=w?0:2*x,C=c(r),A=C?r:O((_+k)/S);S=y+2*(x=(_-A*y)/2/(w?A:A-1)),k=w?0:2*x,C||"fixed"===r||(A=d?O((Math.abs(d)+k)/S):0),b=A*S-k,p.repeatTimes=A,p.symbolMargin=x}var T=v*(b/2),E=p.pathPosition=[];E[g.index]=n[g.wh]/2,E[m.index]="start"===s?T:"end"===s?h-T:h/2,a&&(E[0]+=a[0],E[1]+=a[1]);var M=p.bundlePosition=[];M[g.index]=n[g.xy],M[m.index]=n[m.xy];var D=p.barRectShape=i.extend({},n);D[m.wh]=v*Math.max(Math.abs(n[m.wh]),Math.abs(E[m.index]+T)),D[g.wh]=n[g.wh];var I=p.clipShape={};I[g.xy]=-n[g.xy],I[g.wh]=f.ecSize[g.wh],I[m.xy]=0,I[m.wh]=n[m.wh]}(n,y,o,a,0,b,u,v.valueLineWidth,v.boundingLength,v.repeatCutLength,r,v),v}function m(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function v(t){var e=t.symbolPatternSize,n=a(t.symbolType,-e/2,-e/2,e,e,t.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function y(t,e,n,r){var i=t.__pictorialBundle,o=n.pathPosition,a=e.valueDim,s=n.repeatTimes||0,l=0,c=n.symbolSize[e.valueDim.index]+n.valueLineWidth+2*n.symbolMargin;for(M(t,(function(t){t.__pictorialAnimationIndex=l,t.__pictorialRepeatTimes=s,l0:r<0)&&(i=s-1-t),e[a.index]=c*(i-s/2+.5)+o[a.index],{position:e,scale:n.symbolScale.slice(),rotation:n.rotation}}function f(){M(t,(function(t){t.trigger("emphasis")}))}function p(){M(t,(function(t){t.trigger("normal")}))}}function b(t,e,n,r){var i=t.__pictorialBundle,o=t.__pictorialMainPath;o?D(o,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,r):(o=t.__pictorialMainPath=v(n),i.add(o),D(o,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,r),o.on("mouseover",(function(){this.trigger("emphasis")})).on("mouseout",(function(){this.trigger("normal")}))),C(o,n)}function _(t,e,n){var r=i.extend({},e.barRectShape),a=t.__pictorialBarRect;a?D(a,null,{shape:r},e,n):(a=t.__pictorialBarRect=new o.Rect({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(a))}function x(t,e,n,r){if(n.symbolClip){var a=t.__pictorialClipPath,s=i.extend({},n.clipShape),l=e.valueDim,c=n.animationModel,u=n.dataIndex;if(a)o.updateProps(a,{shape:s},c,u);else{s[l.wh]=0,a=new o.Rect({shape:s}),t.__pictorialBundle.setClipPath(a),t.__pictorialClipPath=a;var h={};h[l.wh]=n.clipShape[l.wh],o[r?"updateProps":"initProps"](a,{shape:h},c,u)}}}function w(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=S,n.isAnimationEnabled=k,n}function S(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function k(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function C(t,e){t.off("emphasis").off("normal");var n=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function A(t,e,n,r){var i=new o.Group,a=new o.Group;return i.add(a),i.__pictorialBundle=a,a.attr("position",n.bundlePosition.slice()),n.symbolRepeat?y(i,e,n):b(i,0,n),_(i,n,r),x(i,e,n,r),i.__pictorialShapeStr=E(t,n),i.__pictorialSymbolMeta=n,i}function T(t,e,n,r){var a=r.__pictorialBarRect;a&&(a.style.text=null);var s=[];M(r,(function(t){s.push(t)})),r.__pictorialMainPath&&s.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),i.each(s,(function(t){o.updateProps(t,{scale:[0,0]},n,e,(function(){r.parent&&r.parent.remove(r)}))})),t.setItemGraphicEl(e,null)}function E(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function M(t,e,n){i.each(t.__pictorialBundle.children(),(function(r){r!==t.__pictorialBarRect&&e.call(n,r)}))}function D(t,e,n,r,i,a){e&&t.attr(e),r.symbolClip&&!i?n&&t.attr(n):n&&o[i?"updateProps":"initProps"](t,n,r.animationModel,r.dataIndex,a)}function I(t,e,n){var r=n.color,a=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),c=s.getModel("emphasis.itemStyle").getItemStyle(),h=s.getShallow("cursor");M(t,(function(t){t.setColor(r),t.setStyle(i.defaults({fill:r,opacity:n.opacity},l)),o.setHoverStyle(t,c),h&&(t.cursor=h),t.z2=n.z2}));var d={},f=t.__pictorialBarRect;u(f.style,d,s,r,e.seriesModel,a,e.valueDim.posDesc[+(n.boundingLength>0)]),o.setHoverStyle(f,d)}function O(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}t.exports=p},N5BQ:function(t,e,n){var r=n("OlYY").extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}});t.exports=r},NA0q:function(t,e,n){var r=n("bYtY"),i=n("6Ic6"),o=n("TkdX"),a=n("gPAo"),s=i.extend({type:"sunburst",init:function(){},render:function(t,e,n,i){var s=this;this.seriesModel=t,this.api=n,this.ecModel=e;var l=t.getData(),c=l.tree.root,u=t.getViewRoot(),h=this.group,d=t.get("renderLabelForZeroData"),f=[];if(u.eachNode((function(t){f.push(t)})),function(n,i){function s(t){return t.getId()}function u(r,a){!function(n,r){if(d||!n||n.getValue()||(n=null),n!==c&&r!==c)if(r&&r.piece)n?(r.piece.updateData(!1,n,"normal",t,e),l.setItemGraphicEl(n.dataIndex,r.piece)):(a=r)&&a.piece&&(h.remove(a.piece),a.piece=null);else if(n){var i=new o(n,t,e);h.add(i),l.setItemGraphicEl(n.dataIndex,i)}var a}(null==r?null:n[r],null==a?null:i[a])}0===n.length&&0===i.length||new a(i,n,s,s).add(u).update(u).remove(r.curry(u,null)).execute()}(f,this._oldChildren||[]),function(n,r){if(r.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",t,e):(s.virtualPiece=new o(n,t,e),h.add(s.virtualPiece)),r.piece._onclickEvent&&r.piece.off("click",r.piece._onclickEvent);var i=function(t){s._rootToNode(r.parentNode)};r.piece._onclickEvent=i,s.virtualPiece.on("click",i)}else s.virtualPiece&&(h.remove(s.virtualPiece),s.virtualPiece=null)}(c,u),i&&i.highlight&&i.highlight.piece){var p=t.getShallow("highlightPolicy");i.highlight.piece.onEmphasis(p)}else if(i&&i.unhighlight){var g=this.virtualPiece;!g&&c.children.length&&(g=c.children[0].piece),g&&g.onNormal()}this._initEvents(),this._oldChildren=f},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(r){if(!n&&r.piece&&r.piece.childAt(0)===e.target){var i=r.getModel().get("nodeClick");if("rootToNode"===i)t._rootToNode(r);else if("link"===i){var o=r.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";window.open(a,s)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var n=e.getData().getItemLayout(0);if(n){var r=t[0]-n.cx,i=t[1]-n.cy,o=Math.sqrt(r*r+i*i);return o<=n.r&&o>=n.r0}}});t.exports=s},NC18:function(t,e,n){var r=n("y+Vt"),i=n("IMiH"),o=n("7oTu"),a=Math.sqrt,s=Math.sin,l=Math.cos,c=Math.PI,u=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},h=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(u(t)*u(e))},d=function(t,e){return(t[0]*e[1]1&&(u*=a(_),f*=a(_));var x=(i===o?-1:1)*a((u*u*(f*f)-u*u*(b*b)-f*f*(y*y))/(u*u*(b*b)+f*f*(y*y)))||0,w=x*u*b/f,S=x*-f*y/u,k=(t+n)/2+l(v)*w-s(v)*S,C=(e+r)/2+s(v)*w+l(v)*S,A=d([1,0],[(y-w)/u,(b-S)/f]),T=[(y-w)/u,(b-S)/f],E=[(-1*y-w)/u,(-1*b-S)/f],M=d(T,E);h(T,E)<=-1&&(M=c),h(T,E)>=1&&(M=0),0===o&&M>0&&(M-=2*c),1===o&&M<0&&(M+=2*c),m.addData(g,k,C,u,f,A,M,v,o)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function m(t,e){var n=function(t){if(!t)return new i;for(var e,n=0,r=0,o=n,a=r,s=new i,l=i.CMD,c=t.match(p),u=0;u=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},d={horizontal:0,vertical:m/2},f="vertical"===r?i.height:i.width,p=t.getModel("controlStyle"),g=p.get("show",!0),v=g?p.get("itemSize"):0,y=g?p.get("itemGap"):0,b=v+y,_=t.get("label.rotate")||0;_=_*m/180;var x=p.get("position",!0),w=g&&p.get("showPlayBtn",!0),S=g&&p.get("showPrevBtn",!0),k=g&&p.get("showNextBtn",!0),C=0,A=f;return"left"===x||"bottom"===x?(w&&(o=[0,0],C+=b),S&&(a=[C,0],C+=b),k&&(l=[A-v,0],A-=b)):(w&&(o=[A-v,0],A-=b),S&&(a=[0,0],C+=b),k&&(l=[A-v,0],A-=b)),c=[C,A],t.get("inverse")&&c.reverse(),{viewRect:i,mainLength:f,orient:r,rotation:d[r],labelRotation:_,labelPosOpt:n,labelAlign:t.get("label.align")||u[r],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||h[r],playPosition:o,prevBtnPosition:a,nextBtnPosition:l,axisExtent:c,controlSize:v,controlGap:y}},_position:function(t,e){var n=this._mainGroup,r=this._labelGroup,i=t.viewRect;if("vertical"===t.orient){var a=o.create(),s=i.x,l=i.y+i.height;o.translate(a,a,[-s,-l]),o.rotate(a,a,-m/2),o.translate(a,a,[s,l]),(i=i.clone()).applyTransform(a)}var c=y(i),u=y(n.getBoundingRect()),h=y(r.getBoundingRect()),d=n.position,f=r.position;f[0]=d[0]=c[0][0];var p,g=t.labelPosOpt;function v(t){var e=t.position;t.origin=[c[0][0]-e[0],c[1][0]-e[1]]}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function b(t,e,n,r,i){t[r]+=n[r][i]-e[r][i]}isNaN(g)?(b(d,u,c,1,p="+"===g?0:1),b(f,h,c,1,1-p)):(b(d,u,c,1,p=g>=0?0:1),f[1]=d[1]+g),n.attr("position",d),r.attr("position",f),n.rotation=r.rotation=t.rotation,v(n),v(r)},_createAxis:function(t,e){var n=e.getData(),r=e.get("axisType"),i=h.createScaleByModel(e,r);i.getTicks=function(){return n.mapArray(["value"],(function(t){return t}))};var o=n.getDataExtent("value");i.setExtent(o[0],o[1]),i.niceTicks();var a=new c("value",i,t.axisExtent,r);return a.model=e,a},_createGroup:function(t){var e=this["_"+t]=new a.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,n,i){var o=n.getExtent();i.get("lineStyle.show")&&e.add(new a.Line({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:r.extend({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,n,r){var i=r.getData(),o=n.scale.getTicks();g(o,(function(t){var o=n.dataToCoord(t),s=i.getItemModel(t),l=s.getModel("itemStyle"),c=s.getModel("emphasis.itemStyle"),u={position:[o,0],onclick:p(this._changeTimeline,this,t)},h=y(s,l,e,u);a.setHoverStyle(h,c.getItemStyle()),s.get("tooltip")?(h.dataIndex=t,h.dataModel=r):h.dataIndex=h.dataModel=null}),this)},_renderAxisLabel:function(t,e,n,r){if(n.getLabelModel().get("show")){var i=r.getData(),o=n.getViewLabels();g(o,(function(r){var o=r.tickValue,s=i.getItemModel(o),l=s.getModel("label"),c=s.getModel("emphasis.label"),u=n.dataToCoord(r.tickValue),h=new a.Text({position:[u,0],rotation:t.labelRotation-t.rotation,onclick:p(this._changeTimeline,this,o),silent:!1});a.setTextStyle(h.style,l,{text:r.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(h),a.setHoverStyle(h,a.setTextStyle({},c))}),this)}},_renderControl:function(t,e,n,o){var s=t.controlSize,l=t.rotation,c=o.getModel("controlStyle").getItemStyle(),u=o.getModel("emphasis.controlStyle").getItemStyle(),h=[0,-s/2,s,s],d=o.getPlayState(),f=o.get("inverse",!0);function g(t,n,d,f){if(t){var p=function(t,e,n,o){return a.makePath(t.get(e).replace(/^path:\/\//,""),r.clone(o||{}),new i(n[0],n[1],n[2],n[3]),"center")}(o,n,h,{position:t,origin:[s/2,0],rotation:f?-l:0,rectHover:!0,style:c,onclick:d});e.add(p),a.setHoverStyle(p,u)}}g(t.nextBtnPosition,"controlStyle.nextIcon",p(this._changeTimeline,this,f?"-":"+")),g(t.prevBtnPosition,"controlStyle.prevIcon",p(this._changeTimeline,this,f?"+":"-")),g(t.playPosition,"controlStyle."+(d?"stopIcon":"playIcon"),p(this._handlePlayClick,this,!d),!0)},_renderCurrentPointer:function(t,e,n,r){var i=r.getData(),o=r.getCurrentIndex(),a=i.getItemModel(o).getModel("checkpointStyle"),s=this;this._currentPointer=y(a,a,this._mainGroup,{},this._currentPointer,{onCreate:function(t){t.draggable=!0,t.drift=p(s._handlePointerDrag,s),t.ondragend=p(s._handlePointerDragend,s),b(t,o,n,r,!0)},onUpdate:function(t){b(t,o,n,r)}})},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var n=this._toAxisCoord(t)[0],r=d.asc(this._axis.getExtent().slice());n>r[1]&&(n=r[1]),n{throw t},0)}n.d(e,"a",(function(){return r}))},NKxu:function(t,e,n){var r=n("lSCD"),i=n("E2jh"),o=n("GoyQ"),a=n("3Fdi"),s=/^\[object .+?Constructor\]$/,l=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!o(t)||i(t))&&(r(t)?l:s).test(a(t))}},Nj8z:function(t,e,n){"use strict";var r=n("fXoL"),i=n("DlQD"),o=n.n(i),a=n("ofXK"),s=n("aCrv");const l=["header"],c=["container"],u=["content"],h=["invisiblePadding"],d=["*"];function f(){return{checkResizeInterval:1e3,modifyOverflowStyleOfParentScroll:!0,resizeBypassRefreshThreshold:5,scrollAnimationTime:750,scrollDebounceTime:0,scrollThrottlingTime:0,stripedTable:!1}}let p=(()=>{let t=class{constructor(t,e,n,i,o,s){this.element=t,this.renderer=e,this.zone=n,this.changeDetectorRef=i,this.window=window,this.executeRefreshOutsideAngularZone=!1,this._enableUnequalChildrenSizes=!1,this.RTL=!1,this.useMarginInsteadOfTranslate=!1,this.ssrViewportWidth=1920,this.ssrViewportHeight=1080,this._items=[],this.compareItems=(t,e)=>t===e,this.vsUpdate=new r.n,this.vsChange=new r.n,this.vsStart=new r.n,this.vsEnd=new r.n,this.calculatedScrollbarWidth=0,this.calculatedScrollbarHeight=0,this.padding=0,this.previousViewPort={},this.cachedPageSize=0,this.previousScrollNumberElements=0,this.isAngularUniversalSSR=Object(a.t)(o),this.checkResizeInterval=s.checkResizeInterval,this.modifyOverflowStyleOfParentScroll=s.modifyOverflowStyleOfParentScroll,this.resizeBypassRefreshThreshold=s.resizeBypassRefreshThreshold,this.scrollAnimationTime=s.scrollAnimationTime,this.scrollDebounceTime=s.scrollDebounceTime,this.scrollThrottlingTime=s.scrollThrottlingTime,this.scrollbarHeight=s.scrollbarHeight,this.scrollbarWidth=s.scrollbarWidth,this.stripedTable=s.stripedTable,this.horizontal=!1,this.resetWrapGroupDimensions()}get viewPortInfo(){let t=this.previousViewPort||{};return{startIndex:t.startIndex||0,endIndex:t.endIndex||0,scrollStartPosition:t.scrollStartPosition||0,scrollEndPosition:t.scrollEndPosition||0,maxScrollPosition:t.maxScrollPosition||0,startIndexWithBuffer:t.startIndexWithBuffer||0,endIndexWithBuffer:t.endIndexWithBuffer||0}}get enableUnequalChildrenSizes(){return this._enableUnequalChildrenSizes}set enableUnequalChildrenSizes(t){this._enableUnequalChildrenSizes!==t&&(this._enableUnequalChildrenSizes=t,this.minMeasuredChildWidth=void 0,this.minMeasuredChildHeight=void 0)}get bufferAmount(){return"number"==typeof this._bufferAmount&&this._bufferAmount>=0?this._bufferAmount:this.enableUnequalChildrenSizes?5:0}set bufferAmount(t){this._bufferAmount=t}get scrollThrottlingTime(){return this._scrollThrottlingTime}set scrollThrottlingTime(t){this._scrollThrottlingTime=t,this.updateOnScrollFunction()}get scrollDebounceTime(){return this._scrollDebounceTime}set scrollDebounceTime(t){this._scrollDebounceTime=t,this.updateOnScrollFunction()}updateOnScrollFunction(){this.onScroll=this.scrollDebounceTime?this.debounce(()=>{this.refresh_internal(!1)},this.scrollDebounceTime):this.scrollThrottlingTime?this.throttleTrailing(()=>{this.refresh_internal(!1)},this.scrollThrottlingTime):()=>{this.refresh_internal(!1)}}get checkResizeInterval(){return this._checkResizeInterval}set checkResizeInterval(t){this._checkResizeInterval!==t&&(this._checkResizeInterval=t,this.addScrollEventHandlers())}get items(){return this._items}set items(t){t!==this._items&&(this._items=t||[],this.refresh_internal(!0))}get horizontal(){return this._horizontal}set horizontal(t){this._horizontal=t,this.updateDirection()}revertParentOverscroll(){const t=this.getScrollElement();t&&this.oldParentScrollOverflow&&(t.style["overflow-y"]=this.oldParentScrollOverflow.y,t.style["overflow-x"]=this.oldParentScrollOverflow.x),this.oldParentScrollOverflow=void 0}get parentScroll(){return this._parentScroll}set parentScroll(t){if(this._parentScroll===t)return;this.revertParentOverscroll(),this._parentScroll=t,this.addScrollEventHandlers();const e=this.getScrollElement();this.modifyOverflowStyleOfParentScroll&&e!==this.element.nativeElement&&(this.oldParentScrollOverflow={x:e.style["overflow-x"],y:e.style["overflow-y"]},e.style["overflow-y"]=this.horizontal?"visible":"auto",e.style["overflow-x"]=this.horizontal?"auto":"visible")}ngOnInit(){this.addScrollEventHandlers()}ngOnDestroy(){this.removeScrollEventHandlers(),this.revertParentOverscroll()}ngOnChanges(t){let e=this.cachedItemsLength!==this.items.length;this.cachedItemsLength=this.items.length,this.refresh_internal(e||!t.items||!t.items.previousValue||0===t.items.previousValue.length)}ngDoCheck(){if(this.cachedItemsLength!==this.items.length)return this.cachedItemsLength=this.items.length,void this.refresh_internal(!0);if(this.previousViewPort&&this.viewPortItems&&this.viewPortItems.length>0){let t=!1;for(let e=0;e=0&&this.invalidateCachedMeasurementAtIndex(e)}else this.minMeasuredChildWidth=void 0,this.minMeasuredChildHeight=void 0;this.refresh_internal(!1)}invalidateCachedMeasurementAtIndex(t){if(this.enableUnequalChildrenSizes){let e=this.wrapGroupDimensions.maxChildSizePerWrapGroup[t];e&&(this.wrapGroupDimensions.maxChildSizePerWrapGroup[t]=void 0,--this.wrapGroupDimensions.numberOfKnownWrapGroupChildSizes,this.wrapGroupDimensions.sumOfKnownWrapGroupChildWidths-=e.childWidth||0,this.wrapGroupDimensions.sumOfKnownWrapGroupChildHeights-=e.childHeight||0)}else this.minMeasuredChildWidth=void 0,this.minMeasuredChildHeight=void 0;this.refresh_internal(!1)}scrollInto(t,e=!0,n=0,r,i){let o=this.items.indexOf(t);-1!==o&&this.scrollToIndex(o,e,n,r,i)}scrollToIndex(t,e=!0,n=0,r,i){let o=5,a=()=>{if(--o,o<=0)return void(i&&i());let r=this.calculateDimensions(),s=Math.min(Math.max(t,0),r.itemCount-1);this.previousViewPort.startIndex!==s?this.scrollToIndex_internal(t,e,n,0,a):i&&i()};this.scrollToIndex_internal(t,e,n,r,a)}scrollToIndex_internal(t,e=!0,n=0,r,i){r=void 0===r?this.scrollAnimationTime:r;let o=this.calculateDimensions(),a=this.calculatePadding(t,o)+n;e||(a-=o.wrapGroupsPerPage*o[this._childScrollDim]),this.scrollToPosition(a,r,i)}scrollToPosition(t,e,n){t+=this.getElementsOffset(),e=void 0===e?this.scrollAnimationTime:e;let r,i=this.getScrollElement();if(this.currentTween&&(this.currentTween.stop(),this.currentTween=void 0),!e)return this.renderer.setProperty(i,this._scrollType,t),void this.refresh_internal(!1,n);const o={scrollPosition:i[this._scrollType]};let a=new s.Tween(o).to({scrollPosition:t},e).easing(s.Easing.Quadratic.Out).onUpdate(t=>{isNaN(t.scrollPosition)||(this.renderer.setProperty(i,this._scrollType,t.scrollPosition),this.refresh_internal(!1))}).onStop(()=>{cancelAnimationFrame(r)}).start();const l=e=>{a.isPlaying()&&(a.update(e),o.scrollPosition!==t?this.zone.runOutsideAngular(()=>{r=requestAnimationFrame(l)}):this.refresh_internal(!1,n))};l(),this.currentTween=a}getElementSize(t){let e=t.getBoundingClientRect(),n=getComputedStyle(t),r=parseInt(n["margin-top"],10)||0,i=parseInt(n["margin-bottom"],10)||0,o=parseInt(n["margin-left"],10)||0,a=parseInt(n["margin-right"],10)||0;return{top:e.top+r,bottom:e.bottom+i,left:e.left+o,right:e.right+a,width:e.width+o+a,height:e.height+r+i}}checkScrollElementResized(){let t,e=this.getElementSize(this.getScrollElement());if(this.previousScrollBoundingRect){let n=Math.abs(e.width-this.previousScrollBoundingRect.width),r=Math.abs(e.height-this.previousScrollBoundingRect.height);t=n>this.resizeBypassRefreshThreshold||r>this.resizeBypassRefreshThreshold}else t=!0;t&&(this.previousScrollBoundingRect=e,e.width>0&&e.height>0&&this.refresh_internal(!1))}updateDirection(){this.horizontal?(this._childScrollDim="childWidth",this._invisiblePaddingProperty="scaleX",this._marginDir="margin-left",this._offsetType="offsetLeft",this._pageOffsetType="pageXOffset",this._scrollType="scrollLeft",this._translateDir="translateX"):(this._childScrollDim="childHeight",this._invisiblePaddingProperty="scaleY",this._marginDir="margin-top",this._offsetType="offsetTop",this._pageOffsetType="pageYOffset",this._scrollType="scrollTop",this._translateDir="translateY")}debounce(t,e){const n=this.throttleTrailing(t,e),r=function(){n.cancel(),n.apply(this,arguments)};return r.cancel=function(){n.cancel()},r}throttleTrailing(t,e){let n=void 0,r=arguments;const i=function(){const i=this;r=arguments,n||(e<=0?t.apply(i,r):n=setTimeout((function(){n=void 0,t.apply(i,r)}),e))};return i.cancel=function(){n&&(clearTimeout(n),n=void 0)},i}refresh_internal(t,e,n=2){if(t&&this.previousViewPort&&this.previousViewPort.scrollStartPosition>0){let t=this.previousViewPort,n=this.viewPortItems,r=e;e=()=>{let e=this.previousViewPort.scrollLength-t.scrollLength;if(e>0&&this.viewPortItems){let t=n[0],i=this.items.findIndex(e=>this.compareItems(t,e));if(i>this.previousViewPort.startIndexWithBuffer){let t=!1;for(let e=1;e{requestAnimationFrame(()=>{t&&this.resetWrapGroupDimensions();let r=this.calculateViewport(),i=t||r.startIndex!==this.previousViewPort.startIndex,o=t||r.endIndex!==this.previousViewPort.endIndex,a=r.scrollLength!==this.previousViewPort.scrollLength,s=r.padding!==this.previousViewPort.padding,l=r.scrollStartPosition!==this.previousViewPort.scrollStartPosition||r.scrollEndPosition!==this.previousViewPort.scrollEndPosition||r.maxScrollPosition!==this.previousViewPort.maxScrollPosition;if(this.previousViewPort=r,a&&(this.renderer.setStyle(this.invisiblePaddingElementRef.nativeElement,"transform",`${this._invisiblePaddingProperty}(${r.scrollLength})`),this.renderer.setStyle(this.invisiblePaddingElementRef.nativeElement,"webkitTransform",`${this._invisiblePaddingProperty}(${r.scrollLength})`)),s&&(this.useMarginInsteadOfTranslate?this.renderer.setStyle(this.contentElementRef.nativeElement,this._marginDir,r.padding+"px"):(this.renderer.setStyle(this.contentElementRef.nativeElement,"transform",`${this._translateDir}(${r.padding}px)`),this.renderer.setStyle(this.contentElementRef.nativeElement,"webkitTransform",`${this._translateDir}(${r.padding}px)`))),this.headerElementRef){let t=this.getScrollElement()[this._scrollType],e=this.getElementsOffset(),n=Math.max(t-r.padding-e+this.headerElementRef.nativeElement.clientHeight,0);this.renderer.setStyle(this.headerElementRef.nativeElement,"transform",`${this._translateDir}(${n}px)`),this.renderer.setStyle(this.headerElementRef.nativeElement,"webkitTransform",`${this._translateDir}(${n}px)`)}const c=i||o?{startIndex:r.startIndex,endIndex:r.endIndex,scrollStartPosition:r.scrollStartPosition,scrollEndPosition:r.scrollEndPosition,startIndexWithBuffer:r.startIndexWithBuffer,endIndexWithBuffer:r.endIndexWithBuffer,maxScrollPosition:r.maxScrollPosition}:void 0;if(i||o||l){const t=()=>{this.viewPortItems=r.startIndexWithBuffer>=0&&r.endIndexWithBuffer>=0?this.items.slice(r.startIndexWithBuffer,r.endIndexWithBuffer+1):[],this.vsUpdate.emit(this.viewPortItems),i&&this.vsStart.emit(c),o&&this.vsEnd.emit(c),(i||o)&&(this.changeDetectorRef.markForCheck(),this.vsChange.emit(c)),n>0?this.refresh_internal(!1,e,n-1):e&&e()};this.executeRefreshOutsideAngularZone?t():this.zone.run(t)}else{if(n>0&&(a||s))return void this.refresh_internal(!1,e,n-1);e&&e()}})})}getScrollElement(){return this.parentScroll instanceof Window?document.scrollingElement||document.documentElement||document.body:this.parentScroll||this.element.nativeElement}addScrollEventHandlers(){if(this.isAngularUniversalSSR)return;let t=this.getScrollElement();this.removeScrollEventHandlers(),this.zone.runOutsideAngular(()=>{this.parentScroll instanceof Window?(this.disposeScrollHandler=this.renderer.listen("window","scroll",this.onScroll),this.disposeResizeHandler=this.renderer.listen("window","resize",this.onScroll)):(this.disposeScrollHandler=this.renderer.listen(t,"scroll",this.onScroll),this._checkResizeInterval>0&&(this.checkScrollElementResizedTimer=setInterval(()=>{this.checkScrollElementResized()},this._checkResizeInterval)))})}removeScrollEventHandlers(){this.checkScrollElementResizedTimer&&clearInterval(this.checkScrollElementResizedTimer),this.disposeScrollHandler&&(this.disposeScrollHandler(),this.disposeScrollHandler=void 0),this.disposeResizeHandler&&(this.disposeResizeHandler(),this.disposeResizeHandler=void 0)}getElementsOffset(){if(this.isAngularUniversalSSR)return 0;let t=0;if(this.containerElementRef&&this.containerElementRef.nativeElement&&(t+=this.containerElementRef.nativeElement[this._offsetType]),this.parentScroll){let e=this.getScrollElement(),n=this.getElementSize(this.element.nativeElement),r=this.getElementSize(e);t+=this.horizontal?n.left-r.left:n.top-r.top,this.parentScroll instanceof Window||(t+=e[this._scrollType])}return t}countItemsPerWrapGroup(){if(this.isAngularUniversalSSR)return Math.round(this.horizontal?this.ssrViewportHeight/this.ssrChildHeight:this.ssrViewportWidth/this.ssrChildWidth);let t=this.horizontal?"offsetLeft":"offsetTop",e=(this.containerElementRef&&this.containerElementRef.nativeElement||this.contentElementRef.nativeElement).children,n=e?e.length:0;if(0===n)return 1;let r=e[0][t],i=1;for(;i0){let e=Math.min(l,t);t-=e,l-=e}f+=t,t>0&&i>=f&&++e}else{let t=Math.min(d,Math.max(o-p,0));if(l>0){let e=Math.min(l,t);t-=e,l-=e}p+=t,t>0&&o>=p&&++e}++u,h=0,d=0}}let g=this.wrapGroupDimensions.sumOfKnownWrapGroupChildWidths/this.wrapGroupDimensions.numberOfKnownWrapGroupChildSizes,m=this.wrapGroupDimensions.sumOfKnownWrapGroupChildHeights/this.wrapGroupDimensions.numberOfKnownWrapGroupChildSizes;n=this.childWidth||g||i,r=this.childHeight||m||o,this.horizontal?i>f&&(e+=Math.ceil((i-f)/n)):o>p&&(e+=Math.ceil((o-p)/r))}else{if(a.children.length>0){this.childWidth&&this.childHeight||(!this.minMeasuredChildWidth&&i>0&&(this.minMeasuredChildWidth=i),!this.minMeasuredChildHeight&&o>0&&(this.minMeasuredChildHeight=o));let t=this.getElementSize(a.children[0]);this.minMeasuredChildWidth=Math.min(this.minMeasuredChildWidth,t.width),this.minMeasuredChildHeight=Math.min(this.minMeasuredChildHeight,t.height)}n=this.childWidth||this.minMeasuredChildWidth||i,r=this.childHeight||this.minMeasuredChildHeight||o;let t=Math.max(Math.ceil(i/n),1),s=Math.max(Math.ceil(o/r),1);e=this.horizontal?t:s}let l=this.items.length,c=s*e,u=l/c,h=Math.ceil(l/s),d=0,f=this.horizontal?n:r;if(this.enableUnequalChildrenSizes){let t=0;for(let e=0;e0&&(a+=e.itemsPerWrapGroup-s),isNaN(o)&&(o=0),isNaN(a)&&(a=0),o=Math.min(Math.max(o,0),e.itemCount-1),a=Math.min(Math.max(a,0),e.itemCount-1);let l=this.bufferAmount*e.itemsPerWrapGroup;return{startIndex:o,endIndex:a,startIndexWithBuffer:Math.min(Math.max(o-l,0),e.itemCount-1),endIndexWithBuffer:Math.min(Math.max(a+l,0),e.itemCount-1),scrollStartPosition:t,scrollEndPosition:t+e.viewportLength,maxScrollPosition:e.maxScrollPosition}}calculateViewport(){let t=this.calculateDimensions(),e=this.getElementsOffset(),n=this.getScrollStartPosition();n>t.scrollLength+e&&!(this.parentScroll instanceof Window)?n=t.scrollLength:n-=e,n=Math.max(0,n);let r=this.calculatePageInfo(n,t),i=this.calculatePadding(r.startIndexWithBuffer,t),o=t.scrollLength;return{startIndex:r.startIndex,endIndex:r.endIndex,startIndexWithBuffer:r.startIndexWithBuffer,endIndexWithBuffer:r.endIndexWithBuffer,padding:Math.round(i),scrollLength:Math.round(o),scrollStartPosition:r.scrollStartPosition,scrollEndPosition:r.scrollEndPosition,maxScrollPosition:r.maxScrollPosition}}};return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.E),r.Ob(r.z),r.Ob(r.h),r.Ob(r.B),r.Ob("virtual-scroller-default-options",8))},t.\u0275cmp=r.Ib({type:t,selectors:[["virtual-scroller"],["","virtualScroller",""]],contentQueries:function(t,e,n){var i;1&t&&(r.Hb(n,l,!0,r.l),r.Hb(n,c,!0,r.l)),2&t&&(r.qc(i=r.dc())&&(e.headerElementRef=i.first),r.qc(i=r.dc())&&(e.containerElementRef=i.first))},viewQuery:function(t,e){var n;1&t&&(r.wc(u,!0,r.l),r.wc(h,!0,r.l)),2&t&&(r.qc(n=r.dc())&&(e.contentElementRef=n.first),r.qc(n=r.dc())&&(e.invisiblePaddingElementRef=n.first))},hostVars:8,hostBindings:function(t,e){2&t&&r.Gb("horizontal",e.horizontal)("vertical",!e.horizontal)("selfScroll",!e.parentScroll)("rtl",e.RTL)},inputs:{executeRefreshOutsideAngularZone:"executeRefreshOutsideAngularZone",RTL:"RTL",useMarginInsteadOfTranslate:"useMarginInsteadOfTranslate",ssrViewportWidth:"ssrViewportWidth",ssrViewportHeight:"ssrViewportHeight",compareItems:"compareItems",checkResizeInterval:"checkResizeInterval",modifyOverflowStyleOfParentScroll:"modifyOverflowStyleOfParentScroll",resizeBypassRefreshThreshold:"resizeBypassRefreshThreshold",scrollAnimationTime:"scrollAnimationTime",scrollDebounceTime:"scrollDebounceTime",scrollThrottlingTime:"scrollThrottlingTime",scrollbarHeight:"scrollbarHeight",scrollbarWidth:"scrollbarWidth",stripedTable:"stripedTable",horizontal:"horizontal",enableUnequalChildrenSizes:"enableUnequalChildrenSizes",bufferAmount:"bufferAmount",items:"items",parentScroll:"parentScroll",childWidth:"childWidth",childHeight:"childHeight",ssrChildWidth:"ssrChildWidth",ssrChildHeight:"ssrChildHeight"},outputs:{vsUpdate:"vsUpdate",vsChange:"vsChange",vsStart:"vsStart",vsEnd:"vsEnd"},exportAs:["virtualScroller"],features:[r.Ab],ngContentSelectors:d,decls:5,vars:0,consts:[[1,"total-padding"],["invisiblePadding",""],[1,"scrollable-content"],["content",""]],template:function(t,e){1&t&&(r.kc(),r.Pb(0,"div",0,1),r.Ub(2,"div",2,3),r.jc(4),r.Tb())},styles:["[_nghost-%COMP%] {\n position: relative;\n\t \tdisplay: block;\n -webkit-overflow-scrolling: touch;\n }\n\n\t\t.horizontal.selfScroll[_nghost-%COMP%] {\n overflow-y: visible;\n overflow-x: auto;\n\t\t}\n\n\t\t.horizontal.selfScroll.rtl[_nghost-%COMP%] {\n\t\t\ttransform: scaleX(-1);\n\t\t}\n\n\t\t.vertical.selfScroll[_nghost-%COMP%] {\n overflow-y: auto;\n overflow-x: visible;\n\t\t}\n\n .scrollable-content[_ngcontent-%COMP%] {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n max-width: 100vw;\n max-height: 100vh;\n position: absolute;\n }\n\n\t\t.scrollable-content[_ngcontent-%COMP%] > * {\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\t.horizontal[_nghost-%COMP%] {\n\t\t\twhite-space: nowrap;\n\t\t}\n\n\t\t.horizontal[_nghost-%COMP%] .scrollable-content[_ngcontent-%COMP%] {\n\t\t\tdisplay: flex;\n\t\t}\n\n\t\t.horizontal[_nghost-%COMP%] .scrollable-content[_ngcontent-%COMP%] > * {\n\t\t\tflex-shrink: 0;\n\t\t\tflex-grow: 0;\n\t\t\twhite-space: initial;\n\t\t}\n\n\t\t.horizontal.rtl[_nghost-%COMP%] .scrollable-content[_ngcontent-%COMP%] > * {\n\t\t\ttransform:scaleX(-1);\n\t\t}\n\n .total-padding[_ngcontent-%COMP%] {\n position: absolute;\n top: 0;\n left: 0;\n height: 1px;\n width: 1px;\n transform-origin: 0 0;\n opacity: 0;\n }\n\n .horizontal[_nghost-%COMP%] .total-padding[_ngcontent-%COMP%] {\n height: 100%;\n }"]}),t})(),g=(()=>{let t=class{};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[{provide:"virtual-scroller-default-options",useFactory:f}],imports:[[a.b]]}),t})();var m=n("wZee"),v=n.n(m),y=n("3Pt+"),b=n("VphZ"),_=n("MT78"),x=n.n(_),w=n("EiaH"),S=n("zdSs"),k=n("XNiG"),C=n("quSY"),A=n("LRne"),T=n("vkgz"),E=n("Kj3r"),M=n("pLZG"),D=n("lJxs"),I=n("IzEk");function O(t){return null!=t&&""+t!="false"}function P(t,e=0){return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function L(t){return t instanceof r.l?t.nativeElement:t}let R;try{R="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Ao){R=!1}let N,z,F=(()=>{class t{constructor(t){this._platformId=t,this.isBrowser=this._platformId?Object(a.s)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!R)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(r.B,8))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(r.B,8))},token:t,providedIn:"root"}),t})(),B=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t})();function V(t){return function(){if(null==N&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>N=!0}))}finally{N=N||!1}return N}()?t:!!t.capture}function j(t){if(function(){if(null==z){const t="undefined"!=typeof document?document.head:null;z=!(!t||!t.createShadowRoot&&!t.attachShadow)}return z}()){const e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}var Y=n("HDdC");let U=(()=>{class t{create(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Kb)({factory:function(){return new t},token:t,providedIn:"root"}),t})(),G=(()=>{class t{constructor(t){this._mutationObserverFactory=t,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((t,e)=>this._cleanupObserver(e))}observe(t){const e=L(t);return new Y.a(t=>{const n=this._observeElement(e).subscribe(t);return()=>{n.unsubscribe(),this._unobserveElement(e)}})}_observeElement(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{const e=new k.a,n=this._mutationObserverFactory.create(t=>e.next(t));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}_unobserveElement(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}_cleanupObserver(t){if(this._observedElements.has(t)){const{observer:e,stream:n}=this._observedElements.get(t);e&&e.disconnect(),n.complete(),this._observedElements.delete(t)}}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(U))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(U))},token:t,providedIn:"root"}),t})(),H=(()=>{class t{constructor(t,e,n){this._contentObserver=t,this._elementRef=e,this._ngZone=n,this.event=new r.n,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(t){this._disabled=O(t),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(t){this._debounce=P(t),this._subscribe()}ngAfterContentInit(){this._currentSubscription||this.disabled||this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?t.pipe(Object(E.a)(this.debounce)):t).subscribe(this.event)})}_unsubscribe(){this._currentSubscription&&this._currentSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(G),r.Ob(r.l),r.Ob(r.z))},t.\u0275dir=r.Jb({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),q=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[U]}),t})();function W(t){return 0===t.buttons}"undefined"!=typeof Element&∈const $=new r.q("cdk-focus-monitor-default-options"),Z=V({passive:!0,capture:!0});let X=(()=>{class t{constructor(t,e,n,r){this._ngZone=t,this._platform=e,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=()=>{this._lastTouchTarget=null,this._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=t=>{if(!this._lastTouchTarget){const e=W(t)?"keyboard":"mouse";this._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=t=>{null!=this._touchTimeoutId&&clearTimeout(this._touchTimeoutId),this._lastTouchTarget=K(t),this._touchTimeoutId=setTimeout(()=>this._lastTouchTarget=null,650)},this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=setTimeout(()=>this._windowFocused=!1)},this._rootNodeFocusAndBlurListener=t=>{const e=K(t),n="focus"===t.type?this._onFocus:this._onBlur;for(let r=e;r;r=r.parentElement)n.call(this,t,r)},this._document=n,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(t,e=!1){if(!this._platform.isBrowser)return Object(A.a)(null);const n=L(t),r=j(n)||this._getDocument();if(this._elementInfo.has(n)){const t=this._elementInfo.get(n);return t.checkChildren=e,t.subject.asObservable()}const i={checkChildren:e,subject:new k.a,rootNode:r};return this._elementInfo.set(n,i),this._registerGlobalListeners(i),i.subject.asObservable()}stopMonitoring(t){const e=L(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}focusVia(t,e,n){const r=L(t);this._setOriginForCurrentEventQueue(e),"function"==typeof r.focus&&r.focus(n)}ngOnDestroy(){this._elementInfo.forEach((t,e)=>this.stopMonitoring(e))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_toggleClass(t,e,n){n?t.classList.add(e):t.classList.remove(e)}_getFocusOrigin(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}_setClasses(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}_setOriginForCurrentEventQueue(t){this._ngZone.runOutsideAngular(()=>{this._origin=t,0===this._detectionMode&&(this._originTimeoutId=setTimeout(()=>this._origin=null,1))})}_wasCausedByTouch(t){const e=K(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}_onFocus(t,e){const n=this._elementInfo.get(e);if(!n||!n.checkChildren&&e!==K(t))return;const r=this._getFocusOrigin(t);this._setClasses(e,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}_onBlur(t,e){const n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}_emitOrigin(t,e){this._ngZone.run(()=>t.next(e))}_registerGlobalListeners(t){if(!this._platform.isBrowser)return;const e=t.rootNode,n=this._rootNodeFocusListenerCount.get(e)||0;n||this._ngZone.runOutsideAngular(()=>{e.addEventListener("focus",this._rootNodeFocusAndBlurListener,Z),e.addEventListener("blur",this._rootNodeFocusAndBlurListener,Z)}),this._rootNodeFocusListenerCount.set(e,n+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(()=>{const t=this._getDocument(),e=this._getWindow();t.addEventListener("keydown",this._documentKeydownListener,Z),t.addEventListener("mousedown",this._documentMousedownListener,Z),t.addEventListener("touchstart",this._documentTouchstartListener,Z),e.addEventListener("focus",this._windowFocusListener)})}_removeGlobalListeners(t){const e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){const t=this._rootNodeFocusListenerCount.get(e);t>1?this._rootNodeFocusListenerCount.set(e,t-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,Z),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,Z),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){const t=this._getDocument(),e=this._getWindow();t.removeEventListener("keydown",this._documentKeydownListener,Z),t.removeEventListener("mousedown",this._documentMousedownListener,Z),t.removeEventListener("touchstart",this._documentTouchstartListener,Z),e.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(r.z),r.Yb(F),r.Yb(a.c,8),r.Yb($,8))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(r.z),Object(r.Yb)(F),Object(r.Yb)(a.c,8),Object(r.Yb)($,8))},token:t,providedIn:"root"}),t})();function K(t){return t.composedPath?t.composedPath()[0]:t.target}let Q=(()=>{class t{constructor(t,e){this._platform=t,this._document=e}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);const e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(this._platform.isBrowser&&this._document.body){const t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");const e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(F),r.Yb(a.c))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(F),Object(r.Yb)(a.c))},token:t,providedIn:"root"}),t})();const J=new r.q("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.V)(a.c)}});let tt=(()=>{class t{constructor(t){if(this.value="ltr",this.change=new r.n,t){const e=t.documentElement?t.documentElement.dir:null,n=(t.body?t.body.dir:null)||e;this.value="ltr"===n||"rtl"===n?n:"ltr"}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(J,8))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(J,8))},token:t,providedIn:"root"}),t})(),et=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t})();const nt=new r.O("9.2.3");var rt=n("jhN1"),it=n("JX91");function ot(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}let at=(t,e)=>!1,st=(t,e)=>!1,lt=(t,e,n)=>[];const ct=ot();(ct||"undefined"!=typeof Element)&&((t,e)=>t.contains(e),st=(()=>{if(ct||Element.prototype.matches)return(t,e)=>t.matches(e);{const t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?(t,n)=>e.apply(t,[n]):st}})());const ut=new r.q("AnimationModuleType"),ht=new r.O("9.2.3"),dt=new r.q("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}});let ft,pt=(()=>{class t{constructor(t,e,n){this._hasDoneGlobalChecks=!1,this._document=n,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=e,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}_getDocument(){const t=this._document||document;return"object"==typeof t&&t?t:null}_getWindow(){const t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}_checksAreEnabled(){return Object(r.W)()&&!this._isTestEnv()}_isTestEnv(){const t=this._getWindow();return t&&(t.__karma__||t.jasmine)}_checkDoctypeIsDefined(){const t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}_checkThemeIsPresent(){const t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(t||!e||!e.body||"function"!=typeof getComputedStyle)return;const n=e.createElement("div");n.classList.add("mat-theme-loaded-marker"),e.body.appendChild(n);const r=getComputedStyle(n);r&&"none"!==r.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),e.body.removeChild(n)}_checkCdkVersionMatch(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&ht.full!==nt.full&&console.warn("The Angular Material version ("+ht.full+") does not match the Angular CDK version ("+nt.full+").\nPlease ensure the versions of these two packages exactly match.")}}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)(r.Yb(Q),r.Yb(dt,8),r.Yb(a.c,8))},imports:[[et],et]}),t})();function gt(t){return class extends t{constructor(...t){super(...t),this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=O(t)}}}function mt(t,e){return class extends t{constructor(...t){super(...t),this.color=e}get color(){return this._color}set color(t){const n=t||e;n!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-"+this._color),n&&this._elementRef.nativeElement.classList.add("mat-"+n),this._color=n)}}}function vt(t){return class extends t{constructor(...t){super(...t),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(t){this._disableRipple=O(t)}}}function yt(t,e=0){return class extends t{constructor(...t){super(...t),this._tabIndex=e}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(t){this._tabIndex=null!=t?t:e}}}try{ft="undefined"!=typeof Intl}catch(Ao){ft=!1}class bt{constructor(t,e,n){this._renderer=t,this.element=e,this.config=n,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const _t={enterDuration:450,exitDuration:400},xt=V({passive:!0}),wt=["mousedown","touchstart"],St=["mouseup","mouseleave","touchend","touchcancel"];class kt{constructor(t,e,n,r){this._target=t,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=L(n))}fadeInRipple(t,e,n={}){const r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),i=Object.assign(Object.assign({},_t),n.animation);n.centered&&(t=r.left+r.width/2,e=r.top+r.height/2);const o=n.radius||function(t,e,n){const r=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(r*r+i*i)}(t,e,r),a=t-r.left,s=e-r.top,l=i.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=a-o+"px",c.style.top=s-o+"px",c.style.height=2*o+"px",c.style.width=2*o+"px",null!=n.color&&(c.style.backgroundColor=n.color),c.style.transitionDuration=l+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";const u=new bt(this,c,n);return u.state=0,this._activeRipples.add(u),n.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(()=>{const t=u===this._mostRecentTransientRipple;u.state=1,n.persistent||t&&this._isPointerDown||u.fadeOut()},l),u}fadeOutRipple(t){const e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const n=t.element,r=Object.assign(Object.assign({},_t),t.config.animation);n.style.transitionDuration=r.exitDuration+"ms",n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone(()=>{t.state=3,n.parentNode.removeChild(n)},r.exitDuration)}fadeOutAll(){this._activeRipples.forEach(t=>t.fadeOut())}setupTriggerEvents(t){const e=L(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(wt))}handleEvent(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(St),this._pointerUpEventsRegistered=!0)}_onMousedown(t){const e=W(t),n=this._lastTouchStartEvent&&Date.now(){!t.config.persistent&&(1===t.state||t.config.terminateOnPointerUp&&0===t.state)&&t.fadeOut()}))}_runTimeoutOutsideZone(t,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(t,e))}_registerEvents(t){this._ngZone.runOutsideAngular(()=>{t.forEach(t=>{this._triggerElement.addEventListener(t,this,xt)})})}_removeTriggerEvents(){this._triggerElement&&(wt.forEach(t=>{this._triggerElement.removeEventListener(t,this,xt)}),this._pointerUpEventsRegistered&&St.forEach(t=>{this._triggerElement.removeEventListener(t,this,xt)}))}}const Ct=new r.q("mat-ripple-global-options");let At=(()=>{class t{constructor(t,e,n,r,i){this._elementRef=t,this._animationMode=i,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new kt(this,e,t,n)}get disabled(){return this._disabled}set disabled(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(t,e=0,n){return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.z),r.Ob(F),r.Ob(Ct,8),r.Ob(ut,8))},t.\u0275dir=r.Jb({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&r.Gb("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),t})(),Tt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[pt,B],pt]}),t})();const Et=["sliderWrapper"],Mt=V({passive:!1}),Dt={provide:y.e,useExisting:Object(r.U)(()=>Lt),multi:!0};class It{}class Ot{constructor(t){this._elementRef=t}}const Pt=yt(mt(gt(Ot),"accent"));let Lt=(()=>{class t extends Pt{constructor(t,e,n,i,o,a,s,l){super(t),this._focusMonitor=e,this._changeDetectorRef=n,this._dir=i,this._animationMode=a,this._ngZone=s,this._invert=!1,this._max=100,this._min=0,this._step=1,this._thumbLabel=!1,this._tickInterval=0,this._value=null,this._vertical=!1,this.change=new r.n,this.input=new r.n,this.valueChange=new r.n,this.onTouched=()=>{},this._percent=0,this._isSliding=!1,this._isActive=!1,this._tickIntervalPercent=0,this._sliderDimensions=null,this._controlValueAccessorChangeFn=()=>{},this._dirChangeSubscription=C.a.EMPTY,this._pointerDown=t=>{this.disabled||this._isSliding||!Rt(t)&&0!==t.button||this._runInsideZone(()=>{const e=this.value,n=Nt(t);this._isSliding=!0,this._lastPointerEvent=t,t.preventDefault(),this._focusHostElement(),this._onMouseenter(),this._bindGlobalEvents(t),this._focusHostElement(),this._updateValueFromPosition(n),this._valueOnSlideStart=this.value,this._pointerPositionOnStart=n,e!=this.value&&(this._emitInputEvent(),this._emitChangeEvent())})},this._pointerMove=t=>{if(this._isSliding){t.preventDefault();const e=this.value;this._lastPointerEvent=t,this._updateValueFromPosition(Nt(t)),e!=this.value&&this._emitInputEvent()}},this._pointerUp=t=>{if(this._isSliding){const e=this._pointerPositionOnStart,n=Nt(t);t.preventDefault(),this._removeGlobalEvents(),this._valueOnSlideStart=this._pointerPositionOnStart=this._lastPointerEvent=null,this._isSliding=!1,this._valueOnSlideStart==this.value||this.disabled||!e||e.x===n.x&&e.y===n.y||this._emitChangeEvent()}},this._windowBlur=()=>{this._lastPointerEvent&&this._pointerUp(this._lastPointerEvent)},this._document=l,this.tabIndex=parseInt(o)||0,this._runOutsizeZone(()=>{const e=t.nativeElement;e.addEventListener("mousedown",this._pointerDown,Mt),e.addEventListener("touchstart",this._pointerDown,Mt)})}get invert(){return this._invert}set invert(t){this._invert=O(t)}get max(){return this._max}set max(t){this._max=P(t,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get min(){return this._min}set min(t){this._min=P(t,this._min),null===this._value&&(this.value=this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}get step(){return this._step}set step(t){this._step=P(t,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}get thumbLabel(){return this._thumbLabel}set thumbLabel(t){this._thumbLabel=O(t)}get tickInterval(){return this._tickInterval}set tickInterval(t){this._tickInterval="auto"===t?"auto":"number"==typeof t||"string"==typeof t?P(t,this._tickInterval):0}get value(){return null===this._value&&(this.value=this._min),this._value}set value(t){if(t!==this._value){let e=P(t);this._roundToDecimal&&(e=parseFloat(e.toFixed(this._roundToDecimal))),this._value=e,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}get vertical(){return this._vertical}set vertical(t){this._vertical=O(t)}get displayValue(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0}focus(t){this._focusHostElement(t)}blur(){this._blurHostElement()}get percent(){return this._clamp(this._percent)}get _invertAxis(){return this.vertical?!this.invert:this.invert}get _isMinValue(){return 0===this.percent}get _thumbGap(){return this.disabled?7:this._isMinValue&&!this.thumbLabel?this._isActive?10:7:0}get _trackBackgroundStyles(){const t=this.vertical?`1, ${1-this.percent}, 1`:1-this.percent+", 1, 1";return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"-":""}${this._thumbGap}px) scale3d(${t})`}}get _trackFillStyles(){const t=this.percent,e=this.vertical?`1, ${t}, 1`:t+", 1, 1";return{transform:`translate${this.vertical?"Y":"X"}(${this._shouldInvertMouseCoords()?"":"-"}${this._thumbGap}px) scale3d(${e})`,display:0===t?"none":""}}get _ticksContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"-":""}${this._tickIntervalPercent/2*100}%)`}}get _ticksStyles(){let t=100*this._tickIntervalPercent,e={backgroundSize:this.vertical?`2px ${t}%`:t+"% 2px",transform:`translateZ(0) translate${this.vertical?"Y":"X"}(${this.vertical||"rtl"!=this._getDirection()?"":"-"}${t/2}%)${this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)"}`};if(this._isMinValue&&this._thumbGap){let t;t=this.vertical?this._invertAxis?"Bottom":"Top":this._invertAxis?"Right":"Left",e["padding"+t]=this._thumbGap+"px"}return e}get _thumbContainerStyles(){return{transform:`translate${this.vertical?"Y":"X"}(-${100*(("rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis)?this.percent:1-this.percent)}%)`}}_shouldInvertMouseCoords(){return"rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis}_getDirection(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}ngOnInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(t=>{this._isActive=!!t&&"keyboard"!==t,this._changeDetectorRef.detectChanges()}),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe(()=>{this._changeDetectorRef.markForCheck()}))}ngOnDestroy(){const t=this._elementRef.nativeElement;t.removeEventListener("mousedown",this._pointerDown,Mt),t.removeEventListener("touchstart",this._pointerDown,Mt),this._lastPointerEvent=null,this._removeGlobalEvents(),this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()}_onMouseenter(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())}_onFocus(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()}_onBlur(){this.onTouched()}_onKeydown(t){if(this.disabled||function(t,...e){return e.length?e.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}(t))return;const e=this.value;switch(t.keyCode){case 33:this._increment(10);break;case 34:this._increment(-10);break;case 35:this.value=this.max;break;case 36:this.value=this.min;break;case 37:this._increment("rtl"==this._getDirection()?1:-1);break;case 38:this._increment(1);break;case 39:this._increment("rtl"==this._getDirection()?-1:1);break;case 40:this._increment(-1);break;default:return}e!=this.value&&(this._emitInputEvent(),this._emitChangeEvent()),this._isSliding=!0,t.preventDefault()}_onKeyup(){this._isSliding=!1}_getWindow(){var t;return(null===(t=this._document)||void 0===t?void 0:t.defaultView)||window}_bindGlobalEvents(t){const e=this._document;if(void 0!==e&&e){const n=Rt(t),r=n?"touchend":"mouseup";e.addEventListener(n?"touchmove":"mousemove",this._pointerMove,Mt),e.addEventListener(r,this._pointerUp,Mt),n&&e.addEventListener("touchcancel",this._pointerUp,Mt)}const n=this._getWindow();void 0!==n&&n&&n.addEventListener("blur",this._windowBlur)}_removeGlobalEvents(){const t=this._document;void 0!==t&&t&&(t.removeEventListener("mousemove",this._pointerMove,Mt),t.removeEventListener("mouseup",this._pointerUp,Mt),t.removeEventListener("touchmove",this._pointerMove,Mt),t.removeEventListener("touchend",this._pointerUp,Mt),t.removeEventListener("touchcancel",this._pointerUp,Mt));const e=this._getWindow();void 0!==e&&e&&e.removeEventListener("blur",this._windowBlur)}_increment(t){this.value=this._clamp((this.value||0)+this.step*t,this.min,this.max)}_updateValueFromPosition(t){if(!this._sliderDimensions)return;let e=this._clamp(((this.vertical?t.y:t.x)-(this.vertical?this._sliderDimensions.top:this._sliderDimensions.left))/(this.vertical?this._sliderDimensions.height:this._sliderDimensions.width));if(this._shouldInvertMouseCoords()&&(e=1-e),0===e)this.value=this.min;else if(1===e)this.value=this.max;else{const t=this._calculateValue(e),n=Math.round((t-this.min)/this.step)*this.step+this.min;this.value=this._clamp(n,this.min,this.max)}}_emitChangeEvent(){this._controlValueAccessorChangeFn(this.value),this.valueChange.emit(this.value),this.change.emit(this._createChangeEvent())}_emitInputEvent(){this.input.emit(this._createChangeEvent())}_updateTickIntervalPercent(){if(this.tickInterval&&this._sliderDimensions)if("auto"==this.tickInterval){let t=this.vertical?this._sliderDimensions.height:this._sliderDimensions.width,e=Math.ceil(30/(t*this.step/(this.max-this.min)));this._tickIntervalPercent=e*this.step/t}else this._tickIntervalPercent=this.tickInterval*this.step/(this.max-this.min)}_createChangeEvent(t=this.value){let e=new It;return e.source=this,e.value=t,e}_calculatePercentage(t){return((t||0)-this.min)/(this.max-this.min)}_calculateValue(t){return this.min+t*(this.max-this.min)}_clamp(t,e=0,n=1){return Math.max(e,Math.min(t,n))}_getSliderDimensions(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}_focusHostElement(t){this._elementRef.nativeElement.focus(t)}_blurHostElement(){this._elementRef.nativeElement.blur()}_runInsideZone(t){this._ngZone?this._ngZone.run(t):t()}_runOutsizeZone(t){this._ngZone?this._ngZone.runOutsideAngular(t):t()}writeValue(t){this.value=t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(X),r.Ob(r.h),r.Ob(tt,8),r.Zb("tabindex"),r.Ob(ut,8),r.Ob(r.z),r.Ob(a.c,8))},t.\u0275cmp=r.Ib({type:t,selectors:[["mat-slider"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Et,!0),2&t&&r.qc(n=r.dc())&&(e._sliderWrapper=n.first)},hostAttrs:["role","slider",1,"mat-slider","mat-focus-indicator"],hostVars:28,hostBindings:function(t,e){1&t&&r.cc("focus",(function(){return e._onFocus()}))("blur",(function(){return e._onBlur()}))("keydown",(function(t){return e._onKeydown(t)}))("keyup",(function(){return e._onKeyup()}))("mouseenter",(function(){return e._onMouseenter()}))("selectstart",(function(t){return t.preventDefault()})),2&t&&(r.Xb("tabIndex",e.tabIndex),r.Db("aria-disabled",e.disabled)("aria-valuemax",e.max)("aria-valuemin",e.min)("aria-valuenow",e.value)("aria-orientation",e.vertical?"vertical":"horizontal"),r.Gb("mat-slider-disabled",e.disabled)("mat-slider-has-ticks",e.tickInterval)("mat-slider-horizontal",!e.vertical)("mat-slider-axis-inverted",e._invertAxis)("mat-slider-invert-mouse-coords",e._shouldInvertMouseCoords())("mat-slider-sliding",e._isSliding)("mat-slider-thumb-label-showing",e.thumbLabel)("mat-slider-vertical",e.vertical)("mat-slider-min-value",e._isMinValue)("mat-slider-hide-last-tick",e.disabled||e._isMinValue&&e._thumbGap&&e._invertAxis)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",color:"color",tabIndex:"tabIndex",invert:"invert",max:"max",min:"min",value:"value",step:"step",thumbLabel:"thumbLabel",tickInterval:"tickInterval",vertical:"vertical",displayWith:"displayWith"},outputs:{change:"change",input:"input",valueChange:"valueChange"},exportAs:["matSlider"],features:[r.Bb([Dt]),r.zb],decls:13,vars:6,consts:[[1,"mat-slider-wrapper"],["sliderWrapper",""],[1,"mat-slider-track-wrapper"],[1,"mat-slider-track-background",3,"ngStyle"],[1,"mat-slider-track-fill",3,"ngStyle"],[1,"mat-slider-ticks-container",3,"ngStyle"],[1,"mat-slider-ticks",3,"ngStyle"],[1,"mat-slider-thumb-container",3,"ngStyle"],[1,"mat-slider-focus-ring"],[1,"mat-slider-thumb"],[1,"mat-slider-thumb-label"],[1,"mat-slider-thumb-label-text"]],template:function(t,e){1&t&&(r.Ub(0,"div",0,1),r.Ub(2,"div",2),r.Pb(3,"div",3),r.Pb(4,"div",4),r.Tb(),r.Ub(5,"div",5),r.Pb(6,"div",6),r.Tb(),r.Ub(7,"div",7),r.Pb(8,"div",8),r.Pb(9,"div",9),r.Ub(10,"div",10),r.Ub(11,"span",11),r.Ac(12),r.Tb(),r.Tb(),r.Tb(),r.Tb()),2&t&&(r.Cb(3),r.lc("ngStyle",e._trackBackgroundStyles),r.Cb(1),r.lc("ngStyle",e._trackFillStyles),r.Cb(1),r.lc("ngStyle",e._ticksContainerStyles),r.Cb(1),r.lc("ngStyle",e._ticksStyles),r.Cb(1),r.lc("ngStyle",e._thumbContainerStyles),r.Cb(5),r.Bc(e.displayValue))},directives:[a.k],styles:['.mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:none;vertical-align:middle}.mat-slider:not(.mat-slider-disabled):active,.mat-slider.mat-slider-sliding:not(.mat-slider-disabled){cursor:-webkit-grabbing;cursor:grabbing}.mat-slider-wrapper{position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{background-repeat:repeat;background-clip:content-box;box-sizing:border-box;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb{cursor:-webkit-grab;cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;border-radius:50%;transform:scale(0.7);transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-radius 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-high-contrast-active .mat-slider-thumb-label{outline:solid 1px}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-sliding .mat-slider-track-fill,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-thumb-container{transition-duration:0ms}.mat-slider-has-ticks .mat-slider-wrapper::after{content:"";position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(0.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.cdk-high-contrast-active .mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(0.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.cdk-high-contrast-active .mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(0.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-track-fill,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after{transition:none}\n'],encapsulation:2,changeDetection:0}),t})();function Rt(t){return"t"===t.type[0]}function Nt(t){const e=Rt(t)?t.touches[0]||t.changedTouches[0]:t;return{x:e.clientX,y:e.clientY}}let zt=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[a.b,pt],pt]}),t})();var Ft=n("DH7j"),Bt=n("n6bG");function Vt(t,e,n,r){return Object(Bt.a)(n)&&(r=n,n=void 0),r?Vt(t,e,n).pipe(Object(D.a)(t=>Object(Ft.a)(t)?r(...t):r(t))):new Y.a(r=>{!function t(e,n,r,i,o){let a;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){const t=e;e.addEventListener(n,r,o),a=()=>t.removeEventListener(n,r,o)}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){const t=e;e.on(n,r),a=()=>t.off(n,r)}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){const t=e;e.addListener(n,r),a=()=>t.removeListener(n,r)}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(let a=0,s=e.length;a1?Array.prototype.slice.call(arguments):t)}),r,n)})}var jt=n("VRyK"),Yt=n("3N8a");class Ut extends Yt.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,n=0){return null!==n&&n>0?super.requestAsyncId(t,e,n):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame(()=>t.flush(null))))}recycleAsyncId(t,e,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(t,e,n);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}var Gt=n("IjjT");class Ht extends Gt.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let n,r=-1,i=e.length;t=t||e.shift();do{if(n=t.execute(t.state,t.delay))break}while(++r=0}var Jt=n("z+Ro");function te(t){const{index:e,period:n,subscriber:r}=t;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}function ee(t,e=Wt.a){return n=()=>function(t=0,e,n){let r=-1;return Qt(e)?r=Number(e)<1?1:Number(e):Object(Jt.a)(e)&&(n=e),Object(Jt.a)(n)||(n=Wt.a),new Y.a(e=>{const i=Qt(t)?t:+t-n.now();return n.schedule(te,i,{index:0,period:r,subscriber:e})})}(t,e),function(t){return t.lift(new Xt(n))};var n}function ne(t){return e=>e.lift(new re(t))}class re{constructor(t){this.notifier=t}call(t,e){const n=new ie(t),r=Object(Zt.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}class ie extends $t.a{constructor(t){super(t),this.seenValue=!1}notifyNext(t,e,n,r,i){this.seenValue=!0,this.complete()}notifyComplete(){}}n("7o/Q");var oe=n("eIep");n("EY2u"),n("9ppp"),n("Ylt2");let ae=(()=>{class t{constructor(t,e,n){this._ngZone=t,this._platform=e,this._scrolled=new k.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=n}register(t){this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe(()=>this._scrolled.next(t)))}deregister(t){const e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}scrolled(t=20){return this._platform.isBrowser?new Y.a(e=>{this._globalSubscription||this._addGlobalListener();const n=t>0?this._scrolled.pipe(ee(t)).subscribe(e):this._scrolled.subscribe(e);return this._scrolledCount++,()=>{n.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):Object(A.a)()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((t,e)=>this.deregister(e)),this._scrolled.complete()}ancestorScrolled(t,e){const n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(M.a)(t=>!t||n.indexOf(t)>-1))}getAncestorScrollContainers(t){const e=[];return this.scrollContainers.forEach((n,r)=>{this._scrollableContainsElement(r,t)&&e.push(r)}),e}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_scrollableContainsElement(t,e){let n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Vt(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(r.z),r.Yb(F),r.Yb(a.c,8))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(r.z),Object(r.Yb)(F),Object(r.Yb)(a.c,8))},token:t,providedIn:"root"}),t})(),se=(()=>{class t{constructor(t,e,n){this._platform=t,this._document=n,e.runOutsideAngular(()=>{const e=this._getWindow();this._change=t.isBrowser?Object(jt.a)(Vt(e,"resize"),Vt(e,"orientationchange")):Object(A.a)(),this._invalidateCache=this.change().subscribe(()=>this._updateViewportSize())})}ngOnDestroy(){this._invalidateCache.unsubscribe()}getViewportSize(){this._viewportSize||this._updateViewportSize();const t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}getViewportRect(){const t=this.getViewportScrollPosition(),{width:e,height:n}=this.getViewportSize();return{top:t.top,left:t.left,bottom:t.top+n,right:t.left+e,height:n,width:e}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const t=this._getDocument(),e=this._getWindow(),n=t.documentElement,r=n.getBoundingClientRect();return{top:-r.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-r.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}change(t=20){return t>0?this._change.pipe(ee(t)):this._change}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_updateViewportSize(){const t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(F),r.Yb(r.z),r.Yb(a.c,8))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(F),Object(r.Yb)(r.z),Object(r.Yb)(a.c,8))},token:t,providedIn:"root"}),t})(),le=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t})();function ce(t){const{subscriber:e,counter:n,period:r}=t;e.next(n),this.schedule({subscriber:e,counter:n+1,period:r},r)}function ue(t,e){for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function he(t,e){const n=e?"":"none";ue(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function de(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function fe(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function pe(t){const e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function ge(t,e,n){const{top:r,bottom:i,left:o,right:a}=t;return n>=r&&n<=i&&e>=o&&e<=a}function me(t,e,n){t.top+=e,t.bottom=t.top+t.height,t.left+=n,t.right=t.left+t.width}function ve(t,e,n,r){const{top:i,right:o,bottom:a,left:s,width:l,height:c}=t,u=l*e,h=c*e;return r>i-h&&rs-u&&n{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:pe(t)})})}handleScroll(t){const e=t.target,n=this.positions.get(e);if(!n)return null;const r=e===this._document?e.documentElement:e,i=n.scrollPosition;let o,a;if(e===this._document){const t=this._viewportRuler.getViewportScrollPosition();o=t.top,a=t.left}else o=e.scrollTop,a=e.scrollLeft;const s=i.top-o,l=i.left-a;return this.positions.forEach((t,n)=>{t.clientRect&&e!==n&&r.contains(n)&&me(t.clientRect,s,l)}),i.top=o,i.left=a,{top:s,left:l}}}const be=V({passive:!0}),_e=V({passive:!1});class xe{constructor(t,e,n,r,i,o){this._config=e,this._document=n,this._ngZone=r,this._viewportRuler=i,this._dragDropRegistry=o,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._moveEvents=new k.a,this._pointerMoveSubscription=C.a.EMPTY,this._pointerUpSubscription=C.a.EMPTY,this._scrollSubscription=C.a.EMPTY,this._resizeSubscription=C.a.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this._disabled=!1,this.beforeStarted=new k.a,this.started=new k.a,this.released=new k.a,this.ended=new k.a,this.entered=new k.a,this.exited=new k.a,this.dropped=new k.a,this.moved=this._moveEvents.asObservable(),this._pointerDown=t=>{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const n=t.target;return!!n&&(n===e||e.contains(n))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)},this._pointerMove=t=>{t.preventDefault();const e=this._getPointerPositionOnPage(t);if(!this._hasStartedDragging){if(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){if(!(Date.now()>=this._dragStartTime+this._getDragStartDelay(t)))return void this._endDragSequence(t);this._dropContainer&&this._dropContainer.isDragging()||(this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()));const n=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._updatePointerDirectionDelta(n),this._dropContainer)this._updateActiveDropContainer(n);else{const t=this._activeTransform;t.x=n.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=n.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:n,event:t,distance:this._getDragDistance(n),delta:this._pointerDirectionDelta})})},this._pointerUp=t=>{this._endDragSequence(t)},this.withRootElement(t),this._parentPositions=new ye(n,i),o.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=O(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions())}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){return this._handles=t.map(t=>L(t)),this._handles.forEach(t=>he(t,!1)),this._toggleNativeDragInteractions(),this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=L(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,_e),e.addEventListener("touchstart",this._pointerDown,be)}),this._initialTransform=void 0,this._rootElement=e),this}withBoundaryElement(t){return this._boundaryElement=t?L(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&Ce(this._rootElement),Ce(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._placeholderTemplate=this._previewTemplate=this._anchor=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){this._handles.indexOf(t)>-1&&this._disabledHandles.add(t)}enableHandle(t){this._disabledHandles.delete(t)}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}_sortFromLastPointerPosition(){const t=this._pointerPositionAtLastDirectionChange;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t))}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&Ce(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&Ce(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(t))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(t){this.started.next({source:this}),Ae(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,r=t.parentNode,i=this._preview=this._createPreviewElement(),o=this._placeholder=this._createPlaceholderElement(),a=this._anchor=this._anchor||this._document.createComment("");r.insertBefore(a,t),t.style.display="none",this._document.body.appendChild(r.replaceChild(o,t)),(n=this._document,n.fullscreenElement||n.webkitFullscreenElement||n.mozFullScreenElement||n.msFullscreenElement||n.body).appendChild(i),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this._initialContainer=this._initialIndex=void 0;var n;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){e.stopPropagation();const n=this.isDragging(),r=Ae(e),i=!r&&0!==e.button,o=this._rootElement,a=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),n||i||a)return;this._handles.length&&(this._rootElementTapHighlight=o.style.webkitTapHighlightColor,o.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.subscribe(t=>{this._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=pe(this._boundaryElement));const s=this._previewTemplate;this._pickupPositionInElement=s&&s.template&&!s.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const l=this._pickupPositionOnPage=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:l.x,y:l.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){this._rootElement.style.display="",this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const e=this._dropContainer,n=e.getItemIndex(this),r=this._getPointerPositionOnPage(t),i=this._getDragDistance(this._getPointerPositionOnPage(t)),o=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:i}),this.dropped.next({item:this,currentIndex:n,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:i}),e.drop(this,n,this._initialContainer,o,i,this._initialIndex),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e}){let n=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!n&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(n=this._initialContainer),n&&n!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=n,this._dropContainer.enter(this,t,e,n===this._initialContainer&&n.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:n,currentIndex:n.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(t,e),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._preview.style.transform=we(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y)}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,n=t?t.template:null;let r;if(n&&t){const e=t.matchSize?this._rootElement.getBoundingClientRect():null,i=t.viewContainer.createEmbeddedView(n,t.context);i.detectChanges(),r=Te(i,this._document),this._previewRef=i,t.matchSize?Ee(r,e):r.style.transform=we(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement;r=Se(t),Ee(r,t.getBoundingClientRect())}return ue(r.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),he(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(t=>r.classList.add(t)):r.classList.add(e)),r}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=we(t.left,t.top);const e=function(t){const e=getComputedStyle(t),n=fe(e,"transition-property"),r=n.find(t=>"transform"===t||"all"===t);if(!r)return 0;const i=n.indexOf(r),o=fe(e,"transition-duration"),a=fe(e,"transition-delay");return de(o[i])+de(a[i])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const n=e=>{(!e||e.target===this._preview&&"transform"===e.propertyName)&&(this._preview.removeEventListener("transitionend",n),t(),clearTimeout(r))},r=setTimeout(n,1.5*e);this._preview.addEventListener("transitionend",n)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let n;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),n=Te(this._placeholderRef,this._document)):n=Se(this._rootElement),n.classList.add("cdk-drag-placeholder"),n}_getPointerPositionInElement(t,e){const n=this._rootElement.getBoundingClientRect(),r=t===this._rootElement?null:t,i=r?r.getBoundingClientRect():n,o=Ae(e)?e.targetTouches[0]:e,a=this._getViewportScrollPosition();return{x:i.left-n.left+(o.pageX-i.left-a.left),y:i.top-n.top+(o.pageY-i.top-a.top)}}_getPointerPositionOnPage(t){const e=Ae(t)?t.touches[0]||t.changedTouches[0]:t,n=this._getViewportScrollPosition();return{x:e.pageX-n.left,y:e.pageY-n.top}}_getConstrainedPointerPosition(t){const e=this.constrainPosition?this.constrainPosition(t,this):t,n=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===n?e.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==n||(e.x=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:n}=this._pickupPositionInElement,r=this._boundaryRect,i=this._previewRect,o=r.top+n,a=r.bottom-(i.height-n);e.x=ke(e.x,r.left+t,r.right-(i.width-t)),e.y=ke(e.y,o,a)}return e}_updatePointerDirectionDelta(t){const{x:e,y:n}=t,r=this._pointerDirectionDelta,i=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-i.x),a=Math.abs(n-i.y);return o>this._config.pointerDirectionChangeThreshold&&(r.x=e>i.x?1:-1,i.x=e),a>this._config.pointerDirectionChangeThreshold&&(r.y=n>i.y?1:-1,i.y=n),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,he(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,_e),t.removeEventListener("touchstart",this._pointerDown,be)}_applyRootElementTransform(t,e){const n=we(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const n=this._boundaryElement.getBoundingClientRect(),r=this._rootElement.getBoundingClientRect();if(0===n.width&&0===n.height||0===r.width&&0===r.height)return;const i=n.left-r.left,o=r.right-n.right,a=n.top-r.top,s=r.bottom-n.bottom;n.width>r.width?(i>0&&(t+=i),o>0&&(t-=o)):t=0,n.height>r.height?(a>0&&(e+=a),s>0&&(e-=s)):e=0,t===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:Ae(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);this._boundaryRect&&e&&me(this._boundaryRect,e.top,e.left)}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}}function we(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function Se(t){const e=t.cloneNode(!0),n=e.querySelectorAll("[id]"),r=t.querySelectorAll("canvas");e.removeAttribute("id");for(let i=0;ir.appendChild(t)),r}function Ee(t,e){t.style.width=e.width+"px",t.style.height=e.height+"px",t.style.transform=we(e.left,e.top)}function Me(t,e,n){const r=De(e,t.length-1),i=De(n,t.length-1);if(r===i)return;const o=t[r],a=i!0,this.beforeStarted=new k.a,this.entered=new k.a,this.exited=new k.a,this.dropped=new k.a,this.sorted=new k.a,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0},this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=C.a.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new k.a,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),function(t=0,e=Wt.a){return(!Qt(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=Wt.a),new Y.a(n=>(n.add(e.schedule(ce,t,{subscriber:n,counter:0,period:t})),n))}(0,qt).pipe(ne(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode;1===this._verticalScrollDirection?Pe(t,-2):2===this._verticalScrollDirection&&Pe(t,2),1===this._horizontalScrollDirection?Le(t,-2):2===this._horizontalScrollDirection&&Le(t,2)})},this.element=L(t),this._document=n,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new ye(n,i)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){const t=L(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._siblings.forEach(t=>t._startReceiving(this)),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}enter(t,e,n,r){let i;this.start(),null==r?(i=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===i&&(i=this._getItemIndexFromPointerPosition(t,e,n))):i=r;const o=this._activeDraggables,a=o.indexOf(t),s=t.getPlaceholderElement();let l=o[i];if(l===t&&(l=o[i+1]),a>-1&&o.splice(a,1),l&&!this._dragDropRegistry.isDragging(l)){const e=l.getRootElement();e.parentElement.insertBefore(s,e),o.splice(i,0,t)}else{const r=L(this.element);this._shouldEnterAsFirstChild(e,n)?(r.insertBefore(s,o[0].getRootElement()),o.unshift(t)):(r.appendChild(s),o.push(t))}s.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,n,r,i,o){this._reset(),null==o&&(o=n.getItemIndex(t)),this.dropped.next({item:t,currentIndex:e,previousIndex:o,container:this,previousContainer:n,isPointerOverContainer:r,distance:i})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(t=>t.isDragging()).every(e=>-1===t.indexOf(e))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=L(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?Oe("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,n,r){if(this.sortingDisabled||!ve(this._clientRect,.05,e,n))return;const i=this._itemPositions,o=this._getItemIndexFromPointerPosition(t,e,n,r);if(-1===o&&i.length>0)return;const a="horizontal"===this._orientation,s=Oe(i,e=>e.drag===t),l=i[o],c=i[s].clientRect,u=l.clientRect,h=s>o?1:-1;this._previousSwap.drag=l.drag,this._previousSwap.delta=a?r.x:r.y;const d=this._getItemOffsetPx(c,u,h),f=this._getSiblingOffsetPx(s,i,h),p=i.slice();Me(i,s,o),this.sorted.next({previousIndex:s,currentIndex:o,container:this,item:t}),i.forEach((e,n)=>{if(p[n]===e)return;const r=e.drag===t,i=r?d:f,o=r?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=i,a?(o.style.transform=`translate3d(${Math.round(e.offset)}px, 0, 0)`,me(e.clientRect,0,i)):(o.style.transform=`translate3d(0, ${Math.round(e.offset)}px, 0)`,me(e.clientRect,i,0))})}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let n,r=0,i=0;if(this._parentPositions.positions.forEach((o,a)=>{a!==this._document&&o.clientRect&&!n&&ve(o.clientRect,.05,t,e)&&([r,i]=function(t,e,n,r){const i=Re(e,r),o=Ne(e,n);let a=0,s=0;if(i){const e=t.scrollTop;1===i?e>0&&(a=1):t.scrollHeight-e>t.clientHeight&&(a=2)}if(o){const e=t.scrollLeft;1===o?e>0&&(s=1):t.scrollWidth-e>t.clientWidth&&(s=2)}return[a,s]}(a,o.clientRect,t,e),(r||i)&&(n=a))}),!r&&!i){const{width:o,height:a}=this._viewportRuler.getViewportSize(),s={width:o,height:a,top:0,right:o,bottom:a,left:0};r=Re(s,e),i=Ne(s,t),n=window}!n||r===this._verticalScrollDirection&&i===this._horizontalScrollDirection&&n===this._scrollNode||(this._verticalScrollDirection=r,this._horizontalScrollDirection=i,this._scrollNode=n,(r||i)&&n?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_cacheParentPositions(){const t=L(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=t.getVisibleElement();return{drag:t,offset:0,clientRect:pe(e)}}).sort((e,n)=>t?e.clientRect.left-n.clientRect.left:e.clientRect.top-n.clientRect.top)}_reset(){this._isDragging=!1;const t=L(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(t=>{const e=t.getRootElement();e&&(e.style.transform="")}),this._siblings.forEach(t=>t._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(t,e,n){const r="horizontal"===this._orientation,i=e[t].clientRect,o=e[t+-1*n];let a=i[r?"width":"height"]*n;if(o){const t=r?"left":"top",e=r?"right":"bottom";-1===n?a-=o.clientRect[t]-i[e]:a+=i[t]-o.clientRect[e]}return a}_getItemOffsetPx(t,e,n){const r="horizontal"===this._orientation;let i=r?e.left-t.left:e.top-t.top;return-1===n&&(i+=r?e.width-t.width:e.height-t.height),i}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const n=this._itemPositions,r="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){const i=n[n.length-1].clientRect;return r?t>=i.right:e>=i.bottom}{const i=n[0].clientRect;return r?t<=i.left:e<=i.top}}_getItemIndexFromPointerPosition(t,e,n,r){const i="horizontal"===this._orientation;return Oe(this._itemPositions,({drag:o,clientRect:a},s,l)=>{if(o===t)return l.length<2;if(r){const t=i?r.x:r.y;if(o===this._previousSwap.drag&&t===this._previousSwap.delta)return!1}return i?e>=Math.floor(a.left)&&e=Math.floor(a.top)&&nr._canReceive(t,e,n))}_canReceive(t,e,n){if(!ge(this._clientRect,e,n)||!this.enterPredicate(t,this))return!1;const r=this._getShadowRoot().elementFromPoint(e,n);if(!r)return!1;const i=L(this.element);return r===i||i.contains(r)}_startReceiving(t){const e=this._activeSiblings;e.has(t)||(e.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:t})=>{me(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=j(L(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}}function Oe(t,e){for(let n=0;n=n-o&&e<=n+o?1:e>=r-o&&e<=r+o?2:0}function Ne(t,e){const{left:n,right:r,width:i}=t,o=.05*i;return e>=n-o&&e<=n+o?1:e>=r-o&&e<=r+o?2:0}const ze=V({passive:!1,capture:!0});let Fe=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new k.a,this.pointerUp=new k.a,this.scroll=new k.a,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.size&&t.preventDefault()},this._document=e}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._preventDefaultWhileDragging,ze)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,ze)}startDragging(t,e){if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){const t=e.type.startsWith("touch"),n=t?"touchend":"mouseup";this._globalListeners.set(t?"touchmove":"mousemove",{handler:t=>this.pointerMove.next(t),options:ze}).set(n,{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:ze}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances.has(t)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(r.z),r.Yb(a.c))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(r.z),Object(r.Yb)(a.c))},token:t,providedIn:"root"}),t})();const Be={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let Ve=(()=>{class t{constructor(t,e,n,r){this._document=t,this._ngZone=e,this._viewportRuler=n,this._dragDropRegistry=r}createDrag(t,e=Be){return new xe(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new Ie(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(a.c),r.Yb(r.z),r.Yb(se),r.Yb(Fe))},t.\u0275prov=Object(r.Kb)({factory:function(){return new t(Object(r.Yb)(a.c),Object(r.Yb)(r.z),Object(r.Yb)(se),Object(r.Yb)(Fe))},token:t,providedIn:"root"}),t})();const je=new r.q("CDK_DRAG_PARENT");let Ye=(()=>{class t{constructor(t,e){this.element=t,this._stateChanges=new k.a,this._disabled=!1,this._parentDrag=e,he(t.nativeElement,!1)}get disabled(){return this._disabled}set disabled(t){this._disabled=O(t),this._stateChanges.next(this)}ngOnDestroy(){this._stateChanges.complete()}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(je,8))},t.\u0275dir=r.Jb({type:t,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]}}),t})(),Ue=(()=>{class t{constructor(t){this.templateRef=t}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.M))},t.\u0275dir=r.Jb({type:t,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"}}),t})(),Ge=(()=>{class t{constructor(t){this.templateRef=t,this._matchSize=!1}get matchSize(){return this._matchSize}set matchSize(t){this._matchSize=O(t)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.M))},t.\u0275dir=r.Jb({type:t,selectors:[["ng-template","cdkDragPreview",""]],inputs:{matchSize:"matchSize",data:"data"}}),t})();const He=new r.q("CDK_DRAG_CONFIG"),qe=new r.q("CDK_DROP_LIST");let We=(()=>{class t{constructor(t,e,n,i,o,a,s,l,c){this.element=t,this.dropContainer=e,this._document=n,this._ngZone=i,this._viewContainerRef=o,this._dir=s,this._changeDetectorRef=c,this._destroyed=new k.a,this.started=new r.n,this.released=new r.n,this.ended=new r.n,this.entered=new r.n,this.exited=new r.n,this.dropped=new r.n,this.moved=new Y.a(t=>{const e=this._dragRef.moved.pipe(Object(D.a)(t=>({source:this,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}))).subscribe(t);return()=>{e.unsubscribe()}}),this._dragRef=l.createDrag(t,{dragStartThreshold:a&&null!=a.dragStartThreshold?a.dragStartThreshold:5,pointerDirectionChangeThreshold:a&&null!=a.pointerDirectionChangeThreshold?a.pointerDirectionChangeThreshold:5,zIndex:null==a?void 0:a.zIndex}),this._dragRef.data=this,a&&this._assignDefaults(a),e&&(this._dragRef._withDropContainer(e._dropListRef),e.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=O(t),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.onStable.asObservable().pipe(Object(I.a)(1),ne(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(Object(it.a)(this._handles),Object(T.a)(t=>{const e=t.filter(t=>t._parentDrag===this).map(t=>t.element);this._dragRef.withHandles(e)}),Object(oe.a)(t=>Object(jt.a)(...t.map(t=>t._stateChanges.pipe(Object(it.a)(t))))),ne(this._destroyed)).subscribe(t=>{const e=this._dragRef,n=t.element.nativeElement;t.disabled?e.disableHandle(n):e.enableHandle(n)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(t){const e=t.rootElementSelector,n=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const t=this.element.nativeElement,e=this.rootElementSelector?$e(t,this.rootElementSelector):t;if(e&&e.nodeType!==this._document.ELEMENT_NODE)throw Error(`cdkDrag must be attached to an element node. Currently attached to "${e.nodeName}".`);this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;if(!t)return null;if("string"==typeof t)return $e(this.element.nativeElement,t);const e=L(t);if(Object(r.W)()&&!e.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return e}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const e=this._dir,n=this.dragStartDelay,r=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,i=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof n&&n?n:P(n),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(r).withPreviewTemplate(i),e&&t.withDirection(e.value)}})}_handleEvents(t){t.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(()=>{this.released.emit({source:this})}),t.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:this,distance:t.distance})})}_assignDefaults(t){const{lockAxis:e,dragStartDelay:n,constrainPosition:r,previewClass:i,boundaryElement:o,draggingDisabled:a,rootElementSelector:s}=t;this.disabled=null!=a&&a,this.dragStartDelay=n||0,e&&(this.lockAxis=e),r&&(this.constrainPosition=r),i&&(this.previewClass=i),o&&(this.boundaryElement=o),s&&(this.rootElementSelector=s)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(qe,12),r.Ob(a.c),r.Ob(r.z),r.Ob(r.P),r.Ob(He,8),r.Ob(tt,8),r.Ob(Ve),r.Ob(r.h))},t.\u0275dir=r.Jb({type:t,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,n){var i;1&t&&(r.Hb(n,Ge,!0),r.Hb(n,Ue,!0),r.Hb(n,Ye,!0)),2&t&&(r.qc(i=r.dc())&&(e._previewTemplate=i.first),r.qc(i=r.dc())&&(e._placeholderTemplate=i.first),r.qc(i=r.dc())&&(e._handles=i))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&r.Gb("cdk-drag-disabled",e.disabled)("cdk-drag-dragging",e._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[r.Bb([{provide:je,useExisting:t}]),r.Ab]}),t})();function $e(t,e){let n=t.parentElement;for(;n;){if(n.matches?n.matches(e):n.msMatchesSelector(e))return n;n=n.parentElement}return null}let Ze=(()=>{class t{constructor(){this._items=new Set,this._disabled=!1}get disabled(){return this._disabled}set disabled(t){this._disabled=O(t)}ngOnDestroy(){this._items.clear()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=r.Jb({type:t,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"]}),t})(),Xe=0,Ke=(()=>{class t{constructor(e,n,i,o,a,s,l){this.element=e,this._changeDetectorRef=i,this._dir=o,this._group=a,this._scrollDispatcher=s,this._destroyed=new k.a,this.connectedTo=[],this.id="cdk-drop-list-"+Xe++,this.enterPredicate=()=>!0,this.dropped=new r.n,this.entered=new r.n,this.exited=new r.n,this.sorted=new r.n,this._unsortedItems=new Set,this._dropListRef=n.createDropList(e),this._dropListRef.data=this,l&&this._assignDefaults(l),this._dropListRef.enterPredicate=(t,e)=>this.enterPredicate(t.data,e.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),a&&a._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=O(t)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,e)=>t._dragRef.getVisibleElement().compareDocumentPosition(e._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}start(){this._dropListRef.start()}drop(t,e,n,r){this._dropListRef.drop(t._dragRef,e,n._dropListRef,r,{x:0,y:0})}enter(t,e,n){this._dropListRef.enter(t._dragRef,e,n)}exit(t){this._dropListRef.exit(t._dragRef)}getItemIndex(t){return this._dropListRef.getItemIndex(t._dragRef)}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Object(it.a)(this._dir.value),ne(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const n=(r=this.connectedTo,Array.isArray(r)?r:[r]).map(e=>"string"==typeof e?t._dropLists.find(t=>t.id===e):e);var r;if(this._group&&this._group._items.forEach(t=>{-1===n.indexOf(t)&&n.push(t)}),!this._scrollableParentsResolved&&this._scrollDispatcher){const t=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(t=>t.getElementRef().nativeElement);this._dropListRef.withScrollableParents(t),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=O(this.sortingDisabled),e.autoScrollDisabled=O(this.autoScrollDisabled),e.connectedTo(n.filter(t=>t&&t!==this).map(t=>t._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance}),this._changeDetectorRef.markForCheck()})}_assignDefaults(t){const{lockAxis:e,draggingDisabled:n,sortingDisabled:r,listAutoScrollDisabled:i,listOrientation:o}=t;this.disabled=null!=n&&n,this.sortingDisabled=null!=r&&r,this.autoScrollDisabled=null!=i&&i,this.orientation=o||"vertical",e&&(this.lockAxis=e)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(Ve),r.Ob(r.h),r.Ob(tt,8),r.Ob(Ze,12),r.Ob(ae),r.Ob(He,8))},t.\u0275dir=r.Jb({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(r.Xb("id",e.id),r.Gb("cdk-drop-list-disabled",e.disabled)("cdk-drop-list-dragging",e._dropListRef.isDragging())("cdk-drop-list-receiving",e._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[r.Bb([{provide:Ze,useValue:void 0},{provide:qe,useExisting:t}])]}),t._dropLists=[],t})(),Qe=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[Ve],imports:[le]}),t})();const Je=["input"],tn=function(){return{enterDuration:150}},en=["*"],nn=new r.q("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),rn=new r.q("mat-checkbox-click-action");let on=0;const an={provide:y.e,useExisting:Object(r.U)(()=>un),multi:!0};class sn{}class ln{constructor(t){this._elementRef=t}}const cn=yt(mt(vt(gt(ln))));let un=(()=>{class t extends cn{constructor(t,e,n,i,o,a,s,l){super(t),this._changeDetectorRef=e,this._focusMonitor=n,this._ngZone=i,this._clickAction=a,this._animationMode=s,this._options=l,this.ariaLabel="",this.ariaLabelledby=null,this._uniqueId="mat-checkbox-"+ ++on,this.id=this._uniqueId,this.labelPosition="after",this.name=null,this.change=new r.n,this.indeterminateChange=new r.n,this._onTouched=()=>{},this._currentAnimationClass="",this._currentCheckState=0,this._controlValueAccessorChangeFn=()=>{},this._checked=!1,this._disabled=!1,this._indeterminate=!1,this._options=this._options||{},this._options.color&&(this.color=this._options.color),this.tabIndex=parseInt(o)||0,this._focusMonitor.monitor(t,!0).subscribe(t=>{t||Promise.resolve().then(()=>{this._onTouched(),e.markForCheck()})}),this._clickAction=this._clickAction||this._options.clickAction}get inputId(){return(this.id||this._uniqueId)+"-input"}get required(){return this._required}set required(t){this._required=O(t)}ngAfterViewInit(){this._syncIndeterminate(this._indeterminate)}ngAfterViewChecked(){}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}get checked(){return this._checked}set checked(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled}set disabled(t){const e=O(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}get indeterminate(){return this._indeterminate}set indeterminate(t){const e=t!=this._indeterminate;this._indeterminate=O(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}_isRippleDisabled(){return this.disableRipple||this.disabled}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}writeValue(t){this.checked=!!t}registerOnChange(t){this._controlValueAccessorChangeFn=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t}_getAriaChecked(){return this.checked?"true":this.indeterminate?"mixed":"false"}_transitionCheckState(t){let e=this._currentCheckState,n=this._elementRef.nativeElement;if(e!==t&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);const t=this._currentAnimationClass;this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{n.classList.remove(t)},1e3)})}}_emitChangeEvent(){const t=new sn;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}toggle(){this.checked=!this.checked}_onInputClick(t){t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then(()=>{this._indeterminate=!1,this.indeterminateChange.emit(this._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}focus(t="keyboard",e){this._focusMonitor.focusVia(this._inputElement,t,e)}_onInteractionEvent(t){t.stopPropagation()}_getAnimationClassForCheckStateTransition(t,e){if("NoopAnimations"===this._animationMode)return"";let n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n}_syncIndeterminate(t){const e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.h),r.Ob(X),r.Ob(r.z),r.Zb("tabindex"),r.Ob(rn,8),r.Ob(ut,8),r.Ob(nn,8))},t.\u0275cmp=r.Ib({type:t,selectors:[["mat-checkbox"]],viewQuery:function(t,e){var n;1&t&&(r.Ec(Je,!0),r.Ec(At,!0)),2&t&&(r.qc(n=r.dc())&&(e._inputElement=n.first),r.qc(n=r.dc())&&(e.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Xb("id",e.id),r.Db("tabindex",null),r.Gb("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[r.Bb([an]),r.zb],ngContentSelectors:en,decls:17,vars:19,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(r.kc(),r.Ub(0,"label",0,1),r.Ub(2,"div",2),r.Ub(3,"input",3,4),r.cc("change",(function(t){return e._onInteractionEvent(t)}))("click",(function(t){return e._onInputClick(t)})),r.Tb(),r.Ub(5,"div",5),r.Pb(6,"div",6),r.Tb(),r.Pb(7,"div",7),r.Ub(8,"div",8),r.fc(),r.Ub(9,"svg",9),r.Pb(10,"path",10),r.Tb(),r.ec(),r.Pb(11,"div",11),r.Tb(),r.Tb(),r.Ub(12,"span",12,13),r.cc("cdkObserveContent",(function(){return e._onLabelTextChange()})),r.Ub(14,"span",14),r.Ac(15,"\xa0"),r.Tb(),r.jc(16),r.Tb(),r.Tb()),2&t){const t=r.rc(1),n=r.rc(13);r.Db("for",e.inputId),r.Cb(2),r.Gb("mat-checkbox-inner-container-no-side-margin",!n.textContent||!n.textContent.trim()),r.Cb(1),r.lc("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),r.Db("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked()),r.Cb(2),r.lc("matRippleTrigger",t)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",r.nc(18,tn))}},directives:[At,H],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),t})(),hn=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)}}),t})(),dn=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[Tt,pt,q,hn],pt,hn]}),t})();var fn=n("+9vr"),pn=n.n(fn);function gn(t,e){}function mn(t,e){1&t&&r.yc(0,gn,0,0,"ng-template")}n.d(e,"a",(function(){return Pi})),n.d(e,"b",(function(){return Co}));const vn=function(t){return{$implicit:t}};function yn(t,e){if(1&t&&(r.Ub(0,"div",4),r.yc(1,mn,1,0,void 0,5),r.Tb()),2&t){const t=e.$implicit;r.gc(2);const n=r.rc(3);r.Cb(1),r.lc("ngTemplateOutlet",n)("ngTemplateOutletContext",r.oc(2,vn,t))}}function bn(t,e){if(1&t&&(r.Ub(0,"div",2),r.yc(1,yn,2,4,"div",3),r.Tb()),2&t){const t=r.gc();r.Cb(1),r.lc("ngForOf",t.markdownData)}}function _n(t,e){}function xn(t,e){1&t&&r.yc(0,_n,0,0,"ng-template")}function wn(t,e){if(1&t&&(r.Ub(0,"div",4),r.yc(1,xn,1,0,void 0,5),r.Tb()),2&t){const t=e.$implicit;r.gc(2);const n=r.rc(3);r.Cb(1),r.lc("ngTemplateOutlet",n)("ngTemplateOutletContext",r.oc(2,vn,t))}}function Sn(t,e){if(1&t){const t=r.Vb();r.Ub(0,"div",2),r.Ub(1,"virtual-scroller",6,7),r.cc("vsChange",(function(e){return r.sc(t),r.gc().vsChange(e)})),r.yc(3,wn,2,4,"div",3),r.Tb(),r.Tb()}if(2&t){const t=r.rc(2),e=r.gc();r.Cb(1),r.lc("items",e.markdownData),r.Cb(2),r.lc("ngForOf",t.viewPortItems)}}function kn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-bar-chart",14),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)}}function Cn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-mindmap",14),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)}}function An(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-pyramid",14),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)}}function Tn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-radar",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function En(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-quadrant",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function Mn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"toolset",16),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("option",t.data)}}function Dn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-graphviz",14),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)}}function In(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-pie",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function On(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-pure-echarts",14),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)}}function Pn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-dev-process",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function Ln(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-tech-radar",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function Rn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-pipeline",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function Nn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-kanban",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function zn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-checklist",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function Fn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-sunburst",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function Bn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-fish-bone",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function Vn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-heatmap",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function jn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-maturity",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function Yn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-tree",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function Un(t,e){if(1&t&&(r.Ub(0,"th"),r.Ac(1),r.Tb()),2&t){const t=e.$implicit;r.Cb(1),r.Bc(t)}}function Gn(t,e){1&t&&r.Pb(0,"td",19),2&t&&r.lc("innerHTML",e.$implicit,r.tc)}function Hn(t,e){if(1&t&&(r.Ub(0,"tr"),r.yc(1,Gn,1,1,"td",18),r.Tb()),2&t){const t=e.$implicit;r.Cb(1),r.lc("ngForOf",t)}}function qn(t,e){if(1&t&&(r.Ub(0,"div"),r.Ub(1,"table"),r.Ub(2,"thead"),r.Ub(3,"tr"),r.yc(4,Un,2,1,"th",17),r.Tb(),r.Tb(),r.Ub(5,"tbody"),r.yc(6,Hn,2,1,"tr",17),r.Tb(),r.Tb(),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(4),r.lc("ngForOf",t.header),r.Cb(2),r.lc("ngForOf",t.cells)}}function Wn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"p",19),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("innerHTML",t.data,r.tc)}}function $n(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-process-step",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function Zn(t,e){if(1&t&&(r.Ub(0,"div"),r.Ac(1),r.Tb()),2&t){const t=e.$implicit;r.Fb("flex-row cell ledge-type type_",e.index,""),r.Cb(1),r.Cc(" ",t," ")}}function Xn(t,e){1&t&&r.Pb(0,"div",29),2&t&&r.lc("innerHTML",e.$implicit,r.tc)}function Kn(t,e){if(1&t&&(r.Ub(0,"div",27),r.yc(1,Xn,1,1,"div",28),r.Tb()),2&t){const t=e.$implicit;r.Cb(1),r.lc("ngForOf",t)}}function Qn(t,e){if(1&t&&(r.Ub(0,"div"),r.Ub(1,"div",20),r.Ub(2,"div",21),r.Ub(3,"div",22),r.yc(4,Zn,2,4,"div",23),r.Tb(),r.Tb(),r.Pb(5,"div",24),r.Ub(6,"div",25),r.yc(7,Kn,2,1,"div",26),r.Tb(),r.Tb(),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(4),r.lc("ngForOf",t.data.header),r.Cb(3),r.lc("ngForOf",t.data.cells)}}const Jn=function(t,e,n){return{header:t,cells:e,index:n}};function tr(t,e){if(1&t&&(r.Sb(0),r.Pb(1,"ledge-card",30),r.Rb()),2&t){const t=e.$implicit,n=e.index,i=r.gc(2).$implicit;r.Cb(1),r.lc("headerStyle",i.config.colors&&i.config.colors[n])("data",r.pc(2,Jn,t,i.data.cells[n],n))}}function er(t,e){if(1&t&&(r.Ub(0,"div",25),r.yc(1,tr,2,6,"ng-container",17),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("ngForOf",t.data.header)}}function nr(t,e){1&t&&r.Qb(0)}function rr(t,e){if(1&t&&(r.Ub(0,"div"),r.yc(1,nr,1,0,"ng-container",5),r.Tb()),2&t){const t=r.gc().$implicit;r.gc(2);const e=r.rc(3);r.Cb(1),r.lc("ngTemplateOutlet",e)("ngTemplateOutletContext",r.oc(2,vn,t.children))}}function ir(t,e){if(1&t&&(r.Ub(0,"div",35),r.Ub(1,"div",32),r.Ac(2),r.Tb(),r.yc(3,rr,2,4,"div",36),r.Tb()),2&t){const t=e.$implicit;r.Cb(2),r.Bc(t.name),r.Cb(1),r.lc("ngIf",t.children&&t.children.length>0)}}function or(t,e){1&t&&r.yc(0,ir,4,2,"div",34),2&t&&r.lc("ngForOf",e.$implicit)}function ar(t,e){1&t&&r.Qb(0)}function sr(t,e){if(1&t&&(r.Ub(0,"div",32),r.Pb(1,"div",19),r.yc(2,or,1,1,"ng-template",null,33,r.zc),r.yc(4,ar,1,0,"ng-container",5),r.Tb()),2&t){const t=e.$implicit,n=e.index,i=r.rc(3),o=r.gc(3);r.xc("background-color",o.colorsForIndex[n]),r.Cb(1),r.lc("innerHTML",t.name,r.tc),r.Cb(3),r.lc("ngTemplateOutlet",i)("ngTemplateOutletContext",r.oc(5,vn,t.children))}}function lr(t,e){if(1&t&&(r.Ub(0,"div"),r.Ub(1,"div"),r.yc(2,sr,5,7,"div",31),r.Tb(),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.Fb("list-style list-style-",t.config.type,""),r.Cb(1),r.lc("ngForOf",t.data)}}function cr(t,e){if(1&t&&r.Pb(0,"h1",38),2&t){const t=r.gc(2).$implicit;r.mc("id",t.anchor),r.lc("innerHTML",t.text,r.tc)}}function ur(t,e){if(1&t&&r.Pb(0,"h2",38),2&t){const t=r.gc(2).$implicit;r.mc("id",t.anchor),r.lc("innerHTML",t.text,r.tc)}}function hr(t,e){if(1&t&&r.Pb(0,"h3",38),2&t){const t=r.gc(2).$implicit;r.mc("id",t.anchor),r.lc("innerHTML",t.text,r.tc)}}function dr(t,e){if(1&t&&r.Pb(0,"h4",38),2&t){const t=r.gc(2).$implicit;r.mc("id",t.anchor),r.lc("innerHTML",t.text,r.tc)}}function fr(t,e){if(1&t&&r.Pb(0,"h5",38),2&t){const t=r.gc(2).$implicit;r.mc("id",t.anchor),r.lc("innerHTML",t.text,r.tc)}}function pr(t,e){if(1&t&&r.Pb(0,"h6",38),2&t){const t=r.gc(2).$implicit;r.mc("id",t.anchor),r.lc("innerHTML",t.text,r.tc)}}function gr(t,e){if(1&t&&(r.Ub(0,"div"),r.yc(1,cr,1,2,"h1",37),r.yc(2,ur,1,2,"h2",37),r.yc(3,hr,1,2,"h3",37),r.yc(4,dr,1,2,"h4",37),r.yc(5,fr,1,2,"h5",37),r.yc(6,pr,1,2,"h6",37),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("ngIf",1===t.depth),r.Cb(1),r.lc("ngIf",2===t.depth),r.Cb(1),r.lc("ngIf",3===t.depth),r.Cb(1),r.lc("ngIf",4===t.depth),r.Cb(1),r.lc("ngIf",5===t.depth),r.Cb(1),r.lc("ngIf",6===t.depth)}}function mr(t,e){if(1&t&&(r.Ub(0,"div"),r.Ub(1,"pre"),r.Pb(2,"code",19),r.Tb(),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.Fb("language-",t.lang,""),r.Cb(1),r.Fb("language-",t.lang,""),r.lc("innerHTML",t.text,r.tc)}}function vr(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"blockquote",19),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("innerHTML",t.text,r.tc)}}function yr(t,e){1&t&&(r.Ub(0,"div"),r.Pb(1,"hr"),r.Tb())}function br(t,e){if(1&t&&r.Pb(0,"input",43),2&t){const t=r.gc().$implicit;r.lc("checked",t.checked)}}function _r(t,e){1&t&&r.Qb(0)}function xr(t,e){if(1&t&&(r.Ub(0,"ul"),r.yc(1,_r,1,0,"ng-container",5),r.Tb()),2&t){const t=r.gc().$implicit;r.gc(2);const e=r.rc(2);r.Cb(1),r.lc("ngTemplateOutlet",e)("ngTemplateOutletContext",r.oc(2,vn,t.body.children))}}function wr(t,e){1&t&&r.Qb(0)}function Sr(t,e){if(1&t&&(r.Ub(0,"ol"),r.yc(1,wr,1,0,"ng-container",5),r.Tb()),2&t){const t=r.gc().$implicit;r.gc(2);const e=r.rc(2);r.Db("start",t.start),r.Cb(1),r.lc("ngTemplateOutlet",e)("ngTemplateOutletContext",r.oc(3,vn,t.body.children))}}function kr(t,e){if(1&t&&(r.Ub(0,"li",40),r.yc(1,br,1,1,"input",41),r.Pb(2,"div",42),r.yc(3,xr,2,4,"ul",36),r.yc(4,Sr,2,5,"ol",36),r.Tb()),2&t){const t=e.$implicit;r.lc("ngClass",t.task?"task-list-item":""),r.Cb(1),r.lc("ngIf",t.task),r.Cb(1),r.lc("outerHTML",t.body.name,r.tc),r.Cb(1),r.lc("ngIf",!t.ordered&&t.body.children&&t.body.children.length>0),r.Cb(1),r.lc("ngIf",t.ordered&&t.body.children&&t.body.children.length>0)}}function Cr(t,e){1&t&&r.yc(0,kr,5,5,"li",39),2&t&&r.lc("ngForOf",e.$implicit)}function Ar(t,e){1&t&&r.Qb(0)}function Tr(t,e){if(1&t&&(r.Ub(0,"ul"),r.yc(1,Ar,1,0,"ng-container",5),r.Tb()),2&t){r.gc();const t=r.rc(2),e=r.gc().$implicit;r.Cb(1),r.lc("ngTemplateOutlet",t)("ngTemplateOutletContext",r.oc(2,vn,e.data))}}function Er(t,e){1&t&&r.Qb(0)}function Mr(t,e){if(1&t&&(r.Ub(0,"ol"),r.yc(1,Er,1,0,"ng-container",5),r.Tb()),2&t){r.gc();const t=r.rc(2),e=r.gc().$implicit;r.Cb(1),r.lc("ngTemplateOutlet",t)("ngTemplateOutletContext",r.oc(2,vn,e.data))}}function Dr(t,e){if(1&t&&(r.Ub(0,"div"),r.yc(1,Cr,1,1,"ng-template",null,33,r.zc),r.yc(3,Tr,2,4,"ul",36),r.yc(4,Mr,2,4,"ol",36),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(3),r.lc("ngIf",!t.ordered),r.Cb(1),r.lc("ngIf",t.ordered)}}function Ir(t,e){if(1&t&&(r.Ub(0,"div",44),r.Pb(1,"ledge-step-line",14),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)}}function Or(t,e){if(1&t&&(r.Ub(0,"div",45),r.Pb(1,"ledge-table-step",15),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)("config",t.config)}}function Pr(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-mermaid",14),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.lc("data",t.data)}}function Lr(t,e){if(1&t&&(r.Ub(0,"div"),r.Ac(1),r.Tb()),2&t){const t=r.gc().$implicit,e=r.gc();r.Cb(1),r.Cc(" ",e.stringify(t)," ")}}function Rr(t,e){1&t&&(r.Sb(0,8),r.yc(1,kn,2,1,"div",9),r.yc(2,Cn,2,1,"div",9),r.yc(3,An,2,1,"div",9),r.yc(4,Tn,2,2,"div",9),r.yc(5,En,2,2,"div",9),r.yc(6,Mn,2,1,"div",9),r.yc(7,Dn,2,1,"div",9),r.yc(8,In,2,2,"div",9),r.yc(9,On,2,1,"div",9),r.yc(10,Pn,2,2,"div",9),r.yc(11,Ln,2,2,"div",9),r.yc(12,Rn,2,2,"div",9),r.yc(13,Nn,2,2,"div",9),r.yc(14,zn,2,2,"div",9),r.yc(15,Fn,2,2,"div",9),r.yc(16,Bn,2,2,"div",9),r.yc(17,Vn,2,2,"div",9),r.yc(18,jn,2,2,"div",9),r.yc(19,Yn,2,2,"div",9),r.yc(20,qn,7,2,"div",9),r.yc(21,Wn,2,1,"div",9),r.yc(22,$n,2,2,"div",9),r.yc(23,Qn,8,2,"div",9),r.yc(24,er,2,1,"div",10),r.yc(25,lr,3,4,"div",9),r.yc(26,gr,7,6,"div",9),r.yc(27,mr,3,7,"div",9),r.yc(28,vr,2,1,"div",9),r.yc(29,yr,2,0,"div",9),r.yc(30,Dr,5,2,"div",9),r.yc(31,Ir,2,1,"div",11),r.yc(32,Or,2,2,"div",12),r.yc(33,Pr,2,1,"div",9),r.yc(34,Lr,2,1,"div",13),r.Rb()),2&t&&(r.lc("ngSwitch",e.$implicit.type),r.Cb(1),r.lc("ngSwitchCase","chart"),r.Cb(1),r.lc("ngSwitchCase","mindmap"),r.Cb(1),r.lc("ngSwitchCase","pyramid"),r.Cb(1),r.lc("ngSwitchCase","radar"),r.Cb(1),r.lc("ngSwitchCase","quadrant"),r.Cb(1),r.lc("ngSwitchCase","toolset"),r.Cb(1),r.lc("ngSwitchCase","graphviz"),r.Cb(1),r.lc("ngSwitchCase","pie"),r.Cb(1),r.lc("ngSwitchCase","echarts"),r.Cb(1),r.lc("ngSwitchCase","dev-process"),r.Cb(1),r.lc("ngSwitchCase","tech-radar"),r.Cb(1),r.lc("ngSwitchCase","pipeline"),r.Cb(1),r.lc("ngSwitchCase","kanban"),r.Cb(1),r.lc("ngSwitchCase","checklist"),r.Cb(1),r.lc("ngSwitchCase","sunburst"),r.Cb(1),r.lc("ngSwitchCase","fishbone"),r.Cb(1),r.lc("ngSwitchCase","heatmap"),r.Cb(1),r.lc("ngSwitchCase","maturity"),r.Cb(1),r.lc("ngSwitchCase","tree"),r.Cb(1),r.lc("ngSwitchCase","table"),r.Cb(1),r.lc("ngSwitchCase","paragraph"),r.Cb(1),r.lc("ngSwitchCase","process-step"),r.Cb(1),r.lc("ngSwitchCase","process-table"),r.Cb(1),r.lc("ngSwitchCase","process-card"),r.Cb(1),r.lc("ngSwitchCase","list-style"),r.Cb(1),r.lc("ngSwitchCase","heading"),r.Cb(1),r.lc("ngSwitchCase","code"),r.Cb(1),r.lc("ngSwitchCase","blockquote"),r.Cb(1),r.lc("ngSwitchCase","hr"),r.Cb(1),r.lc("ngSwitchCase","list"),r.Cb(1),r.lc("ngSwitchCase","step-line"),r.Cb(1),r.lc("ngSwitchCase","table-step"),r.Cb(1),r.lc("ngSwitchCase","mermaid"))}const Nr=["chart"],zr=["tool"],Fr=["lineChart"];function Br(t,e){if(1&t&&(r.Ub(0,"div"),r.Ub(1,"div",5),r.Ac(2),r.Tb(),r.Ub(3,"div",6),r.Pb(4,"mat-slider",7),r.Tb(),r.Tb()),2&t){const t=e.$implicit;r.Cb(2),r.Bc(t.name)}}function Vr(t,e){if(1&t&&(r.Ub(0,"div",3),r.yc(1,Br,5,1,"div",4),r.Tb()),2&t){const t=r.gc();r.Cb(1),r.lc("ngForOf",t.option.data)}}function jr(t,e){1&t&&(r.Ub(0,"div",8),r.Pb(1,"div",9,10),r.Tb())}function Yr(t,e){if(1&t&&(r.Ub(0,"div"),r.Ub(1,"span",5),r.Ac(2),r.Tb(),r.Pb(3,"span"),r.Tb()),2&t){const t=e.$implicit,n=e.index,i=r.gc(2);r.Gb("step-line-wrap",n===i.data.slice(0,5).length-1),r.Cb(2),r.Bc(t.name),r.Cb(1),r.Eb(n===i.data.slice(0,5).length-1?"arrow-down":"arrow-right")}}function Ur(t,e){1&t&&r.Pb(0,"span",7)}function Gr(t,e){if(1&t&&(r.Ub(0,"div"),r.yc(1,Ur,1,0,"span",6),r.Ub(2,"span",5),r.Ac(3),r.Tb(),r.Tb()),2&t){const t=e.$implicit,n=e.index,i=r.gc(2);r.Cb(1),r.lc("ngIf",n!==i.data.slice(5,i.data.length).length-1),r.Cb(2),r.Bc(t.name)}}function Hr(t,e){if(1&t&&(r.Sb(0),r.Ub(1,"div",1),r.yc(2,Yr,4,5,"div",2),r.Tb(),r.Ub(3,"div",3),r.yc(4,Gr,4,2,"div",4),r.Tb(),r.Rb()),2&t){const t=r.gc();r.Cb(2),r.lc("ngForOf",t.data.slice(0,5)),r.Cb(2),r.lc("ngForOf",t.data.slice(5,t.data.length))}}function qr(t,e){1&t&&r.Pb(0,"span",9)}function Wr(t,e){if(1&t&&(r.Ub(0,"div"),r.Ub(1,"span",5),r.Ac(2),r.Tb(),r.yc(3,qr,1,0,"span",8),r.Tb()),2&t){const t=e.$implicit,n=e.index,i=r.gc(2);r.Cb(2),r.Bc(t.name),r.Cb(1),r.lc("ngIf",n!==i.data.length-1)}}function $r(t,e){if(1&t&&(r.Sb(0),r.Ub(1,"div",1),r.yc(2,Wr,4,2,"div",4),r.Tb(),r.Rb()),2&t){const t=r.gc();r.Cb(2),r.lc("ngForOf",t.data)}}function Zr(t,e){if(1&t&&(r.Ub(0,"p"),r.Ac(1),r.Tb()),2&t){const t=e.$implicit;r.Cb(1),r.Cc(" ",t," ")}}const Xr=["tableStep"];function Kr(t,e){1&t&&(r.Ub(0,"span",11),r.Pb(1,"span",12),r.Pb(2,"span",13),r.Tb())}function Qr(t,e){1&t&&(r.Ub(0,"span"),r.Pb(1,"span",14),r.Pb(2,"span",15),r.Tb())}function Jr(t,e){if(1&t&&(r.Ub(0,"div",8),r.yc(1,Kr,3,0,"span",9),r.yc(2,Qr,3,0,"span",10),r.Tb()),2&t){const t=r.gc().index,e=r.gc().$implicit;r.Cb(1),r.lc("ngIf",t===e.length-1),r.Cb(1),r.lc("ngIf",t!==e.length-1)}}function ti(t,e){1&t&&(r.Ub(0,"span",11),r.Pb(1,"span",13),r.Pb(2,"span",12),r.Tb())}function ei(t,e){1&t&&(r.Ub(0,"span"),r.Pb(1,"span",16),r.Pb(2,"span",17),r.Tb())}function ni(t,e){if(1&t&&(r.Ub(0,"div",8),r.yc(1,ti,3,0,"span",9),r.yc(2,ei,3,0,"span",10),r.Tb()),2&t){const t=r.gc().index,e=r.gc().$implicit;r.Cb(1),r.lc("ngIf",t===e.length-1),r.Cb(1),r.lc("ngIf",t!==e.length-1)}}function ri(t,e){if(1&t&&(r.Sb(0),r.Ub(1,"div",5),r.yc(2,Jr,3,2,"div",6),r.Pb(3,"ledge-card",7),r.yc(4,ni,3,2,"div",6),r.Tb(),r.Rb()),2&t){const t=e.$implicit,n=e.index,i=e.last,o=r.gc(),a=o.$implicit,s=o.index,l=o.last,c=r.gc();r.Cb(1),r.xc("height",c.rowHeight),r.Gb("step-row-wrap",n===a.length-1),r.Cb(1),r.lc("ngIf",c.isShowIconBeforeCard(c.data,s,c.column,n,i,l)),r.Cb(1),r.lc("headerStyle",c.config.colors&&c.config.colors[s*c.column+n])("data",r.pc(8,Jn,t,c.data.cells[s*c.column+n],s*c.column+n)),r.Cb(1),r.lc("ngIf",c.isShowIconAfterCard(c.data,s,c.column,n))}}function ii(t,e){if(1&t&&(r.Ub(0,"div",3),r.yc(1,ri,5,12,"ng-container",4),r.Tb()),2&t){const t=e.$implicit,n=e.index,i=r.gc();r.xc("height",i.stepRowHeight),r.Gb("step-row-reverse",(n+1)%2==0)("first-row",0===n),r.Cb(1),r.lc("ngForOf",t)}}function oi(t,e){if(1&t&&(r.Ub(0,"span",11),r.Ac(1),r.Tb()),2&t){const t=r.gc().$implicit;r.Cb(1),r.Cc(" ",t.name," ")}}function ai(t,e){if(1&t){const t=r.Vb();r.Ub(0,"img",12),r.cc("error",(function(e){r.sc(t);const n=r.gc().$implicit;return r.gc(3).updateUrl(n.name,e)})),r.Tb()}if(2&t){const t=r.gc().$implicit,e=r.gc(3);r.mc("alt",t.name),r.lc("src",e.getImageUrl(t.name),r.uc)}}function si(t,e){if(1&t&&(r.Ub(0,"div",8),r.yc(1,oi,2,1,"span",9),r.yc(2,ai,1,2,"img",10),r.Tb()),2&t){const t=e.$implicit,n=r.gc(3);r.Cb(1),r.lc("ngIf",!n.showImage(t.name)),r.Cb(1),r.lc("ngIf",n.showImage(t.name))}}function li(t,e){if(1&t&&(r.Ub(0,"div",4),r.Ub(1,"div",5),r.Ac(2),r.Tb(),r.Ub(3,"div",6),r.yc(4,si,3,2,"div",7),r.Tb(),r.Tb()),2&t){const t=e.$implicit;r.Cb(2),r.Bc(t.name),r.Cb(2),r.lc("ngForOf",t.children)}}function ci(t,e){if(1&t&&(r.Ub(0,"div",2),r.Ub(1,"div"),r.Ac(2),r.Tb(),r.yc(3,li,5,2,"div",3),r.Tb()),2&t){const t=e.$implicit,n=e.index;r.Cb(1),r.Fb("column-title header type_",n,""),r.Cb(1),r.Cc(" ",t.name," "),r.Cb(1),r.lc("ngForOf",t.children)}}const ui=["pipeline"];function hi(t,e){if(1&t&&(r.Ub(0,"div",10),r.Ac(1),r.Tb()),2&t){const t=e.$implicit;r.Cb(1),r.Cc(" ",t," ")}}function di(t,e){if(1&t){const t=r.Vb();r.Ub(0,"div",6),r.Ub(1,"div",7),r.Ac(2),r.Tb(),r.Ub(3,"div",8),r.cc("cdkDropListDropped",(function(e){return r.sc(t),r.gc().drop(e)})),r.yc(4,hi,2,1,"div",9),r.Tb(),r.Tb()}if(2&t){const t=e.$implicit;r.Cb(2),r.Cc(" ",t.name," "),r.Cb(1),r.lc("cdkDropListData",t.tasks),r.Cb(1),r.lc("ngForOf",t.tasks)}}function fi(t,e){if(1&t&&r.Pb(0,"span",4),2&t){const t=r.gc().$implicit;r.lc("innerHTML",null==t?null:t.description,r.tc)}}function pi(t,e){if(1&t){const t=r.Vb();r.Ub(0,"div"),r.Ub(1,"mat-checkbox",1),r.cc("change",(function(n){r.sc(t);const i=e.$implicit;return r.gc().completeChange(n,i)})),r.Pb(2,"span",2),r.yc(3,fi,1,1,"span",3),r.Tb(),r.Tb()}if(2&t){const t=e.$implicit;r.Gb("complete",null==t?null:t.checked),r.Cb(1),r.lc("checked",t.checked),r.Cb(1),r.lc("innerHTML",null==t?null:t.name,r.tc),r.Cb(1),r.lc("ngIf",t.description)}}function gi(t,e){if(1&t&&r.Pb(0,"span",7),2&t){const t=r.gc().$implicit;r.lc("innerHTML",t.description,r.tc)}}function mi(t,e){if(1&t){const t=r.Vb();r.Ub(0,"div",2),r.Ub(1,"mat-checkbox",3),r.cc("change",(function(e){return r.sc(t),r.gc(2).completeChange(e)})),r.Pb(2,"span",4),r.yc(3,gi,1,1,"span",5),r.Tb(),r.Pb(4,"component-todo",6),r.Tb()}if(2&t){const t=e.$implicit;r.Cb(1),r.lc("checked",t.checked),r.Cb(1),r.lc("innerHTML",null==t?null:t.name,r.tc),r.Cb(1),r.lc("ngIf",t.description),r.Cb(1),r.lc("disableInput",!0)("toDos",t.subitems)}}function vi(t,e){if(1&t&&(r.Ub(0,"div"),r.yc(1,mi,5,5,"div",1),r.Tb()),2&t){const t=r.gc();r.Cb(1),r.lc("ngForOf",t.checklists)}}function yi(t,e){if(1&t&&r.Pb(0,"component-checklist",1),2&t){const t=r.gc();r.lc("checklists",t.checklists)("name",t.title)}}const bi=function(){return{width:"800px",height:"800px"}};function _i(t,e){if(1&t&&(r.Ub(0,"div",3),r.Pb(1,"ledge-radar",4),r.Tb()),2&t){const t=r.gc();r.Cb(1),r.lc("styles",r.nc(4,bi))("data",t.chartData)("hiddenLegend",!0)("config",t.config)}}function xi(t,e){if(1&t){const t=r.Vb();r.Ub(0,"div",5),r.Ub(1,"component-rating",6),r.cc("dataChange",(function(e){return r.sc(t),r.gc().updateData(e)})),r.Tb(),r.Tb()}if(2&t){const t=r.gc();r.Cb(1),r.lc("data",t.ratingData)}}function wi(t,e){if(1&t&&r.Pb(0,"component-todo",5),2&t){const t=r.gc().$implicit;r.lc("disableInput",!0)("toDos",t.children)}}function Si(t,e){if(1&t){const t=r.Vb();r.Ub(0,"div"),r.Ub(1,"component-rating-item",3),r.cc("itemChange",(function(n){r.sc(t);const i=e.$implicit,o=e.index;return r.gc(2).changeForm(n,i,o)})),r.Tb(),r.yc(2,wi,1,2,"component-todo",4),r.Tb()}if(2&t){const t=e.$implicit;r.Cb(1),r.lc("item",t),r.Cb(1),r.lc("ngIf",t.children)}}function ki(t,e){if(1&t&&(r.Ub(0,"div",1),r.yc(1,Si,3,2,"div",2),r.Tb()),2&t){const t=r.gc();r.Cb(1),r.lc("ngForOf",t.data)}}function Ci(t,e){if(1&t&&(r.Ub(0,"span"),r.Ac(1),r.Tb()),2&t){const t=e.$implicit;r.Fb("ledge-type type_",e.index+1,""),r.Cb(1),r.Cc(" ",t," ")}}function Ai(t,e){if(1&t&&(r.Ub(0,"div",4),r.yc(1,Ci,2,4,"span",5),r.Tb()),2&t){const t=r.gc();r.Cb(1),r.lc("ngForOf",t.config.heads)}}function Ti(t,e){if(1&t&&r.Pb(0,"div",11),2&t){const t=e.$implicit;r.Fb("process-step-item ledge-type ",t.type,""),r.lc("innerHTML",t.name,r.tc)}}function Ei(t,e){1&t&&r.Pb(0,"div",12)}function Mi(t,e){if(1&t&&(r.Ub(0,"div",6),r.Ub(1,"div",7),r.Ac(2),r.Tb(),r.Ub(3,"div",8),r.yc(4,Ti,1,4,"div",9),r.Tb(),r.yc(5,Ei,1,0,"div",10),r.Tb()),2&t){const t=e.$implicit,n=e.last;r.Cb(2),r.Bc(t.name),r.Cb(2),r.lc("ngForOf",t.children),r.Cb(1),r.lc("ngIf",!n)}}const Di=new o.a.Renderer;Di.link=(t,e,n)=>{const r=o.a.Renderer.prototype.link.call(Di,t,e,n);return/^https:\/\//.test(t)||/^http:\/\//.test(t)?r.replace(""']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!#?\w+;)/,escapeReplaceNoEncode:/[<>"']|&(?!#?\w+;)/g,escapeReplacements:{"&":"&","<":"<",">":">",'"':""","'":"'"},transpose(t){if(0!==t.length)return t[0].map((e,n)=>t.map(t=>t[n]))},getEscapeReplacement(t){return this.escapeReplacements[t]},escape(t,e){if(e){if(this.escapeTest.test(t))return t.replace(this.escapeReplace,this.getEscapeReplacement.bind(this))}else if(this.escapeTestNoEncode.test(t))return t.replace(this.escapeReplaceNoEncode,this.getEscapeReplacement.bind(this));return t},unescaped:t=>t.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<").replace(/"/g,'"').replace(/'/g,"'"),toJson(t){let e={};const n=[],r=[];let i="{";const a=o.a.lexer(t);for(const l of a)switch(l.type){case"list_start":i+='"children": [';break;case"list_item_start":i+="{",l.task&&(i+=`"checked": ${l.checked}, `);break;case"text":{let t=o.a.inlineLexer(l.text,a.links);t=this.unescaped(t),i+=`"name": ${JSON.stringify(t)},`;break}case"list_item_end":i+="},";break;case"list_end":i+="]";break;case"table":{const t=this.transpose(l.cells);n.push({header:l.header,cells:t});break}case"paragraph":if(l.text.startsWith("config:")){const t=l.text.split("config:")[1];e=JSON.parse(t)}break;case"space":break;default:console.log(l)}i=i.replace(/,]/g,"]").replace(/,}/g,"}").replace(/},}/g,"}}"),i+="}";try{const t=JSON.parse(i);r.push(t)}catch(s){console.log(i),console.error(s)}return{tables:n,config:e,lists:r}}},Oi=["#F37C20","#E9BD1E","#00A2A1","#0062CE","#666666","#DC5332","#079948","#999999","#800080","#003366","#AA217E","#55acee","#444444","#61bb46","#007C78"];let Pi=(()=>{let t=class{constructor(){this.scrollToItem=0,this.headingChange=new r.n,this.markdownData=[],this.token=null,this.tokens=[],this.listQueue=[],this.slugger=new i.Slugger,this.colorsForIndex=Oi,this.isPureParagraph=!0,this.lastHeading=0,this.headingIndex=0,this.headingMap={},this.indexHeadingMap={},this.scrolling=!1}ngOnInit(){}ngOnChanges(t){const{content:e,scrollToItem:n}=t;if(e&&(this.content=e.currentValue,this.renderContent(this.content)),n){if(this.scrolling=!0,this.scrollToItem=n.currentValue,!this.virtualScroller)return;this.virtualScroller.scrollToIndex(this.headingMap[this.scrollToItem],!0,0,0,()=>{this.scrolling=!1})}}renderContent(t){this.headingIndex=0,this.headingMap={},this.markdownData=[];const e=o.a.lexer(t);for(this.tokens=e.reverse();this.next();)this.tok()}next(){return this.token=this.tokens.pop(),this.token}peek(){return this.tokens[this.tokens.length-1]||0}parseText(){let t=this.token.text;for(;"text"===this.peek().type;)t+="\n"+this.next().text;return t}unescape(t){return t.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,(t,e)=>"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):"")}tok(){const t=this.token;switch(t.type){case"table":const e=this.buildTableCells(t);t.cells=e,this.markdownData.push(t);break;case"code":this.handleCode(t);break;case"space":return"";case"blockquote_start":let n="";for(this.isPureParagraph=!1;"blockquote_end"!==this.next().type;)n+=this.tok();this.isPureParagraph=!0,this.markdownData.push({type:"blockquote",text:n});break;case"paragraph":return this.handleParaGraph(t);case"text":return this.renderInline(t.text,this.tokens.links);case"heading":const r=this.renderInline(t.text,this.tokens.links);this.markdownData.push({type:"heading",depth:t.depth,text:r,headingIndex:this.headingIndex,anchor:this.slugger.slug(this.unescape(r))}),this.headingMap[this.headingIndex]=this.markdownData.length-1,this.indexHeadingMap[this.markdownData.length-1]=this.headingIndex,this.headingIndex++;break;case"list_start":{const t=[],e=this.token.ordered,n=this.token.start;for(this.listQueue.push(1);"list_end"!==this.next().type;)t.push(this.tok());return this.listQueue.pop(),0===this.listQueue.length&&this.markdownData.push({type:"list",data:t,ordered:e}),{children:t,ordered:e,start:n}}case"list_item_start":{const t={name:"",children:[]},e=this.token.loose,n=this.token.checked,r=this.token.task;for(;"list_item_end"!==this.next().type;)if(e||"text"!==this.token.type){const e=this.tok();e&&e.children?t.children=e.children:t.name+=e}else t.name+=this.renderInline(this.parseText(),this.tokens.links);return{body:t,task:r,checked:n}}case"hr":this.markdownData.push(t);break;case"html":return t.text;default:this.markdownData.push(t)}}buildTableCells(t){const e=[];for(const n of t.cells){const t=[];for(const e of n)t.push(this.renderInline(e,this.tokens.links));e.push(t)}return e}handleParaGraph(t){const e=this.renderInline(t.text,this.tokens.links);return this.isPureParagraph&&this.markdownData.push({type:"paragraph",data:e}),e}renderInline(t,e){const n=new o.a.Renderer,r=n.link;return n.link=(t,e,i)=>r.call(n,t,e,i).replace(/^ .list-style-item[_ngcontent-%COMP%]{width:320px;height:240px;font-size:1.2em;padding:3em 0 0}.list-style.list-style-group-square[_ngcontent-%COMP%] > .list-style-item[_ngcontent-%COMP%] .sub-item[_ngcontent-%COMP%] .list-style-item[_ngcontent-%COMP%], .list-style.list-style-group-square[_ngcontent-%COMP%] > .list-style-item.sub-item[_ngcontent-%COMP%] .list-style-item[_ngcontent-%COMP%]{font-size:.8em;width:auto}.ledge-render[_ngcontent-%COMP%], .ledge-render[_ngcontent-%COMP%] virtual-scroller[_ngcontent-%COMP%]{width:100%}.ledge-render[_ngcontent-%COMP%] virtual-scroller[_ngcontent-%COMP%] .render-item[_ngcontent-%COMP%]{display:block}.render-item[_ngcontent-%COMP%]{padding:0 2em}.card-column[_ngcontent-%COMP%]{padding:0 .5rem!important}ul[_ngcontent-%COMP%]{padding-left:1em}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{white-space:pre-wrap}ul[_ngcontent-%COMP%] li.task-list-item[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li.task-list-item[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0 .2em .25em -1.6em;vertical-align:middle}.step-line[_ngcontent-%COMP%]{display:flex}"],changeDetection:0}),t})(),Li=(()=>{let t=class{constructor(t){this.dom=t}transform(t){return t?this.dom.bypassSecurityTrustHtml(t):""}};return t.\u0275fac=function(e){return new(e||t)(r.Ob(rt.b))},t.\u0275pipe=r.Nb({name:"tohtml",type:t,pure:!0}),t})(),Ri=(()=>{let t=class{constructor(){}ngOnInit(){}ngAfterViewInit(){const t=Object(_.init)(this.reporter.nativeElement),e=this.buildBarChartData(this.data);t.setOption(this.buildBarChartOption(e))}getColorByIndex(t){return Object(b.scaleLinear)().domain([0,8]).range([Object(b.rgb)("#7753df"),Object(b.rgb)("#66C2A5")])(t)}buildBarChartData(t){const e={title:t.header[0],barChart:{xAxis:[],yAxis:[]}};return e.barChart.xAxis=t.cells[0],this.buildYAxis(t,e),e}buildYAxis(t,e){const n=t.cells.length;for(let r=1;r{t.value=parseFloat(t.value)}),e.push({type:"bar",data:n,label:{normal:{show:!0,position:"right",formatter:t=>t.value+"%"}}});return e}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-bar-chart"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Nr,!0),2&t&&r.qc(n=r.dc())&&(e.reporter=n.first)},inputs:{data:"data"},decls:2,vars:0,consts:[[1,"chart"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:[".chart[_ngcontent-%COMP%]{width:auto;height:auto;min-width:500px;min-height:500px;max-width:800px}"]}),t})(),Ni=(()=>{let t=class{ngAfterViewInit(){setTimeout(()=>{const t=Object(b.select)(this.reporter.nativeElement).select("svg"),e=Object(b.select)(this.reporter.nativeElement).select("svg g"),n=Object(b.zoom)().on("zoom",()=>{e.attr("transform",b.event.transform)});t.call(n);const r=Object(w.render)(),i=Object(S.read)(this.data);Object(b.select)(this.reporter.nativeElement).select("svg g").call(r,i)})}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-graphviz"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Nr,!0),2&t&&r.qc(n=r.dc())&&(e.reporter=n.first)},inputs:{data:"data"},decls:4,vars:0,consts:[[1,"graphviz"],["chart",""],["width","1200"]],template:function(t,e){1&t&&(r.Ub(0,"div",0,1),r.fc(),r.Ub(2,"svg",2),r.Pb(3,"g"),r.Tb(),r.Tb())},styles:[""]}),t})();const zi={toTreeData(t){return t?t&&1===t.length?this.transformTreeData(t)[0]:{name:"",children:this.transformTreeData(t),config:t.config}:{}},transformTreeData(t){const e=[];for(const n of t){const t={};t.name=n.name,n.children&&n.children.length>0&&(t.children=this.transformTreeData(n.children)),e.push(t)}return e}};let Fi=(()=>{let t=class{constructor(){this.dataLevel=1,this.dataSize=1}ngOnInit(){this.chartData=zi.toTreeData(this.data);const t=(JSON.stringify(this.chartData).match(/:/g)||[]).length;this.dataSize=t,this.getDataLevel(this.chartData),this.chartOption=this.buildMindmapOption(this.chartData)}ngAfterViewInit(){Object(_.init)(this.chart.nativeElement).setOption(this.chartOption)}getDataLevel(t){this.dataLevel++,t.children&&this.getDataLevel(t.children)}getHeight(){let t=320*(this.dataLevel+1);return t<800&&(t=800),{height:25*this.dataSize+"px",width:t+"px"}}buildMindmapOption(t){return{toolbox:{feature:{saveAsImage:{}}},tooltip:{trigger:"item",triggerOn:"mousemove"},series:[{type:"tree",roam:"move",id:0,name:"tree1",data:[t],top:"12%",left:"20%",bottom:"12%",right:"40%",symbolSize:12,edgeShape:"polyline",edgeForkPosition:"63%",initialTreeDepth:3,lineStyle:{width:2},label:{position:"left",verticalAlign:"middle",align:"right",fontSize:14},leaves:{label:{position:"right",verticalAlign:"middle",align:"left"}},expandAndCollapse:!1,animationDuration:550,animationDurationUpdate:750}]}}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-mindmap"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Nr,!0),2&t&&r.qc(n=r.dc())&&(e.chart=n.first)},inputs:{data:"data"},decls:2,vars:1,consts:[[1,"mindmap","chart",3,"ngStyle"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1),2&t&&r.lc("ngStyle",e.getHeight())},directives:[a.k],styles:[".chart[_ngcontent-%COMP%]{width:auto;height:auto;min-width:600px;min-height:800px;max-width:1600px}"]}),t})(),Bi=(()=>{let t=class{ngOnInit(){}ngAfterViewInit(){const t=Object(_.init)(this.reporter.nativeElement);try{t.setOption(JSON.parse(this.data))}catch(e){console.error(this.data)}}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-pure-echarts"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Nr,!0),2&t&&r.qc(n=r.dc())&&(e.reporter=n.first)},inputs:{data:"data"},decls:2,vars:0,consts:[[1,"chart"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:[".chart[_ngcontent-%COMP%]{width:auto;height:auto;min-width:500px;min-height:500px;max-width:800px}"]}),t})(),Vi=(()=>{let t=class{constructor(){}ngOnInit(){}ngAfterViewInit(){const t=Object(_.init)(this.reporter.nativeElement),e=zi.toTreeData(this.data),n=e.children.length;for(let i=0;i(t.data.name=t.data.name.replace(/
    /,"\n"),t.data.name)},n.push(r);const i=JSON.parse(JSON.stringify(e));i.label.position="left",n.push(i);const o=JSON.parse(JSON.stringify(e));o.label.position="right",n.push(o);for(let e=0;e{let t=class{constructor(){}ngOnInit(){}ngAfterViewInit(){const t=Object(_.init)(this.reporter.nativeElement),e=zi.toTreeData(this.data),n=this.buildOption(e);t.setOption(n)}buildConfig(t,e){if(this.config&&this.config.left){const t=Object.keys(this.config);for(let n=0;n{const e=t.data.children,n=["{name|"+t.name+"}","{hr|}"];for(const r of e)n.push("{child|"+r.name+"}");return n.join("\n")},rich:{child:{fontSize:16,lineHeight:30,align:"left",color:"white"},name:{fontSize:20,align:"center",color:"#fff"},hr:{width:"100%",borderColor:"rgba(255,255,255,0.2)",borderWidth:.5,height:0,lineHeight:10}}}}}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-quadrant"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Nr,!0),2&t&&r.qc(n=r.dc())&&(e.reporter=n.first)},inputs:{data:"data",config:"config"},decls:2,vars:0,consts:[[1,"quadrant","chart"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:[".chart[_ngcontent-%COMP%]{width:auto;height:auto;min-width:500px;min-height:600px;max-width:800px}"]}),t})(),Yi=(()=>{let t=class{constructor(){this.hiddenLegend=!1}ngOnInit(){}ngAfterViewInit(){this.render()}ngOnChanges(t){t.data&&(this.data=t.data.currentValue,this.chart&&this.render())}render(){const t=Object(_.init)(this.chart.nativeElement),e=zi.toTreeData(this.data),n=this.buildOption(e);t.setOption(n)}buildOption(t){const{indicator:e,legend:n,seriesData:r}=this.buildIndicatorAndSeries(t),i={toolbox:{feature:{saveAsImage:{}}},title:{text:t.name,left:"center"},radar:{name:{textStyle:{color:"#000",borderRadius:3,padding:[3,5],fontSize:14}},indicator:e},series:[{type:"radar",data:r}]};return this.hiddenLegend||(i.legend={bottom:5,data:n}),i}buildIndicatorAndSeries(t){let e=t.children;const n=this.getLegend(t),r=[];if(this.hasRadarValue(t)){e=[];for(let i=0;i=2&&this.buildSeriesData(o,n,r)}}return{indicator:e,legend:n,seriesData:r}}buildSeriesData(t,e,n){const r=t[1].split(" -> ");for(let i=0;it.value})),n[i].name=e[i],r[i]&&n[i].value.push(parseFloat(r[i])),this.config.areaColor&&(n[i].itemStyle={normal:{color:this.config.areaColor[i]}},n[i].areaStyle={normal:{color:this.config.areaColor[i]}})}hasRadarValue(t){const e=t.children[0].name;return e.includes(": ")||e.includes("\uff1a ")}getLegend(t){let e=[t.name];return this.config&&this.config.legend&&(e=this.config.legend),e}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-radar"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Nr,!0),2&t&&r.qc(n=r.dc())&&(e.chart=n.first)},inputs:{hiddenLegend:"hiddenLegend",data:"data",styles:"styles",config:"config"},features:[r.Ab],decls:2,vars:1,consts:[[1,"ledge-radar","chart",3,"ngStyle"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1),2&t&&r.lc("ngStyle",e.styles)},directives:[a.k],styles:[".ledge-radar[_ngcontent-%COMP%]{width:auto;height:auto;min-width:500px;min-height:500px;max-width:800px}"]}),t})();const Ui=[zt,dn,Qe];let Gi=(()=>{let t=class{};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[Ui,zt,dn,Qe]}),t})(),Hi=(()=>{let t=class{constructor(){}ngOnInit(){}setToolsetStyle(t){const e=document.getElementById(t.id);null!=e&&this.toolEl&&this.toolEl.nativeElement&&(this.toolEl.nativeElement.setAttribute("style",`z-index: 999; top: ${e.offsetTop}px;position:absolute`),0!==this.toolEl.nativeElement.clientHeight&&e.setAttribute("style",`height: calc(${this.toolEl.nativeElement.clientHeight}px + 2em)`))}ngAfterViewInit(){"line-chart"===this.option.type&&this.renderLineChart(this.option.data),setTimeout(()=>{this.setToolsetStyle(this.option)},500)}renderLineChart(t){Object(_.init)(this.lineChartEl.nativeElement).setOption({width:500,height:500,xAxis:{type:"category",data:["Low","\u6311\u6218","High"],axisLine:{symbol:["none","arrow"],symbolSize:[10,20]},axisTick:{show:!1}},yAxis:{type:"category",data:["Low","\u80fd\u529b","High"],axisLine:{symbol:["none","arrow"],symbolSize:[10,20]},axisTick:{show:!1}},series:[{data:[],type:"line",smooth:!0}]})}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["toolset"]],viewQuery:function(t,e){var n;1&t&&(r.Ec(zr,!0),r.Ec(Fr,!0)),2&t&&(r.qc(n=r.dc())&&(e.toolEl=n.first),r.qc(n=r.dc())&&(e.lineChartEl=n.first))},inputs:{option:"option"},decls:4,vars:2,consts:[["tool",""],["class","slider",4,"ngIf"],["class","line-chart",4,"ngIf"],[1,"slider"],[4,"ngFor","ngForOf"],[1,"name"],[1,"slide"],["step","5",1,"slide-element"],[1,"line-chart"],[1,"toolset-chart"],["lineChart",""]],template:function(t,e){1&t&&(r.Ub(0,"div",null,0),r.yc(2,Vr,2,1,"div",1),r.yc(3,jr,3,0,"div",2),r.Tb()),2&t&&(r.Cb(2),r.lc("ngIf","slider"===e.option.type),r.Cb(1),r.lc("ngIf","line-chart"===e.option.type))},directives:[a.j,a.i,Lt],styles:["[_nghost-%COMP%]{padding:4em}.slider[_ngcontent-%COMP%]{width:100%;padding-left:2em;padding-top:2em;display:flex;flex-direction:column}.slider[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:inline-block}.slider[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{width:100px}.slider[_ngcontent-%COMP%] .slide[_ngcontent-%COMP%]{width:auto}.slider[_ngcontent-%COMP%] .slide-element[_ngcontent-%COMP%]{width:300px}.line-chart[_ngcontent-%COMP%] .toolset-chart[_ngcontent-%COMP%]{width:1200px;height:600px}"]}),t})(),qi=(()=>{let t=class{constructor(){this.data=[]}ngOnInit(){}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-step-line"]],inputs:{data:"data"},decls:2,vars:2,consts:[[4,"ngIf"],[1,"step-line"],[3,"step-line-wrap",4,"ngFor","ngForOf"],[1,"step-line","step-line-reverse"],[4,"ngFor","ngForOf"],[1,"step-item"],["class","arrow-left",4,"ngIf"],[1,"arrow-left"],["class","arrow-right",4,"ngIf"],[1,"arrow-right"]],template:function(t,e){1&t&&(r.yc(0,Hr,5,2,"ng-container",0),r.yc(1,$r,3,1,"ng-container",0)),2&t&&(r.lc("ngIf",e.data.length>6),r.Cb(1),r.lc("ngIf",e.data.length<=6))},directives:[a.j,a.i],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.step-line[_ngcontent-%COMP%]{display:flex;align-items:flex-start;width:930px}.step-line-reverse[_ngcontent-%COMP%]{flex-direction:row-reverse}.step-line-wrap[_ngcontent-%COMP%]{flex-wrap:wrap;justify-content:center}.step-line[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;align-items:center}.step-line[_ngcontent-%COMP%] .step-item[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-width:154px;width:-webkit-max-content;width:-moz-max-content;width:max-content;height:60px;border-radius:30px;background-color:#111;font-size:18px;color:#fff;line-height:34px}.step-line[_ngcontent-%COMP%] .arrow-right[_ngcontent-%COMP%]{width:0;height:0;border:12px solid;margin:0 2px 0 14px;border-color:transparent transparent transparent #111}.step-line[_ngcontent-%COMP%] .arrow-left[_ngcontent-%COMP%]{width:0;height:0;border:12px solid;margin:0 14px 0 2px;border-color:transparent #111 transparent transparent}.step-line[_ngcontent-%COMP%] .arrow-down[_ngcontent-%COMP%]{width:0;height:0;border:12px solid;margin:14px 0 2px;border-color:#111 transparent transparent}"]}),t})();const Wi=["#e55852","#e98832","#f0d668","#47c0af","#387fd5","#7753df","#079948","#00A2A1","#666666","#F37C20"];let $i=(()=>{let t=class{constructor(){this.data={header:"",cells:[],index:-1},this.headerStyle={bg:"#fff",font:"#333"}}ngOnInit(){}getHeaderStyle(){let t=this.data.index;return t||0===t||(t=Math.floor(10*Math.random())),{"background-color":this.headerStyle&&this.headerStyle.bg||Wi[t],color:this.headerStyle&&this.headerStyle.font||"#333"}}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-card"]],inputs:{data:"data",headerStyle:"headerStyle"},decls:6,vars:3,consts:[[1,"card"],["role","table","aria-label","Destinations",1,"card-head",3,"ngStyle"],[1,"title"],[1,"card-body"],[4,"ngFor","ngForOf"]],template:function(t,e){1&t&&(r.Ub(0,"div",0),r.Ub(1,"div",1),r.Ub(2,"div",2),r.Ac(3),r.Tb(),r.Tb(),r.Ub(4,"div",3),r.yc(5,Zr,2,1,"p",4),r.Tb(),r.Tb()),2&t&&(r.Cb(1),r.lc("ngStyle",e.getHeaderStyle()),r.Cb(2),r.Bc(e.data.header),r.Cb(2),r.lc("ngForOf",e.data.cells))},directives:[a.k,a.i],styles:[".card[_ngcontent-%COMP%]{position:relative;margin:0;padding:0;font-size:14px;font-variant:tabular-nums;box-sizing:border-box;line-height:1.5;list-style:none;background-color:#f3f4f5;border-radius:2px;transition:.3s;max-width:300px;min-width:140px;height:100%}.card-head[_ngcontent-%COMP%]{height:60px;padding:0 24px;color:#111;font-size:16px;border-bottom:1px solid #e8e8e8;text-align:center}.card-head[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:inline-block;flex:1;padding:13px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:18px;font-weight:600;font-stretch:normal;line-height:1.89;letter-spacing:.75px}.card-body[_ngcontent-%COMP%]{padding:20px 20px 0;zoom:1}.card-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;font-style:normal;line-height:1.57;letter-spacing:normal;text-align:center;color:#111;margin-bottom:19px}"]}),t})(),Zi=(()=>{let t=class{constructor(t,e){this.renderer=t,this.cdr=e,this.data={header:[],cells:[]},this.config={rowHeight:"",column:4,colors:[]},this.column=4,this.rowHeight="430px",this.stepRowHeight="430px",this.rowNums=[],this.headers=[],this.itemWidth=288,this.arrowWidth=68}ngOnInit(){}init(){this.headers=[],this.column=this.config.column||this.column;const t=this.data.header.length,e=Math.ceil(t/this.column);let n=0;const r=[];for(;n4){const e=t/this.itemWidth;this.column="0."+String(e).split(".")[1]>"0.7"?Math.ceil(e):Math.floor(e)}this.init(),this.renderer.setStyle(this.tableStepEl.nativeElement,"width",this.column*this.itemWidth-this.arrowWidth+"px"),this.cdr.detectChanges()}isShowIconBeforeCard(t,e,n,r,i,o){return(e+1)%2==0&&e*n+r!==t.header.length-1||!i&&o&&this.headers.length>1&&(e+1)%2==0}isShowIconAfterCard(t,e,n,r){return(e+1)%2!=0&&e*n+r!==t.header.length-1}};return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.E),r.Ob(r.h))},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-table-step"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Xr,!0),2&t&&r.qc(n=r.dc())&&(e.tableStepEl=n.first)},inputs:{data:"data",config:"config"},decls:3,vars:1,consts:[[1,"table-steps"],["tableStep",""],["class","step-row",3,"step-row-reverse","first-row","height",4,"ngFor","ngForOf"],[1,"step-row"],[4,"ngFor","ngForOf"],[1,"column"],["class","arrow",4,"ngIf"],[2,"height","100%",3,"headerStyle","data"],[1,"arrow"],["class","arrow-down-symbol",4,"ngIf"],[4,"ngIf"],[1,"arrow-down-symbol"],[1,"arrow-down"],[1,"rect-down"],[1,"arrow-left"],[1,"rect-right"],[1,"rect-left"],[1,"arrow-right"]],template:function(t,e){1&t&&(r.Ub(0,"div",0,1),r.yc(2,ii,2,7,"div",2),r.Tb()),2&t&&(r.Cb(2),r.lc("ngForOf",e.headers))},directives:[a.i,a.j,$i],styles:["[_nghost-%COMP%] ledge-card .card{min-width:220px}.table-steps[_ngcontent-%COMP%]{display:block}.step-row[_ngcontent-%COMP%]{display:flex;align-items:flex-start;height:430px;margin-bottom:15px}.step-row[_ngcontent-%COMP%] .column[_ngcontent-%COMP%]{display:flex;align-items:center;height:90%}.step-row-reverse[_ngcontent-%COMP%]{flex-direction:row-reverse}.step-row-reverse[_ngcontent-%COMP%] > .step-row-wrap[_ngcontent-%COMP%]{flex-direction:column-reverse}.step-row-wrap[_ngcontent-%COMP%]{flex-wrap:wrap;justify-content:center}.arrow-down-symbol[_ngcontent-%COMP%]{position:relative;left:18px}.arrow[_ngcontent-%COMP%]{position:relative;width:68px}.arrow-right[_ngcontent-%COMP%]{width:0;height:0;border:12px solid;position:absolute;left:30px;border-color:transparent transparent transparent #999aaa}.arrow-left[_ngcontent-%COMP%]{width:0;height:0;border:12px solid;position:absolute;right:30px;border-color:transparent #999aaa transparent transparent}.arrow-down[_ngcontent-%COMP%]{width:0;height:0;border:12px solid;position:absolute;top:30px;border-color:#999aaa transparent transparent}.rect-left[_ngcontent-%COMP%]{position:absolute;width:16px;height:12px;background-color:#999aaa;top:6px;left:18px}.rect-right[_ngcontent-%COMP%]{position:absolute;width:16px;height:12px;background-color:#999aaa;top:6px;right:18px}.rect-down[_ngcontent-%COMP%]{position:absolute;background-color:#999aaa;top:18px;left:6px;width:12px;height:18px}"]}),t})(),Xi=(()=>{let t=class{ngAfterViewInit(){const t=Object(_.init)(this.chart.nativeElement),e=this.buildOption(this.data[0]);t.setOption(e)}buildOption(t){const e=[],n=[];if(!t.children)return{};for(const r of t.children){const t=r.name.split(": ");e.push(t[0]),n.push({value:t[1],name:t[0]})}return{title:{text:t.name,left:"center"},tooltip:{trigger:"item",formatter:"{a}
    {b} : {c} ({d}%)"},legend:{orient:"vertical",left:"right",data:e},series:[{name:t.name,type:"pie",radius:"60%",data:n,animation:!1,label:{normal:{show:!0,position:"inner",formatter:"{d}%"}}}]}}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-pie"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Nr,!0),2&t&&r.qc(n=r.dc())&&(e.chart=n.first)},inputs:{data:"data",config:"config"},decls:2,vars:0,consts:[[1,"pie","chart"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:[".chart[_ngcontent-%COMP%]{width:auto;height:auto;min-width:500px;min-height:500px}"]}),t})(),Ki=(()=>{let t=class{constructor(){this.imagesShow={}}ngOnInit(){}getImageUrl(t){return`https://phodal.github.io/logo/png/${this.getItemName(t)}.png`}updateUrl(t,e){this.imagesShow[t]={showImage:!1}}showImage(t){return void 0===this.imagesShow[t]||!(!this.imagesShow[t]||!this.imagesShow[t].showImage)}getItemName(t){return t.toLowerCase().replace(/\s/g,"-")}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-dev-process"]],inputs:{data:"data",config:"config"},decls:2,vars:1,consts:[[1,"dev-process"],["class","process-column",4,"ngFor","ngForOf"],[1,"process-column"],["class","section-block",4,"ngFor","ngForOf"],[1,"section-block"],[1,"section-name"],[1,"section-items"],["class","section-item",4,"ngFor","ngForOf"],[1,"section-item"],["class","pure-text",4,"ngIf"],[3,"src","alt","error",4,"ngIf"],[1,"pure-text"],[3,"src","alt","error"]],template:function(t,e){1&t&&(r.Ub(0,"div",0),r.yc(1,ci,4,5,"div",1),r.Tb()),2&t&&(r.Cb(1),r.lc("ngForOf",e.data))},directives:[a.i,a.j],styles:[".dev-process[_ngcontent-%COMP%]{display:flex}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%]{flex-direction:column;width:100%;padding:4px}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%] .column-title[_ngcontent-%COMP%]{text-align:center;color:#fff;padding:1em 0}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%] .section-block[_ngcontent-%COMP%]{flex:1;position:relative;margin-top:1em;background:#fff}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%] .section-block[_ngcontent-%COMP%] .section-name[_ngcontent-%COMP%]{top:-.5em;left:1em;padding:0 1em;position:absolute;background:#fff}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%] .section-block[_ngcontent-%COMP%] .section-items[_ngcontent-%COMP%]{border:1px solid #222;padding-top:.5em}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%] .section-block[_ngcontent-%COMP%] .section-items[_ngcontent-%COMP%] .section-item[_ngcontent-%COMP%]{display:inline-block}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%] .section-block[_ngcontent-%COMP%] .section-items[_ngcontent-%COMP%] .section-item[_ngcontent-%COMP%] .pure-text[_ngcontent-%COMP%]{padding:16px 8px}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%] .section-block[_ngcontent-%COMP%] .section-items[_ngcontent-%COMP%] .section-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:inline-block;width:60px;height:auto;margin:0}"]}),t})(),Qi=(()=>{let t=class{constructor(){this.trData=[],this.currentLevel=0,this.customAxisLabels=[]}ngOnInit(){}ngOnChanges(t){t.data&&(this.data=t.data.currentValue,this.rebuildRadarData(),setTimeout(()=>{this.renderData(this.trData)}))}rebuildRadarData(){this.trData=[];for(const t of this.data.slice(0,4)){const e=[];this.currentLevel=0,this.customAxisLabels=[];for(const n of t.children){const t=this.getLevelByName(n.name);if(n.children)for(const r of n.children)e.push({levelName:n.name,name:r.name,circle:t})}this.trData.push({name:t.name,items:e})}}getLevelByName(t){switch(t.toLowerCase()){case"adopt":this.currentLevel=1;break;case"trail":this.currentLevel=2;break;case"assess":this.currentLevel=3;break;case"hold":this.currentLevel=4;break;default:this.currentLevel++}return this.customAxisLabels.push(t),this.currentLevel}renderData(t){const e=this.chartEl.nativeElement;let n=[""].concat(this.customAxisLabels).reverse();this.config&&this.config.hiddenLegend&&(n=["","","","",""]);const r={w:600,h:600,margin:{top:10,right:20,bottom:10,left:10},levels:this.currentLevel+1,labelFactor:1.1,dotRadius:15,color:b.schemeCategory10};function i(t,e){return Math.random()*(e-t)+t}function o(t){Object(b.selectAll)(".active").classed("active",!1);const e=Object(b.select)(this).datum();return Object(b.selectAll)(".tech-circle").filter(t=>t===e).classed("active",!0),Object(b.selectAll)(".legend li").filter(t=>t===e).classed("active",!0),!0}Object(b.select)(e),function(t){const a=Object(b.keys)(t).length,s=Math.min(r.w/2,r.h/2),l=2*Math.PI/a,c=Object(b.scaleLinear)().range([0,s]).domain([0,1]),u=r.w+r.margin.left+r.margin.right,h=r.h+r.margin.top+r.margin.bottom,d=Object(b.select)(e).append("div").attr("id","radarChart").append("svg").attr("viewBox",`0 0 ${u} ${h}`).append("g").attr("transform","translate("+(r.w/2+r.margin.left)+","+(r.h/2+r.margin.top)+")"),f=d.append("g").attr("class","axisWrapper");f.selectAll(".levels").data(Object(b.range)(1,r.levels).reverse()).enter().append("circle").attr("class","gridCircle, color-1").attr("r",t=>s/r.levels*(t+1)).style("fill","transparent").style("stroke-dasharray","5,5"),f.selectAll(".axisLabel").data(Object(b.range)(1,r.levels+1).reverse()).enter().append("text").attr("class","axisLabel").attr("x",4).attr("y",t=>-(2===t?0:t-1)*s/r.levels-12).attr("dy","0.4em").text((t,e)=>n[e]);const p=f.selectAll(".axis").data(t).enter().append("g").attr("class","axis");p.append("line").attr("x1",0).attr("y1",0).attr("x2",(t,e)=>c(1.1)*Math.cos(l*e-Math.PI/2)).attr("y2",(t,e)=>c(1.1)*Math.sin(l*e-Math.PI/2)).attr("class","line, color-1").style("stroke-width","1px"),p.append("text").attr("class","axisLabel").attr("text-anchor","middle").attr("dy","0.35em").attr("x",(t,e)=>c(r.labelFactor)*Math.cos(l*(e-1)-Math.PI/4)).attr("y",(t,e)=>c(r.labelFactor)*Math.sin(l*(e-1)-Math.PI/4)).text(t=>t.name),d.selectAll(".radarSections").data(t).enter().append("g").each((function(t,e){const n=Object(b.select)(this).selectAll(".radarCircle").data(t.items).enter().append("g").attr("transform",n=>{const o=function(t,e,n){const r=Math.PI/2*(t-1);return r+(Math.PI/2*t-r)/(e+1)*n}(e,t.circleCounts[n.circle],n.idInCircle),a=function(t,e,n){const r=e.dotRadius/n/2,o=1/e.levels,a=r,s=o-r;return((t=1===t?i(0,1):t)+1)*o-i(a,s)}(n.circle,r,s);return`translate(${c(a)*Math.cos(o-Math.PI/2)}, ${c(a)*Math.sin(o-Math.PI/2)})`}).attr("class","tech-circle").on("click",o).on("mouseover",t=>{Object(b.selectAll)(".legend li").classed("active",!1).filter(e=>e.number===t.number).classed("active",!0)});n.append("circle").attr("class","radarCircle, color-"+(e+1)).attr("r",r.dotRadius).style("fill-opacity",.8).append("title").text(t=>t.name),n.append("a").append("text").text(t=>t.number).attr("class","dot").attr("fill","white").attr("text-anchor","middle").attr("dominant-baseline","central")}));const g=Object(b.select)(e).selectAll(".legend").data(t).join("div").attr("class",(t,e)=>"legend legend-"+e);g.append("h3").text(t=>t.name).attr("id",t=>t.name).attr("class",(t,e)=>"color-"+(e+1)),g.append("ol").attr("start",t=>t.items[0]?t.items[0].number:0).selectAll("li").data(t=>t.items).enter().append("li").append("a").on("click",o).text(t=>t.name)}(function(t){let e=1;return t.forEach(t=>{t.circleCounts={1:0,2:0,3:0,4:0},t.items.sort((t,e)=>t.circle-e.circle),t.items.forEach(n=>{n.idInCircle=++t.circleCounts[n.circle],n.number=e++})}),t}(t))}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-tech-radar"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Nr,!0),2&t&&r.qc(n=r.dc())&&(e.chartEl=n.first)},inputs:{data:"data",config:"config"},features:[r.Ab],decls:2,vars:0,consts:[[1,"ledge-tech-radar"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:["[_nghost-%COMP%]{margin:0 auto;padding:0 20px;max-width:1200px}"]}),t})();var Ji=function(t){return t.UNTOUCHED="untouched",t.PROCESSING="processing",t.CURRENT="current",t.SUCCESS="success",t.ERROR="error",t.PENDING="pending",t}({}),to=function(t){return t.GREEN="#4A9900",t.RED="#C4000A",t.GRAY="#949393",t.WHITE="#FFFFFF",t}({}),eo=function(t){return t.checkMark="-2.00 2.80 -4.80 0.00 -5.73 0.933 -2.00 4.67 6.00 -3.33 5.07 -4.27",t.crossMark="4.67 -3.73 3.73 -4.67 0 -0.94 -3.73 -4.67 -4.67 -3.73 -0.94 0 -4.67 3.73 -3.73 4.67 0 0.94 3.73 4.67 4.67 3.73 0.94 0",t}({});const no={connectionStrokeWidth:4,stateStrokeWidth:4,stateRadius:16,stageSpace:60,stageLabelHeight:30,stageLabelSize:"16px",jobHeight:60,jobLabelSize:"12px",startNodeRadius:12,startNodeSpace:40,endNodeRadius:12,endNodeSpace:40};let ro=(()=>{let t=class{constructor(){this.data=[]}ngAfterViewInit(){this.config=Object.assign(Object.assign({},no),this.config);const t=this.buildStages(),e=Object(b.select)(this.pipeline.nativeElement).append("svg").attr("width","100%").attr("viewBox",this.calculateViewBox(t));this.renderPipeline(e,t)}calculateViewBox(t){const e=Object(b.max)(t.map(t=>t.jobs.length));return`-20 0 ${2*(this.config.startNodeRadius+this.config.startNodeSpace)*2+t.length*(2*(this.config.stageSpace+this.config.stateRadius+this.config.stateStrokeWidth))} ${this.config.stageLabelHeight+e*(2*this.config.stateRadius+this.config.jobHeight)}`}buildStages(){return this.data.map(({name:t,children:e=[]})=>({label:t,jobs:e.map(({name:t})=>{const[e,n]=t.split(":");return{label:e,state:n}})}))}renderPipeline(t,e){const[n,...r]=this.generateTransformCoordinates(e),[i,...o]=r.reverse();this.renderStartNode(t.append("g").attr("transform",`translate(${n.x}, ${n.y})`)),o.reverse().forEach(({x:n,y:r},i)=>{this.renderStage(t.append("g").attr("transform",`translate(${n}, ${r})`),e[i])}),this.renderEndNode(t.append("g").attr("transform",`translate(${i.x}, ${i.y})`))}generateTransformCoordinates(t){const e=2*this.config.startNodeRadius+this.config.startNodeSpace,n=2*(this.config.stageSpace+this.config.stateRadius),r=[];t.forEach((t,e)=>{r.push(n*e)});const i=[{x:e+t.length*n,y:60}];return[].concat([{x:0,y:60}],r.map(t=>({x:t+e,y:60})),i)}renderStage(t,e){const[n,...r]=e.jobs;this.renderFirstJob(t,n,r&&!!r.length),r.forEach((e,n)=>{this.renderJob(t,e,n+1)}),t.append("text").attr("x",this.config.stageSpace+this.config.stateRadius).attr("y",-this.config.stageLabelHeight).attr("text-anchor","middle").attr("style","font-size: "+this.config.stageLabelSize).text(e.label)}renderFirstJob(t,e,n){const r=Object(b.path)();r.moveTo(0,0),r.lineTo(2*(this.config.stageSpace+this.config.stateRadius),0),t.append("path").attr("stroke-width",this.config.connectionStrokeWidth).attr("stroke",to.GRAY).attr("d",r),this.renderState(t.append("g").attr("transform",`translate(${this.config.stageSpace}, 0)`),e.state),n&&t.append("text").attr("x",this.config.stageSpace+this.config.stateRadius).attr("y",this.config.stageLabelHeight).attr("text-anchor","middle").attr("style","font-size: "+this.config.jobLabelSize).text(e.label)}renderJob(t,e,n){this.renderJobLine(t.append("g").attr("transform",`translate(0, -${this.config.stateRadius})`).attr("fill","none").attr("stroke-width",this.config.connectionStrokeWidth).attr("stroke",to.GRAY),n),this.renderState(t.append("g").attr("transform",`translate(${this.config.stageSpace}, ${n*(2*this.config.stateRadius+this.config.jobHeight)})`),e.state),t.append("text").attr("x",this.config.stageSpace+this.config.stateRadius).attr("y",n*(2*this.config.stateRadius+this.config.jobHeight)+this.config.stageLabelHeight).attr("style","font-size: "+this.config.jobLabelSize).attr("text-anchor","middle").text(e.label)}renderJobLine(t,e){const n=Object(b.path)(),r=2*this.config.stateRadius;n.arc(0,r,this.config.stateRadius,3*Math.PI/2,0),n.arc(r,e*(r+this.config.jobHeight),this.config.stateRadius,2*Math.PI/2,1*Math.PI/2,!0),n.arc(2*this.config.stageSpace,e*(r+this.config.jobHeight),this.config.stateRadius,1*Math.PI/2,0,!0),n.arc(2*(this.config.stageSpace+this.config.stateRadius),r,this.config.stateRadius,2*Math.PI/2,3*Math.PI/2),t.append("path").attr("d",n)}renderState(t,e){const{polygonPoints:n,circleStrokeWidth:r,circleStroke:i,circleFill:o,symbolStroke:a,symbolFill:s}=this.getStateConfig(e),l=Object(b.path)();l.arc(this.config.stateRadius,0,this.config.stateRadius,0,2*Math.PI),t.append("path").attr("stroke-width",r).attr("stroke",i).attr("fill",o).attr("d",l),t.append("g").attr("transform",`translate(${this.config.stateRadius}, 0)`).append("polygon").attr("points",n).attr("stroke",a).attr("fill",s)}renderStartNode(t){const e=Object(b.path)();e.arc(this.config.startNodeRadius,0,this.config.startNodeRadius,0,2*Math.PI),t.append("path").attr("d",e).attr("fill",to.GRAY);const n=Object(b.path)();n.moveTo(2*this.config.startNodeRadius,0),n.lineTo(2*this.config.startNodeRadius+this.config.startNodeSpace,0),n.closePath(),t.append("path").attr("d",n).attr("stroke",to.GRAY).attr("stroke-width",this.config.connectionStrokeWidth),t.append("text").attr("x",this.config.startNodeRadius).attr("y",-this.config.stageLabelHeight).attr("text-anchor","middle").text("Start")}renderEndNode(t){const e=Object(b.path)();e.arc(this.config.endNodeSpace+this.config.endNodeRadius,0,this.config.endNodeRadius,0,2*Math.PI),t.append("path").attr("d",e).attr("fill",to.GRAY);const n=Object(b.path)();n.moveTo(0,0),n.lineTo(this.config.endNodeSpace,0),n.closePath(),t.append("path").attr("d",n).attr("stroke",to.GRAY).attr("stroke-width",this.config.connectionStrokeWidth),t.append("text").attr("x",this.config.endNodeRadius+this.config.endNodeSpace).attr("y",-this.config.stageLabelHeight).attr("text-anchor","middle").text("End")}getStateConfig(t){const e={polygonPoints:"",circleStrokeWidth:this.config.stateStrokeWidth,circleStroke:to.WHITE,circleFill:to.GREEN,symbolStrokeWidth:to.WHITE,symbolStroke:to.WHITE,symbolFill:to.WHITE};switch(t){case Ji.SUCCESS:return Object.assign(Object.assign({},e),{polygonPoints:eo.checkMark,circleFill:to.GREEN,circleStroke:to.GREEN});case Ji.ERROR:return Object.assign(Object.assign({},e),{polygonPoints:eo.crossMark,circleFill:to.RED,circleStroke:to.RED});case Ji.UNTOUCHED:case Ji.PROCESSING:case Ji.CURRENT:case Ji.PENDING:return Object.assign(Object.assign({},e),{circleFill:to.WHITE,circleStroke:to.GRAY})}}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-pipeline"]],viewQuery:function(t,e){var n;1&t&&r.Ec(ui,!0),2&t&&r.qc(n=r.dc())&&(e.pipeline=n.first)},inputs:{data:"data",config:"config"},decls:2,vars:0,consts:[[1,"pipeline"],["pipeline",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:[".pipeline[_ngcontent-%COMP%]{margin:20px auto}.pipeline[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:border-box}"]}),t})();class io{constructor(t,e){this.name=t,this.tasks=e}}class oo{constructor(t,e){this.name=t,this.columns=e}}let ao=(()=>{let t=class{constructor(){this.board=new oo("",[])}ngOnInit(){}ngOnChanges(t){this.updateKanbanData()}updateKanbanData(){if(this.data.length<=0)return;const t=this.data[0];this.board=new oo(t.name,[]);for(const e of t.children){const t=new io(e.name,[]);if(e.children)for(const n of e.children)t.tasks.push(n.name);this.board.columns.push(t)}}drop(t){t.previousContainer===t.container?Me(t.container.data,t.previousIndex,t.currentIndex):function(t,e,n,r){const i=De(n,t.length-1),o=De(r,e.length);t.length&&e.splice(o,0,t.splice(i,1)[0])}(t.previousContainer.data,t.container.data,t.previousIndex,t.currentIndex)}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-kanban"]],inputs:{data:"data",config:"config"},features:[r.Ab],decls:7,vars:2,consts:[[1,"board"],[1,"board-bar"],[1,"board-name"],[1,"board-wrapper"],["cdkDropListGroup","",1,"board-columns"],["class","board-column",4,"ngFor","ngForOf"],[1,"board-column"],[1,"column-title"],["cdkDropList","",1,"tasks-container",3,"cdkDropListData","cdkDropListDropped"],["class","task","cdkDrag","",4,"ngFor","ngForOf"],["cdkDrag","",1,"task"]],template:function(t,e){1&t&&(r.Ub(0,"div",0),r.Ub(1,"div",1),r.Ub(2,"p",2),r.Ac(3),r.Tb(),r.Tb(),r.Ub(4,"div",3),r.Ub(5,"div",4),r.yc(6,di,5,3,"div",5),r.Tb(),r.Tb(),r.Tb()),2&t&&(r.Cb(3),r.Bc(e.board.name),r.Cb(3),r.lc("ngForOf",e.board.columns))},directives:[Ze,a.i,Ke,We],styles:[".root[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.board[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-grow:1;min-width:0;min-height:0;background:#7753df}.board[_ngcontent-%COMP%] .board-bar[_ngcontent-%COMP%]{padding:8px 15px}.board[_ngcontent-%COMP%] .board-bar[_ngcontent-%COMP%] .board-name[_ngcontent-%COMP%]{font-size:20px;font-weight:700;color:#fff;text-align:left}.board[_ngcontent-%COMP%] .board-wrapper[_ngcontent-%COMP%]{display:flex;flex-grow:1;overflow-x:auto}.board[_ngcontent-%COMP%] .board-wrapper[_ngcontent-%COMP%] .board-columns[_ngcontent-%COMP%]{display:flex;flex-grow:1}.board[_ngcontent-%COMP%] .board-wrapper[_ngcontent-%COMP%] .board-columns[_ngcontent-%COMP%] .board-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-grow:1;flex-basis:0;min-width:250px;margin:12px;padding:12px;border-radius:4px;background:rgba(255,255,255,.5)}.board[_ngcontent-%COMP%] .board-wrapper[_ngcontent-%COMP%] .board-columns[_ngcontent-%COMP%] .board-column[_ngcontent-%COMP%]:not(:first-child){margin-left:0}.board[_ngcontent-%COMP%] .board-wrapper[_ngcontent-%COMP%] .board-columns[_ngcontent-%COMP%] .board-column[_ngcontent-%COMP%] .column-title[_ngcontent-%COMP%]{font-size:20px;font-weight:800;text-transform:uppercase;margin-bottom:20px}.tasks-container[_ngcontent-%COMP%]{flex-grow:1;overflow-y:auto}.task[_ngcontent-%COMP%]{display:flex;padding:15px 12px;background:#fff;border-bottom:1px solid #ddd;border-radius:4px;margin-bottom:15px;box-shadow:0 5px 5px -3px rgba(0,0,0,.05),0 3px 14px 2px rgba(0,0,0,.05)}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%], .tasks-container.cdk-drop-list-dragging[_ngcontent-%COMP%] .task[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1)}"]}),t})(),so=(()=>{let t=class{get storage(){return window.localStorage}getItem(t){const e=this.storage.getItem(t);return e?JSON.parse(e):{}}getItemString(t){return this.storage.getItem(t)}setItemString(t,e){return this.storage.setItem(t,e)}setItem(t,e){const n=e?JSON.stringify(e):"";return this.storage.setItem(t,n)}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})();var lo;let co=(()=>{let t=lo=class{constructor(t,e){this.formBuilder=t,this.storage=e,this.toDos=[],this.disableInput=!1,this.formChange=new r.n,this.unsubscribe=new k.a,this.disabled=!1}onChange(t){}onTouched(){}ngOnInit(){this.form=this.formBuilder.group({todo:["",[y.i.required,y.i.minLength(2)]]}),this.form.valueChanges.subscribe(()=>{this.formChange.emit(this.form)})}addToDo(t){this.toDos.push({id:Math.random(),checked:!1,name:t})}ngOnDestroy(){this.unsubscribe.next(),this.unsubscribe.complete()}completeChange(t,e){e.checked=t.checked,this.onChange(this.toDos)}submitTodo(){this.form.valid&&(this.addToDo(this.form.value.todo),this.form.controls.todo.setValue(null))}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}writeValue(t){null!=t&&(this.toDos=t)}};return t.\u0275fac=function(e){return new(e||t)(r.Ob(y.b),r.Ob(so))},t.\u0275cmp=r.Ib({type:t,selectors:[["component-todo"]],inputs:{toDos:"toDos",disableInput:"disableInput",form:"form"},outputs:{formChange:"formChange"},features:[r.Bb([{provide:y.e,useExisting:Object(r.U)(()=>lo),multi:!0}])],decls:1,vars:1,consts:[[3,"complete",4,"ngFor","ngForOf"],[3,"checked","change"],[1,"title",3,"innerHTML"],["class","description",3,"innerHTML",4,"ngIf"],[1,"description",3,"innerHTML"]],template:function(t,e){1&t&&r.yc(0,pi,4,5,"div",0),2&t&&r.lc("ngForOf",e.toDos)},directives:[a.i,un,a.j],styles:[".complete[_ngcontent-%COMP%]{text-decoration:line-through}.title[_ngcontent-%COMP%]{font-weight:300;font-size:14px}.description[_ngcontent-%COMP%]{font-weight:lighter;font-size:12px}"]}),t})(),uo=(()=>{let t=class{constructor(){this.checklists=[],this.updateParent=new r.n}ngOnInit(){}completeChange(t){this.updateParent.emit(t.checked)}ngOnChanges(t){t.checklists&&(this.checklists=t.checklists.currentValue)}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["component-checklist"]],inputs:{checklists:"checklists",name:"name"},outputs:{updateParent:"updateParent"},features:[r.Ab],decls:1,vars:1,consts:[[4,"ngIf"],["class","component-checklist",4,"ngFor","ngForOf"],[1,"component-checklist"],[1,"checklist-item",3,"checked","change"],[1,"title",3,"innerHTML"],["class","description",3,"innerHTML",4,"ngIf"],[3,"disableInput","toDos"],[1,"description",3,"innerHTML"]],template:function(t,e){1&t&&r.yc(0,vi,2,1,"div",0),2&t&&r.lc("ngIf",e.checklists)},directives:[a.j,a.i,un,co],styles:[".component-checklist[_ngcontent-%COMP%]{border:1px solid #eee;padding:8px 8px 0;margin-top:4px;border-radius:4px}.title[_ngcontent-%COMP%]{font-size:16px;padding:0;font-weight:300}.description[_ngcontent-%COMP%]{font-weight:lighter;font-size:12px}.checklist-item[_ngcontent-%COMP%]{height:24px;line-height:24px}"]}),t})(),ho=(()=>{let t=class{ngOnInit(){}ngOnChanges(t){this.renderData()}renderData(){this.title=encodeURIComponent(this.data[0].name);const t=this.data[0].children,e=[];for(const n of t){const t={name:n.name,description:"",subitems:[]};n.hasOwnProperty("checked")&&(t.checked=n.checked);for(const e of n.children){const n=e.name.split("\uff1a"),r={name:n[0],description:n.length>1?n[1]:""};e.hasOwnProperty("checked")&&(r.checked=e.checked),t.subitems.push(r)}e.push(t)}this.checklists=e}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-checklist"]],inputs:{data:"data",config:"config"},features:[r.Ab],decls:1,vars:1,consts:[["class","ledge-checklist",3,"checklists","name",4,"ngIf"],[1,"ledge-checklist",3,"checklists","name"]],template:function(t,e){1&t&&r.yc(0,yi,1,2,"component-checklist",0),2&t&&r.lc("ngIf",e.checklists)},directives:[a.j,uo],styles:[""]}),t})(),fo=(()=>{let t=class{constructor(){}ngOnInit(){pn.a.mermaidAPI.initialize({theme:"default",gantt:{titleTopMargin:25,barHeight:48,barGap:4,topPadding:50,leftPadding:75,gridLineStartPadding:35,fontSize:18,fontFamily:'"Open-Sans", "sans-serif"',numberSectionStyles:4,axisFormat:"%Y-%m-%d"}}),pn.a.mermaidAPI.render("mermaid-"+Math.random().toString(32).slice(2),this.data,t=>{this.code=t})}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-mermaid"]],inputs:{data:"data"},decls:2,vars:3,consts:[[1,"mermaid-graph",3,"innerHTML"]],template:function(t,e){1&t&&(r.Pb(0,"div",0),r.hc(1,"tohtml")),2&t&&r.lc("innerHTML",r.ic(1,1,e.code),r.tc)},pipes:[Li],styles:[""]}),t})(),po=(()=>{let t=class{constructor(){this.childLevel=0}ngOnInit(){}ngAfterViewInit(){const t=Object(_.init)(this.chart.nativeElement),e=this.setValue(this.data,0),n=this.buildOption(e);t.setOption(n)}buildOption(t){return{visualMap:{type:"continuous",min:0,max:10,inRange:{color:["#2D5F73","#538EA6","#F2D1B3","#F2B8A2","#F28C8C"]}},series:{type:"sunburst",data:t,radius:[0,"90%"],label:{rotate:"radial"}}}}setValue(t,e){this.childLevel++;for(const n of t)n.children?this.setValue(n.children,e):n.value=1,n.name&&n.name.endsWith("*")&&(n.itemStyle={color:"#F54F4A"});return this.childLevel--,t}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-sunburst"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Nr,!0),2&t&&r.qc(n=r.dc())&&(e.chart=n.first)},inputs:{data:"data",config:"config"},decls:2,vars:0,consts:[[1,"ledge-sunburst","chart"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:[".ledge-sunburst[_ngcontent-%COMP%]{width:auto;height:auto;min-width:960px;min-height:960px;max-width:1200px}"]}),t})();const go=()=>{let t=50,e=[],n=[];const r=void 0;let i,o,a,s=1200,l=800,c=t=>t.children,u=t=>t.depth>=1&&t.amount?t.name+":"+t.amount:t.name,h=t=>{};const d=Object(b.scaleLog)().domain([1,5]).range([60,30]),f=Object(b.forceSimulation)().force("center",Object(b.forceCenter)(s/2,l/2)).force("link",Object(b.forceLink)().distance((function(t){return(t.target.maxChildIdx+1)*d(t.depth+1)}))).on("tick",(function(){let n,r,c=6*this.alpha();e.forEach(e=>{e.root&&(e.x=s-(t+a.getBBox().width)),e.tail&&(e.x=t,e.y=l/2),1===e.depth&&(e.y=-1===e.region?t:l-t,e.x-=10*c),e.vertical&&(e.y+=c*e.region),e.depth&&(e.x-=c),e.between&&(n=e.between[0],r=e.between[1],e.x=r.x-(1+e.childIdx)*(r.x-n.x)/(r.maxChildIdx+1),e.y=r.y-(1+e.childIdx)*(r.y-n.y)/(r.maxChildIdx+1)),h(e)}),i.call(v),o.call(m)})),p=t=>{n=[],e=[],function t(r){e.push(r);let i=0,o=[r,r.connector];const a=[{source:r,target:r.connector,arrow:!0,depth:r.depth||0}];let s,l;return r.parent?(r.connector.maxChildIdx=0,r.connector.totalLinks=[]):(e.push(s={tail:!0}),o=[s,r],a[0].source=s,a[0].target=r,r.horizontal=!0,r.vertical=!1,r.depth=0,r.root=!0,r.totalLinks=[]),r.linkCount=1,(c(r)||[]).forEach((n,c)=>{n.parent=r,n.depth=(r.depth||0)+1,n.childIdx=c,n.region=1&c?r.region?r.region:1:r.region?r.region:-1,n.horizontal=!r.horizontal,n.vertical=!r.vertical,r.root&&s&&!s.tail?(e.push(n.connector={between:o,childIdx:s.childIdx}),s=null):e.push(s=n.connector={between:o,childIdx:i++}),a.push({source:n,target:n.connector,depth:n.depth}),l=t(n),r.linkCount+=l,o[1].totalLinks.push(l)}),o[1].maxChildIdx=i,Array.prototype.unshift.apply(n,a),r.linkCount}(t.datum()),f.nodes(e).force("link",Object(b.forceLink)().links(n)),o=t.selectAll(".link").data(n).enter().append("line").attr("class",t=>"link link-"+t.depth).attr("marker-end",t=>t.arrow?"url(#arrow)":null),o.exit().remove(),i=t.selectAll(".node").data(e).enter().append("g").attr("class",t=>"node"+(t.root?" root":"")).append("text").attr("class",t=>"label-"+t.depth).attr("stroke",t=>{if(t.color)return t.color}).attr("text-anchor",t=>t.depth?t.horizontal?"end":"middle":"start").attr("dy",t=>t.horizontal?".35em":1===t.region?"1em":"-.2em").text(u),i.exit().remove(),i.on("mousedown",()=>{b.event.stopPropagation()}),a=t.select(".root").node()};function g(t){return isFinite(t)?t:0}function m(t){t.attr("x1",t=>g(t.source.x)).attr("y1",t=>g(t.source.y)).attr("x2",t=>g(t.target.x)).attr("y2",t=>g(t.target.y))}function v(t){t.attr("transform",t=>"translate("+t.x+","+t.y+")")}return p.links=()=>n,p.nodes=()=>e,p.force=()=>f,p.defaultArrow=function(t){t.selectAll("defs").data([1]).enter().append("defs").selectAll("marker#arrow").data([1]).enter().append("marker").attr("id","arrow").attr("viewBox","0 -5 10 10").attr("refX",10).attr("refY",0).attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M0,-5L10,0L0,5")},p.margin=e=>(t=e,r),p.children=t=>(c=t,r),p.label=t=>(u=t,r),p._perNodeTick=t=>(h=t,r),p.setWidthHeight=(t,e)=>{s=t,l=e,f.force("center",Object(b.forceCenter)(s/2,l/2))},p};let mo=(()=>{let t=class{constructor(){}ngOnInit(){}ngAfterViewInit(){const t=this.data[0],e=go();let n=1200,r=800;this.config&&(this.config.width&&(n=this.config.width),this.config.height&&(r=this.config.height)),e.setWidthHeight(n,r),Object(b.select)(this.chart.nativeElement).append("svg").attr("width",n).attr("height",r).datum(t).call(e.defaultArrow).call(e),e.force().restart()}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-fish-bone"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Nr,!0),2&t&&r.qc(n=r.dc())&&(e.chart=n.first)},inputs:{data:"data",config:"config"},decls:2,vars:0,consts:[[1,"ledge-fish-bone","chart"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:[".ledge-fish-bone[_ngcontent-%COMP%]{width:auto;height:auto;min-width:500px;min-height:500px;max-width:800px}"]}),t})(),vo=(()=>{let t=class{constructor(){}ngOnInit(){}ngAfterViewInit(){const t=x.a.init(this.chartEl.nativeElement),e=this.buildOption(this.data);t.setOption(e)}buildOption(t){const e=this.buildSeriesData(JSON.parse(JSON.stringify(t)));return{title:{top:30,left:"center",name:t.header[0]},visualMap:{min:0,max:100,calculable:!0,orient:"vertical",left:"90%",top:"35%",inRange:{color:["white","rgb(166, 202, 102)"]}},grid:{top:"10%",left:"20%"},xAxis:{type:"category",position:"top",data:t.header.slice(1),axisLabel:{fontSize:14},splitArea:{show:!1}},yAxis:{type:"category",axisLabel:{fontSize:14},data:t.cells[0].reverse(),splitArea:{show:!0}},series:[{type:"heatmap",data:e,label:{show:!0,color:"#000",formatter:t=>t.value[2]+"%"},emphasis:{itemStyle:{shadowBlur:5,shadowColor:"white"}}}]}}buildSeriesData(t){const e=[];t.cells.shift();const n=t.cells[0].length;for(let r=0;r{let t=class{ngOnInit(){}ngOnChanges(t){t.data&&(this.data=t.data.currentValue,this.chartData=this.data,this.ratingData=this.data[0].children)}updateData(t){this.chartData[0].children=t,this.chartData=JSON.parse(JSON.stringify(this.chartData))}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-maturity"]],inputs:{data:"data",config:"config"},features:[r.Ab],decls:3,vars:2,consts:[[1,"ledge-maturity"],["class","left",4,"ngIf"],["class","right",4,"ngIf"],[1,"left"],[3,"styles","data","hiddenLegend","config"],[1,"right"],[3,"data","dataChange"]],template:function(t,e){1&t&&(r.Ub(0,"div",0),r.yc(1,_i,2,5,"div",1),r.yc(2,xi,2,1,"div",2),r.Tb()),2&t&&(r.Cb(1),r.lc("ngIf",e.chartData),r.Cb(1),r.lc("ngIf",e.ratingData))},directives:function(){return[a.j,Yi,wo]},styles:[".ledge-maturity[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.ledge-maturity[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{width:60%}.ledge-maturity[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{width:40%;display:flex;align-items:center;justify-content:center}"]}),t})();var bo;let _o=(()=>{let t=bo=class{constructor(){this.itemChange=new r.n,this.disabled=!1}onChange(t){}onTouched(t){}ngOnInit(){const t=this.item.name.split(": ");this.item.displayName=t[0],t.length>1&&(this.item.chartValue=parseInt(t[1],10))}registerOnChange(t){this.onChange=t,this.itemChange.emit=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}writeValue(t){null!=t&&(this.item=t)}updateValue(t){this.itemChange.emit(this.item)}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["component-rating-item"]],inputs:{item:"item"},outputs:{itemChange:"itemChange"},features:[r.Bb([{provide:y.e,useExisting:Object(r.U)(()=>bo),multi:!0}])],decls:3,vars:3,consts:[["min","1","max","5","step","1",3,"ngModel","ngModelChange","change"]],template:function(t,e){1&t&&(r.Ub(0,"span"),r.Ac(1),r.Tb(),r.Ub(2,"mat-slider",0),r.cc("ngModelChange",(function(t){return e.item.chartValue=t}))("change",(function(t){return e.updateValue(t)})),r.Tb()),2&t&&(r.Cb(1),r.Dc("",e.item.displayName," : ",e.item.chartValue,""),r.Cb(1),r.lc("ngModel",e.item.chartValue))},directives:[Lt,y.f,y.g],styles:["[_nghost-%COMP%]{font-size:16px}"]}),t})();var xo;let wo=(()=>{let t=xo=class{constructor(){this.dataChange=new r.n,this.isParent=!1,this.disabled=!1}onChange(t){}onTouched(t){}ngOnInit(){}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this.disabled=t}writeValue(t){null!==t&&(this.data=t)}changeForm(t,e,n){e.name=e.displayName+": "+e.chartValue,this.data[n]=e,this.dataChange.emit(this.data)}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["component-rating"]],inputs:{isParent:"isParent",data:"data",instanceKey:"instanceKey"},outputs:{dataChange:"dataChange"},features:[r.Bb([{provide:y.e,useExisting:Object(r.U)(()=>xo),multi:!0}])],decls:1,vars:1,consts:[["id","markdown-rating",4,"ngIf"],["id","markdown-rating"],[4,"ngFor","ngForOf"],[3,"item","itemChange"],[3,"disableInput","toDos",4,"ngIf"],[3,"disableInput","toDos"]],template:function(t,e){1&t&&r.yc(0,ki,2,1,"div",0),2&t&&r.lc("ngIf",e.data)},directives:[a.j,a.i,_o,co],styles:["ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:1.2em}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:1em;line-height:1.2em!important;margin-left:2em}"]}),t})(),So=(()=>{let t=class{constructor(){}ngOnInit(){}ngOnChanges(t){t.data&&(this.data=t.data.currentValue,setTimeout(()=>{this.render(this.data[0])}))}render(t){const e=this.chartEl.nativeElement;let n=800,r=960;this.config&&(this.config.height&&(n=this.config.height),this.config.width&&(r=this.config.width));const i=r-90-90,o=n-20-30,a=Object(b.select)(e).append("svg").attr("width",i+90+90).attr("height",o+20+30).append("g").attr("transform","translate(90,20)");let s,l=0;const c=Object(b.tree)().size([o,i]);s=Object(b.hierarchy)(t,t=>t.children),s.x0=o/2,s.y0=0,this.config&&this.config.collapse&&s.children.forEach((function t(e){e.children&&(e._children=e.children,e._children.forEach(t),e.children=null)})),function t(e){const n=c(s),r=n.descendants(),i=n.descendants().slice(1);r.forEach(t=>{t.y=180*t.depth});const o=a.selectAll("g.node").data(r,t=>t.id||(t.id=++l)),u=o.enter().append("g").attr("class","node").attr("transform",t=>"translate("+e.y0+","+e.x0+")").on("click",(function(e){e.children?(e._children=e.children,e.children=null):(e.children=e._children,e._children=null),t(e)}));u.append("circle").attr("class","node").attr("r",1e-6).style("fill",t=>t._children?"lightsteelblue":"#fff"),u.append("text").attr("dy",".35em").attr("x",t=>t.children||t._children?-13:13).attr("text-anchor",t=>t.children||t._children?"end":"start").text(t=>t.data.name);const h=u.merge(o);h.transition().duration(750).attr("transform",t=>"translate("+t.y+","+t.x+")"),h.select("circle.node").attr("r",10).style("fill",t=>t._children?"lightsteelblue":"#fff").attr("cursor","pointer");const d=o.exit().transition().duration(750).attr("transform",t=>"translate("+e.y+","+e.x+")").remove();d.select("circle").attr("r",1e-6),d.select("text").style("fill-opacity",1e-6);const f=a.selectAll("path.link").data(i,t=>t.id);function p(t,e){return`M ${t.y} ${t.x}\n C ${(t.y+e.y)/2} ${t.x},\n ${(t.y+e.y)/2} ${e.x},\n ${e.y} ${e.x}`}f.enter().insert("path","g").attr("class","link").attr("d",t=>{const n={x:e.x0,y:e.y0};return p(n,n)}).merge(f).transition().duration(750).attr("d",t=>p(t,t.parent)),f.exit().transition().duration(750).attr("d",t=>{const n={x:e.x,y:e.y};return p(n,n)}).remove(),r.forEach(t=>{t.x0=t.x,t.y0=t.y})}(s)}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-tree"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Nr,!0),2&t&&r.qc(n=r.dc())&&(e.chartEl=n.first)},inputs:{data:"data",config:"config"},features:[r.Ab],decls:2,vars:0,consts:[[1,"ledge-tree"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:["[_nghost-%COMP%]{min-height:800px}"]}),t})(),ko=(()=>{let t=class{constructor(){this.regex=/\[(\d+)\]\s?(.*)/,this.items=[]}ngOnInit(){this.data&&(this.regex.test(this.data[0].children[0].name)&&this.data.map(t=>{t.children.map(t=>{let e=this.regex.exec(t.name);e&&e.length>=2&&(t.type="type_"+e[1],t.name=e[2])})}),this.items=this.data)}};return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-process-step"]],inputs:{data:"data",config:"config"},decls:4,vars:2,consts:[[1,"markdown-process-step"],["class","step-heads",4,"ngIf"],[1,"process-step-columns"],["class","process-step-column",4,"ngFor","ngForOf"],[1,"step-heads"],[3,"class",4,"ngFor","ngForOf"],[1,"process-step-column"],[1,"process-title"],[1,"process-body"],[3,"class","innerHTML",4,"ngFor","ngForOf"],["class","step-symbol",4,"ngIf"],[3,"innerHTML"],[1,"step-symbol"]],template:function(t,e){1&t&&(r.Ub(0,"div",0),r.yc(1,Ai,2,1,"div",1),r.Ub(2,"div",2),r.yc(3,Mi,6,3,"div",3),r.Tb(),r.Tb()),2&t&&(r.Cb(1),r.lc("ngIf",e.config.heads),r.Cb(2),r.lc("ngForOf",e.items))},directives:[a.j,a.i],styles:[".type_0.ledge-type[_ngcontent-%COMP%]{background:#f37c20}.type_0.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #f37c20}.type_1.ledge-type[_ngcontent-%COMP%]{background:#e9bd1e}.type_1.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #e9bd1e}.type_2.ledge-type[_ngcontent-%COMP%]{background:#00a2a1}.type_2.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #00a2a1}.type_3.ledge-type[_ngcontent-%COMP%]{background:#0062ce}.type_3.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #0062ce}.type_4.ledge-type[_ngcontent-%COMP%]{background:#666}.type_4.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #666}.type_5.ledge-type[_ngcontent-%COMP%]{background:#dc5332}.type_5.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #dc5332}.type_6.ledge-type[_ngcontent-%COMP%]{background:#079948}.type_6.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #079948}.type_7.ledge-type[_ngcontent-%COMP%]{background:#999}.type_7.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #999}.type_8.ledge-type[_ngcontent-%COMP%]{background:purple}.type_8.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid purple}.type_9.ledge-type[_ngcontent-%COMP%]{background:#036}.type_9.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #036}.type_10.ledge-type[_ngcontent-%COMP%]{background:#aa217e}.type_10.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #aa217e}.type_11.ledge-type[_ngcontent-%COMP%]{background:#55acee}.type_11.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #55acee}.type_12.ledge-type[_ngcontent-%COMP%]{background:#444}.type_12.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #444}.type_13.ledge-type[_ngcontent-%COMP%]{background:#61bb46}.type_13.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #61bb46}.type_14.ledge-type[_ngcontent-%COMP%]{background:#007c78}.type_14.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #007c78}.markdown-process-step[_ngcontent-%COMP%]{display:flex;margin:2em auto;flex:1;flex-direction:column;position:relative}.step-heads[_ngcontent-%COMP%]{height:32px}.ledge-type[_ngcontent-%COMP%]{padding:6px 10px;border-radius:6px;margin-left:6px}.process-step-columns[_ngcontent-%COMP%]{top:2em;display:flex;flex-direction:row;justify-content:space-between}"]}),t})(),Co=(()=>{let t=class{};return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[so],imports:[[a.b,y.c,y.h,Gi,g]]}),t})()},NmYn:function(t,e,n){var r;t.exports=(r=function(){var t=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010c":"C","\u010d":"c","\u010e":"D","\u010f":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011a":"E","\u011b":"e","\u011e":"G","\u011f":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012a":"i","\u012b":"i","\u012e":"I","\u012f":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013b":"L","\u013c":"l","\u013d":"L","\u013e":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015a":"S","\u015b":"s","\u015e":"S","\u015f":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016a":"u","\u016b":"u","\u016e":"U","\u016f":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017a":"z","\u017b":"Z","\u017c":"z","\u017d":"Z","\u017e":"z","\u0192":"f","\u01a0":"O","\u01a1":"o","\u01af":"U","\u01b0":"u","\u01c8":"LJ","\u01c9":"lj","\u01cb":"NJ","\u01cc":"nj","\u0218":"S","\u0219":"s","\u021a":"T","\u021b":"t","\u02da":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038a":"I","\u038c":"O","\u038e":"Y","\u038f":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039a":"K","\u039b":"L","\u039c":"M","\u039d":"N","\u039e":"3","\u039f":"O","\u03a0":"P","\u03a1":"R","\u03a3":"S","\u03a4":"T","\u03a5":"Y","\u03a6":"F","\u03a7":"X","\u03a8":"PS","\u03a9":"W","\u03aa":"I","\u03ab":"Y","\u03ac":"a","\u03ad":"e","\u03ae":"h","\u03af":"i","\u03b0":"y","\u03b1":"a","\u03b2":"b","\u03b3":"g","\u03b4":"d","\u03b5":"e","\u03b6":"z","\u03b7":"h","\u03b8":"8","\u03b9":"i","\u03ba":"k","\u03bb":"l","\u03bc":"m","\u03bd":"n","\u03be":"3","\u03bf":"o","\u03c0":"p","\u03c1":"r","\u03c2":"s","\u03c3":"s","\u03c4":"t","\u03c5":"y","\u03c6":"f","\u03c7":"x","\u03c8":"ps","\u03c9":"w","\u03ca":"i","\u03cb":"y","\u03cc":"o","\u03cd":"y","\u03ce":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040a":"NJ","\u040b":"C","\u040f":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041a":"K","\u041b":"L","\u041c":"M","\u041d":"N","\u041e":"O","\u041f":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042a":"U","\u042b":"Y","\u042c":"","\u042d":"E","\u042e":"Yu","\u042f":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043a":"k","\u043b":"l","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044a":"u","\u044b":"y","\u044c":"","\u044d":"e","\u044e":"yu","\u044f":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045a":"nj","\u045b":"c","\u045d":"u","\u045f":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049a":"KH","\u049b":"kh","\u04a2":"NG","\u04a3":"ng","\u04ae":"UE","\u04af":"ue","\u04b0":"U","\u04b1":"u","\u04ba":"H","\u04bb":"h","\u04d8":"AE","\u04d9":"ae","\u04e8":"OE","\u04e9":"oe","\u0e3f":"baht","\u10d0":"a","\u10d1":"b","\u10d2":"g","\u10d3":"d","\u10d4":"e","\u10d5":"v","\u10d6":"z","\u10d7":"t","\u10d8":"i","\u10d9":"k","\u10da":"l","\u10db":"m","\u10dc":"n","\u10dd":"o","\u10de":"p","\u10df":"zh","\u10e0":"r","\u10e1":"s","\u10e2":"t","\u10e3":"u","\u10e4":"f","\u10e5":"k","\u10e6":"gh","\u10e7":"q","\u10e8":"sh","\u10e9":"ch","\u10ea":"ts","\u10eb":"dz","\u10ec":"ts","\u10ed":"ch","\u10ee":"kh","\u10ef":"j","\u10f0":"h","\u1e80":"W","\u1e81":"w","\u1e82":"W","\u1e83":"w","\u1e84":"W","\u1e85":"w","\u1e9e":"SS","\u1ea0":"A","\u1ea1":"a","\u1ea2":"A","\u1ea3":"a","\u1ea4":"A","\u1ea5":"a","\u1ea6":"A","\u1ea7":"a","\u1ea8":"A","\u1ea9":"a","\u1eaa":"A","\u1eab":"a","\u1eac":"A","\u1ead":"a","\u1eae":"A","\u1eaf":"a","\u1eb0":"A","\u1eb1":"a","\u1eb2":"A","\u1eb3":"a","\u1eb4":"A","\u1eb5":"a","\u1eb6":"A","\u1eb7":"a","\u1eb8":"E","\u1eb9":"e","\u1eba":"E","\u1ebb":"e","\u1ebc":"E","\u1ebd":"e","\u1ebe":"E","\u1ebf":"e","\u1ec0":"E","\u1ec1":"e","\u1ec2":"E","\u1ec3":"e","\u1ec4":"E","\u1ec5":"e","\u1ec6":"E","\u1ec7":"e","\u1ec8":"I","\u1ec9":"i","\u1eca":"I","\u1ecb":"i","\u1ecc":"O","\u1ecd":"o","\u1ece":"O","\u1ecf":"o","\u1ed0":"O","\u1ed1":"o","\u1ed2":"O","\u1ed3":"o","\u1ed4":"O","\u1ed5":"o","\u1ed6":"O","\u1ed7":"o","\u1ed8":"O","\u1ed9":"o","\u1eda":"O","\u1edb":"o","\u1edc":"O","\u1edd":"o","\u1ede":"O","\u1edf":"o","\u1ee0":"O","\u1ee1":"o","\u1ee2":"O","\u1ee3":"o","\u1ee4":"U","\u1ee5":"u","\u1ee6":"U","\u1ee7":"u","\u1ee8":"U","\u1ee9":"u","\u1eea":"U","\u1eeb":"u","\u1eec":"U","\u1eed":"u","\u1eee":"U","\u1eef":"u","\u1ef0":"U","\u1ef1":"u","\u1ef2":"Y","\u1ef3":"y","\u1ef4":"Y","\u1ef5":"y","\u1ef6":"Y","\u1ef7":"y","\u1ef8":"Y","\u1ef9":"y","\u2018":"\'","\u2019":"\'","\u201c":"\\"","\u201d":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20a0":"ecu","\u20a2":"cruzeiro","\u20a3":"french franc","\u20a4":"lira","\u20a5":"mill","\u20a6":"naira","\u20a7":"peseta","\u20a8":"rupee","\u20a9":"won","\u20aa":"new shequel","\u20ab":"dong","\u20ac":"euro","\u20ad":"kip","\u20ae":"tugrik","\u20af":"drachma","\u20b0":"penny","\u20b1":"peso","\u20b2":"guarani","\u20b3":"austral","\u20b4":"hryvnia","\u20b5":"cedi","\u20b8":"kazakhstani tenge","\u20b9":"indian rupee","\u20bd":"russian ruble","\u20bf":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221e":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\ufdfc":"rial"}'),e=JSON.parse('{"vi":{"\u0110":"D","\u0111":"d"}}');function n(n,r){if("string"!=typeof n)throw new Error("slugify: string argument expected");var i=e[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},o=r.replacement||"-",a=n.split("").reduce((function(e,n){return e+(i[n]||t[n]||n)}),"").replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+o+"]+","g"),o);return r.lower&&(a=a.toLowerCase()),r.strict&&(a=a.replace(new RegExp("[^a-zA-Z0-9"+o+"]","g"),"")),a}return n.extend=function(e){for(var n in e)t[n]=e[n]},n})(),t.exports.default=r()},Npjl:function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},NykK:function(t,e,n){var r=n("nmnc"),i=n("AP2z"),o=n("KfNM"),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},O0oS:function(t,e,n){var r=n("Cwc5"),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=i},O7RO:function(t,e,n){var r=n("CMye"),i=n("7GkX");t.exports=function(t){for(var e=i(t),n=e.length;n--;){var o=e[n],a=t[o];e[n]=[o,a,r(a)]}return e}},OBhP:function(t,e,n){var r=n("fmRc"),i=n("gFfm"),o=n("MrPd"),a=n("WwFo"),s=n("Dw+G"),l=n("5Tg0"),c=n("Q1l4"),u=n("VOtZ"),h=n("EEGq"),d=n("qZTm"),f=n("G6z8"),p=n("QqLw"),g=n("yHx3"),m=n("wrZu"),v=n("+iFO"),y=n("Z0cm"),b=n("DSRE"),_=n("zEVN"),x=n("GoyQ"),w=n("1+5i"),S=n("7GkX"),k={};k["[object Arguments]"]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object DataView]"]=k["[object Boolean]"]=k["[object Date]"]=k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Map]"]=k["[object Number]"]=k["[object Object]"]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object Symbol]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Error]"]=k["[object Function]"]=k["[object WeakMap]"]=!1,t.exports=function t(e,n,C,A,T,E){var M,D=1&n,I=2&n,O=4&n;if(C&&(M=T?C(e,A,T,E):C(e)),void 0!==M)return M;if(!x(e))return e;var P=y(e);if(P){if(M=g(e),!D)return c(e,M)}else{var L=p(e),R="[object Function]"==L||"[object GeneratorFunction]"==L;if(b(e))return l(e,D);if("[object Object]"==L||"[object Arguments]"==L||R&&!T){if(M=I||R?{}:v(e),!D)return I?h(e,s(M,e)):u(e,a(M,e))}else{if(!k[L])return T?e:{};M=m(e,L,D)}}E||(E=new r);var N=E.get(e);if(N)return N;E.set(e,M),w(e)?e.forEach((function(r){M.add(t(r,n,C,r,e,E))})):_(e)&&e.forEach((function(r,i){M.set(i,t(r,n,C,i,e,E))}));var z=O?I?f:d:I?keysIn:S,F=P?void 0:z(e);return i(F||e,(function(r,i){F&&(r=e[i=r]),o(M,i,t(r,n,C,i,e,E))})),M}},OELB:function(t,e,n){var r=n("bYtY"),i=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function o(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}e.linearMap=function(t,e,n,r){var i=e[1]-e[0],o=n[1]-n[0];if(0===i)return 0===o?n[0]:(n[0]+n[1])/2;if(r)if(i>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/i*o+n[0]},e.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n},e.round=function(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},e.asc=function(t){return t.sort((function(t,e){return t-e})),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},e.getPrecisionSafe=function(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var r=+e.slice(n+1);return r<0?-r:0}var i=e.indexOf(".");return i<0?0:e.length-1-i},e.getPixelPrecision=function(t,e){var n=Math.log,r=Math.LN10,i=Math.floor(n(t[1]-t[0])/r),o=Math.round(n(Math.abs(e[1]-e[0]))/r),a=Math.min(Math.max(-i+o,0),20);return isFinite(a)?a:20},e.getPercentWithPrecision=function(t,e,n){if(!t[e])return 0;var i=r.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===i)return 0;for(var o=Math.pow(10,n),a=r.map(t,(function(t){return(isNaN(t)?0:t)/i*o*100})),s=100*o,l=r.map(a,(function(t){return Math.floor(t)})),c=r.reduce(l,(function(t,e){return t+e}),0),u=r.map(a,(function(t,e){return t-l[e]}));ch&&(h=u[f],d=f);++l[d],u[d]=0,++c}return l[e]/o},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return t>-1e-4&&t<1e-4},e.parseDate=function(t){if(t instanceof Date)return t;if("string"==typeof t){var e=i.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))},e.quantity=function(t){return Math.pow(10,o(t))},e.quantityExponent=o,e.nice=function(t,e){var n=o(t),r=Math.pow(10,n),i=t/r;return t=(e?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*r,n>=-20?+t.toFixed(n<0?-n:0):t},e.quantile=function(t,e){var n=(t.length-1)*e+1,r=Math.floor(n),i=+t[r-1],o=n-r;return o?i+o*(t[r]-i):i},e.reformIntervals=function(t){t.sort((function(t,e){return function t(e,n,r){return e.interval[r]=0}},OFL0:function(t,e,n){var r=n("lvO4"),i=n("4sDh");t.exports=function(t,e){return null!=t&&i(t,e,r)}},OKJ2:function(t,e,n){var r=n("KxfA").retrieveRawValue,i=n("7aKB"),o=i.getTooltipMarker,a=i.formatTpl,s=n("4NO4").getTooltipRenderMode,l=/\{@(.+?)\}/g;t.exports={getDataParams:function(t,e){var n=this.getData(e),r=this.getRawValue(t,e),i=n.getRawIndex(t),a=n.getName(t),l=n.getRawDataItem(t),c=n.getItemVisual(t,"color"),u=n.getItemVisual(t,"borderColor"),h=this.ecModel.getComponent("tooltip"),d=h&&h.get("renderMode"),f=s(d),p=this.mainType,g="series"===p,m=n.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:g?this.subType:null,seriesIndex:this.seriesIndex,seriesId:g?this.id:null,seriesName:g?this.name:null,name:a,dataIndex:i,data:l,dataType:e,value:r,color:c,borderColor:u,dimensionNames:m?m.dimensionNames:null,encode:m?m.encode:null,marker:o({color:c,renderMode:f}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,i,o){e=e||"normal";var s=this.getData(n),c=s.getItemModel(t),u=this.getDataParams(t,n);null!=i&&u.value instanceof Array&&(u.value=u.value[i]);var h=c.get("normal"===e?[o||"label","formatter"]:[e,o||"label","formatter"]);return"function"==typeof h?(u.status=e,u.dimensionIndex=i,h(u)):"string"==typeof h?a(h,u).replace(l,(function(e,n){var i=n.length;return"["===n.charAt(0)&&"]"===n.charAt(i-1)&&(n=+n.slice(1,i-1)),r(s,t,n)})):void 0},getRawValue:function(t,e){return r(this.getData(e),t)},formatTooltip:function(){}}},"OOL/":function(t,e,n){var r=n("b5wT"),i=n("HzoJ"),o=n("2fNS"),a=n("81LO");t.exports=function t(e,n,s,l){var c=e.children(n),u=e.node(n),h=u?u.borderLeft:void 0,d=u?u.borderRight:void 0,f={};h&&(c=r.filter(c,(function(t){return t!==h&&t!==d})));var p=i(e,c);r.forEach(p,(function(n){if(e.children(n.v).length){var i=t(e,n.v,s,l);f[n.v]=i,r.has(i,"barycenter")&&(a=i,r.isUndefined((o=n).barycenter)?(o.barycenter=a.barycenter,o.weight=a.weight):(o.barycenter=(o.barycenter*o.weight+a.barycenter*a.weight)/(o.weight+a.weight),o.weight+=a.weight))}var o,a}));var g=o(p,s);!function(t,e){r.forEach(t,(function(t){t.vs=r.flatten(t.vs.map((function(t){return e[t]?e[t].vs:t})),!0)}))}(g,f);var m=a(g,l);if(h&&(m.vs=r.flatten([h,m.vs,d],!0),e.predecessors(h).length)){var v=e.node(e.predecessors(h)[0]),y=e.node(e.predecessors(d)[0]);r.has(m,"barycenter")||(m.barycenter=0,m.weight=0),m.barycenter=(m.barycenter*m.weight+v.order+y.order)/(m.weight+2),m.weight+=2}return m}},OQFs:function(t,e,n){var r=n("KCsZ")([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);t.exports={getLineStyle:function(t){var e=r(this,t);return e.lineDash=this.getLineDash(e.lineWidth),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2),r=4*t;return"solid"!==e&&null!=e&&("dashed"===e?[r,r]:[n,n])}}},OS9S:function(t,e,n){var r=n("bYtY").inherits,i=n("Gev7"),o=n("mFDi");function a(t){i.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}a.prototype.incremental=!0,a.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},a.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},a.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n0?100:20}},getFirstTargetAxisModel:function(){var t;return u((function(e){if(null==t){var n=this.get(e.axisIndex);n.length&&(t=this.dependentModels[e.axis][n[0]])}}),this),t},eachTargetAxis:function(t,e){var n=this.ecModel;u((function(r){c(this.get(r.axisIndex),(function(i){t.call(e,r,i,this,n)}),this)}),this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var n=this.getAxisProxy(t,e);return n&&n.getAxisModel()},setRawRange:function(t){var e=this.option,n=this.settledOption;c([["start","startValue"],["end","endValue"]],(function(r){null==t[r[0]]&&null==t[r[1]]||(e[r[0]]=n[r[0]]=t[r[0]],e[r[1]]=n[r[1]]=t[r[1]])}),this),f(this,t)},setCalculatedRange:function(t){var e=this.option;c(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var n in e)if(e.hasOwnProperty(n)&&e[n].hostedBy(this))return e[n];for(var n in e)if(e.hasOwnProperty(n)&&!e[n].hostedBy(this))return e[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});function d(t){var e={};return c(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}function f(t,e){var n=t._rangePropMode,r=t.get("rangeMode");c([["start","startValue"],["end","endValue"]],(function(t,i){var o=null!=e[t[0]],a=null!=e[t[1]];o&&!a?n[i]="percent":!o&&a?n[i]="value":r?n[i]=r[i]:o&&(n[i]="percent")}))}t.exports=h},"P/G1":function(t,e,n){var r=n("JmpY"),i=n("7GkX");t.exports=function(t){return null==t?[]:r(t,i(t))}},P47w:function(t,e,n){var r=n("hydK").createElement,i=n("IMiH"),o=n("mFDi"),a=n("Fofx"),s=n("6GrX"),l=n("pzxd"),c=n("dqUG"),u=i.CMD,h=Array.prototype.join,d=Math.round,f=Math.sin,p=Math.cos,g=Math.PI,m=2*Math.PI,v=180/g;function y(t){return d(1e4*t)/1e4}function b(t){return t<1e-4&&t>-1e-4}function _(t,e){e&&x(t,"transform","matrix("+h.call(e,",")+")")}function x(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&t.setAttribute(e,n)}function w(t,e,n,r){if(function(t,e){var n=e?t.textFill:t.fill;return null!=n&&"none"!==n}(e,n)){var i=n?e.textFill:e.fill;x(t,"fill",i="transparent"===i?"none":i),x(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else x(t,"fill","none");if(function(t,e){var n=e?t.textStroke:t.stroke;return null!=n&&"none"!==n}(e,n)){var o=n?e.textStroke:e.stroke;x(t,"stroke",o="transparent"===o?"none":o),x(t,"stroke-width",(n?e.textStrokeWidth:e.lineWidth)/(!n&&e.strokeNoScale?r.getLineScale():1)),x(t,"paint-order",n?"stroke":"fill"),x(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity),e.lineDash?(x(t,"stroke-dasharray",e.lineDash.join(",")),x(t,"stroke-dashoffset",d(e.lineDashOffset||0))):x(t,"stroke-dasharray",""),e.lineCap&&x(t,"stroke-linecap",e.lineCap),e.lineJoin&&x(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&x(t,"stroke-miterlimit",e.miterLimit)}else x(t,"stroke","none")}var S={brush:function(t){var e=t.style,n=t.__svgEl;n||(n=r("path"),t.__svgEl=n),t.path||t.createPathProxy();var i=t.path;if(t.__dirtyPath){i.beginPath(),i.subPixelOptimize=!1,t.buildPath(i,t.shape),t.__dirtyPath=!1;var o=function(t){for(var e=[],n=t.data,r=t.len(),i=0;i=m:-x>=m),A=x>0?x%m:x%m+m,T=!1;T=!!C||!b(k)&&A>=g==!!S;var E=y(s+c*p(_)),M=y(l+h*f(_));C&&(x=S?m-1e-4:1e-4-m,T=!0,9===i&&e.push("M",E,M));var D=y(s+c*p(_+x)),I=y(l+h*f(_+x));e.push("A",y(c),y(h),d(w*v),+T,+S,D,I);break;case u.Z:o="Z";break;case u.R:D=y(n[i++]),I=y(n[i++]);var O=y(n[i++]),P=y(n[i++]);e.push("M",D,I,"L",D+O,I,"L",D+O,I+P,"L",D,I+P,"L",D,I)}o&&e.push(o);for(var L=0;LN){for(;Lt[1])break;n.push({color:this.getControllerVisual(o,"color",e),offset:i/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,o=n.handleLabels;f([0,1],(function(a){var l=i[a];l.setStyle("fill",e.handlesColor[a]),l.position[1]=t[a];var c=s.applyTransform(n.handleLabelPoints[a],s.getTransform(l,this.group));o[a].setStyle({x:c[0],y:c[1],text:r.formatValueText(this._dataInterval[a]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===a?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(t,e,n,r){var i=this.visualMapModel,o=i.getExtent(),a=i.itemSize,l=d(t,o,[0,a[1]],!0),c=this._shapes,u=c.indicator;if(u){u.position[1]=l,u.attr("invisible",!1),u.setShape("points",function(t,e,n,r){return t?[[0,-p(e,g(n,0))],[6,0],[0,p(e,g(r-n,0))]]:[[0,0],[5,-5],[5,5]]}(!!n,r,l,a[1]));var h=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0});u.setStyle("fill",h);var f=s.applyTransform(c.indicatorLabelPoint,s.getTransform(u,this.group)),m=c.indicatorLabel;m.attr("invisible",!1);var v=this._applyTransform("left",c.barGroup),y=this._orient;m.setStyle({text:(n||"")+i.formatValueText(e),textVerticalAlign:"horizontal"===y?v:"middle",textAlign:"horizontal"===y?"center":v,x:f[0],y:f[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,r=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);r[1]=p(g(0,r[1]),n[1]),t._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n=this.visualMapModel;if(n.option.hoverLink){var r=[0,n.itemSize[1]],i=n.getExtent();t=p(g(r[0],t),r[1]);var o=function(t,e,n){var r=6,i=t.get("hoverLinkDataSize");return i&&(r=d(i,e,n,!0)/2),r}(n,i,r),a=[t-o,t+o],s=d(t,r,i,!0),l=[d(a[0],r,i,!0),d(a[1],r,i,!0)];a[0]r[1]&&(l[1]=1/0),e&&(l[0]===-1/0?this._showIndicator(s,l[1],"< ",o):l[1]===1/0?this._showIndicator(s,l[0],"> ",o):this._showIndicator(s,s,"\u2248 ",o));var c=this._hoverLinkDataIndices,f=[];(e||y(n))&&(f=this._hoverLinkDataIndices=n.findTargetDataIndices(l));var m=h.compressBatches(c,f);this._dispatchHighDown("downplay",u.makeHighDownBatch(m[0],n)),this._dispatchHighDown("highlight",u.makeHighDownBatch(m[1],n))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=e.dataIndex){var r=this.ecModel.getSeriesByIndex(e.seriesIndex);if(n.isTargetSeries(r)){var i=r.getData(e.dataType),o=i.get(n.getDataDimension(i),e.dataIndex,!0);isNaN(o)||this._showIndicator(o,o)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",u.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,n,i){var o=s.getTransform(e,i?null:this.group);return s[r.isArray(t)?"applyTransform":"transformDirection"](t,o,n)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function v(t,e,n,r){return new s.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){o.stop(t.event)},ondragend:r})}function y(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function b(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=m},ProS:function(t,e,n){n("Tghj");var r=n("aX58"),i=n("bYtY"),o=n("Qe9p"),a=n("ItGF"),s=n("BPZU"),l=n("H6uX"),c=n("fmMI"),u=n("hD7B"),h=n("IDmD"),d=n("ypgQ"),f=n("+wW9"),p=n("0V0F"),g=n("bLfw"),m=n("T4UG"),v=n("sS/r"),y=n("6Ic6"),b=n("IwbS"),_=n("4NO4"),x=n("iLNv").throttle,w=n("/WM3"),S=n("uAnK"),k=n("mYwL"),C=n("af/B"),A=n("xTNl"),T=n("8hn6");n("A1Ka");var E=n("7DRL"),M=i.assert,D=i.each,I=i.isFunction,O=i.isObject,P=g.parseClassType,L="__flagInMainProcess",R=/^[a-zA-Z0-9_]+$/;function N(t,e){return function(n,r,i){!e&&this._disposed||(n=n&&n.toLowerCase(),l.prototype[t].call(this,n,r,i))}}function z(){l.call(this)}function F(t,e,n){n=n||{},"string"==typeof e&&(e=lt[e]),this._dom=t;var o=this._zr=r.init(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=x(i.bind(o.flush,o),17),(e=i.clone(e))&&f(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new h;var a,c,d=this._api=(c=(a=this)._coordSysMgr,i.extend(new u(a),{getCoordinateSystems:i.bind(c.getCoordinateSystems,c),getComponentByElement:function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return a._model.getComponent(e.mainType,e.index);t=t.parent}}}));function p(t,e){return t.__prio-e.__prio}s(st,p),s(it,p),this._scheduler=new C(this,d,it,st),l.call(this,this._ecEventProcessor=new et),this._messageCenter=new z,this._initEvents(),this.resize=i.bind(this.resize,this),this._pendingActions=[],o.animation.on("frame",this._onframe,this),function(t,e){t.on("rendered",(function(){e.trigger("rendered"),!t.animation.isFinished()||e.__optionUpdated||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))}(o,this),i.setAsPrimitive(this)}z.prototype.on=N("on",!0),z.prototype.off=N("off",!0),z.prototype.one=N("one",!0),i.mixin(z,l);var B=F.prototype;function V(t,e,n){if(!this._disposed){var r,i=this._model,o=this._coordSysMgr.getCoordinateSystems();e=_.parseFinder(i,e);for(var a=0;a0&&t.unfinished);t.unfinished||this._zr.flush()}}},B.getDom=function(){return this._dom},B.getZr=function(){return this._zr},B.setOption=function(t,e,n){if(!this._disposed){var r;if(O(e)&&(n=e.lazyUpdate,r=e.silent,e=e.notMerge),this[L]=!0,!this._model||e){var i=new d(this._api),o=this._theme,a=this._model=new c;a.scheduler=this._scheduler,a.init(null,null,o,i)}this._model.setOption(t,ot),n?(this.__optionUpdated={silent:r},this[L]=!1):(Y(this),j.update.call(this),this._zr.flush(),this.__optionUpdated=!1,this[L]=!1,q.call(this,r),W.call(this,r))}},B.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},B.getModel=function(){return this._model},B.getOption=function(){return this._model&&this._model.getOption()},B.getWidth=function(){return this._zr.getWidth()},B.getHeight=function(){return this._zr.getHeight()},B.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},B.getRenderedCanvas=function(t){if(a.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},B.getSvgDataUrl=function(){if(a.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return i.each(e,(function(t){t.stopAnimation(!0)})),t.painter.pathToDataUrl()}},B.getDataURL=function(t){if(!this._disposed){var e=this._model,n=[],r=this;D((t=t||{}).excludeComponents,(function(t){e.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)}))}));var i="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return D(n,(function(t){t.group.ignore=!1})),i}},B.getConnectedDataURL=function(t){if(!this._disposed&&a.canvasSupported){var e=this.group,n=Math.min,o=Math.max;if(ht[e]){var s=1/0,l=1/0,c=-1/0,u=-1/0,h=[],d=t&&t.pixelRatio||1;i.each(ut,(function(r,a){if(r.group===e){var d=r.getRenderedCanvas(i.clone(t)),f=r.getDom().getBoundingClientRect();s=n(f.left,s),l=n(f.top,l),c=o(f.right,c),u=o(f.bottom,u),h.push({dom:d,left:f.left,top:f.top})}}));var f=(c*=d)-(s*=d),p=(u*=d)-(l*=d),g=i.createCanvas();g.width=f,g.height=p;var m=r.init(g);return t.connectedBackgroundColor&&m.add(new b.Rect({shape:{x:0,y:0,width:f,height:p},style:{fill:t.connectedBackgroundColor}})),D(h,(function(t){var e=new b.Image({style:{x:t.left*d-s,y:t.top*d-l,image:t.dom}});m.add(e)})),m.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},B.convertToPixel=i.curry(V,"convertToPixel"),B.convertFromPixel=i.curry(V,"convertFromPixel"),B.containPixel=function(t,e){var n;if(!this._disposed)return t=_.parseFinder(this._model,t),i.each(t,(function(t,r){r.indexOf("Models")>=0&&i.each(t,(function(t){var i=t.coordinateSystem;if(i&&i.containPoint)n|=!!i.containPoint(e);else if("seriesModels"===r){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n|=o.containPoint(e,t))}}),this)}),this),!!n},B.getVisual=function(t,e){var n=(t=_.parseFinder(this._model,t,{defaultMainType:"series"})).seriesModel.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=r?n.getItemVisual(r,e):n.getVisual(e)},B.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},B.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var j={prepareAndUpdate:function(t){Y(this),j.update.call(this,t)},update:function(t){var e=this._model,n=this._api,r=this._zr,i=this._coordSysMgr,s=this._scheduler;if(e){s.restoreData(e,t),s.performSeriesTasks(e),i.create(e,n),s.performDataProcessorTasks(e,t),G(this,e),i.update(e,n),Z(e),s.performVisualTasks(e,t),X(this,e,n,t);var l=e.get("backgroundColor")||"transparent";if(a.canvasSupported)r.setBackgroundColor(l);else{var c=o.parse(l);l=o.stringify(c,"rgb"),0===c[3]&&(l="transparent")}Q(e,n)}},updateTransform:function(t){var e=this._model,n=this,r=this._api;if(e){var o=[];e.eachComponent((function(i,a){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,e,r,t);l&&l.update&&o.push(s)}else o.push(s)}));var a=i.createHashMap();e.eachSeries((function(i){var o=n._chartsMap[i.__viewId];if(o.updateTransform){var s=o.updateTransform(i,e,r,t);s&&s.update&&a.set(i.uid,1)}else a.set(i.uid,1)})),Z(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:a}),K(n,e,0,t,a),Q(e,this._api)}},updateView:function(t){var e=this._model;e&&(y.markUpdateMethod(t,"updateView"),Z(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),X(this,this._model,this._api,t),Q(e,this._api))},updateVisual:function(t){j.update.call(this,t)},updateLayout:function(t){j.update.call(this,t)}};function Y(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),$(t,"component",e,n),$(t,"chart",e,n),n.plan()}function U(t,e,n,r,o){var a=t._model;if(r){var s={};s[r+"Id"]=n[r+"Id"],s[r+"Index"]=n[r+"Index"],s[r+"Name"]=n[r+"Name"];var l={mainType:r,query:s};o&&(l.subType=o);var c=n.excludeSeriesId;null!=c&&(c=i.createHashMap(_.normalizeToArray(c))),a&&a.eachComponent(l,(function(e){c&&null!=c.get(e.id)||u(t["series"===r?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else D(t._componentsViews.concat(t._chartsViews),u);function u(r){r&&r.__alive&&r[e]&&r[e](r.__model,a,t._api,n)}}function G(t,e){var n=t._chartsMap,r=t._scheduler;e.eachSeries((function(t){r.updateStreamModes(t,n[t.__viewId])}))}function H(t,e){var n=t.type,r=t.escapeConnect,o=nt[n],a=o.actionInfo,s=(a.update||"update").split(":"),l=s.pop();s=null!=s[0]&&P(s[0]),this[L]=!0;var c=[t],u=!1;t.batch&&(u=!0,c=i.map(t.batch,(function(e){return(e=i.defaults(i.extend({},e),t)).batch=null,e})));var h,d=[],f="highlight"===n||"downplay"===n;D(c,(function(t){(h=(h=o.action(t,this._model,this._api))||i.extend({},t)).type=a.event||h.type,d.push(h),f?U(this,l,t,"series"):s&&U(this,l,t,s.main,s.sub)}),this),"none"===l||f||s||(this.__optionUpdated?(Y(this),j.update.call(this,t),this.__optionUpdated=!1):j[l].call(this,t)),h=u?{type:a.event||n,escapeConnect:r,batch:d}:d[0],this[L]=!1,!e&&this._messageCenter.trigger(h.type,h)}function q(t){for(var e=this._pendingActions;e.length;){var n=e.shift();H.call(this,n,t)}}function W(t){!t&&this.trigger("updated")}function $(t,e,n,r){for(var i="component"===e,o=i?t._componentsViews:t._chartsViews,a=i?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,c=0;ce.get("hoverLayerThreshold")&&!a.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.useHoverLayer=!0}))}}))}(t,e),S(t._zr.dom,e)}function Q(t,e){D(at,(function(n){n(t,e)}))}B.resize=function(t){if(!this._disposed){this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),r=t&&t.silent;this[L]=!0,n&&Y(this),j.update.call(this),this[L]=!1,q.call(this,r),W.call(this,r)}}},B.showLoading=function(t,e){if(!this._disposed&&(O(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ct[t])){var n=ct[t](this._api,e),r=this._zr;this._loadingFX=n,r.add(n)}},B.hideLoading=function(){this._disposed||(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},B.makeActionFromEvent=function(t){var e=i.extend({},t);return e.type=rt[t.type],e},B.dispatchAction=function(t,e){this._disposed||(O(e)||(e={silent:!!e}),nt[t.type]&&this._model&&(this[L]?this._pendingActions.push(t):(H.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&a.browser.weChat&&this._throttledZrFlush(),q.call(this,e.silent),W.call(this,e.silent))))},B.appendData=function(t){if(!this._disposed){var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0}},B.on=N("on",!1),B.off=N("off",!1),B.one=N("one",!1);var J=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function tt(t,e){var n=t.get("z"),r=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=r&&(t.zlevel=r))}))}function et(){}B._initEvents=function(){D(J,(function(t){var e=function(e){var n,r=this.getModel(),o=e.target;if("globalout"===t)n={};else if(o&&null!=o.dataIndex){var a=o.dataModel||r.getSeriesByIndex(o.seriesIndex);n=a&&a.getDataParams(o.dataIndex,o.dataType,o)||{}}else o&&o.eventData&&(n=i.extend({},o.eventData));if(n){var s=n.componentType,l=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=n.seriesIndex);var c=s&&null!=l&&r.getComponent(s,l),u=c&&this["series"===c.mainType?"_chartsMap":"_componentsMap"][c.__viewId];n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:o,packedEvent:n,model:c,view:u},this.trigger(t,n)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),D(rt,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},B.isDisposed=function(){return this._disposed},B.clear=function(){this._disposed||this.setOption({series:[]},!0)},B.dispose=function(){if(!this._disposed){this._disposed=!0,_.setAttribute(this.getDom(),pt,"");var t=this._api,e=this._model;D(this._componentsViews,(function(n){n.dispose(e,t)})),D(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete ut[this.id]}},i.mixin(F,l),et.prototype={constructor:et,normalizeQuery:function(t){var e={},n={},r={};if(i.isString(t)){var o=P(t);e.mainType=o.main||null,e.subType=o.sub||null}else{var a=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};i.each(t,(function(t,i){for(var o=!1,l=0;l0&&u===i.length-c.length){var h=i.slice(0,u);"data"!==h&&(e.mainType=h,e[c.toLowerCase()]=t,o=!0)}}s.hasOwnProperty(i)&&(n[i]=t,o=!0),o||(r[i]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:r}},filter:function(t,e,n){var r=this.eventInfo;if(!r)return!0;var i=r.targetEl,o=r.packedEvent,a=r.model,s=r.view;if(!a||!s)return!0;var l=e.cptQuery,c=e.dataQuery;return u(l,a,"mainType")&&u(l,a,"subType")&&u(l,a,"index","componentIndex")&&u(l,a,"name")&&u(l,a,"id")&&u(c,o,"name")&&u(c,o,"dataIndex")&&u(c,o,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,i,o));function u(t,e,n,r){return null==t[n]||e[r||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var nt={},rt={},it=[],ot=[],at=[],st=[],lt={},ct={},ut={},ht={},dt=new Date-0,ft=new Date-0,pt="_echarts_instance_";function gt(t){ht[t]=!1}var mt=gt;function vt(t){return ut[_.getAttribute(t,pt)]}function yt(t,e){lt[t]=e}function bt(t){ot.push(t)}function _t(t,e){St(it,t,e,1e3)}function xt(t,e,n){"function"==typeof e&&(n=e,e="");var r=O(t)?t.type:[t,t={event:e}][0];t.event=(t.event||r).toLowerCase(),e=t.event,M(R.test(r)&&R.test(e)),nt[r]||(nt[r]={action:n,actionInfo:t}),rt[e]=r}function wt(t,e){St(st,t,e,3e3,"visual")}function St(t,e,n,r,i){(I(e)||O(e))&&(n=e,e=r);var o=C.wrapStageHandler(n,i);return o.__prio=e,o.__raw=n,t.push(o),o}function kt(t,e){ct[t]=e}wt(2e3,w),bt(f),_t(900,p),kt("default",k),xt({type:"highlight",event:"highlight",update:"highlight"},i.noop),xt({type:"downplay",event:"downplay",update:"downplay"},i.noop),yt("light",A),yt("dark",T),e.version="4.7.0",e.dependencies={zrender:"4.3.0"},e.PRIORITY={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:3500,COMPONENT:4e3,BRUSH:5e3}},e.init=function(t,e,n){var r=vt(t);if(r)return r;var i=new F(t,e,n);return i.id="ec_"+dt++,ut[i.id]=i,_.setAttribute(t,pt,i.id),function(t){var e="__connectUpdateStatus";function n(t,n){for(var r=0;rMath.abs(a)*c?(s<0&&(c=-c),n=0===s?0:c*a/s,r=c):(a<0&&(l=-l),n=l,r=0===a?0:l*s/a),{x:i+n,y:o+r}}},QUw5:function(t,e,n){var r=n("OlYY").extend({type:"dataZoom.select"});t.exports=r},QcOe:function(t,e,n){var r=n("GoyQ"),i=n("6sVZ"),o=n("7Ix3"),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=i(t),n=[];for(var s in t)("constructor"!=s||!e&&a.call(t,s))&&n.push(s);return n}},Qe9p:function(t,e,n){var r=n("1RvN"),i={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 o(t){return(t=Math.round(t))<0?0:t>255?255:t}function a(t){return t<0?0:t>1?1:t}function s(t){return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100*255):o(parseInt(t,10))}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100):a(parseFloat(t))}function c(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function u(t,e,n){return t+(e-t)*n}function h(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function d(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var f=new r(20),p=null;function g(t,e){p&&d(p,e),p=f.put(t,p||e.slice())}function m(t,e){if(t){e=e||[];var n=f.get(t);if(n)return d(e,n);var r,o=(t+="").replace(/ /g,"").toLowerCase();if(o in i)return d(e,i[o]),g(t,e),e;if("#"===o.charAt(0))return 4===o.length?(r=parseInt(o.substr(1),16))>=0&&r<=4095?(h(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,1),g(t,e),e):void h(e,0,0,0,1):7===o.length?(r=parseInt(o.substr(1),16))>=0&&r<=16777215?(h(e,(16711680&r)>>16,(65280&r)>>8,255&r,1),g(t,e),e):void h(e,0,0,0,1):void 0;var a=o.indexOf("("),c=o.indexOf(")");if(-1!==a&&c+1===o.length){var u=o.substr(0,a),p=o.substr(a+1,c-(a+1)).split(","),m=1;switch(u){case"rgba":if(4!==p.length)return void h(e,0,0,0,1);m=l(p.pop());case"rgb":return 3!==p.length?void h(e,0,0,0,1):(h(e,s(p[0]),s(p[1]),s(p[2]),m),g(t,e),e);case"hsla":return 4!==p.length?void h(e,0,0,0,1):(p[3]=l(p[3]),v(p,e),g(t,e),e);case"hsl":return 3!==p.length?void h(e,0,0,0,1):(v(p,e),g(t,e),e);default:return}}h(e,0,0,0,1)}}function v(t,e){var n=(parseFloat(t[0])%360+360)%360/360,r=l(t[1]),i=l(t[2]),a=i<=.5?i*(r+1):i+r-i*r,s=2*i-a;return h(e=e||[],o(255*c(s,a,n+1/3)),o(255*c(s,a,n)),o(255*c(s,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function y(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var r=t*(e.length-1),i=Math.floor(r),s=Math.ceil(r),l=e[i],c=e[s],h=r-i;return n[0]=o(u(l[0],c[0],h)),n[1]=o(u(l[1],c[1],h)),n[2]=o(u(l[2],c[2],h)),n[3]=a(u(l[3],c[3],h)),n}}var b=y;function _(t,e,n){if(e&&e.length&&t>=0&&t<=1){var r=t*(e.length-1),i=Math.floor(r),s=Math.ceil(r),l=m(e[i]),c=m(e[s]),h=r-i,d=w([o(u(l[0],c[0],h)),o(u(l[1],c[1],h)),o(u(l[2],c[2],h)),a(u(l[3],c[3],h))],"rgba");return n?{color:d,leftIndex:i,rightIndex:s,value:r}:d}}var x=_;function w(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}e.parse=m,e.lift=function(t,e){var n=m(t);if(n){for(var r=0;r<3;r++)n[r]=e<0?n[r]*(1-e)|0:(255-n[r])*e+n[r]|0,n[r]>255?n[r]=255:t[r]<0&&(n[r]=0);return w(n,4===n.length?"rgba":"rgb")}},e.toHex=function(t){var e=m(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},e.fastLerp=y,e.fastMapToColor=b,e.lerp=_,e.mapToColor=x,e.modifyHSL=function(t,e,n,r){if(t=m(t))return t=function(t){if(t){var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.min(r,i,o),s=Math.max(r,i,o),l=s-a,c=(s+a)/2;if(0===l)e=0,n=0;else{n=c<.5?l/(s+a):l/(2-s-a);var u=((s-r)/6+l/2)/l,h=((s-i)/6+l/2)/l,d=((s-o)/6+l/2)/l;r===s?e=d-h:i===s?e=1/3+u-d:o===s&&(e=2/3+h-u),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,c];return null!=t[3]&&f.push(t[3]),f}}(t),null!=e&&(t[0]=(i=e,(i=Math.round(i))<0?0:i>360?360:i)),null!=n&&(t[1]=l(n)),null!=r&&(t[2]=l(r)),w(v(t),"rgba");var i},e.modifyAlpha=function(t,e){if((t=m(t))&&null!=e)return t[3]=a(e),w(t,"rgba")},e.stringify=w},QkVE:function(t,e,n){var r=n("EpBk");t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},QkVN:function(t,e,n){var r=n("+Qka"),i=n("LsHQ")((function(t,e,n){r(t,e,n)}));t.exports=i},QoRX:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n=0?this._tryShow(n,r):"leave"===e&&this._hide(r))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY})}))}},manuallyShowTip:function(t,e,n,r){if(r.from!==this.uid&&!o.node){var i=k(r,n);this._ticket="";var a=r.dataByCoordSys;if(r.tooltip&&null!=r.x&&null!=r.y){var s=x;s.position=[r.x,r.y],s.update(),s.tooltip=r.tooltip,this._tryShow({offsetX:r.x,offsetY:r.y,target:s},i)}else if(a)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:r.dataByCoordSys,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,r))return;var l=h(r,e),c=l.point[0],u=l.point[1];null!=c&&null!=u&&this._tryShow({offsetX:c,offsetY:u,position:r.position,target:l.el},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},manuallyHideTip:function(t,e,n,r){!this._alwaysShowContent&&this._tooltipModel&&this._tooltipContent.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,r.from!==this.uid&&this._hide(k(r,n))},_manuallyAxisShowTip:function(t,e,n,r){var i=r.seriesIndex,o=r.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=o&&null!=a){var s=e.getSeriesByIndex(i);if(s&&"axis"===(t=S([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:o,position:r.position}),!0}},_tryShow:function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;r&&r.length?this._showAxisTooltip(r,t):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,n,e)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,n,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var n=t.get("showDelay");e=i.bind(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},_showAxisTooltip:function(t,e){var n=this._ecModel,r=[e.offsetX,e.offsetY],o=[],a=[],s=S([e.tooltipOption,this._tooltipModel]),c=this._renderMode,u=this._newLine,h={};b(t,(function(t){b(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value,s=[];if(e&&null!=r){var d=m.getValueLabel(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt);i.each(t.seriesDataIndices,(function(o){var l=n.getSeriesByIndex(o.seriesIndex),u=o.dataIndexInside,f=l&&l.getDataParams(u);if(f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=g.getAxisRawValue(e.axis,r),f.axisValueLabel=d,f){a.push(f);var p,m=l.formatTooltip(u,!0,null,c);i.isObject(m)?(p=m.html,i.merge(h,m.markers)):p=m,s.push(p)}}));var f=d;o.push("html"!==c?s.join(u):(f?l.encodeHTML(f)+u:"")+s.join(u))}}))}),this),o.reverse(),o=o.join(this._newLine+this._newLine);var d=e.position;this._showOrMove(s,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(s,d,r[0],r[1],this._tooltipContent,a):this._showTooltipContent(s,o,a,Math.random(),r[0],r[1],d,void 0,h)}))},_showSeriesItemTooltip:function(t,e,n){var r=e.seriesIndex,o=this._ecModel.getSeriesByIndex(r),a=e.dataModel||o,s=e.dataIndex,l=e.dataType,c=a.getData(),u=S([c.getItemModel(s),a,o&&(o.coordinateSystem||{}).model,this._tooltipModel]),h=u.get("trigger");if(null==h||"item"===h){var d,f,p=a.getDataParams(s,l),g=a.formatTooltip(s,!1,l,this._renderMode);i.isObject(g)?(d=g.html,f=g.markers):(d=g,f=null);var m="item_"+a.name+"_"+s;this._showOrMove(u,(function(){this._showTooltipContent(u,d,p,m,t.offsetX,t.offsetY,t.position,t.target,f)})),n({type:"showTip",dataIndexInside:s,dataIndex:c.getRawIndex(s),seriesIndex:r,from:this.uid})}},_showComponentItemTooltip:function(t,e,n){var r=e.tooltip;"string"==typeof r&&(r={content:r,formatter:r});var i=new f(r,this._tooltipModel,this._ecModel),o=i.get("content"),a=Math.random();this._showOrMove(i,(function(){this._showTooltipContent(i,o,i.get("formatterParams")||{},a,t.offsetX,t.offsetY,t.position,e)})),n({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,n,r,i,o,a,s,c){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent,h=t.get("formatter");a=a||t.get("position");var d=e;if(h&&"string"==typeof h)d=l.formatTpl(h,n,!0);else if("function"==typeof h){var f=y((function(e,r){e===this._ticket&&(u.setContent(r,c,t),this._updatePosition(t,a,i,o,u,n,s))}),this);this._ticket=r,d=h(n,r,f)}u.setContent(d,c,t),u.show(t),this._updatePosition(t,a,i,o,u,n,s)}},_updatePosition:function(t,e,n,r,o,a,s){var l=this._api.getWidth(),c=this._api.getHeight();e=e||t.get("position");var u=o.getSize(),h=t.get("align"),f=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"==typeof e&&(e=e([n,r],a,o.el,p,{viewSize:[l,c],contentSize:u.slice()})),i.isArray(e))n=_(e[0],l),r=_(e[1],c);else if(i.isObject(e)){e.width=u[0],e.height=u[1];var g=d.getLayoutRect(e,{width:l,height:c});n=g.x,r=g.y,h=null,f=null}else if("string"==typeof e&&s){var m=function(t,e,n){var r=n[0],i=n[1],o=0,a=0,s=e.width,l=e.height;switch(t){case"inside":o=e.x+s/2-r/2,a=e.y+l/2-i/2;break;case"top":o=e.x+s/2-r/2,a=e.y-i-5;break;case"bottom":o=e.x+s/2-r/2,a=e.y+l+5;break;case"left":o=e.x-r-5,a=e.y+l/2-i/2;break;case"right":o=e.x+s+5,a=e.y+l/2-i/2}return[o,a]}(e,p,u);n=m[0],r=m[1]}else m=function(t,e,n,r,i,o,a){var s=n.getOuterSize(),l=s.width,c=s.height;return null!=o&&(t+l+o>r?t-=l+o:t+=o),null!=a&&(e+c+a>i?e-=c+a:e+=a),[t,e]}(n,r,o,l,c,h?null:20,f?null:20),n=m[0],r=m[1];h&&(n-=C(h)?u[0]/2:"right"===h?u[0]:0),f&&(r-=C(f)?u[1]/2:"bottom"===f?u[1]:0),t.get("confine")&&(m=function(t,e,n,r,i){var o=n.getOuterSize(),a=o.width,s=o.height;return t=Math.min(t+a,r)-a,e=Math.min(e+s,i)-s,[t=Math.max(t,0),e=Math.max(e,0)]}(n,r,o,l,c),n=m[0],r=m[1]),o.moveTo(n,r)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&b(e,(function(e,r){var i=e.dataByAxis||{},o=(t[r]||{}).dataByAxis||[];(n&=i.length===o.length)&&b(i,(function(t,e){var r=o[e]||{},i=t.seriesDataIndices||[],a=r.seriesDataIndices||[];(n&=t.value===r.value&&t.axisType===r.axisType&&t.axisId===r.axisId&&i.length===a.length)&&b(i,(function(t,e){var r=a[e];n&=t.seriesIndex===r.seriesIndex&&t.dataIndex===r.dataIndex}))}))})),this._lastDataByCoordSys=t,!!n},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){o.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",e))}});function S(t){for(var e=t.pop();t.length;){var n=t.pop();n&&(f.isInstance(n)&&(n=n.get("tooltip",!0)),"string"==typeof n&&(n={formatter:n}),e=new f(n,e,e.ecModel))}return e}function k(t,e){return t.dispatchAction||i.bind(e.dispatchAction,e)}function C(t){return"center"===t||"middle"===t}t.exports=w},Qxkt:function(t,e,n){var r=n("bYtY"),i=n("ItGF"),o=n("4NO4").makeInner,a=n("Yl7c"),s=a.enableClassExtend,l=a.enableClassCheck,c=n("OQFs"),u=n("m9t5"),h=n("/iHx"),d=n("VR9l"),f=r.mixin,p=o();function g(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function m(t,e,n){for(var r=0;r0}t.exports=function(t,e,r,i){var o,a,s,l,c,u,h,d,f,p,g,m,v;if(p=(o=e.y-t.y)*i.x+(s=t.x-e.x)*i.y+(c=e.x*t.y-t.x*e.y),!(0!==(f=o*r.x+s*r.y+c)&&0!==p&&n(f,p)||(d=(a=i.y-r.y)*e.x+(l=r.x-i.x)*e.y+(u=i.x*r.y-r.x*i.y),0!==(h=a*t.x+l*t.y+u)&&0!==d&&n(h,d)||0==(g=o*l-a*s))))return m=Math.abs(g/2),{x:(v=s*u-l*c)<0?(v-m)/g:(v+m)/g,y:(v=a*c-o*u)<0?(v-m)/g:(v+m)/g}}},RPvy:function(t,e,n){var r=n("ProS"),i=n("VaxA");r.registerAction({type:"sunburstRootToNode",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var r=i.retrieveTargetInfo(t,["sunburstRootToNode"],e);if(r){var o=e.getViewRoot();o&&(t.direction=i.aboveViewRoot(o,r.node)?"rollUp":"drillDown"),e.resetViewRoot(r.node)}}))})),r.registerAction({type:"sunburstHighlight",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var r=i.retrieveTargetInfo(t,["sunburstHighlight"],e);r&&(t.highlight=r.node)}))})),r.registerAction({type:"sunburstUnhighlight",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){t.unhighlight=!0}))}))},RSch:function(t,e,n){var r=n("IwbS"),i=n("bYtY");function o(t,e,n){r.Group.call(this),this._createPolyline(t,e,n)}var a=o.prototype;a._createPolyline=function(t,e,n){var i=t.getItemLayout(e),o=new r.Polyline({shape:{points:i}});this.add(o),this._updateCommonStl(t,e,n)},a.updateData=function(t,e,n){var i=t.hostModel,o=this.childAt(0),a={shape:{points:t.getItemLayout(e)}};r.updateProps(o,a,i,e),this._updateCommonStl(t,e,n)},a._updateCommonStl=function(t,e,n){var o=this.childAt(0),a=t.getItemModel(e),s=t.getItemVisual(e,"color"),l=n&&n.lineStyle,c=n&&n.hoverLineStyle;n&&!t.hasItemOption||(l=a.getModel("lineStyle").getLineStyle(),c=a.getModel("emphasis.lineStyle").getLineStyle()),o.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),o.hoverStyle=c,r.setHoverStyle(this)},a.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},i.inherits(o,r.Group),t.exports=o},RVb6:function(t,e,n){"use strict";const r=n(1),i="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~".split(""),o="0123456789".split(""),a="CDEHKMPRTUWXY012458".split(""),s=(t,e)=>{const n=e.length,i=Math.floor(65536/n)*n-1,o=2*Math.ceil(1.1*t);let a="",s=0;for(;si||(a+=e[t%n],s++)}}return a},l=[void 0,"hex","base64","url-safe","numeric","distinguishable"];t.exports=({length:t,type:e,characters:n})=>{if(!(t>=0&&Number.isFinite(t)))throw new TypeError("Expected a `length` to be a non-negative finite number");if(void 0!==e&&void 0!==n)throw new TypeError("Expected either `type` or `characters`");if(void 0!==n&&"string"!=typeof n)throw new TypeError("Expected `characters` to be string");if(!l.includes(e))throw new TypeError("Unknown type: "+e);if(void 0===e&&void 0===n&&(e="hex"),"hex"===e||void 0===e&&void 0===n)return r.randomBytes(Math.ceil(.5*t)).toString("hex").slice(0,t);if("base64"===e)return r.randomBytes(Math.ceil(.75*t)).toString("base64").slice(0,t);if("url-safe"===e)return s(t,i);if("numeric"===e)return s(t,o);if("distinguishable"===e)return s(t,a);if(0===n.length)throw new TypeError("Expected `characters` string length to be greater than or equal to 1");if(n.length>65536)throw new TypeError("Expected `characters` string length to be less or equal to 65536");return s(t,n.split(""))}},RXMa:function(t,e,n){var r=n("y+Vt").extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=2*Math.PI;t.moveTo(n+e.r,r),t.arc(n,r,e.r,0,i,!1),t.moveTo(n+e.r0,r),t.arc(n,r,e.r0,0,i,!0)}});t.exports=r},RYnF:function(t,e){function n(){var t={};t._next=t._prev=t,this._sentinel=t}function r(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function i(t,e){if("_next"!==t&&"_prev"!==t)return e}t.exports=n,n.prototype.dequeue=function(){var t=this._sentinel,e=t._prev;if(e!==t)return r(e),e},n.prototype.enqueue=function(t){var e=this._sentinel;t._prev&&t._next&&r(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e},n.prototype.toString=function(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,i)),n=n._prev;return"["+t.join(", ")+"]"}},Re5C:function(t,e,n){"use strict";var r=n("b5wT"),i=n("tQ6r");t.exports={run:function(t){t.graph().dummyChains=[],r.forEach(t.edges(),(function(e){!function(t,e){var n,r,o,a=e.v,s=t.node(a).rank,l=e.w,c=t.node(l).rank,u=e.name,h=t.edge(e),d=h.labelRank;if(c!==s+1){for(t.removeEdge(e),o=0,++s;s=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),n=this.getRect(),r=[],i="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),r[i]=e.toGlobalCoord(e.dataToCoord(+t)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r}},t.exports=s},S0uN:function(t,e,n){var r=n("0uVh"),i=n("GmSr");t.exports=function(t){var e=r.parse(t,{startRule:"graphStmt"});return i(e)}},"SA4+":function(t,e,n){n("Tghj");var r=n("ProS"),i=n("IwbS"),o=n("zYTA"),a=n("bYtY"),s=r.extendChartView({type:"heatmap",render:function(t,e,n){var r;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(r=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var i=t.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):function(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}(i)&&this._renderOnGeo(i,t,r,n)},incrementalPrepareRender:function(t,e,n){this.group.removeAll()},incrementalRender:function(t,e,n,r){e.coordinateSystem&&this._renderOnCartesianAndCalendar(e,r,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,e,n,r,o){var s,l,c=t.coordinateSystem;if("cartesian2d"===c.type){var u=c.getAxis("x"),h=c.getAxis("y");s=u.getBandWidth(),l=h.getBandWidth()}for(var d=this.group,f=t.getData(),p=t.getModel("itemStyle").getItemStyle(["color"]),g=t.getModel("emphasis.itemStyle").getItemStyle(),m=t.getModel("label"),v=t.getModel("emphasis.label"),y=c.type,b="cartesian2d"===y?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],_=n;_=e[0]&&t<=e[1]}}(x,n.option.range):function(t,e,n){var r=t[1]-t[0],i=(e=a.map(e,(function(e){return{interval:[(e.interval[0]-t[0])/r,(e.interval[1]-t[0])/r]}}))).length,o=0;return function(t){for(var r=o;r=0;r--){var a;if((a=e[r].interval)[0]<=t&&t<=a[1]){o=r;break}}return r>=0&&r=0?r+=g:r-=g:_>=0?r-=g:r+=g}return r}t.exports=function(t,e){var n=[],a=r.quadraticSubdivide,s=[[],[],[]],l=[[],[]],c=[];e/=2,t.eachEdge((function(t,r){var u=t.getLayout(),h=t.getVisual("fromSymbol"),f=t.getVisual("toSymbol");u.__original||(u.__original=[i.clone(u[0]),i.clone(u[1])],u[2]&&u.__original.push(i.clone(u[2])));var p=u.__original;if(null!=u[2]){if(i.copy(s[0],p[0]),i.copy(s[1],p[2]),i.copy(s[2],p[1]),h&&"none"!==h){var g=o(t.node1),m=d(s,p[0],g*e);a(s[0][0],s[1][0],s[2][0],m,n),s[0][0]=n[3],s[1][0]=n[4],a(s[0][1],s[1][1],s[2][1],m,n),s[0][1]=n[3],s[1][1]=n[4]}f&&"none"!==f&&(g=o(t.node2),m=d(s,p[1],g*e),a(s[0][0],s[1][0],s[2][0],m,n),s[1][0]=n[1],s[2][0]=n[2],a(s[0][1],s[1][1],s[2][1],m,n),s[1][1]=n[1],s[2][1]=n[2]),i.copy(u[0],s[0]),i.copy(u[1],s[2]),i.copy(u[2],s[1])}else i.copy(l[0],p[0]),i.copy(l[1],p[1]),i.sub(c,l[1],l[0]),i.normalize(c,c),h&&"none"!==h&&(g=o(t.node1),i.scaleAndAdd(l[0],l[0],c,g*e)),f&&"none"!==f&&(g=o(t.node2),i.scaleAndAdd(l[1],l[1],c,-g*e)),i.copy(u[0],l[0]),i.copy(u[1],l[1])}))}},SKAX:function(t,e,n){var r=n("JC6p"),i=n("lQqw")(r);t.exports=i},SKnc:function(t,e,n){var r=n("bYtY"),i=n("QuXc"),o=function(t,e,n,r,o,a){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==n?1:n,this.y2=null==r?0:r,this.type="linear",this.global=a||!1,i.call(this,o)};o.prototype={constructor:o},r.inherits(o,i),t.exports=o},"SKx+":function(t,e,n){var r=n("ProS").extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}});t.exports=r},SMc4:function(t,e,n){var r=n("bYtY"),i=n("bLfw"),o=n("nkfE"),a=n("ICMv"),s=i.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(t,e){return e.type||(e.data?"category":"value")}r.merge(s.prototype,a);var c={offset:0};o("x",s,l,c),o("y",s,l,c),t.exports=s},SUKs:function(t,e,n){var r=function(){};1===n("LPTA").debugMode&&(r=console.error),t.exports=r},Sdz8:function(t,e){t.exports=function(t,e,n,r){var i=t.x,o=t.y,a=i-r.x,s=o-r.y,l=Math.sqrt(e*e*s*s+n*n*a*a),c=Math.abs(e*n*a/l);r.x{if(t&&"function"==typeof t[a.a])return u=t,t=>{const e=u[a.a]();if("function"!=typeof e.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return e.subscribe(t)};if(Object(s.a)(t))return Object(r.a)(t);if(Object(l.a)(t))return n=t,t=>(n.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,i.a),t);if(t&&"function"==typeof t[o.a])return e=t,t=>{const n=e[o.a]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t};{const e=Object(c.a)(t)?"an invalid object":`'${t}'`;throw new TypeError(`You provided ${e} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var e,n,u}},SehX:function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=n("2B6p").updateCenterAndZoom;r.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){var r=e.coordinateSystem;if("geo"===r.type){var a=o(r,t,e.get("scaleLimit"));e.setCenter&&e.setCenter(a.center),e.setZoom&&e.setZoom(a.zoom),"series"===n&&i.each(e.seriesGroup,(function(t){t.setCenter(a.center),t.setZoom(a.zoom)}))}}))}))},SfRM:function(t,e,n){var r=n("YESw");t.exports=function(){this.__data__=r?r(null):{},this.size=0}},SgGq:function(t,e,n){var r=n("bYtY"),i=n("H6uX"),o=n("YH21"),a=n("pP6R");function s(t){this._zr=t,this._opt={};var e=r.bind,n=e(l,this),o=e(c,this),a=e(u,this),s=e(h,this),f=e(d,this);i.call(this),this.setPointerChecker=function(t){this.pointerChecker=t},this.enable=function(e,i){this.disable(),this._opt=r.defaults(r.clone(i)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==e&&(e=!0),!0!==e&&"move"!==e&&"pan"!==e||(t.on("mousedown",n),t.on("mousemove",o),t.on("mouseup",a)),!0!==e&&"scale"!==e&&"zoom"!==e||(t.on("mousewheel",s),t.on("pinch",f))},this.disable=function(){t.off("mousedown",n),t.off("mousemove",o),t.off("mouseup",a),t.off("mousewheel",s),t.off("pinch",f)},this.dispose=this.disable,this.isDragging=function(){return this._dragging},this.isPinching=function(){return this._pinching}}function l(t){if(!(o.isMiddleOrRightButtonOnMouseUpDown(t)||t.target&&t.target.draggable)){var e=t.offsetX,n=t.offsetY;this.pointerChecker&&this.pointerChecker(t,e,n)&&(this._x=e,this._y=n,this._dragging=!0)}}function c(t){if(this._dragging&&g("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!a.isTaken(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,r=this._x,i=this._y,s=e-r,l=n-i;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&o.stop(t.event),p(this,"pan","moveOnMouseMove",t,{dx:s,dy:l,oldX:r,oldY:i,newX:e,newY:n})}}function u(t){o.isMiddleOrRightButtonOnMouseUpDown(t)||(this._dragging=!1)}function h(t){var e=g("zoomOnMouseWheel",t,this._opt),n=g("moveOnMouseWheel",t,this._opt),r=t.wheelDelta,i=Math.abs(r),o=t.offsetX,a=t.offsetY;if(0!==r&&(e||n)){if(e){var s=i>3?1.4:i>1?1.2:1.1;f(this,"zoom","zoomOnMouseWheel",t,{scale:r>0?s:1/s,originX:o,originY:a})}if(n){var l=Math.abs(r);f(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(r>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:o,originY:a})}}}function d(t){a.isTaken(this._zr,"globalPan")||f(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY})}function f(t,e,n,r,i){t.pointerChecker&&t.pointerChecker(r,i.originX,i.originY)&&(o.stop(r.event),p(t,e,n,r,i))}function p(t,e,n,i,o){o.isAvailableBehavior=r.bind(g,null,n,i),t.trigger(e,o)}function g(t,e,n){var i=n[t];return!t||i&&(!r.isString(i)||e.event[i+"Key"])}r.mixin(s,i),t.exports=s},Sj9i:function(t,e,n){var r=n("QBsz"),i=r.create,o=r.distSquare,a=Math.pow,s=Math.sqrt,l=s(3),c=i(),u=i(),h=i();function d(t){return t>-1e-8&&t<1e-8}function f(t){return t>1e-8||t<-1e-8}function p(t,e,n,r,i){var o=1-i;return o*o*(o*t+3*i*e)+i*i*(i*r+3*o*n)}function g(t,e,n,r){var i=1-r;return i*(i*t+2*r*e)+r*r*n}e.cubicAt=p,e.cubicDerivativeAt=function(t,e,n,r,i){var o=1-i;return 3*(((e-t)*o+2*(n-e)*i)*o+(r-n)*i*i)},e.cubicRootAt=function(t,e,n,r,i,o){var c=r+3*(e-n)-t,u=3*(n-2*e+t),h=3*(e-t),f=t-i,p=u*u-3*c*h,g=u*h-9*c*f,m=h*h-3*u*f,v=0;if(d(p)&&d(g))d(u)?o[0]=0:(E=-h/u)>=0&&E<=1&&(o[v++]=E);else{var y=g*g-4*p*m;if(d(y)){var b=g/p,_=-b/2;(E=-u/c+b)>=0&&E<=1&&(o[v++]=E),_>=0&&_<=1&&(o[v++]=_)}else if(y>0){var x=s(y),w=p*u+1.5*c*(-g+x),S=p*u+1.5*c*(-g-x);(E=(-u-((w=w<0?-a(-w,1/3):a(w,1/3))+(S=S<0?-a(-S,1/3):a(S,1/3))))/(3*c))>=0&&E<=1&&(o[v++]=E)}else{var k=(2*p*u-3*c*g)/(2*s(p*p*p)),C=Math.acos(k)/3,A=s(p),T=Math.cos(C),E=(-u-2*A*T)/(3*c),M=(_=(-u+A*(T+l*Math.sin(C)))/(3*c),(-u+A*(T-l*Math.sin(C)))/(3*c));E>=0&&E<=1&&(o[v++]=E),_>=0&&_<=1&&(o[v++]=_),M>=0&&M<=1&&(o[v++]=M)}}return v},e.cubicExtrema=function(t,e,n,r,i){var o=6*n-12*e+6*t,a=9*e+3*r-3*t-9*n,l=3*e-3*t,c=0;if(d(a))f(o)&&(h=-l/o)>=0&&h<=1&&(i[c++]=h);else{var u=o*o-4*a*l;if(d(u))i[0]=-o/(2*a);else if(u>0){var h,p=s(u),g=(-o-p)/(2*a);(h=(-o+p)/(2*a))>=0&&h<=1&&(i[c++]=h),g>=0&&g<=1&&(i[c++]=g)}}return c},e.cubicSubdivide=function(t,e,n,r,i,o){var a=(e-t)*i+t,s=(n-e)*i+e,l=(r-n)*i+n,c=(s-a)*i+a,u=(l-s)*i+s,h=(u-c)*i+c;o[0]=t,o[1]=a,o[2]=c,o[3]=h,o[4]=h,o[5]=u,o[6]=l,o[7]=r},e.cubicProjectPoint=function(t,e,n,r,i,a,l,d,f,g,m){var v,y,b,_,x,w=.005,S=1/0;c[0]=f,c[1]=g;for(var k=0;k<1;k+=.05)u[0]=p(t,n,i,l,k),u[1]=p(e,r,a,d,k),(_=o(c,u))=0&&_=0&&h<=1&&(i[c++]=h);else{var u=a*a-4*o*l;if(d(u))(h=-a/(2*o))>=0&&h<=1&&(i[c++]=h);else if(u>0){var h,p=s(u),g=(-a-p)/(2*o);(h=(-a+p)/(2*o))>=0&&h<=1&&(i[c++]=h),g>=0&&g<=1&&(i[c++]=g)}}return c},e.quadraticExtremum=function(t,e,n){var r=t+n-2*e;return 0===r?.5:(t-e)/r},e.quadraticSubdivide=function(t,e,n,r,i){var o=(e-t)*r+t,a=(n-e)*r+e,s=(a-o)*r+o;i[0]=t,i[1]=o,i[2]=s,i[3]=s,i[4]=a,i[5]=n},e.quadraticProjectPoint=function(t,e,n,r,i,a,l,d,f){var p,m=.005,v=1/0;c[0]=l,c[1]=d;for(var y=0;y<1;y+=.05)u[0]=g(t,n,i,y),u[1]=g(e,r,a,y),(w=o(c,u))=0&&w=0;--r)if(e[r]===t)return!0;return!1}),n):null:n[0]},d.prototype.update=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"==typeof e&&e(t);else{var r=this.add(t);r&&(t[this._domName]=r)}}},d.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},d.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},d.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return i.each(this._tagNames,(function(n){var r=t.getElementsByTagName(n);e=e.concat([].slice.call(r))})),e},d.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;i.each(t,(function(t){t[e._markLabel]="0"}))},d.prototype.markUsed=function(t){t&&(t[this._markLabel]="1")},d.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),n=this;i.each(e,(function(e){"1"!==e[n._markLabel]&&t.removeChild(e)}))}},d.prototype.getSvgProxy=function(t){return t instanceof o?c:t instanceof a?u:t instanceof s?h:c},d.prototype.getTextSvgElement=function(t){return t.__textSvgEl},d.prototype.getSvgElement=function(t){return t.__svgEl},t.exports=d},Swgg:function(t,e,n){var r=n("fc+c").extend({type:"dataZoom.select"});t.exports=r},Sxd8:function(t,e,n){var r=n("ZCgT");t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},T1AV:function(t,e,n){var r=n("t2Dn"),i=n("5Tg0"),o=n("yP5f"),a=n("Q1l4"),s=n("+iFO"),l=n("03A+"),c=n("Z0cm"),u=n("3L66"),h=n("DSRE"),d=n("lSCD"),f=n("GoyQ"),p=n("YO3V"),g=n("c6wG"),m=n("itsj"),v=n("jeLo");t.exports=function(t,e,n,y,b,_,x){var w=m(t,n),S=m(e,n),k=x.get(S);if(k)r(t,n,k);else{var C=_?_(w,S,n+"",t,e,x):void 0,A=void 0===C;if(A){var T=c(S),E=!T&&h(S),M=!T&&!E&&g(S);C=S,T||E||M?c(w)?C=w:u(w)?C=a(w):E?(A=!1,C=i(S,!0)):M?(A=!1,C=o(S,!0)):C=[]:p(S)||l(S)?(C=w,l(w)?C=v(w):f(w)&&!d(w)||(C=s(S))):A=!1}A&&(x.set(S,C),b(C,S,y,_,x),x.delete(S)),r(t,n,C)}}},T4UG:function(t,e,n){n("Tghj");var r=n("bYtY"),i=n("ItGF"),o=n("7aKB"),a=o.formatTime,s=o.encodeHTML,l=o.addCommas,c=o.getTooltipMarker,u=n("4NO4"),h=n("bLfw"),d=n("5Hur"),f=n("OKJ2"),p=n("+TT/"),g=p.getLayoutParams,m=p.mergeLayoutParam,v=n("9H2F").createTask,y=n("D5nY"),b=y.prepareSource,_=y.getSource,x=n("KxfA").retrieveRawValue,w=u.makeInner(),S=h.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,n,r){this.seriesIndex=this.componentIndex,this.dataTask=v({count:C,reset:A}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),b(this);var i=this.getInitialData(t,n);E(i,this),this.dataTask.context.data=i,w(this).dataBeforeProcessed=i,k(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?g(t):{},o=this.subType;h.hasClass(o)&&(o+="Series"),r.merge(t,e.getTheme().get(this.subType)),r.merge(t,this.getDefaultOption()),u.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&m(t,i,n)},mergeOption:function(t,e){t=r.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&m(this.option,t,n),b(this);var i=this.getInitialData(t,e);E(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,w(this).dataBeforeProcessed=i,k(this)},fillDataTextStyle:function(t){if(t&&!r.isTypedArray(t))for(var e=["show"],n=0;n":"\n",d="richText"===i,f={},p=0,g=this.getData(),m=g.mapDimension("defaultedTooltip",!0),v=m.length,y=this.getRawValue(t),b=r.isArray(y),_=g.getItemVisual(t,"color");r.isObject(_)&&_.colorStops&&(_=(_.colorStops[0]||{}).color),_=_||"transparent";var w,S=(v>1||b&&!v?function(n){var u=r.reduce(n,(function(t,e,n){var r=g.getDimensionInfo(n);return t|(r&&!1!==r.tooltip&&null!=r.displayName)}),0),h=[];function v(t,n){var r=g.getDimensionInfo(n);if(r&&!1!==r.otherDims.tooltip){var m=r.type,v="sub"+o.seriesIndex+"at"+p,y=c({color:_,type:"subItem",renderMode:i,markerId:v}),b=(u?("string"==typeof y?y:y.content)+s(r.displayName||"-")+": ":"")+s("ordinal"===m?t+"":"time"===m?e?"":a("yyyy/MM/dd hh:mm:ss",t):l(t));b&&h.push(b),d&&(f[v]=_,++p)}}m.length?r.each(m,(function(e){v(x(g,t,e),e)})):r.each(n,v);var y=u?d?"\n":"
    ":"",b=y+h.join(y||", ");return{renderMode:i,content:b,style:f}}(y):(w=v?x(g,t,m[0]):b?y[0]:y,{renderMode:i,content:s(l(w)),style:f})).content,k=o.seriesIndex+"at"+p,C=c({color:_,type:"item",renderMode:i,markerId:k});f[k]=_,++p;var A=g.getName(t),T=this.name;u.isNameSpecified(this)||(T=""),T=T?s(T)+(e?": ":h):"";var E="string"==typeof C?C:C.content;return{html:e?E+T+S:T+E+(A?s(A)+": "+S:S),markers:f}},isAnimationEnabled:function(){if(i.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var r=this.ecModel,i=d.getColorFromPalette.call(this,t,e,n);return i||(i=r.getColorFromPalette(t,e,n)),i},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function k(t){var e=t.name;u.isNameSpecified(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimension("seriesName",!0),i=[];return r.each(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function C(t){return t.model.getRawData().count()}function A(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),T}function T(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function E(t,e){r.each(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,r.curry(M,e))}))}function M(t){var e=D(t);e&&e.setOutputEnd(this.count())}function D(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(t.uid))}return r}}r.mixin(S,f),r.mixin(S,d),t.exports=S},T6xi:function(t,e,n){var r=n("YgsL"),i=n("nCxF");e.buildPath=function(t,e,n){var o=e.points,a=e.smooth;if(o&&o.length>=2){if(a&&"spline"!==a){var s=i(o,a,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var l=o.length,c=0;c<(n?l:l-1);c++){var u=s[2*c],h=s[2*c+1],d=o[(c+1)%l];t.bezierCurveTo(u[0],u[1],h[0],h[1],d[0],d[1])}}else{"spline"===a&&(o=r(o,n)),t.moveTo(o[0][0],o[0][1]),c=1;for(var f=o.length;c0?a:s)}function r(t,e){return e.get(t>0?i:o)}}};t.exports=l},TP7S:function(t,e){t.exports=function(t){return void 0===t}},TWL2:function(t,e,n){var r=n("IwbS"),i=n("bYtY"),o=n("6Ic6");function a(t,e){r.Group.call(this);var n=new r.Polygon,i=new r.Polyline,o=new r.Text;this.add(n),this.add(i),this.add(o),this.highDownOnUpdate=function(t,e){"emphasis"===e?(i.ignore=i.hoverIgnore,o.ignore=o.hoverIgnore):(i.ignore=i.normalIgnore,o.ignore=o.normalIgnore)},this.updateData(t,e,!0)}var s=a.prototype,l=["itemStyle","opacity"];s.updateData=function(t,e,n){var o=this.childAt(0),a=t.hostModel,s=t.getItemModel(e),c=t.getItemLayout(e),u=t.getItemModel(e).get(l);u=null==u?1:u,o.useStyle({}),n?(o.setShape({points:c.points}),o.setStyle({opacity:0}),r.initProps(o,{style:{opacity:u}},a,e)):r.updateProps(o,{style:{opacity:u},shape:{points:c.points}},a,e);var h=s.getModel("itemStyle"),d=t.getItemVisual(e,"color");o.setStyle(i.defaults({lineJoin:"round",fill:d},h.getItemStyle(["opacity"]))),o.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),r.setHoverStyle(this)},s._updateLabel=function(t,e){var n=this.childAt(1),i=this.childAt(2),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"color");r.updateProps(n,{shape:{points:s.linePoints||s.linePoints}},o,e),r.updateProps(i,{style:{x:s.x,y:s.y}},o,e),i.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var c=a.getModel("label"),u=a.getModel("emphasis.label"),h=a.getModel("labelLine"),d=a.getModel("emphasis.labelLine");l=t.getItemVisual(e,"color"),r.setLabelStyle(i.style,i.hoverStyle={},c,u,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),i.ignore=i.normalIgnore=!c.get("show"),i.hoverIgnore=!u.get("show"),n.ignore=n.normalIgnore=!h.get("show"),n.hoverIgnore=!d.get("show"),n.setStyle({stroke:l}),n.setStyle(h.getModel("lineStyle").getLineStyle()),n.hoverStyle=d.getModel("lineStyle").getLineStyle()},i.inherits(a,r.Group);var c=o.extend({type:"funnel",render:function(t,e,n){var r=t.getData(),i=this._data,o=this.group;r.diff(i).add((function(t){var e=new a(r,t);r.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=i.getItemGraphicEl(e);n.updateData(r,t),o.add(n),r.setItemGraphicEl(t,n)})).remove((function(t){var e=i.getItemGraphicEl(t);o.remove(e)})).execute(),this._data=r},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=c},TYVI:function(t,e,n){var r=n("5GtS"),i=n("T4UG").extend({type:"series.gauge",getInitialData:function(t,e){return r(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}}});t.exports=i},TYy9:function(t,e,n){var r=n("XGnz");t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},Tghj:function(t,e){var n;"undefined"!=typeof window?n=window.__DEV__:"undefined"!=typeof global&&(n=global.__DEV__),void 0===n&&(n=!0),e.__DEV__=n},ThAp:function(t,e,n){var r=n("bYtY"),i=n("5GtS"),o=n("T4UG"),a=n("7aKB"),s=a.encodeHTML,l=a.addCommas,c=n("cCMj"),u=n("KxfA").retrieveRawAttr,h=n("W4dC"),d=n("D5nY").makeSeriesEncodeForNameBased,f=o.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var e=i(this,{coordDimensions:["value"],encodeDefaulter:r.curry(d,this)}),n=e.mapDimension("value"),o=r.createHashMap(),a=[],s=[],l=0,c=e.count();l"+s(r+" : "+n)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,r=n.getRegion(e);return r&&n.dataToPoint(r.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},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)"}}}});r.mixin(f,c),t.exports=f},TkdX:function(t,e,n){var r=n("bYtY"),i=n("IwbS");function o(t,e,n){i.Group.call(this);var r=new i.Sector({z2:2});r.seriesIndex=e.seriesIndex;var o=new i.Text({z2:4,silent:t.getModel("label").get("silent")});function a(){o.ignore=o.hoverIgnore}function s(){o.ignore=o.normalIgnore}this.add(r),this.add(o),this.updateData(!0,t,"normal",e,n),this.on("emphasis",a).on("normal",s).on("mouseover",a).on("mouseout",s)}var a=o.prototype;a.updateData=function(t,e,n,o,a){this.node=e,e.piece=this,o=o||this._seriesModel,a=a||this._ecModel;var s=this.childAt(0);s.dataIndex=e.dataIndex;var l=e.getModel(),c=e.getLayout(),u=r.extend({},c);u.label=null;var h=function(t,e,n){var i=t.getVisual("color"),o=t.getVisual("visualMeta");o&&0!==o.length||(i=null);var a=t.getModel("itemStyle").get("color");if(a)return a;if(i)return i;if(0===t.depth)return n.option.color[0];var s=n.option.color.length;return n.option.color[function(t){for(var e=t;e.depth>1;)e=e.parentNode;var n=t.getAncestors()[0];return r.indexOf(n.children,e)}(t)%s]}(e,0,a);!function(t,e,n){e.getData().setItemVisual(t.dataIndex,"color",n)}(e,o,h);var d,f=l.getModel("itemStyle").getItemStyle();if("normal"===n)d=f;else{var p=l.getModel(n+".itemStyle").getItemStyle();d=r.merge(p,f)}d=r.defaults({lineJoin:"bevel",fill:d.fill||h},d),t?(s.setShape(u),s.shape.r=c.r0,i.updateProps(s,{shape:{r:c.r}},o,e.dataIndex),s.useStyle(d)):"object"==typeof d.fill&&d.fill.type||"object"==typeof s.style.fill&&s.style.fill.type?(i.updateProps(s,{shape:u},o),s.useStyle(d)):i.updateProps(s,{shape:u,style:d},o),this._updateLabel(o,h,n);var g=l.getShallow("cursor");if(g&&s.attr("cursor",g),t){var m=o.getShallow("highlightPolicy");this._initEvents(s,e,o,m)}this._seriesModel=o||this._seriesModel,this._ecModel=a||this._ecModel},a.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode((function(n){var r,i,o;n.piece&&(e.node===n?n.piece.updateData(!1,n,"emphasis"):(r=n,i=e.node,"none"!==(o=t)&&("self"===o?r===i:"ancestor"===o?r===i||r.isAncestorOf(i):r===i||r.isDescendantOf(i))?n.piece.childAt(0).trigger("highlight"):"none"!==t&&n.piece.childAt(0).trigger("downplay")))}))},a.onNormal=function(){this.node.hostTree.root.eachNode((function(t){t.piece&&t.piece.updateData(!1,t,"normal")}))},a.onHighlight=function(){this.updateData(!1,this.node,"highlight")},a.onDownplay=function(){this.updateData(!1,this.node,"downplay")},a._updateLabel=function(t,e,n){var o=this.node.getModel(),a=o.getModel("label"),s="normal"===n||"emphasis"===n?a:o.getModel(n+".label"),l=o.getModel("emphasis.label"),c=r.retrieve(t.getFormattedLabel(this.node.dataIndex,n,null,null,"label"),this.node.name);!1===w("show")&&(c="");var u=this.node.getLayout(),h=s.get("minAngle");null==h&&(h=a.get("minAngle")),null!=(h=h/180*Math.PI)&&Math.abs(u.endAngle-u.startAngle)Math.PI/2?"right":"left"):b&&"center"!==b?"left"===b?(f=u.r0+y,p>Math.PI/2&&(b="right")):"right"===b&&(f=u.r-y,p>Math.PI/2&&(b="left")):(f=(u.r+u.r0)/2,b="center"),d.attr("style",{text:c,textAlign:b,textVerticalAlign:w("verticalAlign")||"middle",opacity:w("opacity")}),d.attr("position",[f*g+u.cx,f*m+u.cy]);var _=w("rotate"),x=0;function w(t){var e=s.get(t);return null==e?a.get(t):e}"radial"===_?(x=-p)<-Math.PI/2&&(x+=Math.PI):"tangential"===_?(x=Math.PI/2-p)>Math.PI/2?x-=Math.PI:x<-Math.PI/2&&(x+=Math.PI):"number"==typeof _&&(x=_*Math.PI/180),d.attr("rotation",x)},a._initEvents=function(t,e,n,r){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var i=this,o=function(){i.onEmphasis(r)},a=function(){i.onNormal()};n.isAnimationEnabled()&&t.on("mouseover",o).on("mouseout",a).on("emphasis",o).on("normal",a).on("downplay",(function(){i.onDownplay()})).on("highlight",(function(){i.onHighlight()}))},r.inherits(o,i.Group),t.exports=o},Tp9H:function(t,e,n){var r=n("ItGF"),i=n("Kagy"),o=n("IUWy"),a=i.toolbox.saveAsImage;function s(t){this.model=t}s.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:a.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:a.lang.slice()},s.prototype.unusable=!r.canvasSupported,s.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",o=n.get("type",!0)||"png",a=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!=typeof MouseEvent||r.browser.ie||r.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var s=atob(a.split(",")[1]),l=s.length,c=new Uint8Array(l);l--;)c[l]=s.charCodeAt(l);var u=new Blob([c]);window.navigator.msSaveOrOpenBlob(u,i+"."+o)}else{var h=n.get("lang"),d='';window.open().document.write(d)}else{var f=document.createElement("a");f.download=i+"."+o,f.target="_blank",f.href=a;var p=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});f.dispatchEvent(p)}},o.register("saveAsImage",s),t.exports=s},Txda:function(t,e,n){var r=n("3y7U");t.exports=function(t,e){return r(t,e,"post")}},"U/Mo":function(t,e){e.getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,r=e.scale,i=r&&r[0]||1;return((e.getZoom()-1)*n+1)/i},e.getSymbolSize=function(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}},U4bP:function(t,e,n){t.exports={node:n("YLuR"),circle:n("3th9"),ellipse:n("Sdz8"),polygon:n("Kq0i"),rect:n("QRi6")}},UMpK:function(t,e,n){var r=n("gFfm"),i=n("dTAl"),o=n("JC6p"),a=n("ut/Y"),s=n("LcsW"),l=n("Z0cm"),c=n("DSRE"),u=n("lSCD"),h=n("GoyQ"),d=n("c6wG");t.exports=function(t,e,n){var f=l(t),p=f||c(t)||d(t);if(e=a(e,4),null==n){var g=t&&t.constructor;n=p?f?new g:[]:h(t)&&u(g)?i(s(t)):{}}return(p?r:o)(t,(function(t,r,i){return e(n,t,r,i)})),n}},"UNi/":function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n=0},e.createNameEach=a,e.eachAxisDim=s,e.createLinkedNodesFinder=function(t,e,n){return function(o){var a,s={nodes:[],records:{}};if(e((function(t){s.records[t.name]={}})),!o)return s;i(o,s);do{a=!1,t(l)}while(a);function l(t){!function(t,e){return r.indexOf(e.nodes,t)>=0}(t,s)&&function(t,i){var o=!1;return e((function(e){r.each(n(t,e)||[],(function(t){i.records[e.name][t]&&(o=!0)}))})),o}(t,s)&&(i(t,s),a=!0)}return s};function i(t,i){i.nodes.push(t),e((function(e){r.each(n(t,e)||[],(function(t){i.records[e.name][t]=!0}))}))}}},UfWW:function(t,e,n){var r=n("KwMD"),i=n("ut/Y"),o=n("Sxd8"),a=Math.max;t.exports=function(t,e,n){var s=null==t?0:t.length;if(!s)return-1;var l=null==n?0:o(n);return l<0&&(l=a(s+l,0)),r(t,i(e,3),l)}},UnoB:function(t,e,n){var r=n("bYtY"),i=n("OELB");function o(t,e,n){if(t.count())for(var i,o=e.coordinateSystem,a=e.getLayerSeries(),s=t.mapDimension("single"),l=t.mapDimension("value"),c=r.map(a,(function(e){return r.map(e.indices,(function(e){var n=o.dataToPoint(t.get(s,e));return n[1]=t.get(l,e),n}))})),u=function(t){for(var e=t.length,n=t[0].length,r=[],i=[],o=0,a={},s=0;so&&(o=c),r.push(c)}for(var u=0;uo&&(o=d)}return a.y0=i,a.max=o,a}(c),h=u.y0,d=n/u.max,f=a.length,p=a[0].indices.length,g=0;g":!0,"<":!0,"^":!0,",":!0,";":!0,"=":!0,"|":!0,"&":!0,"!":!0,"?":!0,":":!0,"(":!0,"{":!0,"[":!0},y={return:!0,yield:!0,await:!0,typeof:!0,void:!0,instanceof:!0,delete:!0,in:!0,new:!0,of:!0};function b(t,e,n){for(var r in t){if(!t.hasOwnProperty(r))break;r in e==0&&(e[r]=n)}}var _=void 0,x=void 0,w=/[^\s/]/,S=/[a-z]/,k=/\s/,C=/[\r\n]/,A=/\${pos}/g,T={object:!0,function:!0};function E(t,r,a,h){_=_||e.symbols||"a-z",x=x||e.snakeskinRgxp||new RegExp("[!$"+_+"_]","i");var d=e.cache,f=e.content,m=Boolean(r&&T[void 0===r?"undefined":n(r)]),E=m?Object(r):{};function M(t){return E["@label"]?E["@label"].replace(A,t):"__ESCAPER_QUOT__"+t+"_"}var D=!1;"boolean"==typeof r&&(D=Boolean(r)),"@comments"in E&&(b(l,E,E["@comments"]),b(s,E,E["@comments"]),delete E["@comments"]),"@strings"in E&&(b(i,E,E["@strings"]),delete E["@strings"]),"@literals"in E&&(b(o,E,E["@literals"]),delete E["@literals"]),"@all"in E&&(b(u,E,E["@all"]),delete E["@all"]);for(var I="",O=-1;++O2&&l[B])&&(E[B]&&(G=t.substring(V,$+1),-1===E[B]?H="":(H=M(R.length),R.push(G)),t=t.substring(0,V)+H+t.substring($+1),$+=H.length-G.length),B=!1);else{if(!N){if("/"===Z&&((s[K]||l[K])&&(B=s[Q]||l[Q]?Q:K),B)){V=$;continue}v[Z]||y[W]?(z=!0,W=""):w.test(Z)&&(z=!1),S.test(Z)?q+=Z:(W=q,q="");var J=!1;h&&("|"===Z&&x.test(X)?(U=!0,z=!1,J=!0):U&&k.test(Z)&&(U=!1,z=!0,J=!0)),J||(v[Z]?z=!0:w.test(Z)&&(z=!1))}if("/"!==N||F||("["===Z?j=!0:"]"===Z&&(j=!1)),!N&&Y&&("}"===Z?Y--:"{"===Z&&Y++,Y||(Z="`")),"`"!==N||F||"${"!==K||(Z="`",$++,Y++),!u[Z]||"/"===Z&&!z||N){if(N&&("\\"===Z||F))F=!F;else if(u[Z]&&N===Z&&!F&&("/"!==N||!j)){if("/"===Z)for(var tt=-1;++tte}},VFCP:function(t,e,n){n("dBmv"),n("KamJ")},VJLA:function(t,e,n){var r=n("MrPd"),i=n("1w02");t.exports=function(t,e){return i(t||[],e||[],r)}},VOtZ:function(t,e,n){var r=n("juv8"),i=n("MvSz");t.exports=function(t,e){return r(t,i(t),e)}},VPsl:function(t,e){t.exports=function(t){t.eachSeriesByType("map",(function(t){var e=t.get("color"),n=t.getModel("itemStyle"),r=n.get("areaColor"),i=n.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:r,color:i})}))}},VR9l:function(t,e,n){var r=n("KCsZ")([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]);t.exports={getItemStyle:function(t,e){var n=r(this,t,e),i=this.getBorderLineDash();return i&&(n.lineDash=i),n},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}}},VRyK:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("HDdC"),i=n("z+Ro"),o=n("bHdf"),a=n("yCtX");function s(...t){let e=Number.POSITIVE_INFINITY,n=null,s=t[t.length-1];return Object(i.a)(s)?(n=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(e=t.pop())):"number"==typeof s&&(e=t.pop()),null===n&&1===t.length&&t[0]instanceof r.a?t[0]:Object(o.a)(e)(Object(a.a)(t,n))}},VSLf:function(t,e,n){n("I+Bx"),n("F0hE"),n("bBKM")},VXYp:function(t,e,n){var r=n("bYtY"),i=n("SgGq"),o=n("iLNv"),a="\0_ec_dataZoom_roams";function s(t){var e=t.getZr();return e[a]||(e[a]={})}function l(t){r.each(t,(function(e,n){e.count||(e.controller.dispose(),delete t[n])}))}function c(t,e){t.dispatchAction({type:"dataZoom",batch:e})}e.register=function(t,e){var n=s(t),a=e.dataZoomId,u=e.coordId;r.each(n,(function(t,n){var i=t.dataZoomInfos;i[a]&&r.indexOf(e.allCoordIds,u)<0&&(delete i[a],t.count--)})),l(n);var h=n[u];h||((h=n[u]={coordId:u,dataZoomInfos:{},count:0}).controller=function(t,e){var n=new i(t.getZr());return r.each(["pan","zoom","scrollMove"],(function(t){n.on(t,(function(n){var i=[];r.each(e.dataZoomInfos,(function(r){if(n.isAvailableBehavior(r.dataZoomModel.option)){var o=(r.getRange||{})[t],a=o&&o(e.controller,n);!r.dataZoomModel.get("disabled",!0)&&a&&i.push({dataZoomId:r.dataZoomId,start:a[0],end:a[1]})}})),i.length&&e.dispatchAction(i)}))})),n}(t,h),h.dispatchAction=r.curry(c,t)),!h.dataZoomInfos[a]&&h.count++,h.dataZoomInfos[a]=e;var d,f,p,g=(f={type_true:2,type_move:1,type_false:0,type_undefined:-1},p=!0,r.each(h.dataZoomInfos,(function(t){var e=t.dataZoomModel,n=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");f["type_"+n]>f["type_"+d]&&(d=n),p&=e.get("preventDefaultMouseMove",!0)})),{controlType:d,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!p}});h.controller.enable(g.controlType,g.opt),h.controller.setPointerChecker(e.containsPoint),o.createOrUpdate(h,"dispatchAction",e.dataZoomModel.get("throttle",!0),"fixRate")},e.unregister=function(t,e){var n=s(t);r.each(n,(function(t){t.controller.dispose();var n=t.dataZoomInfos;n[e]&&(delete n[e],t.count--)})),l(n)},e.generateCoordId=function(t){return t.type+"\0_"+t.id}},VaNO:function(t,e){t.exports=function(t){return this.__data__.has(t)}},VaxA:function(t,e,n){var r=n("bYtY");function i(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}e.retrieveTargetInfo=function(t,e,n){if(t&&r.indexOf(e,t.type)>=0){var i=n.getData().tree.root,o=t.targetNode;if("string"==typeof o&&(o=i.getNodeById(o)),o&&i.contains(o))return{node:o};var a=t.targetNodeId;if(null!=a&&(o=i.getNodeById(a)))return{node:o}}},e.getPathToRoot=i,e.aboveViewRoot=function(t,e){var n=i(t);return r.indexOf(n,e)>=0},e.wrapTreePathInfo=function(t,e){for(var n=[];t;){var r=t.dataIndex;n.push({name:t.name,dataIndex:r,value:e.getRawValue(r)}),t=t.parentNode}return n.reverse(),n}},"Ve/E":function(t,e,n){var r;if(!r)try{r=n("VphZ")}catch(i){}r||(r=window.d3),t.exports=r},Vi4m:function(t,e,n){var r=n("bYtY");t.exports=function(t){null!=t&&r.extend(this,t),this.otherDims={}}},VpOo:function(t,e){e.buildPath=function(t,e){var n,r,i,o,a,s=e.x,l=e.y,c=e.width,u=e.height,h=e.r;c<0&&(s+=c,c=-c),u<0&&(l+=u,u=-u),"number"==typeof h?n=r=i=o=h:h instanceof Array?1===h.length?n=r=i=o=h[0]:2===h.length?(n=i=h[0],r=o=h[1]):3===h.length?(n=h[0],r=o=h[1],i=h[2]):(n=h[0],r=h[1],i=h[2],o=h[3]):n=r=i=o=0,n+r>c&&(n*=c/(a=n+r),r*=c/a),i+o>c&&(i*=c/(a=i+o),o*=c/a),r+i>u&&(r*=u/(a=r+i),i*=u/a),n+o>u&&(n*=u/(a=n+o),o*=u/a),t.moveTo(s+n,l),t.lineTo(s+c-r,l),0!==r&&t.arc(s+c-r,l+r,r,-Math.PI/2,0),t.lineTo(s+c,l+u-i),0!==i&&t.arc(s+c-i,l+u-i,i,0,Math.PI/2),t.lineTo(s+o,l+u),0!==o&&t.arc(s+o,l+u-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}},VphZ:function(t,e,n){"use strict";n.r(e);var r=function(t,e){return te?1:t>=e?0:NaN},i=function(t){var e;return 1===t.length&&(e=t,t=function(t,n){return r(e(t),n)}),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;t(e[o],n)<0?r=o+1:i=o}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;t(e[o],n)>0?i=o:r=o+1}return r}}},o=i(r),a=o.right,s=o.left,l=a,c=function(t,e){null==e&&(e=u);for(var n=0,r=t.length-1,i=t[0],o=new Array(r<0?0:r);nt?1:e>=t?0:NaN},f=function(t){return null===t?NaN:+t},p=function(t,e){var n,r,i=t.length,o=0,a=-1,s=0,l=0;if(null==e)for(;++a1)return l/(o-1)},g=function(t,e){var n=p(t,e);return n?Math.sqrt(n):n},m=function(t,e){var n,r,i,o=t.length,a=-1;if(null==e){for(;++a=n)for(r=i=n;++an&&(r=n),i=n)for(r=i=n;++an&&(r=n),i0)return[t];if((r=e0)for(t=Math.ceil(t/a),e=Math.floor(e/a),o=new Array(i=Math.ceil(e-t+1));++s=0?(o>=S?10:o>=k?5:o>=C?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=S?10:o>=k?5:o>=C?2:1)}function E(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=S?i*=10:o>=k?i*=5:o>=C&&(i*=2),eh;)d.pop(),--f;var p,g=new Array(f+1);for(i=0;i<=f;++i)(p=g[i]=[]).x0=i>0?d[i-1]:u,p.x1=i=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}},O=function(t,e,n){return t=b.call(t,f).sort(r),Math.ceil((n-e)/(2*(I(t,.75)-I(t,.25))*Math.pow(t.length,-1/3)))},P=function(t,e,n){return Math.ceil((n-e)/(3.5*g(t)*Math.pow(t.length,-1/3)))},L=function(t,e){var n,r,i=t.length,o=-1;if(null==e){for(;++o=n)for(r=n;++or&&(r=n)}else for(;++o=n)for(r=n;++or&&(r=n);return r},R=function(t,e){var n,r=t.length,i=r,o=-1,a=0;if(null==e)for(;++o=0;)for(e=(r=t[i]).length;--e>=0;)n[--a]=r[e];return n},F=function(t,e){var n,r,i=t.length,o=-1;if(null==e){for(;++o=n)for(r=n;++on&&(r=n)}else for(;++o=n)for(r=n;++on&&(r=n);return r},B=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},V=function(t,e){if(n=t.length){var n,i,o=0,a=0,s=t[a];for(null==e&&(e=r);++o=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function lt(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),o=0;oe?1:t>=e?0:NaN}vt.prototype={constructor:vt,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var xt="http://www.w3.org/1999/xhtml",wt={svg:"http://www.w3.org/2000/svg",xhtml:xt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},St=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),wt.hasOwnProperty(e)?{space:wt[e],local:t}:t};function kt(t){return function(){this.removeAttribute(t)}}function Ct(t){return function(){this.removeAttributeNS(t.space,t.local)}}function At(t,e){return function(){this.setAttribute(t,e)}}function Tt(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Et(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Mt(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var Dt=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function It(t){return function(){this.style.removeProperty(t)}}function Ot(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Pt(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Lt(t,e){return t.style.getPropertyValue(e)||Dt(t).getComputedStyle(t,null).getPropertyValue(e)}function Rt(t){return function(){delete this[t]}}function Nt(t,e){return function(){this[t]=e}}function zt(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function Ft(t){return t.trim().split(/^|\s+/)}function Bt(t){return t.classList||new Vt(t)}function Vt(t){this._node=t,this._names=Ft(t.getAttribute("class")||"")}function jt(t,e){for(var n=Bt(t),r=-1,i=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var ne=function(t){var e=St(t);return(e.local?ee:te)(e)};function re(){return null}function ie(){var t=this.parentNode;t&&t.removeChild(this)}function oe(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ae(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var se={},le=null;function ce(t,e,n){return t=ue(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function ue(t,e,n){return function(r){var i=le;le=r;try{t.call(this,this.__data__,e,n)}finally{le=i}}}function he(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function de(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r=x&&(x=_+1);!(b=v[x])&&++x=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=_t);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o1?this.each((null==e?It:"function"==typeof e?Pt:Ot)(t,e,null==n?"":n)):Lt(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Rt:"function"==typeof e?zt:Nt)(t,e)):this.node()[t]},classed:function(t,e){var n=Ft(t+"");if(arguments.length<2){for(var r=Bt(this.node()),i=-1,o=n.length;++i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?He(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?He(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Le.exec(t))?new $e(e[1],e[2],e[3],1):(e=Re.exec(t))?new $e(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Ne.exec(t))?He(e[1],e[2],e[3],e[4]):(e=ze.exec(t))?He(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Fe.exec(t))?Qe(e[1],e[2]/100,e[3]/100,1):(e=Be.exec(t))?Qe(e[1],e[2]/100,e[3]/100,e[4]):Ve.hasOwnProperty(t)?Ge(Ve[t]):"transparent"===t?new $e(NaN,NaN,NaN,0):null}function Ge(t){return new $e(t>>16&255,t>>8&255,255&t,1)}function He(t,e,n,r){return r<=0&&(t=e=n=NaN),new $e(t,e,n,r)}function qe(t){return t instanceof Me||(t=Ue(t)),t?new $e((t=t.rgb()).r,t.g,t.b,t.opacity):new $e}function We(t,e,n,r){return 1===arguments.length?qe(t):new $e(t,e,n,null==r?1:r)}function $e(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Ze(){return"#"+Ke(this.r)+Ke(this.g)+Ke(this.b)}function Xe(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Ke(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Qe(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new en(t,e,n,r)}function Je(t){if(t instanceof en)return new en(t.h,t.s,t.l,t.opacity);if(t instanceof Me||(t=Ue(t)),!t)return new en;if(t instanceof en)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n0&&l<1?0:a,new en(a,s,l,t.opacity)}function tn(t,e,n,r){return 1===arguments.length?Je(t):new en(t,e,n,null==r?1:r)}function en(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function nn(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function rn(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}Te(Me,Ue,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:je,formatHex:je,formatHsl:function(){return Je(this).formatHsl()},formatRgb:Ye,toString:Ye}),Te($e,We,Ee(Me,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new $e(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new $e(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ze,formatHex:Ze,formatRgb:Xe,toString:Xe})),Te(en,tn,Ee(Me,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new en(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new en(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new $e(nn(t>=240?t-240:t+120,i,r),nn(t,i,r),nn(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var on=function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1];return rn((n-r/e)*e,r>0?t[r-1]:2*i-o,i,o,r180||n<-180?n-360*Math.round(n/360):n):sn(isNaN(t)?e:t)}function un(t,e){var n=e-t;return n?ln(t,n):sn(isNaN(t)?e:t)}var hn=function t(e){var n=function(t){return 1==(t=+t)?un:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):sn(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=We(t)).r,(e=We(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=un(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function dn(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;no&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:wn(n,r)})),o=Cn.lastIndex;return o=0&&e._call.call(null,t),e=e._next;--On}function Hn(){Nn=(Rn=Fn.now())+zn,On=Pn=0;try{Gn()}finally{On=0,function(){for(var t,e,n=bn,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:bn=e);_n=t,Wn(r)}(),Nn=0}}function qn(){var t=Fn.now(),e=t-Rn;e>1e3&&(zn-=e,Rn=t)}function Wn(t){On||(Pn&&(Pn=clearTimeout(Pn)),t-Nn>24?(t<1/0&&(Pn=setTimeout(Hn,t-Fn.now()-zn)),Ln&&(Ln=clearInterval(Ln))):(Ln||(Rn=Fn.now(),Ln=setInterval(qn,1e3)),On=1,Bn(Hn)))}Yn.prototype=Un.prototype={constructor:Yn,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Vn():+n)+(null==e?0:+e),this._next||_n===this||(_n?_n._next=this:bn=this,_n=this),this._call=t,this._time=n,Wn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Wn())}};var $n=function(t,e,n){var r=new Yn;return r.restart((function(n){r.stop(),t(n+e)}),e=null==e?0:+e,n),r},Zn=ut("start","end","cancel","interrupt"),Xn=[],Kn=function(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(l){var c,u,h,d;if(1!==n.state)return s();for(c in i)if((d=i[c]).name===n.name){if(3===d.state)return $n(o);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[c]):+c0)throw new Error("too late; already scheduled");return n}function Jn(t,e){var n=tr(t,e);if(n.state>3)throw new Error("too late; already running");return n}function tr(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}var er,nr,rr,ir,or=function(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}},ar=180/Math.PI,sr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},lr=function(t,e,n,r,i,o){var a,s,l;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),t*r180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:wn(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,l),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:wn(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,l),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:wn(t,n)},{i:s-2,x:wn(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,l),o=a=null,function(t){for(var e,n=-1,r=l.length;++n=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?Qn:Jn;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}var Or=xe.prototype.constructor;function Pr(t){return function(){this.style.removeProperty(t)}}function Lr(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Rr(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&Lr(t,o,n)),r}return o._value=e,o}function Nr(t){return function(e){this.textContent=t.call(this,e)}}function zr(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Nr(r)),e}return r._value=t,r}var Fr=0;function Br(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Vr(t){return xe().transition(t)}function jr(){return++Fr}var Yr=xe.prototype;function Ur(t){return t*t*t}function Gr(t){return--t*t*t+1}function Hr(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}Br.prototype=Vr.prototype={constructor:Br,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=dt(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a1&&n.name===e)return new Br([[t]],$r,e,+r);return null},Xr=function(t){return function(){return t}},Kr=function(t,e,n){this.target=t,this.type=e,this.selection=n};function Qr(){le.stopImmediatePropagation()}var Jr=function(){le.preventDefault(),le.stopImmediatePropagation()},ti={name:"drag"},ei={name:"space"},ni={name:"handle"},ri={name:"center"};function ii(t){return[+t[0],+t[1]]}function oi(t){return[ii(t[0]),ii(t[1])]}function ai(t){return function(e){return Dn(e,le.touches,t)}}var si={name:"x",handles:["w","e"].map(gi),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},li={name:"y",handles:["n","s"].map(gi),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},ci={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(gi),input:function(t){return null==t?null:oi(t)},output:function(t){return t}},ui={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},hi={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},di={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},fi={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},pi={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function gi(t){return{type:t}}function mi(){return!le.ctrlKey&&!le.button}function vi(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function yi(){return navigator.maxTouchPoints||"ontouchstart"in this}function bi(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function _i(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function xi(t){var e=t.__brush;return e?e.dim.output(e.selection):null}function wi(){return Ci(si)}function Si(){return Ci(li)}var ki=function(){return Ci(ci)};function Ci(t){var e,n=vi,r=mi,i=yi,o=!0,a=ut("start","brush","end"),s=6;function l(e){var n=e.property("__brush",g).selectAll(".overlay").data([gi("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",ui.overlay).merge(n).each((function(){var t=bi(this).extent;we(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),e.selectAll(".selection").data([gi("selection")]).enter().append("rect").attr("class","selection").attr("cursor",ui.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=e.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return ui[t.type]})),e.each(c).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",d).filter(i).on("touchstart.brush",d).on("touchmove.brush",f).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function c(){var t=we(this),e=bi(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?e[1][0]-s/2:e[0][0]-s/2})).attr("y",(function(t){return"s"===t.type[0]?e[1][1]-s/2:e[0][1]-s/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+s:s})).attr("height",(function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+s:s}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function u(t,e,n){return!n&&t.__brush.emitter||new h(t,e)}function h(t,e){this.that=t,this.args=e,this.state=t.__brush,this.active=0}function d(){if((!e||le.touches)&&r.apply(this,arguments)){var n,i,a,s,l,h,d,f,p,g,m,v=this,y=le.target.__data__.type,b="selection"===(o&&le.metaKey?y="overlay":y)?ti:o&&le.altKey?ri:ni,_=t===li?null:fi[y],x=t===si?null:pi[y],w=bi(v),S=w.extent,k=w.selection,C=S[0][0],A=S[0][1],T=S[1][0],E=S[1][1],M=0,D=0,I=_&&x&&o&&le.shiftKey,O=le.touches?ai(le.changedTouches[0].identifier):In,P=O(v),L=P,R=u(v,arguments,!0).beforestart();"overlay"===y?(k&&(p=!0),w.selection=k=[[n=t===li?C:P[0],a=t===si?A:P[1]],[l=t===li?T:n,d=t===si?E:a]]):(n=k[0][0],a=k[0][1],l=k[1][0],d=k[1][1]),i=n,s=a,h=l,f=d;var N=we(v).attr("pointer-events","none"),z=N.selectAll(".overlay").attr("cursor",ui[y]);if(le.touches)R.moved=B,R.ended=j;else{var F=we(le.view).on("mousemove.brush",B,!0).on("mouseup.brush",j,!0);o&&F.on("keydown.brush",Y,!0).on("keyup.brush",U,!0),Ce(le.view)}Qr(),or(v),c.call(v),R.start()}function B(){var t=O(v);!I||g||m||(Math.abs(t[0]-L[0])>Math.abs(t[1]-L[1])?m=!0:g=!0),L=t,p=!0,Jr(),V()}function V(){var t;switch(M=L[0]-P[0],D=L[1]-P[1],b){case ei:case ti:_&&(M=Math.max(C-n,Math.min(T-l,M)),i=n+M,h=l+M),x&&(D=Math.max(A-a,Math.min(E-d,D)),s=a+D,f=d+D);break;case ni:_<0?(M=Math.max(C-n,Math.min(T-n,M)),i=n+M,h=l):_>0&&(M=Math.max(C-l,Math.min(T-l,M)),i=n,h=l+M),x<0?(D=Math.max(A-a,Math.min(E-a,D)),s=a+D,f=d):x>0&&(D=Math.max(A-d,Math.min(E-d,D)),s=a,f=d+D);break;case ri:_&&(i=Math.max(C,Math.min(T,n-M*_)),h=Math.max(C,Math.min(T,l+M*_))),x&&(s=Math.max(A,Math.min(E,a-D*x)),f=Math.max(A,Math.min(E,d+D*x)))}h0&&(n=i-M),x<0?d=f-D:x>0&&(a=s-D),b=ei,z.attr("cursor",ui.selection),V());break;default:return}Jr()}function U(){switch(le.keyCode){case 16:I&&(g=m=I=!1,V());break;case 18:b===ri&&(_<0?l=h:_>0&&(n=i),x<0?d=f:x>0&&(a=s),b=ni,V());break;case 32:b===ei&&(le.altKey?(_&&(l=h-M*_,n=i+M*_),x&&(d=f-D*x,a=s+D*x),b=ri):(_<0?l=h:_>0&&(n=i),x<0?d=f:x>0&&(a=s),b=ni),z.attr("cursor",ui[y]),V());break;default:return}Jr()}}function f(){u(this,arguments).moved()}function p(){u(this,arguments).ended()}function g(){var e=this.__brush||{selection:null};return e.extent=oi(n.apply(this,arguments)),e.dim=t,e}return l.move=function(e,n){e.selection?e.on("start.brush",(function(){u(this,arguments).beforestart().start()})).on("interrupt.brush end.brush",(function(){u(this,arguments).end()})).tween("brush",(function(){var e=this,r=e.__brush,i=u(e,arguments),o=r.selection,a=t.input("function"==typeof n?n.apply(this,arguments):n,r.extent),s=Tn(o,a);function l(t){r.selection=1===t&&null===a?null:s(t),c.call(e),i.brush()}return null!==o&&null!==a?l:l(1)})):e.each((function(){var e=this,r=arguments,i=e.__brush,o=t.input("function"==typeof n?n.apply(e,r):n,i.extent),a=u(e,r).beforestart();or(e),i.selection=null===o?null:o,c.call(e),a.start().brush().end()}))},l.clear=function(t){l.move(t,null)},h.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(e){pe(new Kr(l,e,t.output(this.state.selection)),a.apply,a,[e,this.that,this.args])}},l.extent=function(t){return arguments.length?(n="function"==typeof t?t:Xr(oi(t)),l):n},l.filter=function(t){return arguments.length?(r="function"==typeof t?t:Xr(!!t),l):r},l.touchable=function(t){return arguments.length?(i="function"==typeof t?t:Xr(!!t),l):i},l.handleSize=function(t){return arguments.length?(s=+t,l):s},l.keyModifiers=function(t){return arguments.length?(o=!!t,l):o},l.on=function(){var t=a.on.apply(a,arguments);return t===a?l:t},l}var Ai=Math.cos,Ti=Math.sin,Ei=Math.PI,Mi=Ei/2,Di=2*Ei,Ii=Math.max;function Oi(t){return function(e,n){return t(e.source.value+e.target.value,n.source.value+n.target.value)}}var Pi=function(){var t=0,e=null,n=null,r=null;function i(i){var o,a,s,l,c,u,h=i.length,d=[],f=w(h),p=[],g=[],m=g.groups=new Array(h),v=new Array(h*h);for(o=0,c=-1;++c1e-6)if(Math.abs(u*s-l*c)>1e-6&&i){var d=n-o,f=r-a,p=s*s+l*l,g=d*d+f*f,m=Math.sqrt(p),v=Math.sqrt(h),y=i*Math.tan((Ni-Math.acos((p+h-g)/(2*m*v)))/2),b=y/v,_=y/m;Math.abs(b-1)>1e-6&&(this._+="L"+(t+b*c)+","+(e+b*u)),this._+="A"+i+","+i+",0,0,"+ +(u*d>c*f)+","+(this._x1=t+_*s)+","+(this._y1=e+_*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,r,i,o){t=+t,e=+e,o=!!o;var a=(n=+n)*Math.cos(r),s=n*Math.sin(r),l=t+a,c=e+s,u=1^o,h=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+c:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-c)>1e-6)&&(this._+="L"+l+","+c),n&&(h<0&&(h=h%zi+zi),h>Fi?this._+="A"+n+","+n+",0,1,"+u+","+(t-a)+","+(e-s)+"A"+n+","+n+",0,1,"+u+","+(this._x1=l)+","+(this._y1=c):h>1e-6&&(this._+="A"+n+","+n+",0,"+ +(h>=Ni)+","+u+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var ji=Vi;function Yi(t){return t.source}function Ui(t){return t.target}function Gi(t){return t.radius}function Hi(t){return t.startAngle}function qi(t){return t.endAngle}var Wi=function(){var t=Yi,e=Ui,n=Gi,r=Hi,i=qi,o=null;function a(){var a,s=Li.call(arguments),l=t.apply(this,s),c=e.apply(this,s),u=+n.apply(this,(s[0]=l,s)),h=r.apply(this,s)-Mi,d=i.apply(this,s)-Mi,f=u*Ai(h),p=u*Ti(h),g=+n.apply(this,(s[0]=c,s)),m=r.apply(this,s)-Mi,v=i.apply(this,s)-Mi;if(o||(o=a=ji()),o.moveTo(f,p),o.arc(0,0,u,h,d),h===m&&d===v||(o.quadraticCurveTo(0,0,g*Ai(m),g*Ti(m)),o.arc(0,0,g,m,v)),o.quadraticCurveTo(0,0,f,p),o.closePath(),a)return o=null,a+""||null}return a.radius=function(t){return arguments.length?(n="function"==typeof t?t:Ri(+t),a):n},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Ri(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Ri(+t),a):i},a.source=function(e){return arguments.length?(t=e,a):t},a.target=function(t){return arguments.length?(e=t,a):e},a.context=function(t){return arguments.length?(o=null==t?null:t,a):o},a};function $i(){}function Zi(t,e){var n=new $i;if(t instanceof $i)t.each((function(t,e){n.set(e,t)}));else if(Array.isArray(t)){var r,i=-1,o=t.length;if(null==e)for(;++i=r.length)return null!=t&&n.sort(t),null!=e?e(n):n;for(var l,c,u,h=-1,d=n.length,f=r[i++],p=Xi(),g=a();++hr.length)return n;var a,s=i[o-1];return null!=e&&o>=r.length?a=n.entries():(a=[],n.each((function(e,n){a.push({key:n,values:t(e,o)})}))),null!=s?a.sort((function(t,e){return s(t.key,e.key)})):a}(o(t,0,to,eo),0)},key:function(t){return r.push(t),n},sortKeys:function(t){return i[r.length-1]=t,n},sortValues:function(e){return t=e,n},rollup:function(t){return e=t,n}}};function Qi(){return{}}function Ji(t,e,n){t[e]=n}function to(){return Xi()}function eo(t,e,n){t.set(e,n)}function no(){}var ro=Xi.prototype;function io(t,e){var n=new no;if(t instanceof no)t.each((function(t){n.add(t)}));else if(t){var r=-1,i=t.length;if(null==e)for(;++r6/29*(6/29)*(6/29)?Math.pow(t,1/3):t/(6/29*3*(6/29))+4/29}function vo(t){return t>6/29?t*t*t:6/29*3*(6/29)*(t-4/29)}function yo(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function bo(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function _o(t){if(t instanceof So)return new So(t.h,t.c,t.l,t.opacity);if(t instanceof go||(t=ho(t)),0===t.a&&0===t.b)return new So(NaN,0r!=f>r&&n<(d-c)*(r-u)/(f-u)+c&&(i=-i)}return i}function zo(t,e,n){var r,i,o,a;return function(t,e,n){return(e[0]-t[0])*(n[1]-t[1])==(n[0]-t[0])*(e[1]-t[1])}(t,e,n)&&(i=t[r=+(t[0]===e[0])],a=e[r],i<=(o=n[r])&&o<=a||a<=o&&o<=i)}var Fo=function(){},Bo=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],Vo=function(){var t=1,e=1,n=M,r=s;function i(t){var e=n(t);if(Array.isArray(e))e=e.slice().sort(Po);else{var r=m(t),i=r[0],a=r[1];e=E(i,a,e),e=w(Math.floor(i/e)*e,Math.floor(a/e)*e,e)}return e.map((function(e){return o(t,e)}))}function o(n,i){var o=[],s=[];return function(n,r,i){var o,s,l,c,u,h=new Array,d=new Array;for(o=s=-1,Bo[(l=n[0]>=r)<<1].forEach(f);++o=r)<<1].forEach(f);for(Bo[l<<0].forEach(f);++s=r)<<1|(c=n[s*t]>=r)<<2].forEach(f);++o=r)<<1|(c=n[s*t+o+1]>=r)<<2|u<<3].forEach(f);Bo[l|c<<3].forEach(f)}for(o=-1,Bo[(c=n[s*t]>=r)<<2].forEach(f);++o=r)<<2|u<<3].forEach(f);function f(t){var e,n,r=[t[0][0]+o,t[0][1]+s],l=[t[1][0]+o,t[1][1]+s],c=a(r),u=a(l);(e=d[c])?(n=h[u])?(delete d[e.end],delete h[n.start],e===n?(e.ring.push(l),i(e.ring)):h[e.start]=d[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete d[e.end],e.ring.push(l),d[e.end=u]=e):(e=h[u])?(n=d[c])?(delete h[e.start],delete d[n.end],e===n?(e.ring.push(l),i(e.ring)):h[n.start]=d[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete h[e.start],e.ring.unshift(r),h[e.start=c]=e):h[c]=d[u]={start:c,end:u,ring:[r,l]}}Bo[c<<3].forEach(f)}(n,i,(function(t){r(t,n,i),function(t){for(var e=0,n=t.length,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++e0?o.push([t]):s.push(t)})),s.forEach((function(t){for(var e,n=0,r=o.length;n0&&a0&&s0&&o>0))throw new Error("invalid size");return t=r,e=o,i},i.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?Lo(Oo.call(t)):Lo(t),i):n},i.smooth=function(t){return arguments.length?(r=t?s:Fo,i):r===s},i};function jo(t,e,n){for(var r=t.width,i=t.height,o=1+(n<<1),a=0;a=n&&(s>=o&&(l-=t.data[s-o+a*r]),e.data[s-n+a*r]=l/Math.min(s+1,r-1+o-s,o))}function Yo(t,e,n){for(var r=t.width,i=t.height,o=1+(n<<1),a=0;a=n&&(s>=o&&(l-=t.data[a+(s-o)*r]),e.data[a+(s-n)*r]=l/Math.min(s+1,i-1+o-s,o))}function Uo(t){return t[0]}function Go(t){return t[1]}function Ho(){return 1}var qo=function(){var t=Uo,e=Go,n=Ho,r=960,i=500,o=20,a=2,s=3*o,l=r+2*s>>a,c=i+2*s>>a,u=Lo(20);function h(r){var i=new Float32Array(l*c),h=new Float32Array(l*c);r.forEach((function(r,o,u){var h=+t(r,o,u)+s>>a,d=+e(r,o,u)+s>>a,f=+n(r,o,u);h>=0&&h=0&&d>a),Yo({width:l,height:c,data:h},{width:l,height:c,data:i},o>>a),jo({width:l,height:c,data:i},{width:l,height:c,data:h},o>>a),Yo({width:l,height:c,data:h},{width:l,height:c,data:i},o>>a),jo({width:l,height:c,data:i},{width:l,height:c,data:h},o>>a),Yo({width:l,height:c,data:h},{width:l,height:c,data:i},o>>a);var f=u(i);if(!Array.isArray(f)){var p=L(i);f=E(0,p,f),(f=w(0,Math.floor(p/f)*f,f)).shift()}return Vo().thresholds(f).size([l,c])(i).map(d)}function d(t){return t.value*=Math.pow(2,-2*a),t.coordinates.forEach(f),t}function f(t){t.forEach(p)}function p(t){t.forEach(g)}function g(t){t[0]=t[0]*Math.pow(2,a)-s,t[1]=t[1]*Math.pow(2,a)-s}function m(){return l=r+2*(s=3*o)>>a,c=i+2*s>>a,h}return h.x=function(e){return arguments.length?(t="function"==typeof e?e:Lo(+e),h):t},h.y=function(t){return arguments.length?(e="function"==typeof t?t:Lo(+t),h):e},h.weight=function(t){return arguments.length?(n="function"==typeof t?t:Lo(+t),h):n},h.size=function(t){if(!arguments.length)return[r,i];var e=Math.ceil(t[0]),n=Math.ceil(t[1]);if(!(e>=0||e>=0))throw new Error("invalid size");return r=e,i=n,m()},h.cellSize=function(t){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return a=Math.floor(Math.log(t)/Math.LN2),m()},h.thresholds=function(t){return arguments.length?(u="function"==typeof t?t:Array.isArray(t)?Lo(Oo.call(t)):Lo(t),h):u},h.bandwidth=function(t){if(!arguments.length)return Math.sqrt(o*(o+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return o=Math.round((Math.sqrt(4*t*t+1)-1)/2),m()},h},Wo=function(t){return function(){return t}};function $o(t,e,n,r,i,o,a,s,l,c){this.target=t,this.type=e,this.subject=n,this.identifier=r,this.active=i,this.x=o,this.y=a,this.dx=s,this.dy=l,this._=c}function Zo(){return!le.ctrlKey&&!le.button}function Xo(){return this.parentNode}function Ko(t){return null==t?{x:le.x,y:le.y}:t}function Qo(){return navigator.maxTouchPoints||"ontouchstart"in this}$o.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Jo=function(){var t,e,n,r,i=Zo,o=Xo,a=Ko,s=Qo,l={},c=ut("start","drag","end"),u=0,h=0;function d(t){t.on("mousedown.drag",f).filter(s).on("touchstart.drag",m).on("touchmove.drag",v).on("touchend.drag touchcancel.drag",y).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function f(){if(!r&&i.apply(this,arguments)){var a=b("mouse",o.apply(this,arguments),In,this,arguments);a&&(we(le.view).on("mousemove.drag",p,!0).on("mouseup.drag",g,!0),Ce(le.view),Se(),n=!1,t=le.clientX,e=le.clientY,a("start"))}}function p(){if(ke(),!n){var r=le.clientX-t,i=le.clientY-e;n=r*r+i*i>h}l.mouse("drag")}function g(){we(le.view).on("mousemove.drag mouseup.drag",null),Ae(le.view,n),ke(),l.mouse("end")}function m(){if(i.apply(this,arguments)){var t,e,n=le.changedTouches,r=o.apply(this,arguments),a=n.length;for(t=0;t=o?l=!0:10===(r=t.charCodeAt(a++))?c=!0:13===r&&(c=!0,10===t.charCodeAt(a)&&++a),t.slice(i+1,e-1).replace(/""/g,'"')}for(;a9999?"+"+ia(e,6):ia(e,4))+"-"+ia(t.getUTCMonth()+1,2)+"-"+ia(t.getUTCDate(),2)+(o?"T"+ia(n,2)+":"+ia(r,2)+":"+ia(i,2)+"."+ia(o,3)+"Z":i?"T"+ia(n,2)+":"+ia(r,2)+":"+ia(i,2)+"Z":r||n?"T"+ia(n,2)+":"+ia(r,2)+"Z":"")}(t):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,i,o=r(t,(function(t,r){if(n)return n(t,r-1);i=t,n=e?function(t,e){var n=na(t);return function(r,i){return e(n(r),i,t)}}(t,e):na(t)}));return o.columns=i||[],o},parseRows:r,format:function(e,n){return null==n&&(n=ra(e)),[n.map(a).join(t)].concat(i(e,n)).join("\n")},formatBody:function(t,e){return null==e&&(e=ra(t)),i(t,e).join("\n")},formatRows:function(t){return t.map(o).join("\n")},formatRow:o,formatValue:a}},aa=oa(","),sa=aa.parse,la=aa.parseRows,ca=aa.format,ua=aa.formatBody,ha=aa.formatRows,da=aa.formatRow,fa=aa.formatValue,pa=oa("\t"),ga=pa.parse,ma=pa.parseRows,va=pa.format,ya=pa.formatBody,ba=pa.formatRows,_a=pa.formatRow,xa=pa.formatValue;function wa(t){for(var e in t){var n,r,i=t[e].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(n=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;Sa&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=n;else i=null;t[e]=i}return t}var Sa=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function ka(t){return+t}function Ca(t){return t*t}function Aa(t){return t*(2-t)}function Ta(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}var Ea=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),Ma=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),Da=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),Ia=Math.PI,Oa=Ia/2;function Pa(t){return 1-Math.cos(t*Oa)}function La(t){return Math.sin(t*Oa)}function Ra(t){return(1-Math.cos(Ia*t))/2}function Na(t){return Math.pow(2,10*t-10)}function za(t){return 1-Math.pow(2,-10*t)}function Fa(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function Ba(t){return 1-Math.sqrt(1-t*t)}function Va(t){return Math.sqrt(1- --t*t)}function ja(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function Ya(t){return 1-Ua(1-t)}function Ua(t){return(t=+t)<4/11?7.5625*t*t:t<8/11?7.5625*(t-=6/11)*t+3/4:t<10/11?7.5625*(t-=9/11)*t+15/16:7.5625*(t-=21/22)*t+63/64}function Ga(t){return((t*=2)<=1?1-Ua(1-t):Ua(t-1)+1)/2}var Ha=function t(e){function n(t){return t*t*((e+1)*t-e)}return e=+e,n.overshoot=t,n}(1.70158),qa=function t(e){function n(t){return--t*t*((e+1)*t+e)+1}return e=+e,n.overshoot=t,n}(1.70158),Wa=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(1.70158),$a=2*Math.PI,Za=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=$a);function i(t){return e*Math.pow(2,10*--t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*$a)},i.period=function(n){return t(e,n)},i}(1,.3),Xa=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=$a);function i(t){return 1-e*Math.pow(2,-10*(t=+t))*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*$a)},i.period=function(n){return t(e,n)},i}(1,.3),Ka=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=$a);function i(t){return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((r-t)/n):2-e*Math.pow(2,-10*t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*$a)},i.period=function(n){return t(e,n)},i}(1,.3);function Qa(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}var Ja=function(t,e){return fetch(t,e).then(Qa)};function ts(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}var es=function(t,e){return fetch(t,e).then(ts)};function ns(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}var rs=function(t,e){return fetch(t,e).then(ns)};function is(t){return function(e,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=void 0),rs(e,n).then((function(e){return t(e,r)}))}}function os(t,e,n,r){3===arguments.length&&"function"==typeof n&&(r=n,n=void 0);var i=oa(t);return rs(e,n).then((function(t){return i.parse(t,r)}))}var as=is(sa),ss=is(ga),ls=function(t,e){return new Promise((function(n,r){var i=new Image;for(var o in e)i[o]=e[o];i.onerror=r,i.onload=function(){n(i)},i.src=t}))};function cs(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.json()}var us=function(t,e){return fetch(t,e).then(cs)};function hs(t){return function(e,n){return rs(e,n).then((function(e){return(new DOMParser).parseFromString(e,t)}))}}var ds=hs("application/xml"),fs=hs("text/html"),ps=hs("image/svg+xml"),gs=function(t,e){var n;function r(){var r,i,o=n.length,a=0,s=0;for(r=0;r=(o=(g+v)/2))?g=o:v=o,(u=n>=(a=(m+y)/2))?m=a:y=a,i=f,!(f=f[h=u<<1|c]))return i[h]=p,t;if(s=+t._x.call(null,f.data),l=+t._y.call(null,f.data),e===s&&n===l)return p.next=f,i?i[h]=p:t._root=p,t;do{i=i?i[h]=new Array(4):t._root=new Array(4),(c=e>=(o=(g+v)/2))?g=o:v=o,(u=n>=(a=(m+y)/2))?m=a:y=a}while((h=u<<1|c)==(d=(l>=a)<<1|s>=o));return i[d]=f,i[h]=p,t}var bs=function(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i};function _s(t){return t[0]}function xs(t){return t[1]}function ws(t,e,n){var r=new Ss(null==e?_s:e,null==n?xs:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function Ss(t,e,n,r,i,o){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=o,this._root=void 0}function ks(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var Cs=ws.prototype=Ss.prototype;function As(t){return t.x+t.vx}function Ts(t){return t.y+t.vy}Cs.copy=function(){var t,e,n=new Ss(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=ks(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=ks(e));return n},Cs.add=function(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return ys(this.cover(e,n),e,n,t)},Cs.addAll=function(t){var e,n,r,i,o=t.length,a=new Array(o),s=new Array(o),l=1/0,c=1/0,u=-1/0,h=-1/0;for(n=0;nu&&(u=r),ih&&(h=i));if(l>u||c>h)return this;for(this.cover(l,c).cover(u,h),n=0;nt||t>=i||r>e||e>=o;)switch(s=(ed||(o=l.y0)>f||(a=l.x1)=v)<<1|t>=m)&&(l=p[p.length-1],p[p.length-1]=p[p.length-1-c],p[p.length-1-c]=l)}else{var y=t-+this._x.call(null,g.data),b=e-+this._y.call(null,g.data),_=y*y+b*b;if(_=(s=(p+m)/2))?p=s:m=s,(u=a>=(l=(g+v)/2))?g=l:v=l,e=f,!(f=f[h=u<<1|c]))return this;if(!f.length)break;(e[h+1&3]||e[h+2&3]||e[h+3&3])&&(n=e,d=h)}for(;f.data!==t;)if(r=f,!(f=f.next))return this;return(i=f.next)&&delete f.next,r?(i?r.next=i:delete r.next,this):e?(i?e[h]=i:delete e[h],(f=e[0]||e[1]||e[2]||e[3])&&f===(e[3]||e[2]||e[1]||e[0])&&!f.length&&(n?n[d]=f:this._root=f),this):(this._root=i,this)},Cs.removeAll=function(t){for(var e=0,n=t.length;el+f||ic+f||os.index){var p=l-a.x-a.vx,g=c-a.y-a.vy,m=p*p+g*g;mt.r&&(t.r=t[e].r)}function s(){if(e){var r,i,o=e.length;for(n=new Array(o),r=0;r1?(null==n?s.remove(t):s.set(t,f(n)),e):s.get(t)},find:function(e,n,r){var i,o,a,s,l,c=0,u=t.length;for(null==r?r=1/0:r*=r,c=0;c1?(c.on(t,n),e):c.on(t)}}},Ns=function(){var t,e,n,r,i=ms(-30),o=1,a=1/0,s=.81;function l(r){var i,o=t.length,a=ws(t,Os,Ps).visitAfter(u);for(n=r,i=0;i=a)){(t.data!==e||t.next)&&(0===u&&(f+=(u=vs())*u),0===h&&(f+=(h=vs())*h),f1?r[0]+r.slice(2):r,+t.slice(n+1)]},js=function(t){return(t=Vs(Math.abs(t)))?t[1]:NaN},Ys=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Us(t){if(!(e=Ys.exec(t)))throw new Error("invalid format: "+t);var e;return new Gs({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Gs(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}Us.prototype=Gs.prototype,Gs.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Hs,qs,Ws,$s,Zs=function(t,e){var n=Vs(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Xs={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return Zs(100*t,e)},r:Zs,s:function(t,e){var n=Vs(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(Hs=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Vs(t,Math.max(0,e+o-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Ks=function(t){return t},Qs=Array.prototype.map,Js=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"],tl=function(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?Ks:(e=Qs.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),o.push(t.substring(i-=s,i+s)),!((l+=s+1)>r));)s=e[a=(a+1)%e.length];return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Ks:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Qs.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"-":t.minus+"",u=void 0===t.nan?"NaN":t.nan+"";function h(t){var e=(t=Us(t)).fill,n=t.align,h=t.sign,d=t.symbol,f=t.zero,p=t.width,g=t.comma,m=t.precision,v=t.trim,y=t.type;"n"===y?(g=!0,y="g"):Xs[y]||(void 0===m&&(m=12),v=!0,y="g"),(f||"0"===e&&"="===n)&&(f=!0,e="0",n="=");var b="$"===d?i:"#"===d&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",_="$"===d?o:/[%p]/.test(y)?l:"",x=Xs[y],w=/[defgprs%]/.test(y);function S(t){var i,o,l,d=b,S=_;if("c"===y)S=x(t)+S,t="";else{var k=(t=+t)<0||1/t<0;if(t=isNaN(t)?u:x(Math.abs(t),m),v&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),k&&0==+t&&"+"!==h&&(k=!1),d=(k?"("===h?h:c:"-"===h||"("===h?"":h)+d,S=("s"===y?Js[8+Hs/3]:"")+S+(k&&"("===h?")":""),w)for(i=-1,o=t.length;++i(l=t.charCodeAt(i))||l>57){S=(46===l?a+t.slice(i+1):t.slice(i))+S,t=t.slice(0,i);break}}g&&!f&&(t=r(t,1/0));var C=d.length+t.length+S.length,A=C>1)+d+t+S+A.slice(C);break;default:t=A+d+t+S}return s(t)}return m=void 0===m?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),S.toString=function(){return t+""},S}return{format:h,formatPrefix:function(t,e){var n=h(((t=Us(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(js(e)/3))),i=Math.pow(10,-r),o=Js[8+r/3];return function(t){return n(i*t)+o}}}};function el(t){return qs=tl(t),Ws=qs.format,$s=qs.formatPrefix,qs}el({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var nl=function(t){return Math.max(0,-js(Math.abs(t)))},rl=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(js(e)/3)))-js(Math.abs(t)))},il=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,js(e)-js(t))+1},ol=function(){return new al};function al(){this.reset()}al.prototype={constructor:al,reset:function(){this.s=this.t=0},add:function(t){ll(sl,t,this.t),ll(this,sl.s,this.s),this.s?this.t+=sl.t:this.s=sl.t},valueOf:function(){return this.s}};var sl=new al;function ll(t,e,n){var r=t.s=e+n,i=r-e;t.t=e-(r-i)+(n-i)}var cl=Math.PI,ul=cl/2,hl=cl/4,dl=2*cl,fl=180/cl,pl=cl/180,gl=Math.abs,ml=Math.atan,vl=Math.atan2,yl=Math.cos,bl=Math.ceil,_l=Math.exp,xl=(Math,Math.log),wl=Math.pow,Sl=Math.sin,kl=Math.sign||function(t){return t>0?1:t<0?-1:0},Cl=Math.sqrt,Al=Math.tan;function Tl(t){return t>1?0:t<-1?cl:Math.acos(t)}function El(t){return t>1?ul:t<-1?-ul:Math.asin(t)}function Ml(t){return(t=Sl(t/2))*t}function Dl(){}function Il(t,e){t&&Pl.hasOwnProperty(t.type)&&Pl[t.type](t,e)}var Ol={Feature:function(t,e){Il(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r=0?1:-1,i=r*n,o=yl(e=(e*=pl)/2+hl),a=Sl(e),s=Vl*a,l=Bl*o+s*yl(i),c=s*r*Sl(i);Yl.add(vl(c,l)),Fl=t,Bl=o,Vl=a}var Zl=function(t){return Ul.reset(),jl(t,Gl),2*Ul};function Xl(t){return[vl(t[1],t[0]),El(t[2])]}function Kl(t){var e=t[0],n=t[1],r=yl(n);return[r*yl(e),r*Sl(e),Sl(n)]}function Ql(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function Jl(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function tc(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function ec(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function nc(t){var e=Cl(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var rc,ic,oc,ac,sc,lc,cc,uc,hc,dc,fc=ol(),pc={point:gc,lineStart:vc,lineEnd:yc,polygonStart:function(){pc.point=bc,pc.lineStart=_c,pc.lineEnd=xc,fc.reset(),Gl.polygonStart()},polygonEnd:function(){Gl.polygonEnd(),pc.point=gc,pc.lineStart=vc,pc.lineEnd=yc,Yl<0?(rc=-(oc=180),ic=-(ac=90)):fc>1e-6?ac=90:fc<-1e-6&&(ic=-90),dc[0]=rc,dc[1]=oc},sphere:function(){rc=-(oc=180),ic=-(ac=90)}};function gc(t,e){hc.push(dc=[rc=t,oc=t]),eac&&(ac=e)}function mc(t,e){var n=Kl([t*pl,e*pl]);if(uc){var r=Jl(uc,n),i=Jl([r[1],-r[0],0],r);nc(i),i=Xl(i);var o,a=t-sc,s=a>0?1:-1,l=i[0]*fl*s,c=gl(a)>180;c^(s*scac&&(ac=o):c^(s*sc<(l=(l+360)%360-180)&&lac&&(ac=e)),c?twc(rc,oc)&&(oc=t):wc(t,oc)>wc(rc,oc)&&(rc=t):oc>=rc?(toc&&(oc=t)):t>sc?wc(rc,t)>wc(rc,oc)&&(oc=t):wc(t,oc)>wc(rc,oc)&&(rc=t)}else hc.push(dc=[rc=t,oc=t]);eac&&(ac=e),uc=n,sc=t}function vc(){pc.point=mc}function yc(){dc[0]=rc,dc[1]=oc,pc.point=gc,uc=null}function bc(t,e){if(uc){var n=t-sc;fc.add(gl(n)>180?n+(n>0?360:-360):n)}else lc=t,cc=e;Gl.point(t,e),mc(t,e)}function _c(){Gl.lineStart()}function xc(){bc(lc,cc),Gl.lineEnd(),gl(fc)>1e-6&&(rc=-(oc=180)),dc[0]=rc,dc[1]=oc,uc=null}function wc(t,e){return(e-=t)<0?e+360:e}function Sc(t,e){return t[0]-e[0]}function kc(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:ewc(r[0],r[1])&&(r[1]=i[1]),wc(i[0],r[1])>wc(r[0],r[1])&&(r[0]=i[0])):o.push(r=i);for(a=-1/0,e=0,r=o[n=o.length-1];e<=n;r=i,++e)(s=wc(r[1],(i=o[e])[0]))>a&&(a=s,rc=i[0],oc=r[1])}return hc=dc=null,rc===1/0||ic===1/0?[[NaN,NaN],[NaN,NaN]]:[[rc,ic],[oc,ac]]},Yc={sphere:Dl,point:Uc,lineStart:Hc,lineEnd:$c,polygonStart:function(){Yc.lineStart=Zc,Yc.lineEnd=Xc},polygonEnd:function(){Yc.lineStart=Hc,Yc.lineEnd=$c}};function Uc(t,e){t*=pl;var n=yl(e*=pl);Gc(n*yl(t),n*Sl(t),Sl(e))}function Gc(t,e,n){++Cc,Tc+=(t-Tc)/Cc,Ec+=(e-Ec)/Cc,Mc+=(n-Mc)/Cc}function Hc(){Yc.point=qc}function qc(t,e){t*=pl;var n=yl(e*=pl);Fc=n*yl(t),Bc=n*Sl(t),Vc=Sl(e),Yc.point=Wc,Gc(Fc,Bc,Vc)}function Wc(t,e){t*=pl;var n=yl(e*=pl),r=n*yl(t),i=n*Sl(t),o=Sl(e),a=vl(Cl((a=Bc*o-Vc*i)*a+(a=Vc*r-Fc*o)*a+(a=Fc*i-Bc*r)*a),Fc*r+Bc*i+Vc*o);Ac+=a,Dc+=a*(Fc+(Fc=r)),Ic+=a*(Bc+(Bc=i)),Oc+=a*(Vc+(Vc=o)),Gc(Fc,Bc,Vc)}function $c(){Yc.point=Uc}function Zc(){Yc.point=Kc}function Xc(){Qc(Nc,zc),Yc.point=Uc}function Kc(t,e){Nc=t,zc=e,t*=pl,e*=pl,Yc.point=Qc;var n=yl(e);Fc=n*yl(t),Bc=n*Sl(t),Vc=Sl(e),Gc(Fc,Bc,Vc)}function Qc(t,e){t*=pl;var n=yl(e*=pl),r=n*yl(t),i=n*Sl(t),o=Sl(e),a=Bc*o-Vc*i,s=Vc*r-Fc*o,l=Fc*i-Bc*r,c=Cl(a*a+s*s+l*l),u=El(c),h=c&&-u/c;Pc+=h*a,Lc+=h*s,Rc+=h*l,Ac+=u,Dc+=u*(Fc+(Fc=r)),Ic+=u*(Bc+(Bc=i)),Oc+=u*(Vc+(Vc=o)),Gc(Fc,Bc,Vc)}var Jc=function(t){Cc=Ac=Tc=Ec=Mc=Dc=Ic=Oc=Pc=Lc=Rc=0,jl(t,Yc);var e=Pc,n=Lc,r=Rc,i=e*e+n*n+r*r;return i<1e-12&&(e=Dc,n=Ic,r=Oc,Ac<1e-6&&(e=Tc,n=Ec,r=Mc),(i=e*e+n*n+r*r)<1e-12)?[NaN,NaN]:[vl(n,e)*fl,El(r/Cl(i))*fl]},tu=function(t){return function(){return t}},eu=function(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n};function nu(t,e){return[gl(t)>cl?t+Math.round(-t/dl)*dl:t,e]}function ru(t,e,n){return(t%=dl)?e||n?eu(ou(t),au(e,n)):ou(t):e||n?au(e,n):nu}function iu(t){return function(e,n){return[(e+=t)>cl?e-dl:e<-cl?e+dl:e,n]}}function ou(t){var e=iu(t);return e.invert=iu(-t),e}function au(t,e){var n=yl(t),r=Sl(t),i=yl(e),o=Sl(e);function a(t,e){var a=yl(e),s=yl(t)*a,l=Sl(t)*a,c=Sl(e),u=c*n+s*r;return[vl(l*i-u*o,s*n-c*r),El(u*i+l*o)]}return a.invert=function(t,e){var a=yl(e),s=yl(t)*a,l=Sl(t)*a,c=Sl(e),u=c*i-l*o;return[vl(l*i+c*o,s*n+u*r),El(u*n-s*r)]},a}nu.invert=nu;var su=function(t){function e(e){return(e=t(e[0]*pl,e[1]*pl))[0]*=fl,e[1]*=fl,e}return t=ru(t[0]*pl,t[1]*pl,t.length>2?t[2]*pl:0),e.invert=function(e){return(e=t.invert(e[0]*pl,e[1]*pl))[0]*=fl,e[1]*=fl,e},e};function lu(t,e,n,r,i,o){if(n){var a=yl(e),s=Sl(e),l=r*n;null==i?(i=e+r*dl,o=e-l/2):(i=cu(a,i),o=cu(a,o),(r>0?io)&&(i+=r*dl));for(var c,u=i;r>0?u>o:u1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}},du=function(t,e){return gl(t[0]-e[0])<1e-6&&gl(t[1]-e[1])<1e-6};function fu(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}var pu=function(t,e,n,r,i){var o,a,s=[],l=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],a=t[e];if(du(r,a)){for(i.lineStart(),o=0;o=0;--o)i.point((u=c[o])[0],u[1]);else r(d.x,d.p.x,-1,i);d=d.p}c=(d=d.o).z,f=!f}while(!d.v);i.lineEnd()}}};function gu(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r=0?1:-1,C=k*S,A=C>cl,T=g*x;if(mu.add(vl(T*k*Sl(C),m*w+T*yl(C))),a+=A?S+k*dl:S,A^f>=n^b>=n){var E=Jl(Kl(d),Kl(y));nc(E);var M=Jl(o,E);nc(M);var D=(A^S>=0?-1:1)*El(M[2]);(r>D||r===D&&(E[0]||E[1]))&&(s+=A^S>=0?1:-1)}}return(a<-1e-6||a<1e-6&&mu<-1e-6)^1&s},bu=function(t,e,n,r){return function(i){var o,a,s,l=e(i),c=hu(),u=e(c),h=!1,d={point:f,lineStart:g,lineEnd:m,polygonStart:function(){d.point=v,d.lineStart=y,d.lineEnd=b,a=[],o=[]},polygonEnd:function(){d.point=f,d.lineStart=g,d.lineEnd=m,a=z(a);var t=yu(o,r);a.length?(h||(i.polygonStart(),h=!0),pu(a,xu,t,n,i)):t&&(h||(i.polygonStart(),h=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),h&&(i.polygonEnd(),h=!1),a=o=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function f(e,n){t(e,n)&&i.point(e,n)}function p(t,e){l.point(t,e)}function g(){d.point=p,l.lineStart()}function m(){d.point=f,l.lineEnd()}function v(t,e){s.push([t,e]),u.point(t,e)}function y(){u.lineStart(),s=[]}function b(){v(s[0][0],s[0][1]),u.lineEnd();var t,e,n,r,l=u.clean(),d=c.result(),f=d.length;if(s.pop(),o.push(s),s=null,f)if(1&l){if((e=(n=d[0]).length-1)>0){for(h||(i.polygonStart(),h=!0),i.lineStart(),t=0;t1&&2&l&&d.push(d.pop().concat(d.shift())),a.push(d.filter(_u))}return d}};function _u(t){return t.length>1}function xu(t,e){return((t=t.x)[0]<0?t[1]-ul-1e-6:ul-t[1])-((e=e.x)[0]<0?e[1]-ul-1e-6:ul-e[1])}var wu=bu((function(){return!0}),(function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(o,a){var s=o>0?cl:-cl,l=gl(o-n);gl(l-cl)<1e-6?(t.point(n,r=(r+a)/2>0?ul:-ul),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),t.point(o,r),e=0):i!==s&&l>=cl&&(gl(n-i)<1e-6&&(n-=1e-6*i),gl(o-s)<1e-6&&(o-=1e-6*s),r=function(t,e,n,r){var i,o,a=Sl(t-n);return gl(a)>1e-6?ml((Sl(e)*(o=yl(r))*Sl(n)-Sl(r)*(i=yl(e))*Sl(t))/(i*o*a)):(e+r)/2}(n,r,o,a),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),e=0),t.point(n=o,r=a),i=s},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}}),(function(t,e,n,r){var i;if(null==t)r.point(-cl,i=n*ul),r.point(0,i),r.point(cl,i),r.point(cl,0),r.point(cl,-i),r.point(0,-i),r.point(-cl,-i),r.point(-cl,0),r.point(-cl,i);else if(gl(t[0]-e[0])>1e-6){var o=t[0]0,i=gl(e)>1e-6;function o(t,n){return yl(t)*yl(n)>e}function a(t,n,r){var i=[1,0,0],o=Jl(Kl(t),Kl(n)),a=Ql(o,o),s=o[0],l=a-s*s;if(!l)return!r&&t;var c=e*a/l,u=-e*s/l,h=Jl(i,o),d=ec(i,c);tc(d,ec(o,u));var f=h,p=Ql(d,f),g=Ql(f,f),m=p*p-g*(Ql(d,d)-1);if(!(m<0)){var v=Cl(m),y=ec(f,(-p-v)/g);if(tc(y,d),y=Xl(y),!r)return y;var b,_=t[0],x=n[0],w=t[1],S=n[1];x<_&&(b=_,_=x,x=b);var k=x-_,C=gl(k-cl)<1e-6;if(!C&&S0^y[1]<(gl(y[0]-_)<1e-6?w:S):w<=y[1]&&y[1]<=S:k>cl^(_<=y[0]&&y[0]<=x)){var A=ec(f,(-p+v)/g);return tc(A,d),[y,Xl(A)]}}}function s(e,n){var i=r?t:cl-t,o=0;return e<-i?o|=1:e>i&&(o|=2),n<-i?o|=4:n>i&&(o|=8),o}return bu(o,(function(t){var e,n,l,c,u;return{lineStart:function(){c=l=!1,u=1},point:function(h,d){var f,p=[h,d],g=o(h,d),m=r?g?0:s(h,d):g?s(h+(h<0?cl:-cl),d):0;if(!e&&(c=l=g)&&t.lineStart(),g!==l&&(!(f=a(e,p))||du(e,f)||du(p,f))&&(p[0]+=1e-6,p[1]+=1e-6,g=o(p[0],p[1])),g!==l)u=0,g?(t.lineStart(),f=a(p,e),t.point(f[0],f[1])):(f=a(e,p),t.point(f[0],f[1]),t.lineEnd()),e=f;else if(i&&e&&r^g){var v;m&n||!(v=a(p,e,!0))||(u=0,r?(t.lineStart(),t.point(v[0][0],v[0][1]),t.point(v[1][0],v[1][1]),t.lineEnd()):(t.point(v[1][0],v[1][1]),t.lineEnd(),t.lineStart(),t.point(v[0][0],v[0][1])))}!g||e&&du(e,p)||t.point(p[0],p[1]),e=p,l=g,n=m},lineEnd:function(){l&&t.lineEnd(),e=null},clean:function(){return u|(c&&l)<<1}}}),(function(e,r,i,o){lu(o,t,n,i,e,r)}),r?[0,-t]:[-cl,t-cl])};function ku(t,e,n,r){function i(i,o){return t<=i&&i<=n&&e<=o&&o<=r}function o(i,o,s,c){var u=0,h=0;if(null==i||(u=a(i,s))!==(h=a(o,s))||l(i,o)<0^s>0)do{c.point(0===u||3===u?t:n,u>1?r:e)}while((u=(u+s+4)%4)!==h);else c.point(o[0],o[1])}function a(r,i){return gl(r[0]-t)<1e-6?i>0?0:3:gl(r[0]-n)<1e-6?i>0?2:1:gl(r[1]-e)<1e-6?i>0?1:0:i>0?3:2}function s(t,e){return l(t.x,e.x)}function l(t,e){var n=a(t,1),r=a(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(a){var l,c,u,h,d,f,p,g,m,v,y,b=a,_=hu(),x={point:w,lineStart:function(){x.point=S,c&&c.push(u=[]),v=!0,m=!1,p=g=NaN},lineEnd:function(){l&&(S(h,d),f&&m&&_.rejoin(),l.push(_.result())),x.point=w,m&&b.lineEnd()},polygonStart:function(){b=_,l=[],c=[],y=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=c.length;nr&&(d-o)*(r-a)>(f-a)*(t-o)&&++e:f<=r&&(d-o)*(r-a)<(f-a)*(t-o)&&--e;return e}(),n=y&&e,i=(l=z(l)).length;(n||i)&&(a.polygonStart(),n&&(a.lineStart(),o(null,null,1,a),a.lineEnd()),i&&pu(l,s,e,o,a),a.polygonEnd()),b=a,l=c=u=null}};function w(t,e){i(t,e)&&b.point(t,e)}function S(o,a){var s=i(o,a);if(c&&u.push([o,a]),v)h=o,d=a,f=s,v=!1,s&&(b.lineStart(),b.point(o,a));else if(s&&m)b.point(o,a);else{var l=[p=Math.max(-1e9,Math.min(1e9,p)),g=Math.max(-1e9,Math.min(1e9,g))],_=[o=Math.max(-1e9,Math.min(1e9,o)),a=Math.max(-1e9,Math.min(1e9,a))];!function(t,e,n,r,i,o){var a,s=t[0],l=t[1],c=0,u=1,h=e[0]-s,d=e[1]-l;if(a=n-s,h||!(a>0)){if(a/=h,h<0){if(a0){if(a>u)return;a>c&&(c=a)}if(a=i-s,h||!(a<0)){if(a/=h,h<0){if(a>u)return;a>c&&(c=a)}else if(h>0){if(a0)){if(a/=d,d<0){if(a0){if(a>u)return;a>c&&(c=a)}if(a=o-l,d||!(a<0)){if(a/=d,d<0){if(a>u)return;a>c&&(c=a)}else if(d>0){if(a0&&(t[0]=s+c*h,t[1]=l+c*d),u<1&&(e[0]=s+u*h,e[1]=l+u*d),!0}}}}}(l,_,t,e,n,r)?s&&(b.lineStart(),b.point(o,a),y=!1):(m||(b.lineStart(),b.point(l[0],l[1])),b.point(_[0],_[1]),s||b.lineEnd(),y=!1)}p=o,g=a,m=s}return x}}var Cu,Au,Tu,Eu=function(){var t,e,n,r=0,i=0,o=960,a=500;return n={stream:function(n){return t&&e===n?t:t=ku(r,i,o,a)(e=n)},extent:function(s){return arguments.length?(r=+s[0][0],i=+s[0][1],o=+s[1][0],a=+s[1][1],t=e=null,n):[[r,i],[o,a]]}}},Mu=ol(),Du={sphere:Dl,point:Dl,lineStart:function(){Du.point=Ou,Du.lineEnd=Iu},lineEnd:Dl,polygonStart:Dl,polygonEnd:Dl};function Iu(){Du.point=Du.lineEnd=Dl}function Ou(t,e){Cu=t*=pl,Au=Sl(e*=pl),Tu=yl(e),Du.point=Pu}function Pu(t,e){t*=pl;var n=Sl(e*=pl),r=yl(e),i=gl(t-Cu),o=yl(i),a=r*Sl(i),s=Tu*n-Au*r*o,l=Au*n+Tu*r*o;Mu.add(vl(Cl(a*a+s*s),l)),Cu=t,Au=n,Tu=r}var Lu=function(t){return Mu.reset(),jl(t,Du),+Mu},Ru=[null,null],Nu={type:"LineString",coordinates:Ru},zu=function(t,e){return Ru[0]=t,Ru[1]=e,Lu(Nu)},Fu={Feature:function(t,e){return Vu(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r0&&(i=zu(t[o],t[o-1]))>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))<1e-12*i)return!0;n=r}return!1}function Uu(t,e){return!!yu(t.map(Gu),Hu(e))}function Gu(t){return(t=t.map(Hu)).pop(),t}function Hu(t){return[t[0]*pl,t[1]*pl]}var qu=function(t,e){return(t&&Fu.hasOwnProperty(t.type)?Fu[t.type]:Vu)(t,e)};function Wu(t,e,n){var r=w(t,e-1e-6,n).concat(e);return function(t){return r.map((function(e){return[t,e]}))}}function $u(t,e,n){var r=w(t,e-1e-6,n).concat(e);return function(t){return r.map((function(e){return[e,t]}))}}function Zu(){var t,e,n,r,i,o,a,s,l,c,u,h,d=10,f=d,p=90,g=360,m=2.5;function v(){return{type:"MultiLineString",coordinates:y()}}function y(){return w(bl(r/p)*p,n,p).map(u).concat(w(bl(s/g)*g,a,g).map(h)).concat(w(bl(e/d)*d,t,d).filter((function(t){return gl(t%p)>1e-6})).map(l)).concat(w(bl(o/f)*f,i,f).filter((function(t){return gl(t%g)>1e-6})).map(c))}return v.lines=function(){return y().map((function(t){return{type:"LineString",coordinates:t}}))},v.outline=function(){return{type:"Polygon",coordinates:[u(r).concat(h(a).slice(1),u(n).reverse().slice(1),h(s).reverse().slice(1))]}},v.extent=function(t){return arguments.length?v.extentMajor(t).extentMinor(t):v.extentMinor()},v.extentMajor=function(t){return arguments.length?(s=+t[0][1],a=+t[1][1],(r=+t[0][0])>(n=+t[1][0])&&(t=r,r=n,n=t),s>a&&(t=s,s=a,a=t),v.precision(m)):[[r,s],[n,a]]},v.extentMinor=function(n){return arguments.length?(o=+n[0][1],i=+n[1][1],(e=+n[0][0])>(t=+n[1][0])&&(n=e,e=t,t=n),o>i&&(n=o,o=i,i=n),v.precision(m)):[[e,o],[t,i]]},v.step=function(t){return arguments.length?v.stepMajor(t).stepMinor(t):v.stepMinor()},v.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],v):[p,g]},v.stepMinor=function(t){return arguments.length?(d=+t[0],f=+t[1],v):[d,f]},v.precision=function(d){return arguments.length?(m=+d,l=Wu(o,i,90),c=$u(e,t,m),u=Wu(s,a,90),h=$u(r,n,m),v):m},v.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function Xu(){return Zu()()}var Ku,Qu,Ju,th,eh=function(t,e){var n=t[0]*pl,r=t[1]*pl,i=e[0]*pl,o=e[1]*pl,a=yl(r),s=Sl(r),l=yl(o),c=Sl(o),u=a*yl(n),h=a*Sl(n),d=l*yl(i),f=l*Sl(i),p=2*El(Cl(Ml(o-r)+a*l*Ml(i-n))),g=Sl(p),m=p?function(t){var e=Sl(t*=p)/g,n=Sl(p-t)/g,r=n*u+e*d,i=n*h+e*f,o=n*s+e*c;return[vl(i,r)*fl,vl(o,Cl(r*r+i*i))*fl]}:function(){return[n*fl,r*fl]};return m.distance=p,m},nh=function(t){return t},rh=ol(),ih=ol(),oh={point:Dl,lineStart:Dl,lineEnd:Dl,polygonStart:function(){oh.lineStart=ah,oh.lineEnd=ch},polygonEnd:function(){oh.lineStart=oh.lineEnd=oh.point=Dl,rh.add(gl(ih)),ih.reset()},result:function(){var t=rh/2;return rh.reset(),t}};function ah(){oh.point=sh}function sh(t,e){oh.point=lh,Ku=Ju=t,Qu=th=e}function lh(t,e){ih.add(th*t-Ju*e),Ju=t,th=e}function ch(){lh(Ku,Qu)}var uh,hh,dh,fh,ph=oh,gh=1/0,mh=gh,vh=-gh,yh=vh,bh={point:function(t,e){tvh&&(vh=t),eyh&&(yh=e)},lineStart:Dl,lineEnd:Dl,polygonStart:Dl,polygonEnd:Dl,result:function(){var t=[[gh,mh],[vh,yh]];return vh=yh=-(mh=gh=1/0),t}},_h=0,xh=0,wh=0,Sh=0,kh=0,Ch=0,Ah=0,Th=0,Eh=0,Mh={point:Dh,lineStart:Ih,lineEnd:Lh,polygonStart:function(){Mh.lineStart=Rh,Mh.lineEnd=Nh},polygonEnd:function(){Mh.point=Dh,Mh.lineStart=Ih,Mh.lineEnd=Lh},result:function(){var t=Eh?[Ah/Eh,Th/Eh]:Ch?[Sh/Ch,kh/Ch]:wh?[_h/wh,xh/wh]:[NaN,NaN];return _h=xh=wh=Sh=kh=Ch=Ah=Th=Eh=0,t}};function Dh(t,e){_h+=t,xh+=e,++wh}function Ih(){Mh.point=Oh}function Oh(t,e){Mh.point=Ph,Dh(dh=t,fh=e)}function Ph(t,e){var n=t-dh,r=e-fh,i=Cl(n*n+r*r);Sh+=i*(dh+t)/2,kh+=i*(fh+e)/2,Ch+=i,Dh(dh=t,fh=e)}function Lh(){Mh.point=Dh}function Rh(){Mh.point=zh}function Nh(){Fh(uh,hh)}function zh(t,e){Mh.point=Fh,Dh(uh=dh=t,hh=fh=e)}function Fh(t,e){var n=t-dh,r=e-fh,i=Cl(n*n+r*r);Sh+=i*(dh+t)/2,kh+=i*(fh+e)/2,Ch+=i,Ah+=(i=fh*t-dh*e)*(dh+t),Th+=i*(fh+e),Eh+=3*i,Dh(dh=t,fh=e)}var Bh=Mh;function Vh(t){this._context=t}Vh.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,dl)}},result:Dl};var jh,Yh,Uh,Gh,Hh,qh=ol(),Wh={point:Dl,lineStart:function(){Wh.point=$h},lineEnd:function(){jh&&Zh(Yh,Uh),Wh.point=Dl},polygonStart:function(){jh=!0},polygonEnd:function(){jh=null},result:function(){var t=+qh;return qh.reset(),t}};function $h(t,e){Wh.point=Zh,Yh=Gh=t,Uh=Hh=e}function Zh(t,e){qh.add(Cl((Gh-=t)*Gh+(Hh-=e)*Hh)),Gh=t,Hh=e}var Xh=Wh;function Kh(){this._string=[]}function Qh(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}Kh.prototype={_radius:4.5,_circle:Qh(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=Qh(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var Jh=function(t,e){var n,r,i=4.5;function o(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),jl(t,n(r))),r.result()}return o.area=function(t){return jl(t,n(ph)),ph.result()},o.measure=function(t){return jl(t,n(Xh)),Xh.result()},o.bounds=function(t){return jl(t,n(bh)),bh.result()},o.centroid=function(t){return jl(t,n(Bh)),Bh.result()},o.projection=function(e){return arguments.length?(n=null==e?(t=null,nh):(t=e).stream,o):t},o.context=function(t){return arguments.length?(r=null==t?(e=null,new Kh):new Vh(e=t),"function"!=typeof i&&r.pointRadius(i),o):e},o.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),o):i},o.projection(t).context(e)},td=function(t){return{stream:ed(t)}};function ed(t){return function(e){var n=new nd;for(var r in t)n[r]=t[r];return n.stream=e,n}}function nd(){}function rd(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),jl(n,t.stream(bh)),e(bh.result()),null!=r&&t.clipExtent(r),t}function id(t,e,n){return rd(t,(function(n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],o=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),a=+e[0][0]+(r-o*(n[1][0]+n[0][0]))/2,s=+e[0][1]+(i-o*(n[1][1]+n[0][1]))/2;t.scale(150*o).translate([a,s])}),n)}function od(t,e,n){return id(t,[[0,0],e],n)}function ad(t,e,n){return rd(t,(function(n){var r=+e,i=r/(n[1][0]-n[0][0]),o=(r-i*(n[1][0]+n[0][0]))/2,a=-i*n[0][1];t.scale(150*i).translate([o,a])}),n)}function sd(t,e,n){return rd(t,(function(n){var r=+e,i=r/(n[1][1]-n[0][1]),o=-i*n[0][0],a=(r-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([o,a])}),n)}nd.prototype={constructor:nd,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var ld=yl(30*pl),cd=function(t,e){return+e?function(t,e){function n(r,i,o,a,s,l,c,u,h,d,f,p,g,m){var v=c-r,y=u-i,b=v*v+y*y;if(b>4*e&&g--){var _=a+d,x=s+f,w=l+p,S=Cl(_*_+x*x+w*w),k=El(w/=S),C=gl(gl(w)-1)<1e-6||gl(o-h)<1e-6?(o+h)/2:vl(x,_),A=t(C,k),T=A[0],E=A[1],M=T-r,D=E-i,I=y*M-v*D;(I*I/b>e||gl((v*M+y*D)/b-.5)>.3||a*d+s*f+l*p2?t[2]%360*pl:0,M()):[m*fl,v*fl,y*fl]},T.angle=function(t){return arguments.length?(b=t%360*pl,M()):b*fl},T.reflectX=function(t){return arguments.length?(_=t?-1:1,M()):_<0},T.reflectY=function(t){return arguments.length?(x=t?-1:1,M()):x<0},T.precision=function(t){return arguments.length?(a=cd(s,A=t*t),D()):Cl(A)},T.fitExtent=function(t,e){return id(T,t,e)},T.fitSize=function(t,e){return od(T,t,e)},T.fitWidth=function(t,e){return ad(T,t,e)},T.fitHeight=function(t,e){return sd(T,t,e)},function(){return e=t.apply(this,arguments),T.invert=e.invert&&E,M()}}function gd(t){var e=0,n=cl/3,r=pd(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*pl,n=t[1]*pl):[e*fl,n*fl]},i}function md(t,e){var n=Sl(t),r=(n+Sl(e))/2;if(gl(r)<1e-6)return function(t){var e=yl(t);function n(t,n){return[t*e,Sl(n)/e]}return n.invert=function(t,n){return[t/e,El(n*e)]},n}(t);var i=1+n*(2*r-n),o=Cl(i)/r;function a(t,e){var n=Cl(i-2*r*Sl(e))/r;return[n*Sl(t*=r),o-n*yl(t)]}return a.invert=function(t,e){var n=o-e,a=vl(t,gl(n))*kl(n);return n*r<0&&(a-=cl*kl(t)*kl(n)),[a/r,El((i-(t*t+n*n)*r*r)/(2*r))]},a}var vd=function(){return gd(md).scale(155.424).center([0,33.6442])},yd=function(){return vd().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},bd=function(){var t,e,n,r,i,o,a=yd(),s=vd().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=vd().rotate([157,0]).center([-3,19.9]).parallels([8,18]),c={point:function(t,e){o=[t,e]}};function u(t){var e=t[0],a=t[1];return o=null,n.point(e,a),o||(r.point(e,a),o)||(i.point(e,a),o)}function h(){return t=e=null,u}return u.invert=function(t){var e=a.scale(),n=a.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?s:i>=.166&&i<.234&&r>=-.214&&r<-.115?l:a).invert(t)},u.stream=function(n){return t&&e===n?t:(r=[a.stream(e=n),s.stream(n),l.stream(n)],i=r.length,t={point:function(t,e){for(var n=-1;++n0?e<1e-6-ul&&(e=1e-6-ul):e>ul-1e-6&&(e=ul-1e-6);var n=i/wl(Md(e),r);return[n*Sl(r*t),i-n*yl(r*t)]}return o.invert=function(t,e){var n=i-e,o=kl(r)*Cl(t*t+n*n),a=vl(t,gl(n))*kl(n);return n*r<0&&(a-=cl*kl(t)*kl(n)),[a/r,2*ml(wl(i/o,1/r))-ul]},o}var Id=function(){return gd(Dd).scale(109.5).parallels([30,30])};function Od(t,e){return[t,e]}Od.invert=Od;var Pd=function(){return fd(Od).scale(152.63)};function Ld(t,e){var n=yl(t),r=t===e?Sl(t):(n-yl(e))/(e-t),i=n/r+t;if(gl(r)<1e-6)return Od;function o(t,e){var n=i-e,o=r*t;return[n*Sl(o),i-n*yl(o)]}return o.invert=function(t,e){var n=i-e,o=vl(t,gl(n))*kl(n);return n*r<0&&(o-=cl*kl(t)*kl(n)),[o/r,i-kl(r)*Cl(t*t+n*n)]},o}var Rd=function(){return gd(Ld).scale(131.154).center([0,13.9389])},Nd=1.340264,zd=-.081106,Fd=893e-6,Bd=.003796,Vd=Cl(3)/2;function jd(t,e){var n=El(Vd*Sl(e)),r=n*n,i=r*r*r;return[t*yl(n)/(Vd*(Nd+3*zd*r+i*(7*Fd+9*Bd*r))),n*(Nd+zd*r+i*(Fd+Bd*r))]}jd.invert=function(t,e){for(var n,r=e,i=r*r,o=i*i*i,a=0;a<12&&(o=(i=(r-=n=(r*(Nd+zd*i+o*(Fd+Bd*i))-e)/(Nd+3*zd*i+o*(7*Fd+9*Bd*i)))*r)*i*i,!(gl(n)<1e-12));++a);return[Vd*t*(Nd+3*zd*i+o*(7*Fd+9*Bd*i))/yl(r),El(Sl(r)/Vd)]};var Yd=function(){return fd(jd).scale(177.158)};function Ud(t,e){var n=yl(e),r=yl(t)*n;return[n*Sl(t)/r,Sl(e)/r]}Ud.invert=xd(ml);var Gd=function(){return fd(Ud).scale(144.049).clipAngle(60)},Hd=function(){var t,e,n,r,i,o,a,s=1,l=0,c=0,u=1,h=1,d=0,f=null,p=1,g=1,m=ed({point:function(t,e){var n=b([t,e]);this.stream.point(n[0],n[1])}}),v=nh;function y(){return p=s*u,g=s*h,o=a=null,b}function b(n){var r=n[0]*p,i=n[1]*g;if(d){var o=i*t-r*e;r=r*t+i*e,i=o}return[r+l,i+c]}return b.invert=function(n){var r=n[0]-l,i=n[1]-c;if(d){var o=i*t+r*e;r=r*t-i*e,i=o}return[r/p,i/g]},b.stream=function(t){return o&&a===t?o:o=m(v(a=t))},b.postclip=function(t){return arguments.length?(v=t,f=n=r=i=null,y()):v},b.clipExtent=function(t){return arguments.length?(v=null==t?(f=n=r=i=null,nh):ku(f=+t[0][0],n=+t[0][1],r=+t[1][0],i=+t[1][1]),y()):null==f?null:[[f,n],[r,i]]},b.scale=function(t){return arguments.length?(s=+t,y()):s},b.translate=function(t){return arguments.length?(l=+t[0],c=+t[1],y()):[l,c]},b.angle=function(n){return arguments.length?(e=Sl(d=n%360*pl),t=yl(d),y()):d*fl},b.reflectX=function(t){return arguments.length?(u=t?-1:1,y()):u<0},b.reflectY=function(t){return arguments.length?(h=t?-1:1,y()):h<0},b.fitExtent=function(t,e){return id(b,t,e)},b.fitSize=function(t,e){return od(b,t,e)},b.fitWidth=function(t,e){return ad(b,t,e)},b.fitHeight=function(t,e){return sd(b,t,e)},b};function qd(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}qd.invert=function(t,e){var n,r=e,i=25;do{var o=r*r,a=o*o;r-=n=(r*(1.007226+o*(.015085+a*(.028874*o-.044475-.005916*a)))-e)/(1.007226+o*(.045255+a*(.259866*o-.311325-.005916*11*a)))}while(gl(n)>1e-6&&--i>0);return[t/(.8707+(o=r*r)*(o*(o*o*o*(.003971-.001529*o)-.013791)-.131979)),r]};var Wd=function(){return fd(qd).scale(175.295)};function $d(t,e){return[yl(e)*Sl(t),Sl(e)]}$d.invert=xd(El);var Zd=function(){return fd($d).scale(249.5).clipAngle(90.000001)};function Xd(t,e){var n=yl(e),r=1+yl(t)*n;return[n*Sl(t)/r,Sl(e)/r]}Xd.invert=xd((function(t){return 2*ml(t)}));var Kd=function(){return fd(Xd).scale(250).clipAngle(142)};function Qd(t,e){return[xl(Al((ul+e)/2)),-t]}Qd.invert=function(t,e){return[-e,2*ml(_l(t))-ul]};var Jd=function(){var t=Ed(Qd),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)};function tf(t,e){return t.parent===e.parent?1:2}function ef(t,e){return t+e.x}function nf(t,e){return Math.max(t,e.y)}var rf=function(){var t=tf,e=1,n=1,r=!1;function i(i){var o,a=0;i.eachAfter((function(e){var n=e.children;n?(e.x=function(t){return t.reduce(ef,0)/t.length}(n),e.y=function(t){return 1+t.reduce(nf,0)}(n)):(e.x=o?a+=t(e,o):0,e.y=0,o=e)}));var s=function(t){for(var e;e=t.children;)t=e[0];return t}(i),l=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),c=s.x-t(s,l)/2,u=l.x+t(l,s)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-c)/(u-c)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i};function of(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function af(t,e){var n,r,i,o,a,s=new uf(t),l=+t.value&&(s.value=t.value),c=[s];for(null==e&&(e=sf);n=c.pop();)if(l&&(n.value=+n.data.value),(i=e(n.data))&&(a=i.length))for(n.children=new Array(a),o=a-1;o>=0;--o)c.push(r=n.children[o]=new uf(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(cf)}function sf(t){return t.children}function lf(t){t.data=t.data.data}function cf(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function uf(t){this.data=t,this.depth=this.height=0,this.parent=null}uf.prototype=af.prototype={constructor:uf,count:function(){return this.eachAfter(of)},each:function(t){var e,n,r,i,o=this,a=[o];do{for(e=a.reverse(),a=[];o=e.pop();)if(t(o),n=o.children)for(r=0,i=n.length;r=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each((function(e){t.push(e)})),t},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return af(this).eachBefore(lf)}};var hf=Array.prototype.slice,df=function(t){for(var e,n,r=0,i=(t=function(t){for(var e,n,r=t.length;r;)n=Math.random()*r--|0,e=t[r],t[r]=t[n],t[n]=e;return t}(hf.call(t))).length,o=[];r0&&n*n>r*r+i*i}function mf(t,e){for(var n=0;n(a*=a)?(r=(c+a-i)/(2*c),o=Math.sqrt(Math.max(0,a/c-r*r)),n.x=t.x-r*s-o*l,n.y=t.y-r*l+o*s):(r=(c+i-a)/(2*c),o=Math.sqrt(Math.max(0,i/c-r*r)),n.x=e.x+r*s-o*l,n.y=e.y+r*l+o*s)):(n.x=e.x+n.r,n.y=e.y)}function xf(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function wf(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,o=(e.y*n.r+n.y*e.r)/r;return i*i+o*o}function Sf(t){this._=t,this.next=null,this.previous=null}function kf(t){if(!(i=t.length))return 0;var e,n,r,i,o,a,s,l,c,u,h;if((e=t[0]).x=0,e.y=0,!(i>1))return e.r;if(e.x=-(n=t[1]).r,n.x=e.r,n.y=0,!(i>2))return e.r+n.r;_f(n,e,r=t[2]),e=new Sf(e),n=new Sf(n),r=new Sf(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(s=3;s0)throw new Error("cycle");return o}return n.id=function(e){return arguments.length?(t=Tf(e),n):t},n.parentId=function(t){return arguments.length?(e=Tf(t),n):e},n};function Uf(t,e){return t.parent===e.parent?1:2}function Gf(t){var e=t.children;return e?e[0]:t.t}function Hf(t){var e=t.children;return e?e[e.length-1]:t.t}function qf(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function Wf(t,e,n){return t.a.parent===e.parent?t.a:n}function $f(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}$f.prototype=Object.create(uf.prototype);var Zf=function(){var t=Uf,e=1,n=1,r=null;function i(i){var l=function(t){for(var e,n,r,i,o,a=new $f(t,0),s=[a];e=s.pop();)if(r=e._.children)for(e.children=new Array(o=r.length),i=o-1;i>=0;--i)s.push(n=e.children[i]=new $f(r[i],i)),n.parent=e;return(a.parent=new $f(null,0)).children=[a],a}(i);if(l.eachAfter(o),l.parent.m=-l.z,l.eachBefore(a),r)i.eachBefore(s);else{var c=i,u=i,h=i;i.eachBefore((function(t){t.xu.x&&(u=t),t.depth>h.depth&&(h=t)}));var d=c===u?1:t(c,u)/2,f=d-c.x,p=e/(u.x+d+f),g=n/(h.depth||1);i.eachBefore((function(t){t.x=(t.x+f)*p,t.y=t.depth*g}))}return i}function o(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,o=i.length;--o>=0;)(e=i[o]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var o=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-o):e.z=o}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,o=e,a=e,s=n,l=o.parent.children[0],c=o.m,u=a.m,h=s.m,d=l.m;s=Hf(s),o=Gf(o),s&&o;)l=Gf(l),(a=Hf(a)).a=e,(i=s.z+h-o.z-c+t(s._,o._))>0&&(qf(Wf(s,e,r),e,i),c+=i,u+=i),h+=s.m,c+=o.m,d+=l.m,u+=a.m;s&&!Hf(a)&&(a.t=s,a.m+=h-u),o&&!Gf(l)&&(l.t=o,l.m+=c-d,r=e)}return r}(e,i,e.parent.A||r[0])}function a(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*n}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i},Xf=function(t,e,n,r,i){for(var o,a=t.children,s=-1,l=a.length,c=t.value&&(i-n)/t.value;++sd&&(d=s),m=u*u*g,(f=Math.max(d/m,m/h))>p){u-=s;break}p=f}v.push(a={value:u,dice:l1?e:1)},n}(Kf),tp=function(){var t=Jf,e=!1,n=1,r=1,i=[0],o=Ef,a=Ef,s=Ef,l=Ef,c=Ef;function u(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(h),i=[0],e&&t.eachBefore(Rf),t}function h(e){var n=i[e.depth],r=e.x0+n,u=e.y0+n,h=e.x1-n,d=e.y1-n;h=n-1){var u=s[e];return u.x0=i,u.y0=o,u.x1=a,void(u.y1=l)}for(var h=c[e],d=r/2+h,f=e+1,p=n-1;f>>1;c[g]l-o){var y=(i*v+a*m)/r;t(e,f,m,i,o,y,l),t(f,n,v,y,o,a,l)}else{var b=(o*v+l*m)/r;t(e,f,m,i,o,a,b),t(f,n,v,i,b,a,l)}}(0,l,t.value,e,n,r,i)},np=function(t,e,n,r,i){(1&t.depth?Xf:Nf)(t,e,n,r,i)},rp=function t(e){function n(t,n,r,i,o){if((a=t._squarify)&&a.ratio===e)for(var a,s,l,c,u,h=-1,d=a.length,f=t.value;++h1?e:1)},n}(Kf),ip=function(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}},op=function(t,e){var n=cn(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}},ap=function(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}},sp=Math.SQRT2;function lp(t){return((t=Math.exp(t))+1/t)/2}var cp=function(t,e){var n,r,i=t[0],o=t[1],a=t[2],s=e[2],l=e[0]-i,c=e[1]-o,u=l*l+c*c;if(u<1e-12)r=Math.log(s/a)/sp,n=function(t){return[i+t*l,o+t*c,a*Math.exp(sp*t*r)]};else{var h=Math.sqrt(u),d=(s*s-a*a+4*u)/(2*a*2*h),f=(s*s-a*a-4*u)/(2*s*2*h),p=Math.log(Math.sqrt(d*d+1)-d),g=Math.log(Math.sqrt(f*f+1)-f);r=(g-p)/sp,n=function(t){var e,n=t*r,s=lp(p),u=a/(2*h)*(s*(e=sp*n+p,((e=Math.exp(2*e))-1)/(e+1))-function(t){return((t=Math.exp(t))-1/t)/2}(p));return[i+u*l,o+u*c,a*s/lp(sp*n+p)]}}return n.duration=1e3*r,n};function up(t){return function(e,n){var r=t((e=tn(e)).h,(n=tn(n)).h),i=un(e.s,n.s),o=un(e.l,n.l),a=un(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=o(t),e.opacity=a(t),e+""}}}var hp=up(cn),dp=up(un);function fp(t,e){var n=un((t=po(t)).l,(e=po(e)).l),r=un(t.a,e.a),i=un(t.b,e.b),o=un(t.opacity,e.opacity);return function(e){return t.l=n(e),t.a=r(e),t.b=i(e),t.opacity=o(e),t+""}}function pp(t){return function(e,n){var r=t((e=wo(e)).h,(n=wo(n)).h),i=un(e.c,n.c),o=un(e.l,n.l),a=un(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=o(t),e.opacity=a(t),e+""}}}var gp=pp(cn),mp=pp(un);function vp(t){return function e(n){function r(e,r){var i=t((e=Do(e)).h,(r=Do(r)).h),o=un(e.s,r.s),a=un(e.l,r.l),s=un(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=o(t),e.l=a(Math.pow(t,n)),e.opacity=s(t),e+""}}return n=+n,r.gamma=e,r}(1)}var yp=vp(cn),bp=vp(un);function _p(t,e){for(var n=0,r=e.length-1,i=e[0],o=new Array(r<0?0:r);n1&&((n=t[o[a-1]])[0]-(e=t[o[a-2]])[0])*((r=t[s])[1]-e[1])-(n[1]-e[1])*(r[0]-e[0])<=0;)--a;o[a++]=s}return o.slice(0,a)}var Ap=function(t){if((n=t.length)<3)return null;var e,n,r=new Array(n),i=new Array(n);for(e=0;e=0;--e)c.push(t[r[o[e]][2]]);for(e=+s;es!=c>s&&a<(l-n)*(s-r)/(c-r)+n&&(u=!u),l=n,c=r;return u},Ep=function(t){for(var e,n,r=-1,i=t.length,o=t[i-1],a=o[0],s=o[1],l=0;++r1);return t+n*o*Math.sqrt(-2*Math.log(i)/i)}}return n.source=t,n}(Mp),Op=function t(e){function n(){var t=Ip.source(e).apply(this,arguments);return function(){return Math.exp(t())}}return n.source=t,n}(Mp),Pp=function t(e){function n(t){return function(){for(var n=0,r=0;rr&&(e=n,n=r,r=e),function(t){return Math.max(n,Math.min(r,t))}}function Kp(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i2?Qp:Kp,i=o=null,h}function h(e){return isNaN(e=+e)?n:(i||(i=r(a.map(t),s,l)))(t(c(e)))}return h.invert=function(n){return c(e((o||(o=r(s,a.map(t),wn)))(n)))},h.domain=function(t){return arguments.length?(a=Bp.call(t,qp),c===$p||(c=Xp(a)),u()):a.slice()},h.range=function(t){return arguments.length?(s=Vp.call(t),u()):s.slice()},h.rangeRound=function(t){return s=Vp.call(t),l=ap,u()},h.clamp=function(t){return arguments.length?(c=t?Xp(a):$p,h):c!==$p},h.interpolate=function(t){return arguments.length?(l=t,u()):l},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,u()}}function eg(t,e){return tg()(t,e)}var ng=function(t,e,n,r){var i,o=E(t,e,n);switch((r=Us(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=rl(o,a))||(r.precision=i),$s(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=il(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=nl(o))||(r.precision=i-2*("%"===r.type))}return Ws(r)};function rg(t){var e=t.domain;return t.ticks=function(t){var n=e();return A(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return ng(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i=e(),o=0,a=i.length-1,s=i[o],l=i[a];return l0?r=T(s=Math.floor(s/r)*r,l=Math.ceil(l/r)*r,n):r<0&&(r=T(s=Math.ceil(s*r)/r,l=Math.floor(l*r)/r,n)),r>0?(i[o]=Math.floor(s/r)*r,i[a]=Math.ceil(l/r)*r,e(i)):r<0&&(i[o]=Math.ceil(s*r)/r,i[a]=Math.floor(l*r)/r,e(i)),t},t}function ig(){var t=eg($p,$p);return t.copy=function(){return Jp(t,ig())},Np.apply(t,arguments),rg(t)}function og(t){var e;function n(t){return isNaN(t=+t)?e:t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Bp.call(e,qp),n):t.slice()},n.unknown=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return og(t).unknown(e)},t=arguments.length?Bp.call(t,qp):[0,1],rg(n)}var ag=function(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a0){for(;dl)break;g.push(h)}}else for(;d=1;--u)if(!((h=c*u)l)break;g.push(h)}}else g=A(d,f,Math.min(f-d,p)).map(n);return r?g.reverse():g},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=Ws(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/n(Math.round(e(t)));return r*o0?i[r-1]:e[0],r=r?[i[r-1],n]:[i[a-1],i[a]]},a.unknown=function(e){return arguments.length?(t=e,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return Ag().domain([e,n]).range(o).unknown(t)},Np.apply(rg(a),arguments)}function Tg(){var t,e=[.5],n=[0,1],r=1;function i(i){return i<=i?n[l(e,i,0,r)]:t}return i.domain=function(t){return arguments.length?(e=Vp.call(t),r=Math.min(e.length,n.length-1),i):e.slice()},i.range=function(t){return arguments.length?(n=Vp.call(t),r=Math.min(e.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return Tg().domain(e).range(n).unknown(t)},Np.apply(i,arguments)}var Eg=new Date,Mg=new Date;function Dg(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e0))return s;do{s.push(a=new Date(+n)),e(n,o),t(n)}while(a=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return Eg.setTime(+e),Mg.setTime(+r),t(Eg),t(Mg),Math.floor(n(Eg,Mg))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var Ig=Dg((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));Ig.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Dg((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};var Og=Ig,Pg=Ig.range,Lg=Dg((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})),Rg=Lg,Ng=Lg.range;function zg(t){return Dg((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5}))}var Fg=zg(0),Bg=zg(1),Vg=zg(2),jg=zg(3),Yg=zg(4),Ug=zg(5),Gg=zg(6),Hg=Fg.range,qg=Bg.range,Wg=Vg.range,$g=jg.range,Zg=Yg.range,Xg=Ug.range,Kg=Gg.range,Qg=Dg((function(t){t.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5}),(function(t){return t.getDate()-1})),Jg=Qg,tm=Qg.range,em=Dg((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())}),(function(t,e){t.setTime(+t+36e5*e)}),(function(t,e){return(e-t)/36e5}),(function(t){return t.getHours()})),nm=em,rm=em.range,im=Dg((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())}),(function(t,e){t.setTime(+t+6e4*e)}),(function(t,e){return(e-t)/6e4}),(function(t){return t.getMinutes()})),om=im,am=im.range,sm=Dg((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+1e3*e)}),(function(t,e){return(e-t)/1e3}),(function(t){return t.getUTCSeconds()})),lm=sm,cm=sm.range,um=Dg((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));um.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Dg((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):um:null};var hm=um,dm=um.range;function fm(t){return Dg((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/6048e5}))}var pm=fm(0),gm=fm(1),mm=fm(2),vm=fm(3),ym=fm(4),bm=fm(5),_m=fm(6),xm=pm.range,wm=gm.range,Sm=mm.range,km=vm.range,Cm=ym.range,Am=bm.range,Tm=_m.range,Em=Dg((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/864e5}),(function(t){return t.getUTCDate()-1})),Mm=Em,Dm=Em.range,Im=Dg((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));Im.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Dg((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};var Om=Im,Pm=Im.range;function Lm(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Rm(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Nm(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function zm(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,s=t.months,l=t.shortMonths,c=Zm(i),u=Xm(i),h=Zm(o),d=Xm(o),f=Zm(a),p=Xm(a),g=Zm(s),m=Xm(s),v=Zm(l),y=Xm(l),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:vv,e:vv,f:wv,H:yv,I:bv,j:_v,L:xv,m:Sv,M:kv,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Qv,s:Jv,S:Cv,u:Av,U:Tv,V:Ev,w:Mv,W:Dv,x:null,X:null,y:Iv,Y:Ov,Z:Pv,"%":Kv},_={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Lv,e:Lv,f:Bv,H:Rv,I:Nv,j:zv,L:Fv,m:Vv,M:jv,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Qv,s:Jv,S:Yv,u:Uv,U:Gv,V:Hv,w:qv,W:Wv,x:null,X:null,y:$v,Y:Zv,Z:Xv,"%":Kv},x={a:function(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=p[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=d[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=v.exec(e.slice(n));return r?(t.m=y[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=m[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,n,r){return k(t,e,n,r)},d:sv,e:sv,f:fv,H:cv,I:cv,j:lv,L:dv,m:av,M:uv,p:function(t,e,n){var r=c.exec(e.slice(n));return r?(t.p=u[r[0].toLowerCase()],n+r[0].length):-1},q:ov,Q:gv,s:mv,S:hv,u:Qm,U:Jm,V:tv,w:Km,W:ev,x:function(t,e,r){return k(t,n,e,r)},X:function(t,e,n){return k(t,r,e,n)},y:rv,Y:nv,Z:iv,"%":pv};function w(t,e){return function(n){var r,i,o,a=[],s=-1,l=0,c=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=Rm(Nm(o.y,0,1))).getUTCDay(),r=i>4||0===i?gm.ceil(r):gm(r),r=Mm.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Lm(Nm(o.y,0,1))).getDay(),r=i>4||0===i?Bg.ceil(r):Bg(r),r=Jg.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?Rm(Nm(o.y,0,1)).getUTCDay():Lm(Nm(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,Rm(o)):Lm(o)}}function k(t,e,n,r){for(var i,o,a=0,s=e.length,l=n.length;a=l)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=x[i in Um?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),_.x=w(n,_),_.X=w(r,_),_.c=w(e,_),{format:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=S(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",_);return e.toString=function(){return t},e},utcParse:function(t){var e=S(t+="",!0);return e.toString=function(){return t},e}}}var Fm,Bm,Vm,jm,Ym,Um={"-":"",_:" ",0:"0"},Gm=/^\s*\d+/,Hm=/^%/,qm=/[\\^$*+?|[\]().{}]/g;function Wm(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o68?1900:2e3),n+r[0].length):-1}function iv(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function ov(t,e,n){var r=Gm.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function av(t,e,n){var r=Gm.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function sv(t,e,n){var r=Gm.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function lv(t,e,n){var r=Gm.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function cv(t,e,n){var r=Gm.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function uv(t,e,n){var r=Gm.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function hv(t,e,n){var r=Gm.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function dv(t,e,n){var r=Gm.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function fv(t,e,n){var r=Gm.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function pv(t,e,n){var r=Hm.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function gv(t,e,n){var r=Gm.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function mv(t,e,n){var r=Gm.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function vv(t,e){return Wm(t.getDate(),e,2)}function yv(t,e){return Wm(t.getHours(),e,2)}function bv(t,e){return Wm(t.getHours()%12||12,e,2)}function _v(t,e){return Wm(1+Jg.count(Og(t),t),e,3)}function xv(t,e){return Wm(t.getMilliseconds(),e,3)}function wv(t,e){return xv(t,e)+"000"}function Sv(t,e){return Wm(t.getMonth()+1,e,2)}function kv(t,e){return Wm(t.getMinutes(),e,2)}function Cv(t,e){return Wm(t.getSeconds(),e,2)}function Av(t){var e=t.getDay();return 0===e?7:e}function Tv(t,e){return Wm(Fg.count(Og(t)-1,t),e,2)}function Ev(t,e){var n=t.getDay();return t=n>=4||0===n?Yg(t):Yg.ceil(t),Wm(Yg.count(Og(t),t)+(4===Og(t).getDay()),e,2)}function Mv(t){return t.getDay()}function Dv(t,e){return Wm(Bg.count(Og(t)-1,t),e,2)}function Iv(t,e){return Wm(t.getFullYear()%100,e,2)}function Ov(t,e){return Wm(t.getFullYear()%1e4,e,4)}function Pv(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Wm(e/60|0,"0",2)+Wm(e%60,"0",2)}function Lv(t,e){return Wm(t.getUTCDate(),e,2)}function Rv(t,e){return Wm(t.getUTCHours(),e,2)}function Nv(t,e){return Wm(t.getUTCHours()%12||12,e,2)}function zv(t,e){return Wm(1+Mm.count(Om(t),t),e,3)}function Fv(t,e){return Wm(t.getUTCMilliseconds(),e,3)}function Bv(t,e){return Fv(t,e)+"000"}function Vv(t,e){return Wm(t.getUTCMonth()+1,e,2)}function jv(t,e){return Wm(t.getUTCMinutes(),e,2)}function Yv(t,e){return Wm(t.getUTCSeconds(),e,2)}function Uv(t){var e=t.getUTCDay();return 0===e?7:e}function Gv(t,e){return Wm(pm.count(Om(t)-1,t),e,2)}function Hv(t,e){var n=t.getUTCDay();return t=n>=4||0===n?ym(t):ym.ceil(t),Wm(ym.count(Om(t),t)+(4===Om(t).getUTCDay()),e,2)}function qv(t){return t.getUTCDay()}function Wv(t,e){return Wm(gm.count(Om(t)-1,t),e,2)}function $v(t,e){return Wm(t.getUTCFullYear()%100,e,2)}function Zv(t,e){return Wm(t.getUTCFullYear()%1e4,e,4)}function Xv(){return"+0000"}function Kv(){return"%"}function Qv(t){return+t}function Jv(t){return Math.floor(+t/1e3)}function ty(t){return Fm=zm(t),Bm=Fm.format,Vm=Fm.parse,jm=Fm.utcFormat,Ym=Fm.utcParse,Fm}function ey(t){return new Date(t)}function ny(t){return t instanceof Date?+t:+new Date(+t)}function ry(t,e,n,r,o,a,s,l,c){var u=eg($p,$p),h=u.invert,d=u.domain,f=c(".%L"),p=c(":%S"),g=c("%I:%M"),m=c("%I %p"),v=c("%a %d"),y=c("%b %d"),b=c("%B"),_=c("%Y"),x=[[s,1,1e3],[s,5,5e3],[s,15,15e3],[s,30,3e4],[a,1,6e4],[a,5,3e5],[a,15,9e5],[a,30,18e5],[o,1,36e5],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function w(i){return(s(i)1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return Hb.h=360*t-100,Hb.s=1.5-1.5*e,Hb.l=.8-.9*e,Hb+""},Wb=We(),$b=Math.PI/3,Zb=2*Math.PI/3,Xb=function(t){var e;return t=(.5-t)*Math.PI,Wb.r=255*(e=Math.sin(t))*e,Wb.g=255*(e=Math.sin(t+$b))*e,Wb.b=255*(e=Math.sin(t+Zb))*e,Wb+""},Kb=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"};function Qb(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var Jb=Qb(My("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),t_=Qb(My("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),e_=Qb(My("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),n_=Qb(My("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),r_=function(t){return we(ne(t).call(document.documentElement))},i_=0;function o_(){return new a_}function a_(){this._="@"+(++i_).toString(36)}a_.prototype=o_.prototype={constructor:a_,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var s_=function(t){return"string"==typeof t?new be([document.querySelectorAll(t)],[document.documentElement]):new be([null==t?[]:t],ye)},l_=function(t,e){null==e&&(e=En().touches);for(var n=0,r=e?e.length:0,i=new Array(r);n1?0:t<-1?v_:Math.acos(t)}function x_(t){return t>=1?y_:t<=-1?-y_:Math.asin(t)}function w_(t){return t.innerRadius}function S_(t){return t.outerRadius}function k_(t){return t.startAngle}function C_(t){return t.endAngle}function A_(t){return t&&t.padAngle}function T_(t,e,n,r,i,o,a,s){var l=n-t,c=r-e,u=a-i,h=s-o,d=h*l-u*c;if(!(d*d<1e-12))return[t+(d=(u*(e-o)-h*(t-i))/d)*l,e+d*c]}function E_(t,e,n,r,i,o,a){var s=t-n,l=e-r,c=(a?o:-o)/m_(s*s+l*l),u=c*l,h=-c*s,d=t+u,f=e+h,p=n+u,g=r+h,m=(d+p)/2,v=(f+g)/2,y=p-d,b=g-f,_=y*y+b*b,x=i-o,w=d*g-p*f,S=(b<0?-1:1)*m_(f_(0,x*x*_-w*w)),k=(w*b-y*S)/_,C=(-w*y-b*S)/_,A=(w*b+y*S)/_,T=(-w*y+b*S)/_,E=k-m,M=C-v,D=A-m,I=T-v;return E*E+M*M>D*D+I*I&&(k=A,C=T),{cx:k,cy:C,x01:-u,y01:-h,x11:k*(i/x-1),y11:C*(i/x-1)}}var M_=function(){var t=w_,e=S_,n=c_(0),r=null,i=k_,o=C_,a=A_,s=null;function l(){var l,c,u=+t.apply(this,arguments),h=+e.apply(this,arguments),d=i.apply(this,arguments)-y_,f=o.apply(this,arguments)-y_,p=u_(f-d),g=f>d;if(s||(s=l=ji()),h1e-12)if(p>b_-1e-12)s.moveTo(h*d_(d),h*g_(d)),s.arc(0,0,h,d,f,!g),u>1e-12&&(s.moveTo(u*d_(f),u*g_(f)),s.arc(0,0,u,f,d,g));else{var m,v,y=d,b=f,_=d,x=f,w=p,S=p,k=a.apply(this,arguments)/2,C=k>1e-12&&(r?+r.apply(this,arguments):m_(u*u+h*h)),A=p_(u_(h-u)/2,+n.apply(this,arguments)),T=A,E=A;if(C>1e-12){var M=x_(C/u*g_(k)),D=x_(C/h*g_(k));(w-=2*M)>1e-12?(_+=M*=g?1:-1,x-=M):(w=0,_=x=(d+f)/2),(S-=2*D)>1e-12?(y+=D*=g?1:-1,b-=D):(S=0,y=b=(d+f)/2)}var I=h*d_(y),O=h*g_(y),P=u*d_(x),L=u*g_(x);if(A>1e-12){var R,N=h*d_(b),z=h*g_(b),F=u*d_(_),B=u*g_(_);if(p1e-12?E>1e-12?(m=E_(F,B,I,O,h,E,g),v=E_(N,z,P,L,h,E,g),s.moveTo(m.cx+m.x01,m.cy+m.y01),E1e-12&&w>1e-12?T>1e-12?(m=E_(P,L,N,z,u,-T,g),v=E_(I,O,F,B,u,-T,g),s.lineTo(m.cx+m.x01,m.cy+m.y01),T=u;--h)s.point(m[h],v[h]);s.lineEnd(),s.areaEnd()}g&&(m[c]=+t(d,c,l),v[c]=+n(d,c,l),s.point(e?+e(d,c,l):m[c],r?+r(d,c,l):v[c]))}if(f)return s=null,f+""||null}function c(){return L_().defined(i).curve(a).context(o)}return l.x=function(n){return arguments.length?(t="function"==typeof n?n:c_(+n),e=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:c_(+e),l):t},l.x1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:c_(+t),l):e},l.y=function(t){return arguments.length?(n="function"==typeof t?t:c_(+t),r=null,l):n},l.y0=function(t){return arguments.length?(n="function"==typeof t?t:c_(+t),l):n},l.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:c_(+t),l):r},l.lineX0=l.lineY0=function(){return c().x(t).y(n)},l.lineY1=function(){return c().x(t).y(r)},l.lineX1=function(){return c().x(e).y(n)},l.defined=function(t){return arguments.length?(i="function"==typeof t?t:c_(!!t),l):i},l.curve=function(t){return arguments.length?(a=t,null!=o&&(s=a(o)),l):a},l.context=function(t){return arguments.length?(null==t?o=s=null:s=a(o=t),l):o},l},N_=function(t,e){return et?1:e>=t?0:NaN},z_=function(t){return t},F_=function(){var t=z_,e=N_,n=null,r=c_(0),i=c_(b_),o=c_(0);function a(a){var s,l,c,u,h,d=a.length,f=0,p=new Array(d),g=new Array(d),m=+r.apply(this,arguments),v=Math.min(b_,Math.max(-b_,i.apply(this,arguments)-m)),y=Math.min(Math.abs(v)/d,o.apply(this,arguments)),b=y*(v<0?-1:1);for(s=0;s0&&(f+=h);for(null!=e?p.sort((function(t,n){return e(g[t],g[n])})):null!=n&&p.sort((function(t,e){return n(a[t],a[e])})),s=0,c=f?(v-d*b)/f:0;s0?h*c:0)+b,padAngle:y};return g}return a.value=function(e){return arguments.length?(t="function"==typeof e?e:c_(+e),a):t},a.sortValues=function(t){return arguments.length?(e=t,n=null,a):e},a.sort=function(t){return arguments.length?(n=t,e=null,a):n},a.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:c_(+t),a):r},a.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:c_(+t),a):i},a.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:c_(+t),a):o},a},B_=j_(I_);function V_(t){this._curve=t}function j_(t){function e(e){return new V_(t(e))}return e._curve=t,e}function Y_(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(j_(t)):e()._curve},t}V_.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var U_=function(){return Y_(L_().curve(B_))},G_=function(){var t=R_().curve(B_),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,o=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Y_(n())},delete t.lineX0,t.lineEndAngle=function(){return Y_(r())},delete t.lineX1,t.lineInnerRadius=function(){return Y_(i())},delete t.lineY0,t.lineOuterRadius=function(){return Y_(o())},delete t.lineY1,t.curve=function(t){return arguments.length?e(j_(t)):e()._curve},t},H_=function(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]},q_=Array.prototype.slice;function W_(t){return t.source}function $_(t){return t.target}function Z_(t){var e=W_,n=$_,r=O_,i=P_,o=null;function a(){var a,s=q_.call(arguments),l=e.apply(this,s),c=n.apply(this,s);if(o||(o=a=ji()),t(o,+r.apply(this,(s[0]=l,s)),+i.apply(this,s),+r.apply(this,(s[0]=c,s)),+i.apply(this,s)),a)return o=null,a+""||null}return a.source=function(t){return arguments.length?(e=t,a):e},a.target=function(t){return arguments.length?(n=t,a):n},a.x=function(t){return arguments.length?(r="function"==typeof t?t:c_(+t),a):r},a.y=function(t){return arguments.length?(i="function"==typeof t?t:c_(+t),a):i},a.context=function(t){return arguments.length?(o=null==t?null:t,a):o},a}function X_(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,i,r,i)}function K_(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+i)/2,r,n,r,i)}function Q_(t,e,n,r,i){var o=H_(e,n),a=H_(e,n=(n+i)/2),s=H_(r,n),l=H_(r,i);t.moveTo(o[0],o[1]),t.bezierCurveTo(a[0],a[1],s[0],s[1],l[0],l[1])}function J_(){return Z_(X_)}function tx(){return Z_(K_)}function ex(){var t=Z_(Q_);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var nx={draw:function(t,e){var n=Math.sqrt(e/v_);t.moveTo(n,0),t.arc(0,0,n,0,b_)}},rx={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},ix=Math.sqrt(1/3),ox=2*ix,ax={draw:function(t,e){var n=Math.sqrt(e/ox),r=n*ix;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},sx=Math.sin(v_/10)/Math.sin(7*v_/10),lx=Math.sin(b_/10)*sx,cx=-Math.cos(b_/10)*sx,ux={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=lx*n,i=cx*n;t.moveTo(0,-n),t.lineTo(r,i);for(var o=1;o<5;++o){var a=b_*o/5,s=Math.cos(a),l=Math.sin(a);t.lineTo(l*n,-s*n),t.lineTo(s*r-l*i,l*r+s*i)}t.closePath()}},hx={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},dx=Math.sqrt(3),fx={draw:function(t,e){var n=-Math.sqrt(e/(3*dx));t.moveTo(0,2*n),t.lineTo(-dx*n,-n),t.lineTo(dx*n,-n),t.closePath()}},px=Math.sqrt(3)/2,gx=1/Math.sqrt(12),mx=3*(gx/2+1),vx={draw:function(t,e){var n=Math.sqrt(e/mx),r=n/2,i=n*gx,o=r,a=n*gx+n,s=-o,l=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(s,l),t.lineTo(-.5*r-px*i,px*r+-.5*i),t.lineTo(-.5*o-px*a,px*o+-.5*a),t.lineTo(-.5*s-px*l,px*s+-.5*l),t.lineTo(-.5*r+px*i,-.5*i-px*r),t.lineTo(-.5*o+px*a,-.5*a-px*o),t.lineTo(-.5*s+px*l,-.5*l-px*s),t.closePath()}},yx=[nx,rx,ax,hx,ux,fx,vx],bx=function(){var t=c_(nx),e=c_(64),n=null;function r(){var r;if(n||(n=r=ji()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(e){return arguments.length?(t="function"==typeof e?e:c_(e),r):t},r.size=function(t){return arguments.length?(e="function"==typeof t?t:c_(+t),r):e},r.context=function(t){return arguments.length?(n=null==t?null:t,r):n},r},_x=function(){};function xx(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function wx(t){this._context=t}wx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xx(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xx(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var Sx=function(t){return new wx(t)};function kx(t){this._context=t}kx.prototype={areaStart:_x,areaEnd:_x,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:xx(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var Cx=function(t){return new kx(t)};function Ax(t){this._context=t}Ax.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xx(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var Tx=function(t){return new Ax(t)};function Ex(t,e){this._basis=new wx(t),this._beta=e}Ex.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],o=e[0],a=t[n]-i,s=e[n]-o,l=-1;++l<=n;)this._basis.point(this._beta*t[l]+(1-this._beta)*(i+(r=l/n)*a),this._beta*e[l]+(1-this._beta)*(o+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var Mx=function t(e){function n(t){return 1===e?new wx(t):new Ex(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function Dx(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Ix(t,e){this._context=t,this._k=(1-e)/6}Ix.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Dx(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Dx(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Ox=function t(e){function n(t){return new Ix(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Px(t,e){this._context=t,this._k=(1-e)/6}Px.prototype={areaStart:_x,areaEnd:_x,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Dx(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Lx=function t(e){function n(t){return new Px(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Rx(t,e){this._context=t,this._k=(1-e)/6}Rx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Dx(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Nx=function t(e){function n(t){return new Rx(t,e)}return n.tension=function(e){return t(+e)},n}(0);function zx(t,e,n){var r=t._x1,i=t._y1,o=t._x2,a=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>1e-12){var c=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,u=3*t._l23_a*(t._l23_a+t._l12_a);o=(o*c+t._x1*t._l23_2a-e*t._l12_2a)/u,a=(a*c+t._y1*t._l23_2a-n*t._l12_2a)/u}t._context.bezierCurveTo(r,i,o,a,t._x2,t._y2)}function Fx(t,e){this._context=t,this._alpha=e}Fx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:zx(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Bx=function t(e){function n(t){return e?new Fx(t,e):new Ix(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Vx(t,e){this._context=t,this._alpha=e}Vx.prototype={areaStart:_x,areaEnd:_x,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:zx(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var jx=function t(e){function n(t){return e?new Vx(t,e):new Px(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Yx(t,e){this._context=t,this._alpha=e}Yx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:zx(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Ux=function t(e){function n(t){return e?new Yx(t,e):new Rx(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Gx(t){this._context=t}Gx.prototype={areaStart:_x,areaEnd:_x,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};var Hx=function(t){return new Gx(t)};function qx(t){return t<0?-1:1}function Wx(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),s=(o*i+a*r)/(r+i);return(qx(o)+qx(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(s))||0}function $x(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Zx(t,e,n){var r=t._x0,i=t._x1,o=t._y1,a=(i-r)/3;t._context.bezierCurveTo(r+a,t._y0+a*e,i-a,o-a*n,i,o)}function Xx(t){this._context=t}function Kx(t){this._context=new Qx(t)}function Qx(t){this._context=t}function Jx(t){return new Xx(t)}function tw(t){return new Kx(t)}function ew(t){this._context=t}function nw(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var ow=function(t){return new iw(t,.5)};function aw(t){return new iw(t,0)}function sw(t){return new iw(t,1)}var lw=function(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],s=a.length;o=0;)n[e]=e;return n};function uw(t,e){return t[e]}var hw=function(){var t=c_([]),e=cw,n=lw,r=uw;function i(i){var o,a,s=t.apply(this,arguments),l=i.length,c=s.length,u=new Array(c);for(o=0;o0){for(var n,r,i,o=0,a=t[0].length;o0)for(var n,r,i,o,a,s,l=0,c=t[e[0]].length;l0?(r[0]=o,r[1]=o+=i):i<0?(r[1]=a,r[0]=a+=i):(r[0]=0,r[1]=i)},pw=function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;ao&&(o=e,r=n);return r}var yw=function(t){var e=t.map(bw);return cw(t).sort((function(t,n){return e[t]-e[n]}))};function bw(t){for(var e,n=0,r=-1,i=t.length;++r0)){if(o/=d,d<0){if(o0){if(o>h)return;o>u&&(u=o)}if(o=r-l,d||!(o<0)){if(o/=d,d<0){if(o>h)return;o>u&&(u=o)}else if(d>0){if(o0)){if(o/=f,f<0){if(o0){if(o>h)return;o>u&&(u=o)}if(o=i-c,f||!(o<0)){if(o/=f,f<0){if(o>h)return;o>u&&(u=o)}else if(f>0){if(o0||h<1)||(u>0&&(t[0]=[l+u*d,c+u*f]),h<1&&(t[1]=[l+h*d,c+h*f]),!0)}}}}}function Bw(t,e,n,r,i){var o=t[1];if(o)return!0;var a,s,l=t[0],c=t.left,u=t.right,h=c[0],d=c[1],f=u[0],p=u[1],g=(h+f)/2;if(p===d){if(g=r)return;if(h>f){if(l){if(l[1]>=i)return}else l=[g,n];o=[g,i]}else{if(l){if(l[1]1)if(h>f){if(l){if(l[1]>=i)return}else l=[(n-s)/a,n];o=[(i-s)/a,i]}else{if(l){if(l[1]=r)return}else l=[e,a*e+s];o=[r,a*r+s]}else{if(l){if(l[0]=-sS)){var f=l*l+c*c,p=u*u+h*h,g=(h*f-c*p)/d,m=(l*p-u*f)/d,v=Gw.pop()||new Hw;v.arc=t,v.site=i,v.x=g+a,v.y=(v.cy=m+s)+Math.sqrt(g*g+m*m),t.circle=v;for(var y=null,b=iS._;b;)if(v.yaS)s=s.L;else{if(!((i=o-eS(s,a))>aS)){r>-aS?(e=s.P,n=s):i>-aS?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}!function(t){rS[t.index]={site:t,halfedges:[]}}(t);var l=Xw(t);if(nS.insert(e,l),e||n){if(e===n)return Ww(e),n=Xw(e.site),nS.insert(l,n),l.edge=n.edge=Rw(e.site,l.site),qw(e),void qw(n);if(n){Ww(e),Ww(n);var c=e.site,u=c[0],h=c[1],d=t[0]-u,f=t[1]-h,p=n.site,g=p[0]-u,m=p[1]-h,v=2*(d*m-f*g),y=d*d+f*f,b=g*g+m*m,_=[(m*y-f*b)/v+u,(d*b-g*y)/v+h];zw(n.edge,c,p,_),l.edge=Rw(c,t,null,_),n.edge=Rw(t,p,null,_),qw(e),qw(n)}else l.edge=Rw(e.site,l.site)}}function tS(t,e){var n=t.site,r=n[0],i=n[1],o=i-e;if(!o)return r;var a=t.P;if(!a)return-1/0;var s=(n=a.site)[0],l=n[1],c=l-e;if(!c)return s;var u=s-r,h=1/o-1/c,d=u/c;return h?(-d+Math.sqrt(d*d-2*h*(u*u/(-2*c)-l+c/2+i-o/2)))/h+r:(r+s)/2}function eS(t,e){var n=t.N;if(n)return tS(n,e);var r=t.site;return r[1]===e?r[0]:1/0}var nS,rS,iS,oS,aS=1e-6,sS=1e-12;function lS(t,e){return e[1]-t[1]||e[0]-t[0]}function cS(t,e){var n,r,i,o=t.sort(lS).pop();for(oS=[],rS=new Array(t.length),nS=new Lw,iS=new Lw;;)if(i=Uw,o&&(!i||o[1]aS||Math.abs(i[0][1]-i[1][1])>aS)||delete oS[o]}(a,s,l,c),function(t,e,n,r){var i,o,a,s,l,c,u,h,d,f,p,g,m=rS.length,v=!0;for(i=0;iaS||Math.abs(g-d)>aS)&&(l.splice(s,0,oS.push(Nw(a,f,Math.abs(p-t)aS?[t,Math.abs(h-t)aS?[Math.abs(d-r)aS?[n,Math.abs(h-n)aS?[Math.abs(d-e)=s)return null;var l=t-i.site[0],c=e-i.site[1],u=l*l+c*c;do{i=o.cells[r=a],a=null,i.halfedges.forEach((function(n){var r=o.edges[n],s=r.left;if(s!==i.site&&s||(s=r.right)){var l=t-s[0],c=e-s[1],h=l*l+c*c;hr?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}var kS=function(){var t,e,n=yS,r=bS,i=SS,o=xS,a=wS,s=[0,1/0],l=[[-1/0,-1/0],[1/0,1/0]],c=250,u=cp,h=ut("start","zoom","end"),d=0;function f(t){t.property("__zoom",_S).on("wheel.zoom",_).on("mousedown.zoom",x).on("dblclick.zoom",w).filter(a).on("touchstart.zoom",S).on("touchmove.zoom",k).on("touchend.zoom touchcancel.zoom",C).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(t,e){return(e=Math.max(s[0],Math.min(s[1],e)))===t.k?t:new fS(e,t.x,t.y)}function g(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new fS(t.k,r,i)}function m(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function v(t,e,n){t.on("start.zoom",(function(){y(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){y(this,arguments).end()})).tween("zoom",(function(){var t=this,i=arguments,o=y(t,i),a=r.apply(t,i),s=null==n?m(a):"function"==typeof n?n.apply(t,i):n,l=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),c=t.__zoom,h="function"==typeof e?e.apply(t,i):e,d=u(c.invert(s).concat(l/c.k),h.invert(s).concat(l/h.k));return function(t){if(1===t)t=h;else{var e=d(t),n=l/e[2];t=new fS(n,s[0]-e[0]*n,s[1]-e[1]*n)}o.zoom(null,t)}}))}function y(t,e,n){return!n&&t.__zooming||new b(t,e)}function b(t,e){this.that=t,this.args=e,this.active=0,this.extent=r.apply(t,e),this.taps=0}function _(){if(n.apply(this,arguments)){var t=y(this,arguments),e=this.__zoom,r=Math.max(s[0],Math.min(s[1],e.k*Math.pow(2,o.apply(this,arguments)))),a=In(this);if(t.wheel)t.mouse[0][0]===a[0]&&t.mouse[0][1]===a[1]||(t.mouse[1]=e.invert(t.mouse[0]=a)),clearTimeout(t.wheel);else{if(e.k===r)return;t.mouse=[a,e.invert(a)],or(this),t.start()}vS(),t.wheel=setTimeout(c,150),t.zoom("mouse",i(g(p(e,r),t.mouse[0],t.mouse[1]),t.extent,l))}function c(){t.wheel=null,t.end()}}function x(){if(!e&&n.apply(this,arguments)){var t=y(this,arguments,!0),r=we(le.view).on("mousemove.zoom",c,!0).on("mouseup.zoom",u,!0),o=In(this),a=le.clientX,s=le.clientY;Ce(le.view),mS(),t.mouse=[o,this.__zoom.invert(o)],or(this),t.start()}function c(){if(vS(),!t.moved){var e=le.clientX-a,n=le.clientY-s;t.moved=e*e+n*n>d}t.zoom("mouse",i(g(t.that.__zoom,t.mouse[0]=In(t.that),t.mouse[1]),t.extent,l))}function u(){r.on("mousemove.zoom mouseup.zoom",null),Ae(le.view,t.moved),vS(),t.end()}}function w(){if(n.apply(this,arguments)){var t=this.__zoom,e=In(this),o=t.invert(e),a=t.k*(le.shiftKey?.5:2),s=i(g(p(t,a),e,o),r.apply(this,arguments),l);vS(),c>0?we(this).transition().duration(c).call(v,s,e):we(this).call(f.transform,s)}}function S(){if(n.apply(this,arguments)){var e,r,i,o,a=le.touches,s=a.length,l=y(this,arguments,le.changedTouches.length===s);for(mS(),r=0;r0&&o(u)?n>1?t(u,n-1,o,a,s):r(s,u):a||(s[s.length]=u)}return s}},XKAG:function(t,e,n){var r=n("ut/Y"),i=n("MMmD"),o=n("7GkX");t.exports=function(t){return function(e,n,a){var s=Object(e);if(!i(e)){var l=r(n,3);e=o(e),n=function(t){return l(s[t],t,s)}}var c=t(e,n,a);return c>-1?s[l?e[c]:c]:void 0}}},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return u}));var r=n("HDdC"),i=n("7o/Q"),o=n("quSY"),a=n("9ppp"),s=n("Ylt2"),l=n("2QA8");class c extends i.a{constructor(t){super(t),this.destination=t}}let u=(()=>{class t extends r.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[l.a](){return new c(this)}lift(t){const e=new h(this,this);return e.operator=t,e}next(t){if(this.closed)throw new a.a;if(!this.isStopped){const{observers:e}=this,n=e.length,r=e.slice();for(let i=0;inew h(t,e),t})();class h extends u{constructor(t,e){super(),this.destination=t,this.source=e}next(t){const{destination:e}=this;e&&e.next&&e.next(t)}error(t){const{destination:e}=this;e&&e.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:e}=this;return e?this.source.subscribe(t):o.a.EMPTY}}},XOKv:function(t,e,n){n("OXB0"),n("SA4+")},XTeY:function(t,e,n){var r=n("PEyx");t.exports=function(t,e){var n=t;return n.node().appendChild(e.label),r.applyStyle(n,e.labelStyle),n}},XYm9:function(t,e,n){var r=n("+K+b");t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},Xdfk:function(t,e,n){var r;try{r=n("4Ai+")}catch(i){}r||(r=window.graphlib),t.exports=r},XedF:function(t,e,n){var r=n("6IMF"),i=n("jlxc"),o=n("XTeY");t.exports=function(t,e,n){var a=e.label,s=t.append("g");"svg"===e.labelType?o(s,e):"string"!=typeof a||"html"===e.labelType?i(s,e):r(s,e);var l,c=s.node().getBBox();switch(n){case"top":l=-e.height/2;break;case"bottom":l=e.height/2-c.height;break;default:l=-c.height/2}return s.attr("transform","translate("+-c.width/2+","+l+")"),s}},Xi7e:function(t,e,n){var r=n("KMkd"),i=n("adU4"),o=n("tMB7"),a=n("+6XX"),s=n("Z8oC");function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=0;s--)null==n[s]&&(delete i[e[s]],e.pop())}(i):u(i,!0):(r.assert("linear"!==e||i.dataExtent),u(i))};l.prototype={constructor:l,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return r.bind(this._normalizeData,this)}};var c=l.visualHandlers={color:{applyVisual:f("color"),getColorMapper:function(){var t=this.option;return r.bind("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),p.call(this,t)}:function(e,n,r){var o=!!r;return!n&&(e=this._normalizeData(e)),r=i.fastLerp(e,t.parsedVisual,r),o?r:i.stringify(r,"rgba")},this)},_doMap:{linear:function(t){return i.stringify(i.fastLerp(t,this.option.parsedVisual),"rgba")},category:p,piecewise:function(t,e){var n=v.call(this,e);return null==n&&(n=i.stringify(i.fastLerp(t,this.option.parsedVisual),"rgba")),n},fixed:g}},colorHue:h((function(t,e){return i.modifyHSL(t,e)})),colorSaturation:h((function(t,e){return i.modifyHSL(t,null,e)})),colorLightness:h((function(t,e){return i.modifyHSL(t,null,null,e)})),colorAlpha:h((function(t,e){return i.modifyAlpha(t,e)})),opacity:{applyVisual:f("opacity"),_doMap:m([0,1])},liftZ:{applyVisual:f("liftZ"),_doMap:{linear:g,category:g,piecewise:g,fixed:g}},symbol:{applyVisual:function(t,e,n){var i=this.mapValueToVisual(t);if(r.isString(i))n("symbol",i);else if(s(i))for(var o in i)i.hasOwnProperty(o)&&n(o,i[o])},_doMap:{linear:d,category:p,piecewise:function(t,e){var n=v.call(this,e);return null==n&&(n=d.call(this,t)),n},fixed:g}},symbolSize:{applyVisual:f("symbolSize"),_doMap:m([0,1])}};function u(t,e){var n=t.visual,i=[];r.isObject(n)?a(n,(function(t){i.push(t)})):null!=n&&i.push(n),e||1!==i.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(i[1]=i[0]),y(t,i)}function h(t){return{applyVisual:function(e,n,r){e=this.mapValueToVisual(e),r("color",t(n("color"),e))},_doMap:m([0,1])}}function d(t){var e=this.option.visual;return e[Math.round(o(t,[0,1],[0,e.length-1],!0))]||{}}function f(t){return function(e,n,r){r(t,this.mapValueToVisual(e))}}function p(t){var e=this.option.visual;return e[this.option.loop&&-1!==t?t%e.length:t]}function g(){return this.option.visual[0]}function m(t){return{linear:function(e){return o(e,t,this.option.visual,!0)},category:p,piecewise:function(e,n){var r=v.call(this,n);return null==r&&(r=o(e,t,this.option.visual,!0)),r},fixed:g}}function v(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var r=n[l.findPieceIndex(t,n)];if(r&&r.visual)return r.visual[this.type]}}function y(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=r.map(e,(function(t){return i.parse(t)}))),e}var b={linear:function(t){return o(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=l.findPieceIndex(t,e,!0);if(null!=n)return o(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?-1:e},fixed:r.noop};function _(t,e,n){return t?e<=n:e=0){var i="touchend"!==r?e.targetTouches[0]:e.changedTouches[0];i&&h(t,i,e,n)}else h(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var o=e.button;return null==e.which&&void 0!==o&&c.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e},e.addEventListener=function(t,e,n,r){l?t.addEventListener(e,n,r):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n,r){l?t.removeEventListener(e,n,r):t.detachEvent("on"+e,n)},e.stop=p,e.isMiddleOrRightButtonOnMouseUpDown=function(t){return 2===t.which||3===t.which},e.notLeftMouse=function(t){return t.which>1}},YLuR:function(t,e){t.exports=function(t,e){return t.intersect(e)}},YNf1:function(t,e,n){var r=n("IwbS"),i=n("6Ic6").extend({type:"parallel",init:function(){this._dataGroup=new r.Group,this.group.add(this._dataGroup)},render:function(t,e,n,i){var c=this._dataGroup,u=t.getData(),h=this._data,d=t.coordinateSystem,f=d.dimensions,p=s(t);if(u.diff(h).add((function(t){l(a(u,c,t,f,d),u,t,p)})).update((function(e,n){var a=h.getItemGraphicEl(n),s=o(u,e,f,d);u.setItemGraphicEl(e,a),r.updateProps(a,{shape:{points:s}},i&&!1===i.animation?null:t,e),l(a,u,e,p)})).remove((function(t){var e=h.getItemGraphicEl(t);c.remove(e)})).execute(),!this._initialized){this._initialized=!0;var g=function(t,e,n){var i=t.model,o=t.getRect(),a=new r.Rect({shape:{x:o.x,y:o.y,width:o.width,height:o.height}}),s="horizontal"===i.get("layout")?"width":"height";return a.setShape(s,0),r.initProps(a,{shape:{width:o.width,height:o.height}},e,(function(){setTimeout((function(){c.removeClipPath()}))})),a}(d,t);c.setClipPath(g)}this._data=u},incrementalPrepareRender:function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,n){for(var r=e.getData(),i=e.coordinateSystem,o=i.dimensions,c=s(e),u=t.start;u65535?p:m}var y=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],b=["_extent","_approximateExtent","_rawExtent"];function _(t,e){r.each(y.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,r.each(b,(function(n){t[n]=r.clone(e[n])})),t._calculationInfo=r.extend(e._calculationInfo)}var x=function(t,e){t=t||["x","y"];for(var n={},i=[],o={},a=0;a=0?this._indices[t]:-1}function E(t,e){var n=t._idList[e];return null==n&&(n=C(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n}function M(t){return r.isArray(t)||(t=[t]),t}function D(t,e){var n=t.dimensions,i=new x(r.map(n,t.getDimensionInfo,t),t.hostModel);_(i,t);for(var o=i._storage={},a=t._storage,s=0;s=0?(o[l]=I(a[l]),i._rawExtent[l]=[1/0,-1/0],i._extent[l]=null):o[l]=a[l])}return i}function I(t){for(var e,n,r=new Array(t.length),i=0;ib[1]&&(b[1]=y)}e&&(this._nameList[d]=e[f])}this._rawCount=this._count=l,this._extent={},k(this)},w._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,r=this._chunkSize,i=this._rawData,o=this._storage,a=this.dimensions,s=a.length,l=this._dimensionInfos,c=this._nameList,u=this._idList,h=this._rawExtent,d=this._nameRepeatCount={},f=this._chunkCount,p=0;pA[1]&&(A[1]=C)}if(!i.pure){var T=c[v];if(m&&null==T)if(null!=m.name)c[v]=T=m.name;else if(null!=n){var E=a[n],M=o[E][y];if(M){T=M[b];var D=l[E].ordinalMeta;D&&D.categories.length&&(T=D.categories[T])}}var I=null==m?null:m.id;null==I&&null!=T&&(d[T]=d[T]||0,I=T,d[T]>0&&(I+="__ec__"+d[T]),d[T]++),null!=I&&(u[v]=I)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent={},k(this)}},w.count=function(){return this._count},w.getIndices=function(){var t=this._indices;if(t){var e=this._count;if((r=t.constructor)===Array){i=new r(e);for(var n=0;n=0&&e=0&&eo&&(o=s)}return this._extent[t]=n=[i,o],n},w.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},w.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},w.getCalculationInfo=function(t){return this._calculationInfo[t]},w.setCalculationInfo=function(t,e){d(t)?r.extend(this._calculationInfo,t):this._calculationInfo[t]=e},w.getSum=function(t){var e=0;if(this._storage[t])for(var n=0,r=this.count();n=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;i=o-1}}return-1},w.indicesOfNearest=function(t,e,n){var r=[];if(!this._storage[t])return r;null==n&&(n=1/0);for(var i=1/0,o=-1,a=0,s=0,l=this.count();s=0&&o<0)&&(i=u,o=c,a=0),c===o&&(r[a++]=s))}return r.length=a,r},w.getRawIndex=A,w.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n=l&&C<=c||isNaN(C))&&(o[a++]=h),h++;u=!0}else if(2===r){d=this._storage[s];var y=this._storage[e[1]],b=t[e[1]][0],_=t[e[1]][1];for(f=0;f=l&&C<=c||isNaN(C))&&(w>=b&&w<=_||isNaN(w))&&(o[a++]=h),h++}}u=!0}}if(!u)if(1===r)for(m=0;m=l&&C<=c||isNaN(C))&&(o[a++]=S)}else for(m=0;mt[E][1])&&(k=!1)}k&&(o[a++]=this.getRawIndex(m))}return aw[1]&&(w[1]=x)}}}return o},w.downSample=function(t,e,n,r){for(var i=D(this,[t]),o=i._storage,a=[],s=Math.floor(1/e),l=o[t],c=this.count(),u=this._chunkSize,h=i._rawExtent[t],d=new(v(this))(c),f=0,p=0;pc-p&&(a.length=s=c-p);for(var g=0;gh[1]&&(h[1]=b),d[f++]=_}return i._count=f,i._indices=d,i.getRawIndex=T,i},w.getItemModel=function(t){var e=this.hostModel;return new i(this.getRawDataItem(t),e,e&&e.ecModel)},w.diff=function(t){var e=this;return new o(t?t.getIndices():[],this.getIndices(),(function(e){return E(t,e)}),(function(t){return E(e,t)}))},w.getVisual=function(t){var e=this._visual;return e&&e[t]},w.setVisual=function(t,e){if(d(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},w.setLayout=function(t,e){if(d(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},w.getLayout=function(t){return this._layout[t]},w.getItemLayout=function(t){return this._itemLayouts[t]},w.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?r.extend(this._itemLayouts[t]||{},e):e},w.clearItemLayouts=function(){this._itemLayouts.length=0},w.getItemVisual=function(t,e,n){var r=this._itemVisuals[t],i=r&&r[e];return null!=i||n?i:this.getVisual(e)},w.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{},i=this.hasItemVisual;if(this._itemVisuals[t]=r,d(e))for(var o in e)e.hasOwnProperty(o)&&(r[o]=e[o],i[o]=!0);else r[e]=n,i[e]=!0},w.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var O=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};w.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(O,e)),this._graphicEls[t]=e},w.getItemGraphicEl=function(t){return this._graphicEls[t]},w.eachItemGraphicEl=function(t,e){r.each(this._graphicEls,(function(n,r){n&&t&&t.call(e,n,r)}))},w.cloneShallow=function(t){if(!t){var e=r.map(this.dimensions,this.getDimensionInfo,this);t=new x(e,this.hostModel)}return t._storage=this._storage,_(t,this),t._indices=this._indices?new(0,this._indices.constructor)(this._indices):null,t.getRawIndex=t._indices?T:A,t},w.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(r.slice(arguments)))})},w.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],w.CHANGABLE_METHODS=["filterSelf","selectRange"],t.exports=x},Yen4:function(t,e,n){var r=n("M96O"),i=n("lnHP"),o=n("AevD");t.exports=function(t,e){var n,a=new i,s={},l=new o;function c(t){var r=t.v===n?t.w:t.v,i=l.priority(r);if(void 0!==i){var o=e(t);o0;){if(n=l.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else{if(u)throw new Error("Input graph is not connected: "+t);u=!0}t.nodeEdges(n).forEach(c)}return a}},YgsL:function(t,e,n){var r=n("QBsz").distance;function i(t,e,n,r,i,o,a){var s=.5*(n-t),l=.5*(r-e);return(2*(e-n)+s+l)*a+(-3*(e-n)-2*s-l)*o+s*i+e}t.exports=function(t,e){for(var n=t.length,o=[],a=0,s=1;sn-2?n-1:f+1],h=t[f>n-3?n-1:f+2]);var m=p*p,v=p*m;o.push([i(c[0],g[0],u[0],h[0],p,m,v),i(c[1],g[1],u[1],h[1],p,m,v)])}return o}},Yl7c:function(t,e,n){n("Tghj");var r=n("bYtY"),i="___EC__COMPONENT__CONTAINER___";function o(t){var e={main:"",sub:""};return t&&(t=t.split("."),e.main=t[0]||"",e.sub=t[1]||""),e}var a=0;function s(t,e){var n=r.slice(arguments,2);return this.superClass.prototype[e].apply(t,n)}function l(t,e,n){return this.superClass.prototype[e].apply(t,n)}e.parseClassType=o,e.enableClassExtend=function(t,e){t.$constructor=t,t.extend=function(t){var e=this,n=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return r.extend(n.prototype,t),n.extend=this.extend,n.superCall=s,n.superApply=l,r.inherits(n,this),n.superClass=e,n}},e.enableClassCheck=function(t){var e=["__\0is_clz",a++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}},e.enableClassManagement=function(t,e){e=e||{};var n={};if(t.registerClass=function(t,e){return e&&(function(t){r.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}(e),(e=o(e)).sub?e.sub!==i&&((function(t){var e=n[t.main];return e&&e[i]||((e=n[t.main]={})[i]=!0),e}(e))[e.sub]=t):n[e.main]=t),t},t.getClass=function(t,e,r){var o=n[t];if(o&&o[i]&&(o=e?o[e]:null),r&&!o)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return o},t.getClassesByMainType=function(t){t=o(t);var e=[],a=n[t.main];return a&&a[i]?r.each(a,(function(t,n){n!==i&&e.push(t)})):e.push(a),e},t.hasClass=function(t){return t=o(t),!!n[t.main]},t.getAllClassMainTypes=function(){var t=[];return r.each(n,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){t=o(t);var e=n[t.main];return e&&e[i]},t.parseClassType=o,e.registerWhenExtend){var a=t.extend;a&&(t.extend=function(e){var n=a.call(this,e);return t.registerClass(n,e.type)})}return t},e.setReadOnly=function(t,e){}},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("quSY");class i extends r.a{constructor(t,e){super(),this.subject=t,this.subscriber=e,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,e=t.observers;if(this.subject=null,!e||0===e.length||t.isStopped||t.closed)return;const n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}},Ynxi:function(t,e,n){var r=n("bYtY"),i=n("ProS"),o=n("IwbS"),a=n("+TT/").getLayoutRect;i.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"}}}),i.extendComponentView({type:"title",render:function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,s=t.getModel("textStyle"),l=t.getModel("subtextStyle"),c=t.get("textAlign"),u=r.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),h=new o.Text({style:o.setTextStyle({},s,{text:t.get("text"),textFill:s.getTextColor()},{disableBox:!0}),z2:10}),d=h.getBoundingRect(),f=t.get("subtext"),p=new o.Text({style:o.setTextStyle({},l,{text:f,textFill:l.getTextColor(),y:d.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),g=t.get("link"),m=t.get("sublink"),v=t.get("triggerEvent",!0);h.silent=!g&&!v,p.silent=!m&&!v,g&&h.on("click",(function(){window.open(g,"_"+t.get("target"))})),m&&p.on("click",(function(){window.open(m,"_"+t.get("subtarget"))})),h.eventData=p.eventData=v?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(h),f&&i.add(p);var y=i.getBoundingRect(),b=t.getBoxLayoutParams();b.width=y.width,b.height=y.height;var _=a(b,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));c||("middle"===(c=t.get("left")||t.get("right"))&&(c="center"),"right"===c?_.x+=_.width:"center"===c&&(_.x+=_.width/2)),u||("center"===(u=t.get("top")||t.get("bottom"))&&(u="middle"),"bottom"===u?_.y+=_.height:"middle"===u&&(_.y+=_.height/2),u=u||"top"),i.attr("position",[_.x,_.y]);var x={textAlign:c,textVerticalAlign:u};h.setStyle(x),p.setStyle(x),y=i.getBoundingRect();var w=_.margin,S=t.getItemStyle(["color","opacity"]);S.fill=t.get("backgroundColor");var k=new o.Rect({shape:{x:y.x-w[3],y:y.y-w[0],width:y.width+w[1]+w[3],height:y.height+w[0]+w[2],r:t.get("borderRadius")},style:S,subPixelOptimize:!0,silent:!0});i.add(k)}}})},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Z0cm:function(t,e){t.exports=Array.isArray},Z1HP:function(t,e,n){var r=n("ycre"),i=n("quyA"),o=n("q4HE");t.exports=function(t){return i(t)?o(t):r(t)}},Z1r0:function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),r=t.getGraph().data,i=n.mapArray(n.getName);r.filterSelf((function(t){var n=r.getItemModel(t).getShallow("category");if(null!=n){"number"==typeof n&&(n=i[n]);for(var o=0;o0?1:-1,a=r.height>0?1:-1;return{x:r.x+o*i/2,y:r.y+a*i/2,width:r.width-o*i,height:r.height-a*i}},polar:function(t,e,n){var r=t.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle}}};function k(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function C(t,e,n,r,s,l,c,u){var h=e.getItemVisual(n,"color"),d=e.getItemVisual(n,"opacity"),f=e.getVisual("borderColor"),p=r.getModel("itemStyle"),g=r.getModel("emphasis.itemStyle").getBarItemStyle();u||t.setShape("r",p.get("barBorderRadius")||0),t.useStyle(i.defaults({stroke:k(s)?"none":f,fill:k(s)?"none":h,opacity:d},p.getBarItemStyle()));var m=r.getShallow("cursor");m&&t.attr("cursor",m),u||a(t.style,g,r,h,l,n,c?s.height>0?"bottom":"top":s.width>0?"left":"right"),k(s)&&(g.fill=g.stroke="none"),o.setHoverStyle(t,g)}var A=c.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var n=e.points,r=this.__startPoint,i=this.__baseDimIdx,o=0;o=h&&v<=d&&(l<=y?u>=l&&u<=y:u>=y&&u<=l))return a[f]}return-1}(this,t.offsetX,t.offsetY);this.dataIndex=e>=0?e:null}),30,!1);function M(t,e,n){var r,i="polar"===n.type;return r=i?n.getArea():n.grid.getRect(),i?{cx:r.cx,cy:r.cy,r0:t?r.r0:e.r0,r:t?r.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:t?e.x:r.x,y:t?r.y:e.y,width:t?e.width:r.width,height:t?r.height:e.height}}t.exports=m},ZCgT:function(t,e,n){var r=n("tLB3");t.exports=function(t){return t?(t=r(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},ZCpW:function(t,e,n){var r=n("lm/5"),i=n("O7RO"),o=n("IOzZ");t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},ZJr7:function(t,e,n){"use strict";var r=n("NmYn"),i=n("V8sP"),o=n("ueK4");function a(t,e,n){if(!t)return t;if(!e)return t;"string"==typeof n&&(n={keyframes:n}),n||(n={keyframes:!1}),t=s(t,e+" $1$2");var i=e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");t=(t=(t=(t=t.replace(new RegExp("("+i+")\\s*\\1(?=[\\s\\r\\n,{])","g"),"$1")).replace(new RegExp("("+i+")\\s*:host","g"),"$1")).replace(new RegExp("("+i+")\\s*@","g"),"@")).replace(new RegExp("("+i+")\\s*:root","g"),":root");for(var o,a=[],l=/@keyframes\s+([a-zA-Z0-9_-]+)\s*{/g;null!==(o=l.exec(t));)a.indexOf(o[1])<0&&a.push(o[1]);var c=r(e);return a.forEach((function(e){var r=(!0===n.keyframes?c+"-":"string"==typeof n.keyframes?n.keyframes:"")+e;t=(t=t.replace(new RegExp("(@keyframes\\s+)"+e+"(\\s*{)","g"),"$1"+r+"$2")).replace(new RegExp("(animation(?:-name)?\\s*:[^;]*\\s*)"+e+"([\\s;}])","g"),"$1"+r+"$2")})),t=t.replace(new RegExp("("+i+" )(\\s*(?:to|from|[+-]?(?:(?:\\.\\d+)|(?:\\d+(?:\\.\\d*)?))%))(?=[\\s\\r\\n,{])","g"),"$2")}function s(t,e){var n=[];return t=o(t),t=(t=i.replace(t,!0,n)).replace(/([^\r\n,{}]+)(,(?=[^}]*{)|\s*{)/g,e),i.paste(t,n)}t.exports=a,a.replace=s},ZUHj:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("51Dv"),i=n("SeVD"),o=n("HDdC");function a(t,e,n,a,s=new r.a(t,n,a)){if(!s.closed)return e instanceof o.a?e.subscribe(s):Object(i.a)(e)(s)}},ZWlE:function(t,e,n){var r=n("bYtY"),i=n("4NO4");t.exports=function(t){!function(t){if(!t.parallel){var e=!1;r.each(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}}(t),function(t){var e=i.normalizeToArray(t.parallelAxis);r.each(e,(function(e){if(r.isObject(e)){var n=e.parallelIndex||0,o=i.normalizeToArray(t.parallel)[n];o&&o.parallelAxisDefault&&r.merge(e,o.parallelAxisDefault,!1)}}))}(t)}},ZWtO:function(t,e,n){var r=n("4uTw"),i=n("9Nap");t.exports=function(t,e){for(var n=0,o=(e=r(e,t)).length;null!=t&&n>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",i[l]+":0",r[1-s]+":auto",i[1-l]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,l),l,a);if(c)return c(t,n,o),!0}return!1}function s(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=function(t,e,n,r,i){return a(o,e,r,i,!0)&&a(t,n,o[0],o[1])},e.transformCoordWithViewport=a,e.isCanvasEl=s},Znkb:function(t,e,n){n("Tghj");var r=n("ProS"),i=n("zTMp"),o=r.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,r){this.axisPointerClass&&i.fixValue(t),o.superApply(this,"render",arguments),a(this,t,0,n,0,!0)},updateAxisPointer:function(t,e,n,r,i){a(this,t,0,n,0,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),o.superApply(this,"remove",arguments)},dispose:function(t,e){s(this,e),o.superApply(this,"dispose",arguments)}});function a(t,e,n,r,a,l){var c=o.getAxisPointerClass(t.axisPointerClass);if(c){var u=i.getAxisPointerModel(e);u?(t._axisPointer||(t._axisPointer=new c)).render(e,u,r,l):s(t,r)}}function s(t,e,n){var r=t._axisPointer;r&&r.dispose(e,n),t._axisPointer=null}var l=[];o.registerAxisPointerClass=function(t,e){l[t]=e},o.getAxisPointerClass=function(t){return t&&l[t]},t.exports=o},ZqQs:function(t,e,n){var r=n("bYtY");function i(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},a=i.normal||(i.normal={}),s={normal:1,emphasis:1};r.each(i,(function(t,e){s[e]||o(a,e)||(a[e]=t)})),n.label&&!o(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function o(t,e){return t.hasOwnProperty(e)}t.exports=function(t){var e=t&&t.timeline;r.isArray(e)||(e=e?[e]:[]),r.each(e,(function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};if(n[e]&&(t.axisType=n[e],delete t.type),i(t),o(t,"controlPosition")){var a=t.controlStyle||(t.controlStyle={});o(a,"position")||(a.position=t.controlPosition),"none"!==a.position||o(a,"show")||(a.show=!1,delete a.position),delete t.controlPosition}r.each(t.data||[],(function(t){r.isObject(t)&&!r.isArray(t)&&(!o(t,"value")&&o(t,"name")&&(t.value=t.name),i(t))}))}(t)}))}},ZtTi:function(t,e,n){"use strict";var r=n("QRi6"),i=n("Sdz8"),o=n("3th9"),a=n("Kq0i");t.exports={rect:function(t,e,n){var i=t.insert("rect",":first-child").attr("rx",n.rx).attr("ry",n.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return n.intersect=function(t){return r(n,t)},i},ellipse:function(t,e,n){var r=e.width/2,o=e.height/2,a=t.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",r).attr("ry",o);return n.intersect=function(t){return i(n,r,o,t)},a},circle:function(t,e,n){var r=Math.max(e.width,e.height)/2,i=t.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",r);return n.intersect=function(t){return o(n,r,t)},i},diamond:function(t,e,n){var r=e.width*Math.SQRT2/2,i=e.height*Math.SQRT2/2,o=[{x:0,y:-i},{x:-r,y:0},{x:0,y:i},{x:r,y:0}],s=t.insert("polygon",":first-child").attr("points",o.map((function(t){return t.x+","+t.y})).join(" "));return n.intersect=function(t){return a(n,o,t)},s}}},Zvw2:function(t,e,n){var r=n("bYtY"),i=n("hM6l"),o=function(t,e,n,r,o){i.call(this,t,e,n),this.type=r||"value",this.position=o||"bottom",this.orient=null};o.prototype={constructor:o,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},r.inherits(o,i),t.exports=o},ZzYp:function(t,e,n){var r=n("M96O");t.exports=function(t,e,n){return function(t,e,n){var r={},i=t.nodes();return i.forEach((function(t){r[t]={},r[t][t]={distance:0},i.forEach((function(e){t!==e&&(r[t][e]={distance:Number.POSITIVE_INFINITY})})),n(t).forEach((function(n){var i=n.v===t?n.w:n.v,o=e(n);r[t][i]={distance:o,predecessor:t}}))})),i.forEach((function(t){var e=r[t];i.forEach((function(n){var o=r[n];i.forEach((function(n){var r=e[n],i=o[n],a=o[t].distance+r.distance;a0;){this._tweensAddedDuringUpdate={};for(var r=0;r1?1:n),this._valuesEnd)if(void 0!==this._valuesStart[e]){var i=this._valuesStart[e]||0,o=this._valuesEnd[e];o instanceof Array?this._object[e]=this._interpolationFunction(o,r):("string"==typeof o&&(o="+"===o.charAt(0)||"-"===o.charAt(0)?i+parseFloat(o):parseFloat(o)),"number"==typeof o&&(this._object[e]=i+(o-i)*r))}if(null!==this._onUpdateCallback&&this._onUpdateCallback(this._object,n),1===n){if(this._repeat>0){for(e in isFinite(this._repeat)&&this._repeat--,this._valuesStartRepeat){if("string"==typeof this._valuesEnd[e]&&(this._valuesStartRepeat[e]=this._valuesStartRepeat[e]+parseFloat(this._valuesEnd[e])),this._yoyo){var a=this._valuesStartRepeat[e];this._valuesStartRepeat[e]=this._valuesEnd[e],this._valuesEnd[e]=a}this._valuesStart[e]=this._valuesStartRepeat[e]}return this._yoyo&&(this._reversed=!this._reversed),this._startTime=void 0!==this._repeatDelayTime?t+this._repeatDelayTime:t+this._delayTime,null!==this._onRepeatCallback&&this._onRepeatCallback(this._object),!0}null!==this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var s=0,l=this._chainedTweens.length;s1?o(t[n],t[n-1],n-r):o(t[i],t[i+1>n?n:i+1],r-i)},Bezier:function(t,e){for(var n=0,r=t.length-1,i=Math.pow,o=a.Interpolation.Utils.Bernstein,s=0;s<=r;s++)n+=i(1-e,r-s)*i(e,s)*t[s]*o(r,s);return n},CatmullRom:function(t,e){var n=t.length-1,r=n*e,i=Math.floor(r),o=a.Interpolation.Utils.CatmullRom;return t[0]===t[n]?(e<0&&(i=Math.floor(r=n*(1+e))),o(t[(i-1+n)%n],t[i],t[(i+1)%n],t[(i+2)%n],r-i)):e<0?t[0]-(o(t[0],t[0],t[1],t[1],-r)-t[0]):e>1?t[n]-(o(t[n],t[n],t[n-1],t[n-1],r-n)-t[n]):o(t[i?i-1:0],t[i],t[n1;n--)e*=n;return o[t]=e,e}),CatmullRom:function(t,e,n,r,i){var o=.5*(n-t),a=.5*(r-e),s=i*i;return(2*e-2*n+o+a)*(i*s)+(-3*e+3*n-2*o-a)*s+o*i+e}}},void 0===(r=(function(){return a}).apply(e,[]))||(t.exports=r)},aKvl:function(t,e,n){var r=n("Sj9i").quadraticProjectPoint;e.containStroke=function(t,e,n,i,o,a,s,l,c){if(0===s)return!1;var u=s;return!(c>e+u&&c>i+u&&c>a+u||ct+u&&l>n+u&&l>o+u||l0&&d>0&&!f&&(l=0),l<0&&d<0&&!p&&(d=0));var m=e.ecModel;if(m&&"time"===a){var v,y=c("bar",m);if(r.each(y,(function(t){v|=t.getBaseAxis()===e.axis})),v){var b=u(y),_=function(t,e,n,i){var o=n.axis.getExtent(),a=o[1]-o[0],s=h(i,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;r.each(s,(function(t){l=Math.min(t.offset,l)}));var c=-1/0;r.each(s,(function(t){c=Math.max(t.offset+t.width,c)})),l=Math.abs(l),c=Math.abs(c);var u=l+c,d=e-t,f=d/(1-(l+c)/a)-d;return{min:t-=f*(l/u),max:e+=f*(c/u)}}(l,d,e,b);l=_.min,d=_.max}}return[l,d]}function p(t){var e,n=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof n?(e=n,n=function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}):"function"==typeof n?function(e,i){return null!=r&&(i=e-r),n(g(t,e),i)}:function(e){return t.scale.getLabel(e)}}function g(t,e){return"category"===t.type?t.scale.getLabel(e):e}function m(t){var e=t.get("interval");return null==e?"auto":e}n("IWp7"),n("jCoz"),e.getScaleExtent=f,e.niceScaleExtent=function(t,e){var n=f(t,e),r=null!=e.getMin(),i=null!=e.getMax(),o=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var a=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:o,fixMin:r,fixMax:i,minInterval:"interval"===a||"time"===a?e.get("minInterval"):null,maxInterval:"interval"===a||"time"===a?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new i(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new o;default:return(a.getClass(e)||o).create(t)}},e.ifAxisCrossZero=function(t){var e=t.scale.getExtent(),n=e[0],r=e[1];return!(n>0&&r>0||n<0&&r<0)},e.makeLabelFormatter=p,e.getAxisRawValue=g,e.estimateLabelUnionRect=function(t){var e=t.scale;if(t.model.get("axisLabel.show")&&!e.isBlank()){var n,r,i="category"===t.type,o=e.getExtent();r=i?e.count():(n=e.getTicks()).length;var a,s,l,c,u,h,f,g,m=t.getLabelModel(),v=p(t),y=1;r>40&&(y=Math.ceil(r/40));for(var b=0;bn.blockIndex?n.step:null,o=r&&r.modDataCount;return{step:i,modBy:null!=o?Math.ceil(o/i):null,modDataCount:o}}},g.getPipeline=function(t){return this._pipelineMap.get(t)},g.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),r=t.getData().count(),i=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,o=t.get("large")&&r>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:i,modDataCount:a,large:o}},g.restorePipelines=function(t){var e=this,n=e._pipelineMap=s();t.eachSeries((function(t){var r=t.getProgressive(),i=t.uid;n.set(i,{id:i,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:r&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),T(e,t,t.dataTask)}))},g.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;i(this._allHandlers,(function(r){var o=t.get(r.uid)||t.set(r.uid,[]);r.reset&&function(t,e,n,r,i){var o=n.seriesTaskMap||(n.seriesTaskMap=s()),a=e.seriesType,l=e.getTargetSeries;function u(n){var a=n.uid,s=o.get(a)||o.set(a,c({plan:w,reset:S,count:A}));s.context={model:n,ecModel:r,api:i,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},T(t,n,s)}e.createOnAllSeries?r.eachRawSeries(u):a?r.eachRawSeriesByType(a,u):l&&l(r,i).each(u);var h=t._pipelineMap;o.each((function(t,e){h.get(e)||(t.dispose(),o.removeKey(e))}))}(this,r,o,e,n),r.overallReset&&function(t,e,n,r,o){var a=n.overallTask=n.overallTask||c({reset:y});a.context={ecModel:r,api:o,overallReset:e.overallReset,scheduler:t};var l=a.agentStubMap=a.agentStubMap||s(),u=e.seriesType,h=e.getTargetSeries,d=!0,f=e.modifyOutputEnd;function p(e){var n=e.uid,r=l.get(n);r||(r=l.set(n,c({reset:b,onDirty:x})),a.dirty()),r.context={model:e,overallProgress:d,modifyOutputEnd:f},r.agent=a,r.__block=d,T(t,e,r)}u?r.eachRawSeriesByType(u,p):h?h(r,o).each(p):(d=!1,i(r.getSeries(),p));var g=t._pipelineMap;l.each((function(t,e){g.get(e)||(t.dispose(),a.dirty(),l.removeKey(e))}))}(this,r,o,e,n)}),this)},g.prepareView=function(t,e,n,r){var i=t.renderTask,o=i.context;o.model=e,o.ecModel=n,o.api=r,i.__block=!t.incrementalPrepareRender,T(this,e,i)},g.performDataProcessorTasks=function(t,e){m(this,this._dataProcessorHandlers,t,e,{block:!0})},g.performVisualTasks=function(t,e,n){m(this,this._visualHandlers,t,e,n)},g.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},g.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))};var v=g.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function y(t){t.overallReset(t.ecModel,t.api,t.payload)}function b(t,e){return t.overallProgress&&_}function _(){this.agent.dirty(),this.getDownstream().dirty()}function x(){this.agent&&this.agent.dirty()}function w(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function S(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=f(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?o(e,(function(t,e){return C(e)})):k}var k=C(0);function C(t){return function(e,n){var r=n.data,i=n.resetDefines[t];if(i&&i.dataEach)for(var o=e.start;o=0&&!(r[s]<=e);s--);s=Math.min(s,i-2)}else{for(var s=o;se);s++);s=Math.min(s-1,i-2)}a.lerp(t.position,n[s],n[s+1],(e-r[s])/(r[s+1]-r[s])),t.rotation=-Math.atan2(n[s+1][1]-n[s][1],n[s+1][0]-n[s][0])-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},i.inherits(s,o),t.exports=s},alwl:function(t,e,n){var r=n("eUgh"),i=n("ut/Y"),o=n("l9OW"),a=n("1LK5"),s=n("sEf8"),l=n("IWTy"),c=n("zZ0H");t.exports=function(t,e,n){var u=-1;e=r(e.length?e:[c],s(i));var h=o(t,(function(t,n,i){return{criteria:r(e,(function(e){return e(t)})),index:++u,value:t}}));return a(h,(function(t,e){return l(t,e,n)}))}},as94:function(t,e,n){var r=n("7aKB"),i=n("3LNs"),o=n("IwbS"),a=n("/y7N"),s=n("Fofx"),l=n("+rIm"),c=n("Znkb"),u=i.extend({makeElOption:function(t,e,n,i,c){var u=n.axis;"angle"===u.dim&&(this.animationThreshold=Math.PI/18);var d,f=u.polar,p=f.getOtherAxis(u).getExtent();d=u["dataTo"+r.capitalFirst(u.dim)](e);var g=i.get("type");if(g&&"none"!==g){var m=a.buildElStyle(i),v=h[g](u,f,d,p,m);v.style=m,t.graphicKey=v.type,t.pointer=v}var y=function(t,e,n,r,i){var a=e.axis,c=a.dataToCoord(t),u=r.getAngleAxis().getExtent()[0];u=u/180*Math.PI;var h,d,f,p=r.getRadiusAxis().getExtent();if("radius"===a.dim){var g=s.create();s.rotate(g,g,u),s.translate(g,g,[r.cx,r.cy]),h=o.applyTransform([c,-i],g);var m=e.getModel("axisLabel").get("rotate")||0,v=l.innerTextLayout(u,m*Math.PI/180,-1);d=v.textAlign,f=v.textVerticalAlign}else{var y=p[1];h=r.coordToPoint([y+i,c]);var b=r.cx,_=r.cy;d=Math.abs(h[0]-b)/y<.3?"center":h[0]>b?"left":"right",f=Math.abs(h[1]-_)/y<.3?"middle":h[1]>_?"top":"bottom"}return{position:h,align:d,verticalAlign:f}}(e,n,0,f,i.get("label.margin"));a.buildLabelElOption(t,n,i,c,y)}}),h={line:function(t,e,n,r,i){return"angle"===t.dim?{type:"Line",shape:a.makeLineShape(e.coordToPoint([r[0],n]),e.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,r,i){var o=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:a.makeSectorShape(e.cx,e.cy,r[0],r[1],(-n-o/2)*s,(o/2-n)*s)}:{type:"Sector",shape:a.makeSectorShape(e.cx,e.cy,n-o/2,n+o/2,0,2*Math.PI)}}};c.registerAxisPointerClass("PolarAxisPointer",u),t.exports=u},asDA:function(t,e){t.exports=function(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i=0&&!n[i][r];i--);if(i<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(o){var a=o.getPercentRange();n[0][r]={dataZoomId:r,start:a[0],end:a[1]}}}})),n.push(e)},e.pop=function(t){var e=o(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return r(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i},e.clear=function(t){t[i]=null},e.count=function(t){return o(t).length}},bBKM:function(t,e,n){n("Tghj");var r=n("ProS"),i=n("bYtY"),o=n("+rIm"),a=n("IwbS"),s=["axisLine","axisTickLabel","axisName"],l=r.extendComponentView({type:"radar",render:function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes(),r=i.map(n,(function(t){return new o(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}));i.each(r,(function(t){i.each(s,t.add,t),this.group.add(t.getGroup())}),this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var r=t.get("shape"),o=t.getModel("splitLine"),s=t.getModel("splitArea"),l=o.getModel("lineStyle"),c=s.getModel("areaStyle"),u=o.get("show"),h=s.get("show"),d=l.get("color"),f=c.get("color");d=i.isArray(d)?d:[d],f=i.isArray(f)?f:[f];var p=[],g=[];if("circle"===r)for(var m=n[0].getTicksCoords(),v=e.cx,y=e.cy,b=0;b=0;a--)o=r.merge(o,e[a],!0);t.defaultOption=o}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});s(f,{registerWhenExtend:!0}),o.enableSubTypeDefaulter(f),o.enableTopologicalTravel(f,(function(t){var e=[];return r.each(f.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=r.map(e,(function(t){return l(t).main})),"dataset"!==t&&r.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e})),r.mixin(f,h),t.exports=f},bMXI:function(t,e,n){var r=n("bYtY"),i=n("QBsz"),o=n("Fofx"),a=n("mFDi"),s=n("DN4a"),l=i.applyTransform;function c(){s.call(this)}function u(t){this.name=t,s.call(this),this._roamTransformable=new c,this._rawTransformable=new c}function h(t,e,n,r){var i=n.seriesModel,o=i?i.coordinateSystem:null;return o===this?o[t](r):null}r.mixin(c,s),u.prototype={constructor:u,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,r){return this._rect=new a(t,e,n,r),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,n,r){this.transformTo(t,e,n,r),this._viewRect=new a(t,e,n,r)},transformTo:function(t,e,n,r){var i=this.getBoundingRect(),o=this._rawTransformable;o.transform=i.calculateTransform(new a(t,e,n,r)),o.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),r=this.getCenter(),o=this.getZoom();r=i.applyTransform([],r,t),n=i.applyTransform([],n,t),e.origin=r,e.position=[n[0]-r[0],n[1]-r[1]],e.scale=[o,o],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),o.copy(this.transform||(this.transform=[]),e.transform||o.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],o.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var t=this._roamTransformable.transform,e=this._rawTransformable;return{roamTransform:t?r.slice(t):o.create(),rawScale:r.slice(e.scale),rawPosition:r.slice(e.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,n){var r=e?this._rawTransform:this.transform;return n=n||[],r?l(n,t,r):i.copy(n,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:r.curry(h,"dataToPoint"),convertFromPixel:r.curry(h,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},r.mixin(u,s),t.exports=u},bNQv:function(t,e,n){var r=n("gFfm"),i=n("SKAX"),o=n("EwQA"),a=n("Z0cm");t.exports=function(t,e){return(a(t)?r:i)(t,o(e))}},bNin:function(t,e,n){var r=n("bYtY"),i=n("IwbS"),o=n("FBjb"),a=n("Itpr").radialCoordinate,s=n("ProS"),l=n("4mN7"),c=n("bMXI"),u=n("Ae+d"),h=n("SgGq"),d=n("xSat").onIrrelevantElement,f=(n("Tghj"),n("OELB").parsePercent),p=i.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.childPoints,r=n.length,i=e.parentPoint,o=n[0],a=n[r-1];if(1===r)return t.moveTo(i[0],i[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,c=1-l,u=f(e.forkPosition,1),h=[];h[l]=i[l],h[c]=i[c]+(a[c]-i[c])*u,t.moveTo(i[0],i[1]),t.lineTo(h[0],h[1]),t.moveTo(o[0],o[1]),h[l]=o[l],t.lineTo(h[0],h[1]),h[l]=a[l],t.lineTo(h[0],h[1]),t.lineTo(a[0],a[1]);for(var d=1;dC.x)||(w-=Math.PI);var E=S?"left":"right",M=l.labelModel.get("rotate"),D=M*(Math.PI/180);x.setStyle({textPosition:l.labelModel.get("position")||E,textRotation:null==M?-w:D,textOrigin:"center",verticalAlign:"middle"})}!function(t,e,n,o,a,s,l,c,u){var h=u.edgeShape,d=o.__edge;if("curve"===h)e.parentNode&&e.parentNode!==n&&(d||(d=o.__edge=new i.BezierCurve({shape:_(u,a,a),style:r.defaults({opacity:0,strokeNoScale:!0},u.lineStyle)})),i.updateProps(d,{shape:_(u,s,l),style:{opacity:1}},t));else if("polyline"===h&&"orthogonal"===u.layout&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var f=e.children,g=[],m=0;m=0;o--)r.push(i[o])}}},c2HN:function(t,e,n){"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return r}))},c2i1:function(t,e,n){n("Tghj");var r=n("bYtY"),i=n("Yl7c").enableClassCheck;function o(t){return"_EC_"+t}var a=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={}},s=a.prototype;function l(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=null==e?-1:e}function c(t,e,n){this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}s.type="graph",s.isDirected=function(){return this._directed},s.addNode=function(t,e){var n=this._nodesMap;if(!n[o(t=null==t?""+e:""+t)]){var r=new l(t,e);return r.hostGraph=this,this.nodes.push(r),n[o(t)]=r,r}},s.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},s.getNodeById=function(t){return this._nodesMap[o(t)]},s.addEdge=function(t,e,n){var r=this._nodesMap,i=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),l.isInstance(t)||(t=r[o(t)]),l.isInstance(e)||(e=r[o(e)]),t&&e){var a=t.id+"-"+e.id;if(!i[a]){var s=new c(t,e,n);return s.hostGraph=this,this._directed&&(t.outEdges.push(s),e.inEdges.push(s)),t.edges.push(s),t!==e&&e.edges.push(s),this.edges.push(s),i[a]=s,s}}},s.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},s.getEdge=function(t,e){l.isInstance(t)&&(t=t.id),l.isInstance(e)&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},s.eachNode=function(t,e){for(var n=this.nodes,r=n.length,i=0;i=0&&t.call(e,n[i],i)},s.eachEdge=function(t,e){for(var n=this.edges,r=n.length,i=0;i=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&t.call(e,n[i],i)},s.breadthFirstTraverse=function(t,e,n,r){if(l.isInstance(e)||(e=this._nodesMap[o(e)]),e){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",a=0;a=0&&n.node2.dataIndex>=0})),i=0,o=r.length;i=0&&this[t][e].setItemVisual(this.dataIndex,n,r)},getVisual:function(n,r){return this[t][e].getItemVisual(this.dataIndex,n,r)},setLayout:function(n,r){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};r.mixin(l,u("hostGraph","data")),r.mixin(c,u("hostGraph","edgeData")),a.Node=l,a.Edge=c,i(l),i(c),t.exports=a},c6wG:function(t,e,n){var r=n("dD9F"),i=n("sEf8"),o=n("mdPL"),a=o&&o.isTypedArray,s=a?i(a):r;t.exports=s},c8qY:function(t,e,n){var r=n("IwbS"),i=n("fls0");function o(t){this._ctor=t||i,this.group=new r.Group}var a=o.prototype;function s(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function l(t){return isNaN(t[0])||isNaN(t[1])}function c(t){return!l(t[0])&&!l(t[1])}a.isPersistent=function(){return!0},a.updateData=function(t){var e=this,n=e.group,r=e._lineData;e._lineData=t,r||n.removeAll();var i=s(t);t.diff(r).add((function(n){!function(t,e,n,r){if(c(e.getItemLayout(n))){var i=new t._ctor(e,n,r);e.setItemGraphicEl(n,i),t.group.add(i)}}(e,t,n,i)})).update((function(n,o){!function(t,e,n,r,i,o){var a=e.getItemGraphicEl(r);c(n.getItemLayout(i))?(a?a.updateData(n,i,o):a=new t._ctor(n,i,o),n.setItemGraphicEl(i,a),t.group.add(a)):t.group.remove(a)}(e,r,t,o,n,i)})).remove((function(t){n.remove(r.getItemGraphicEl(t))})).execute()},a.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},a.incrementalPrepareUpdate=function(t){this._seriesScope=s(t),this._lineData=null,this.group.removeAll()},a.incrementalUpdate=function(t,e){function n(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}for(var r=t.start;r0?{x:t.changedTouches[0].clientX,y:t.changedTouches[0].clientY}:void 0!==t.clientX&&void 0!==t.clientY?{x:t.clientX,y:t.clientY}:null}function f(t,e){const n=t.nativeElement.getBoundingClientRect();return"horizontal"===e?n.width:n.height}function p(t){return"boolean"==typeof t?t:"false"!==t}function g(t,e){return null==t?e:(t=Number(t),!isNaN(t)&&t>=0?t:e)}function m(t,e){if("percent"===t){const t=e.reduce((t,e)=>null!==e?t+e:t,0);return e.every(t=>null!==t)&&t>99.9&&t<100.1}if("pixel"===t)return 1===e.filter(t=>null===t).length}function v(t){return null===t.size?null:!0===t.component.lockSize?t.size:null===t.component.minSize?null:t.component.minSize>t.size?t.size:t.component.minSize}function y(t){return null===t.size?null:!0===t.component.lockSize?t.size:null===t.component.maxSize?null:t.component.maxSize{const i=function(t,e,n,r){return 0===n?{areaSnapshot:e,pixelAbsorb:0,percentAfterAbsorption:e.sizePercentAtStart,pixelRemain:0}:0===e.sizePixelAtStart&&n<0?{areaSnapshot:e,pixelAbsorb:0,percentAfterAbsorption:0,pixelRemain:n}:"percent"===t?function(t,e,n){const r=(t.sizePixelAtStart+e)/n*100;if(e>0){if(null!==t.area.maxSize&&r>t.area.maxSize){const r=t.area.maxSize/100*n;return{areaSnapshot:t,pixelAbsorb:r,percentAfterAbsorption:t.area.maxSize,pixelRemain:t.sizePixelAtStart+e-r}}return{areaSnapshot:t,pixelAbsorb:e,percentAfterAbsorption:r>100?100:r,pixelRemain:0}}if(e<0){if(null!==t.area.minSize&&r0?null!==t.area.maxSize&&r>t.area.maxSize?{areaSnapshot:t,pixelAbsorb:t.area.maxSize-t.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:r-t.area.maxSize}:{areaSnapshot:t,pixelAbsorb:e,percentAfterAbsorption:-1,pixelRemain:0}:e<0?null!==t.area.minSize&&r{class t{constructor(t,e,n,i){this.ngZone=t,this.elRef=e,this.cdRef=n,this.renderer=i,this._direction="horizontal",this._unit="percent",this._gutterSize=11,this._gutterStep=1,this._restrictMove=!1,this._useTransition=!1,this._disabled=!1,this._dir="ltr",this._gutterDblClickDuration=0,this.dragStart=new r.n(!1),this.dragEnd=new r.n(!1),this.gutterClick=new r.n(!1),this.gutterDblClick=new r.n(!1),this.dragProgressSubject=new o.a,this.dragProgress$=this.dragProgressSubject.asObservable(),this.isDragging=!1,this.dragListeners=[],this.snapshot=null,this.startPoint=null,this.endPoint=null,this.displayedAreas=[],this.hidedAreas=[],this._clickTimeout=null,this.direction=this._direction}set direction(t){this._direction="vertical"===t?"vertical":"horizontal",this.renderer.addClass(this.elRef.nativeElement,"as-"+this._direction),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("vertical"===this._direction?"horizontal":"vertical")),this.build(!1,!1)}get direction(){return this._direction}set unit(t){this._unit="pixel"===t?"pixel":"percent",this.renderer.addClass(this.elRef.nativeElement,"as-"+this._unit),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("pixel"===this._unit?"percent":"pixel")),this.build(!1,!0)}get unit(){return this._unit}set gutterSize(t){this._gutterSize=g(t,11),this.build(!1,!1)}get gutterSize(){return this._gutterSize}set gutterStep(t){this._gutterStep=g(t,1)}get gutterStep(){return this._gutterStep}set restrictMove(t){this._restrictMove=p(t)}get restrictMove(){return this._restrictMove}set useTransition(t){this._useTransition=p(t),this._useTransition?this.renderer.addClass(this.elRef.nativeElement,"as-transition"):this.renderer.removeClass(this.elRef.nativeElement,"as-transition")}get useTransition(){return this._useTransition}set disabled(t){this._disabled=p(t),this._disabled?this.renderer.addClass(this.elRef.nativeElement,"as-disabled"):this.renderer.removeClass(this.elRef.nativeElement,"as-disabled")}get disabled(){return this._disabled}set dir(t){this._dir="rtl"===t?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)}get dir(){return this._dir}set gutterDblClickDuration(t){this._gutterDblClickDuration=g(t,0)}get gutterDblClickDuration(){return this._gutterDblClickDuration}get transitionEnd(){return new a.a(t=>this.transitionEndSubscriber=t).pipe(Object(s.a)(20))}ngAfterViewInit(){this.ngZone.runOutsideAngular(()=>{setTimeout(()=>this.renderer.addClass(this.elRef.nativeElement,"as-init"))})}getNbGutters(){return 0===this.displayedAreas.length?0:this.displayedAreas.length-1}addArea(t){const e={component:t,order:0,size:0,minSize:null,maxSize:null};!0===t.visible?(this.displayedAreas.push(e),this.build(!0,!0)):this.hidedAreas.push(e)}removeArea(t){if(this.displayedAreas.some(e=>e.component===t)){const e=this.displayedAreas.find(e=>e.component===t);this.displayedAreas.splice(this.displayedAreas.indexOf(e),1),this.build(!0,!0)}else if(this.hidedAreas.some(e=>e.component===t)){const e=this.hidedAreas.find(e=>e.component===t);this.hidedAreas.splice(this.hidedAreas.indexOf(e),1)}}updateArea(t,e,n){!0===t.visible&&this.build(e,n)}showArea(t){const e=this.hidedAreas.find(e=>e.component===t);if(void 0===e)return;const n=this.hidedAreas.splice(this.hidedAreas.indexOf(e),1);this.displayedAreas.push(...n),this.build(!0,!0)}hideArea(t){const e=this.displayedAreas.find(e=>e.component===t);if(void 0===e)return;const n=this.displayedAreas.splice(this.displayedAreas.indexOf(e),1);n.forEach(t=>{t.order=0,t.size=0}),this.hidedAreas.push(...n),this.build(!0,!0)}getVisibleAreaSizes(){return this.displayedAreas.map(t=>null===t.size?"*":t.size)}setVisibleAreaSizes(t){if(t.length!==this.displayedAreas.length)return!1;const e=t.map(t=>g(t,null));return!1!==m(this.unit,e)&&(this.displayedAreas.forEach((t,n)=>t.component._size=e[n]),this.build(!1,!0),!0)}build(t,e){if(this.stopDragging(),!0===t&&(this.displayedAreas.every(t=>null!==t.component.order)&&this.displayedAreas.sort((t,e)=>t.component.order-e.component.order),this.displayedAreas.forEach((t,e)=>{t.order=2*e,t.component.setStyleOrder(t.order)})),!0===e){const t=m(this.unit,this.displayedAreas.map(t=>t.component.size));switch(this.unit){case"percent":{const e=100/this.displayedAreas.length;this.displayedAreas.forEach(n=>{n.size=t?n.component.size:e,n.minSize=v(n),n.maxSize=y(n)});break}case"pixel":if(t)this.displayedAreas.forEach(t=>{t.size=t.component.size,t.minSize=v(t),t.maxSize=y(t)});else{const t=this.displayedAreas.filter(t=>null===t.component.size);if(0===t.length&&this.displayedAreas.length>0)this.displayedAreas.forEach((t,e)=>{t.size=0===e?null:t.component.size,t.minSize=0===e?null:v(t),t.maxSize=0===e?null:y(t)});else if(t.length>1){let t=!1;this.displayedAreas.forEach(e=>{null===e.component.size?!1===t?(e.size=null,e.minSize=null,e.maxSize=null,t=!0):(e.size=100,e.minSize=null,e.maxSize=null):(e.size=e.component.size,e.minSize=v(e),e.maxSize=y(e))})}}}}this.refreshStyleSizes(),this.cdRef.markForCheck()}refreshStyleSizes(){if("percent"===this.unit)if(1===this.displayedAreas.length)this.displayedAreas[0].component.setStyleFlex(0,0,"100%",!1,!1);else{const t=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach(e=>{e.component.setStyleFlex(0,0,`calc( ${e.size}% - ${e.size/100*t}px )`,null!==e.minSize&&e.minSize===e.size,null!==e.maxSize&&e.maxSize===e.size)})}else"pixel"===this.unit&&this.displayedAreas.forEach(t=>{null===t.size?t.component.setStyleFlex(1,1,1===this.displayedAreas.length?"100%":"auto",!1,!1):1===this.displayedAreas.length?t.component.setStyleFlex(0,0,"100%",!1,!1):t.component.setStyleFlex(0,0,t.size+"px",null!==t.minSize&&t.minSize===t.size,null!==t.maxSize&&t.maxSize===t.size)})}clickGutter(t,e){const n=d(t);this.startPoint&&this.startPoint.x===n.x&&this.startPoint.y===n.y&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",e),this.stopDragging()):this._clickTimeout=window.setTimeout(()=>{this._clickTimeout=null,this.notify("click",e),this.stopDragging()},this.gutterDblClickDuration))}startDragging(t,e,n){t.preventDefault(),t.stopPropagation(),this.startPoint=d(t),null!==this.startPoint&&!0!==this.disabled&&(this.snapshot={gutterNum:n,lastSteppedOffset:0,allAreasSizePixel:f(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach(t=>{const n={area:t,sizePixelAtStart:f(t.component.elRef,this.direction),sizePercentAtStart:"percent"===this.unit?t.size:-1};t.ordere&&(!0===this.restrictMove?0===this.snapshot.areasAfterGutter.length&&(this.snapshot.areasAfterGutter=[n]):this.snapshot.areasAfterGutter.push(n))}),this.snapshot.allInvolvedAreasSizePercent=[...this.snapshot.areasBeforeGutter,...this.snapshot.areasAfterGutter].reduce((t,e)=>t+e.sizePercentAtStart,0),0!==this.snapshot.areasBeforeGutter.length&&0!==this.snapshot.areasAfterGutter.length&&(this.dragListeners.push(this.renderer.listen("document","mouseup",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchend",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchcancel",this.stopDragging.bind(this))),this.ngZone.runOutsideAngular(()=>{this.dragListeners.push(this.renderer.listen("document","mousemove",this.dragEvent.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchmove",this.dragEvent.bind(this)))}),this.displayedAreas.forEach(t=>t.component.lockEvents()),this.isDragging=!0,this.renderer.addClass(this.elRef.nativeElement,"as-dragging"),this.renderer.addClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.notify("start",this.snapshot.gutterNum)))}dragEvent(t){if(t.preventDefault(),t.stopPropagation(),null!==this._clickTimeout&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1===this.isDragging)return;if(this.endPoint=d(t),null===this.endPoint)return;let e="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&(e=-e);const n=Math.round(e/this.gutterStep)*this.gutterStep;if(n===this.snapshot.lastSteppedOffset)return;this.snapshot.lastSteppedOffset=n;let r=b(this.unit,this.snapshot.areasBeforeGutter,-n,this.snapshot.allAreasSizePixel),i=b(this.unit,this.snapshot.areasAfterGutter,n,this.snapshot.allAreasSizePixel);if(0!==r.remain&&0!==i.remain?Math.abs(r.remain)===Math.abs(i.remain)||(Math.abs(r.remain)>Math.abs(i.remain)?i=b(this.unit,this.snapshot.areasAfterGutter,n+r.remain,this.snapshot.allAreasSizePixel):r=b(this.unit,this.snapshot.areasBeforeGutter,-(n-i.remain),this.snapshot.allAreasSizePixel)):0!==r.remain?i=b(this.unit,this.snapshot.areasAfterGutter,n+r.remain,this.snapshot.allAreasSizePixel):0!==i.remain&&(r=b(this.unit,this.snapshot.areasBeforeGutter,-(n-i.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){const t=[...r.list,...i.list],e=t.find(t=>0!==t.percentAfterAbsorption&&t.percentAfterAbsorption!==t.areaSnapshot.area.minSize&&t.percentAfterAbsorption!==t.areaSnapshot.area.maxSize);e&&(e.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-t.filter(t=>t!==e).reduce((t,e)=>t+e.percentAfterAbsorption,0))}r.list.forEach(t=>_(this.unit,t)),i.list.forEach(t=>_(this.unit,t)),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}stopDragging(t){if(t&&(t.preventDefault(),t.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach(t=>t.component.unlockEvents());this.dragListeners.length>0;){const t=this.dragListeners.pop();t&&t()}this.isDragging=!1,!this.endPoint||this.startPoint.x===this.endPoint.x&&this.startPoint.y===this.endPoint.y||this.notify("end",this.snapshot.gutterNum),this.renderer.removeClass(this.elRef.nativeElement,"as-dragging"),this.renderer.removeClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.snapshot=null,this.ngZone.runOutsideAngular(()=>{setTimeout(()=>{this.startPoint=null,this.endPoint=null})})}}notify(t,e){const n=this.getVisibleAreaSizes();"start"===t?this.dragStart.emit({gutterNum:e,sizes:n}):"end"===t?this.dragEnd.emit({gutterNum:e,sizes:n}):"click"===t?this.gutterClick.emit({gutterNum:e,sizes:n}):"dblclick"===t?this.gutterDblClick.emit({gutterNum:e,sizes:n}):"transitionEnd"===t?this.transitionEndSubscriber&&this.ngZone.run(()=>this.transitionEndSubscriber.next(n)):"progress"===t&&this.dragProgressSubject.next({gutterNum:e,sizes:n})}ngOnDestroy(){this.stopDragging()}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.z),r.Ob(r.l),r.Ob(r.h),r.Ob(r.E))},t.\u0275cmp=r.Ib({type:t,selectors:[["as-split"]],viewQuery:function(t,e){var n;1&t&&r.Ec(l,!0),2&t&&r.qc(n=r.dc())&&(e.gutterEls=n)},inputs:{direction:"direction",unit:"unit",gutterSize:"gutterSize",gutterStep:"gutterStep",restrictMove:"restrictMove",useTransition:"useTransition",disabled:"disabled",dir:"dir",gutterDblClickDuration:"gutterDblClickDuration"},outputs:{dragStart:"dragStart",dragEnd:"dragEnd",gutterClick:"gutterClick",gutterDblClick:"gutterDblClick",transitionEnd:"transitionEnd"},exportAs:["asSplit"],ngContentSelectors:h,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["class","as-split-gutter",3,"flex-basis","order","mousedown","touchstart","mouseup","touchend",4,"ngIf"],[1,"as-split-gutter",3,"mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(t,e){1&t&&(r.kc(),r.jc(0),r.yc(1,u,1,1,"ng-template",0)),2&t&&(r.Cb(1),r.lc("ngForOf",e.displayedAreas))},directives:[i.i,i.j],styles:['[_nghost-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;background-color:#eee;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{width:100%;height:100%;background-position:center center;background-repeat:no-repeat}[_nghost-%COMP%] >.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}[_nghost-%COMP%] >.as-split-area.as-hidden{flex:0 1 0!important;overflow-x:hidden;overflow-y:hidden}.as-horizontal[_nghost-%COMP%]{flex-direction:row}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:row;cursor:col-resize;height:100%}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-horizontal[_nghost-%COMP%] >.as-split-area{height:100%}.as-vertical[_nghost-%COMP%]{flex-direction:column}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:column;cursor:row-resize;width:100%}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.as-vertical[_nghost-%COMP%] >.as-split-area{width:100%}.as-vertical[_nghost-%COMP%] >.as-split-area.as-hidden{max-width:0}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:default}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url("")}.as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) >.as-split-area, .as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) > .as-split-gutter[_ngcontent-%COMP%]{transition:flex-basis .3s}'],changeDetection:0}),t})(),w=(()=>{class t{constructor(t,e,n,r){this.ngZone=t,this.elRef=e,this.renderer=n,this.split=r,this._order=null,this._size=null,this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}set order(t){this._order=g(t,null),this.split.updateArea(this,!0,!1)}get order(){return this._order}set size(t){this._size=g(t,null),this.split.updateArea(this,!1,!0)}get size(){return this._size}set minSize(t){this._minSize=g(t,null),this.split.updateArea(this,!1,!0)}get minSize(){return this._minSize}set maxSize(t){this._maxSize=g(t,null),this.split.updateArea(this,!1,!0)}get maxSize(){return this._maxSize}set lockSize(t){this._lockSize=p(t),this.split.updateArea(this,!1,!0)}get lockSize(){return this._lockSize}set visible(t){this._visible=p(t),this._visible?(this.split.showArea(this),this.renderer.removeClass(this.elRef.nativeElement,"as-hidden")):(this.split.hideArea(this),this.renderer.addClass(this.elRef.nativeElement,"as-hidden"))}get visible(){return this._visible}ngOnInit(){this.split.addArea(this),this.ngZone.runOutsideAngular(()=>{this.transitionListener=this.renderer.listen(this.elRef.nativeElement,"transitionend",t=>{"flex-basis"===t.propertyName&&this.split.notify("transitionEnd",-1)})})}setStyleOrder(t){this.renderer.setStyle(this.elRef.nativeElement,"order",t)}setStyleFlex(t,e,n,r,i){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",t),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",e),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",n),!0===r?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===i?this.renderer.addClass(this.elRef.nativeElement,"as-max"):this.renderer.removeClass(this.elRef.nativeElement,"as-max")}lockEvents(){this.ngZone.runOutsideAngular(()=>{this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"selectstart",t=>!1)),this.lockListeners.push(this.renderer.listen(this.elRef.nativeElement,"dragstart",t=>!1))})}unlockEvents(){for(;this.lockListeners.length>0;){const t=this.lockListeners.pop();t&&t()}}ngOnDestroy(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.split.removeArea(this)}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.z),r.Ob(r.l),r.Ob(r.E),r.Ob(x))},t.\u0275dir=r.Jb({type:t,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),t})(),S=(()=>{class t{static forRoot(){return{ngModule:t,providers:[]}}static forChild(){return{ngModule:t,providers:[]}}}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[i.b]]}),t})()},cpOr:function(t,e,n){n("Tghj");var r=n("T4UG"),i=n("YXkt"),o=n("bYtY"),a=o.concatArray,s=o.mergeAll,l=o.map,c=n("7aKB").encodeHTML,u=(n("IDmD"),"undefined"==typeof Uint32Array?Array:Uint32Array),h="undefined"==typeof Float64Array?Array:Float64Array;function d(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=l(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),s([e,t[0],t[1]])})))}var f=r.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(t){t.data=t.data||[],d(t);var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count)),f.superApply(this,"init",arguments)},mergeOption:function(t){if(t.data=t.data||[],d(t),t.data){var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count))}f.superApply(this,"mergeOption",arguments)},appendData:function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=a(this._flatCoords,e.flatCoords),this._flatCoordsOffset=a(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},_getCoordsFromItemModel:function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},getLineCoordsCount:function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},getLineCoords:function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],r=this._flatCoordsOffset[2*t+1],i=0;i "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},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}}});t.exports=f},"cq/+":function(t,e,n){var r=n("mc0g")();t.exports=r},crZl:function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS"),a=n("7aKB"),s=n("+TT/"),l=n("XxSj"),c=r.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e},render:function(t,e,n,r){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,n=a.normalizeCssArray(e.get("padding")||0),r=t.getBoundingRect();t.add(new o.Rect({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,n){var r=(n=n||{}).forceState,o=this.visualMapModel,a={};if("symbol"===e&&(a.symbol=o.get("itemSymbol")),"color"===e){var s=o.get("contentColor");a.color=s}function c(t){return a[t]}function u(t,e){a[t]=e}var h=o.controllerVisuals[r||o.getValueState(t)],d=l.prepareVisualTypes(h);return i.each(d,(function(r){var i=h[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",i=h.__alphaForOpacity),l.dependsOn(r,e)&&i&&i.applyVisual(t,c,u)})),a[e]},positionGroup:function(t){var e=this.api;s.positionElement(t,this.visualMapModel.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})},doRender:i.noop});t.exports=c},cvCv:function(t,e){t.exports=function(t){return function(){return t}}},d4KN:function(t,e,n){var r=n("ProS"),i=n("bYtY");t.exports=function(t,e){i.each(e,(function(e){e.update="updateView",r.registerAction(e,(function(n,r){var i={};return r.eachComponent({mainType:"series",subType:t,query:n},(function(t){t[e.method]&&t[e.method](n.name,n.dataIndex);var r=t.getData();r.each((function(e){var n=r.getName(e);i[n]=t.isSelected(n)||!1}))})),{name:n.name,selected:i,seriesId:n.seriesId}}))}))}},dBmv:function(t,e,n){var r=n("ProS"),i=n("szbU");n("vF/C"),n("qwVE"),n("MHoB"),n("PNag"),n("1u/T"),r.registerPreprocessor(i)},dD9F:function(t,e,n){var r=n("NykK"),i=n("shjB"),o=n("ExA7"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return o(t)&&i(t.length)&&!!a[r(t)]}},dMvE:function(t,e){var n={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-n.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*n.bounceIn(2*t):.5*n.bounceOut(2*t-1)+.5}};t.exports=n},dOj1:function(t,e,n){"use strict";var r=n("b5wT"),i=n("GEWS"),o=n("6Ekc").slack,a=n("6Ekc").longestPath,s=n("F9We").alg.preorder,l=n("F9We").alg.postorder,c=n("tQ6r").simplify;function u(t){t=c(t),a(t);var e,n=i(t);for(f(n),h(n,t);e=g(n);)v(n,t,e,m(n,t,e))}function h(t,e){var n=l(t,t.nodes());n=n.slice(0,n.length-1),r.forEach(n,(function(n){!function(t,e,n){var r=t.node(n);t.edge(n,r.parent).cutvalue=d(t,e,n)}(t,e,n)}))}function d(t,e,n){var i=t.node(n).parent,o=!0,a=e.edge(n,i),s=0;return a||(o=!1,a=e.edge(i,n)),s=a.weight,r.forEach(e.nodeEdges(n),(function(r){var a=r.v===n,l=a?r.w:r.v;if(l!==i){var c=a===o,u=e.edge(r).weight;if(s+=c?u:-u,t.hasEdge(n,l)){var h=t.edge(n,l).cutvalue;s+=c?-h:h}}})),s}function f(t,e){arguments.length<2&&(e=t.nodes()[0]),p(t,{},1,e)}function p(t,e,n,i,o){var a=n,s=t.node(i);return e[i]=!0,r.forEach(t.neighbors(i),(function(o){r.has(e,o)||(n=p(t,e,n,o,i))})),s.low=a,s.lim=n++,o?s.parent=o:delete s.parent,n}function g(t){return r.find(t.edges(),(function(e){return t.edge(e).cutvalue<0}))}function m(t,e,n){var i=n.v,a=n.w;e.hasEdge(i,a)||(i=n.w,a=n.v);var s=t.node(i),l=t.node(a),c=s,u=!1;s.lim>l.lim&&(c=l,u=!0);var h=r.filter(e.edges(),(function(e){return u===y(0,t.node(e.v),c)&&u!==y(0,t.node(e.w),c)}));return r.minBy(h,(function(t){return o(e,t)}))}function v(t,e,n,i){t.removeEdge(n.v,n.w),t.setEdge(i.v,i.w,{}),f(t),h(t,e),function(t,e){var n=r.find(t.nodes(),(function(t){return!e.node(t).parent})),i=s(t,n);i=i.slice(1),r.forEach(i,(function(n){var r=t.node(n).parent,i=e.edge(n,r),o=!1;i||(i=e.edge(r,n),o=!0),e.node(n).rank=e.node(r).rank+(o?i.minlen:-i.minlen)}))}(t,e)}function y(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}t.exports=u,u.initLowLimValues=f,u.initCutValues=h,u.calcCutValue=d,u.leaveEdge=g,u.enterEdge=m,u.exchangeEdges=v},dQpi:function(t,e,n){var r=n("yGk4"),i=n("vN+2"),o=n("rEGp"),a=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=a},dTAl:function(t,e,n){var r=n("GoyQ"),i=Object.create,o=function(){function t(){}return function(e){if(!r(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=o},dmGj:function(t,e,n){var r=n("DEFe"),i=n("ProS").extendComponentView({type:"geo",init:function(t,e){var n=new r(e,!0);this._mapDraw=n,this.group.add(n.group)},render:function(t,e,n,r){if(!r||"geoToggleSelect"!==r.type||r.from!==this.uid){var i=this._mapDraw;t.get("show")?i.draw(t,e,n,this,r):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});t.exports=i},dnwI:function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=n("YH21"),a=n("Kagy"),s=n("IUWy"),l=a.toolbox.dataView,c=new Array(60).join("-");function u(t){return i.map(t,(function(t){var e=t.getRawData(),n=[t.name],r=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,i=arguments[t-1],o=e.getName(i),a=0;a=0)return!0}(t)){var o=function(t){for(var e=t.split(/\n+/g),n=h(e.shift()).split(d),r=[],o=i.map(n,(function(t){return{name:t,data:[]}})),a=0;an.pipe(l((n,r)=>Object(s.a)(t(n,r)).pipe(Object(a.a)((t,i)=>e(n,t,r,i))))):e=>e.lift(new c(t))}class c{constructor(t){this.project=t}call(t,e){return e.subscribe(new u(t,this.project))}}class u extends r.a{constructor(t,e){super(t),this.project=e,this.index=0}_next(t){let e;const n=this.index++;try{e=this.project(t,n)}catch(r){return void this.destination.error(r)}this._innerSub(e,t,n)}_innerSub(t,e,n){const r=this.innerSubscription;r&&r.unsubscribe();const a=new i.a(this,e,n),s=this.destination;s.add(a),this.innerSubscription=Object(o.a)(this,t,void 0,void 0,a),this.innerSubscription!==a&&s.add(this.innerSubscription)}_complete(){const{innerSubscription:t}=this;t&&!t.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(t){this.destination.remove(t),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(t,e,n,r,i){this.destination.next(e)}}},eJH7:function(t,e,n){var r=n("bYtY");t.exports=function(t){var e=t.polar;if(e){r.isArray(e)||(e=[e]);var n=[];r.each(e,(function(e,i){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],r.isArray(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)})),t.polar=n}r.each(t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}},ePAk:function(t,e,n){var r=n("ProS");n("2fGM");var i=r.extendComponentModel({type:"polar",dependencies:["polarAxis","angleAxis"],coordinateSystem:null,findAxisModel:function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},defaultOption:{zlevel:0,z:0,center:["50%","50%"],radius:"80%"}});t.exports=i},eRkO:function(t,e,n){var r=n("+TT/"),i=r.getLayoutRect,o=r.box,a=r.positionElement,s=n("7aKB"),l=n("IwbS");e.layout=function(t,e,n){var r=e.getBoxLayoutParams(),s=e.get("padding"),l={width:n.getWidth(),height:n.getHeight()},c=i(r,l,s);o(e.get("orient"),t,e.get("itemGap"),c.width,c.height),a(t,r,l,s)},e.makeBackground=function(t,e){var n=s.normalizeCssArray(e.get("padding")),r=e.getItemStyle(["color","opacity"]);return r.fill=e.get("backgroundColor"),new l.Rect({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:r,silent:!0,z2:-1})}},eS4l:function(t,e,n){n("HM/N"),n("FNN5")},eUgh:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n=0;h--)null==a[h]?a.splice(h,1):delete a[h].$action},_flatten:function(t,e,n){i.each(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var r=t.children;"group"===t.type&&r&&this._flatten(r,e,t),delete t.children}}),this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function h(t,e,n,r){var i=n.type,o=new(c.hasOwnProperty(i)?c[i]:a.getShapeClass(i))(n);e.add(o),r.set(t,o),o.__ecGraphicId=t}function d(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse((function(t){d(t,e)})),e.removeKey(t.__ecGraphicId),n.remove(t))}function f(t,e){var n;return i.each(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}r.extendComponentView({type:"graphic",init:function(t,e){this._elMap=i.createHashMap()},render:function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},_updateElements:function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,r=this.group;i.each(e,(function(e){var o=e.$action,a=e.id,l=n.get(a),c=e.parentId,u=null!=c?n.get(c):r,f=e.style;"text"===e.type&&f&&(e.hv&&e.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 p=function(t){return t=i.extend({},t),i.each(["id","parentId","$action","hv","bounding"].concat(s.LOCATION_PARAMS),(function(e){delete t[e]})),t}(e);o&&"merge"!==o?"replace"===o?(d(l,n),h(a,u,p,n)):"remove"===o&&d(l,n):l?l.attr(p):h(a,u,p,n);var g=n.get(a);g&&(g.__ecGraphicWidthOption=e.width,g.__ecGraphicHeightOption=e.height,function(t,e,n){var r=t.eventData;t.silent||t.ignore||r||(r=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),r&&(r.info=t.info)}(g,t))}))}},_relocate:function(t,e){for(var n=t.option.elements,r=this.group,i=this._elMap,o=e.getWidth(),a=e.getHeight(),c=0;c=0;c--){var h,d,f;(d=i.get((h=n[c]).id))&&s.positionElement(d,h,(f=d.parent)===r?{width:o,height:a}:{width:f.__ecGraphicWidth,height:f.__ecGraphicHeight},null,{hv:h.hv,boundingMode:h.bounding})}},_clear:function(){var t=this._elMap;t.each((function(e){d(e,t)})),this._elMap=i.createHashMap()},dispose:function(){this._clear()}})},f3JH:function(t,e,n){n("aTJb"),n("OlYY"),n("fc+c"),n("oY9F"),n("MqEG"),n("LBfv"),n("noeP")},f5HG:function(t,e,n){var r=n("IwbS"),i=n("QBsz"),o=r.Line.prototype,a=r.BezierCurve.prototype;function s(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var l=r.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(t,e){this[s(e)?"_buildPathLine":"_buildPathCurve"](t,e)},_buildPathLine:o.buildPath,_buildPathCurve:a.buildPath,pointAt:function(t){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](t)},_pointAtLine:o.pointAt,_pointAtCurve:a.pointAt,tangentAt:function(t){var e=this.shape,n=s(e)?[e.x2-e.x1,e.y2-e.y1]:this._tangentAtCurve(t);return i.normalize(n,n)},_tangentAtCurve:a.tangentAt});t.exports=l},f5Yq:function(t,e,n){var r=n("bYtY").isFunction;t.exports=function(t,e,n){return{seriesType:t,performRawSeries:!0,reset:function(t,i,o){var a=t.getData(),s=t.get("symbol"),l=t.get("symbolSize"),c=t.get("symbolKeepAspect"),u=r(s),h=r(l),d=u||h,f=!u&&s?s:e;if(a.setVisual({legendSymbol:n||f,symbol:f,symbolSize:h?null:l,symbolKeepAspect:c}),!i.isSeriesFiltered(t))return{dataEach:a.hasItemOption||d?function(e,n){if(d){var r=t.getRawValue(n),i=t.getDataParams(n);u&&e.setItemVisual(n,"symbol",s(r,i)),h&&e.setItemVisual(n,"symbolSize",l(r,i))}if(e.hasItemOption){var o=e.getItemModel(n),a=o.getShallow("symbol",!0),c=o.getShallow("symbolSize",!0),f=o.getShallow("symbolKeepAspect",!0);null!=a&&e.setItemVisual(n,"symbol",a),null!=c&&e.setItemVisual(n,"symbolSize",c),null!=f&&e.setItemVisual(n,"symbolKeepAspect",f)}}:null}}}}},fE02:function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=n("/IIm"),a=n("vZ6x"),s=n("b9oc"),l=n("72pK"),c=n("Kagy"),u=n("IUWy");n("3TkU");var h=i.each;function d(t,e,n){(this._brushController=new o(n.getZr())).on("brush",i.bind(this._onBrush,this)).mount()}d.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:i.clone(c.toolbox.dataZoom.title)};var f=d.prototype;f.render=function(t,e,n,r){this.model=t,this.ecModel=e,this.api=n,function(t,e,n,r,i){var o=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(o="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var s=new a(g(t.option),e,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(i,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!o&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}(t,e,this,r,n),function(t,e){t.setIconStatus("back",s.count(e)>1?"emphasis":"normal")}(t,e)},f.onclick=function(t,e,n){p[n].call(this)},f.remove=function(t,e){this._brushController.unmount()},f.dispose=function(t,e){this._brushController.dispose()};var p={zoom:function(){this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:!this._isZoomActive})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function g(t){var e={};return i.each(["xAxisIndex","yAxisIndex"],(function(n){e[n]=t[n],null==e[n]&&(e[n]="all"),(!1===e[n]||"none"===e[n])&&(e[n]=[])})),e}f._onBrush=function(t,e){if(e.isEnd&&t.length){var n={},r=this.ecModel;this._brushController.updateCovers([]),new a(g(this.model.option),r,{include:["grid"]}).matchOutputRanges(t,r,(function(t,e,n){if("cartesian2d"===n.type){var r=t.brushType;"rect"===r?(i("x",n,e[0]),i("y",n,e[1])):i({lineX:"x",lineY:"y"}[r],n,e)}})),s.push(r,n),this._dispatchZoomAction(n)}function i(t,e,i){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(r=n)})),r}(t,a,r),c=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==c.minValueSpan&&null==c.maxValueSpan||(i=l(0,i.slice(),o.scale.getExtent(),0,c.minValueSpan,c.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:i[0],endValue:i[1]})}},f._dispatchZoomAction=function(t){var e=[];h(t,(function(t,n){e.push(i.clone(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},u.register("dataZoom",d),r.registerPreprocessor((function(t){if(t){var e=t.dataZoom||(t.dataZoom=[]);i.isArray(e)||(t.dataZoom=e=[e]);var n=t.toolbox;if(n&&(i.isArray(n)&&(n=n[0]),n&&n.feature)){var r=n.feature.dataZoom;o("xAxis",r),o("yAxis",r)}}function o(n,r){if(r){var o=n+"Index",a=r[o];null==a||"all"===a||i.isArray(a)||(a=!1===a||"none"===a?[]:[a]),i.isArray(s=t[n])||(s=s?[s]:[]),h(s,(function(t,s){if(null==a||"all"===a||-1!==i.indexOf(a,s)){var l={type:"select",$fromToolbox:!0,filterMode:r.filterMode||"filter",id:"\0_ec_\0toolbox-dataZoom_"+n+s};l[o]=s,e.push(l)}}))}var s}})),t.exports=d},fGT3:function(t,e,n){var r=n("4kuk"),i=n("Xi7e"),o=n("ebwN");t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},"fR/l":function(t,e,n){var r=n("CH3K"),i=n("Z0cm");t.exports=function(t,e,n){var o=e(t);return i(t)?o:r(o,n(t))}},fW2E:function(t,e){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};t.exports=function(t,e,r){return n.hasOwnProperty(e)?r*t.dpr:r}},fXoL:function(t,e,n){"use strict";var r=n("XNiG"),i=n("quSY"),o=n("HDdC"),a=n("VRyK"),s=n("7o/Q");function l(){return function(t){return t.lift(new c(t))}}class c{constructor(t){this.connectable=t}call(t,e){const{connectable:n}=this;n._refCount++;const r=new u(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}class u extends s.a{constructor(t,e){super(t),this.connectable=e}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const e=t._refCount;if(e<=0)return void(this.connection=null);if(t._refCount=e-1,e>1)return void(this.connection=null);const{connection:n}=this,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}class h extends o.a{constructor(t,e){super(),this.source=t,this.subjectFactory=e,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new i.a,t.add(this.source.subscribe(new f(this.getSubject(),this))),t.closed&&(this._connection=null,t=i.a.EMPTY)),t}refCount(){return l()(this)}}const d=(()=>{const t=h.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:t._subscribe},_isComplete:{value:t._isComplete,writable:!0},getSubject:{value:t.getSubject},connect:{value:t.connect},refCount:{value:t.refCount}}})();class f extends r.b{constructor(t,e){super(t),this.connectable=e}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}function p(){return new r.a}function g(t){return{toString:t}.toString()}function m(t,e,n){return g(()=>{const r=function(t){return function(...e){if(t){const n=t(...e);for(const t in n)this[t]=n[t]}}}(e);function i(...t){if(this instanceof i)return r.apply(this,t),this;const e=new i(...t);return n.annotation=e,n;function n(t,n,r){const i=t.hasOwnProperty("__parameters__")?t.__parameters__:Object.defineProperty(t,"__parameters__",{value:[]}).__parameters__;for(;i.length<=r;)i.push(null);return(i[r]=i[r]||[]).push(e),t}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=t,i.annotationCls=i,i})}n.d(e,"a",(function(){return Ao})),n.d(e,"b",(function(){return zl})),n.d(e,"c",(function(){return Ol})),n.d(e,"d",(function(){return Dl})),n.d(e,"e",(function(){return Il})),n.d(e,"f",(function(){return Mc})),n.d(e,"g",(function(){return bc})),n.d(e,"h",(function(){return lo})),n.d(e,"i",(function(){return $l})),n.d(e,"j",(function(){return as})),n.d(e,"k",(function(){return Vl})),n.d(e,"l",(function(){return ss})),n.d(e,"m",(function(){return Cn})),n.d(e,"n",(function(){return ll})),n.d(e,"o",(function(){return J})),n.d(e,"p",(function(){return v})),n.d(e,"q",(function(){return Q})),n.d(e,"r",(function(){return Co})),n.d(e,"s",(function(){return As})),n.d(e,"t",(function(){return Ts})),n.d(e,"u",(function(){return Bl})),n.d(e,"v",(function(){return pt})),n.d(e,"w",(function(){return xc})),n.d(e,"x",(function(){return ft})),n.d(e,"y",(function(){return pc})),n.d(e,"z",(function(){return Ql})),n.d(e,"A",(function(){return y})),n.d(e,"B",(function(){return Nl})),n.d(e,"C",(function(){return Rl})),n.d(e,"D",(function(){return ul})),n.d(e,"E",(function(){return hs})),n.d(e,"F",(function(){return cs})),n.d(e,"G",(function(){return us})),n.d(e,"H",(function(){return fs})),n.d(e,"I",(function(){return dr})),n.d(e,"J",(function(){return qa})),n.d(e,"K",(function(){return _})),n.d(e,"L",(function(){return kc})),n.d(e,"M",(function(){return Is})),n.d(e,"N",(function(){return ac})),n.d(e,"O",(function(){return ps})),n.d(e,"P",(function(){return Ps})),n.d(e,"Q",(function(){return St})),n.d(e,"R",(function(){return Lo})),n.d(e,"S",(function(){return gc})),n.d(e,"T",(function(){return Un})),n.d(e,"U",(function(){return z})),n.d(e,"V",(function(){return ct})),n.d(e,"W",(function(){return Yn})),n.d(e,"X",(function(){return Tc})),n.d(e,"Y",(function(){return cc})),n.d(e,"Z",(function(){return Fl})),n.d(e,"ab",(function(){return uo})),n.d(e,"bb",(function(){return Zs})),n.d(e,"cb",(function(){return ur})),n.d(e,"db",(function(){return gr})),n.d(e,"eb",(function(){return Wn})),n.d(e,"fb",(function(){return Pn})),n.d(e,"gb",(function(){return Rn})),n.d(e,"hb",(function(){return Bn})),n.d(e,"ib",(function(){return zn})),n.d(e,"jb",(function(){return Nn})),n.d(e,"kb",(function(){return Fn})),n.d(e,"lb",(function(){return Hs})),n.d(e,"mb",(function(){return Ac})),n.d(e,"nb",(function(){return qs})),n.d(e,"ob",(function(){return Ws})),n.d(e,"pb",(function(){return Ln})),n.d(e,"qb",(function(){return G})),n.d(e,"rb",(function(){return Ro})),n.d(e,"sb",(function(){return ra})),n.d(e,"tb",(function(){return na})),n.d(e,"ub",(function(){return Po})),n.d(e,"vb",(function(){return Gs})),n.d(e,"wb",(function(){return Wt})),n.d(e,"xb",(function(){return L})),n.d(e,"yb",(function(){return On})),n.d(e,"zb",(function(){return ja})),n.d(e,"Ab",(function(){return Wa})),n.d(e,"Bb",(function(){return rs})),n.d(e,"Cb",(function(){return Lr})),n.d(e,"Db",(function(){return Vo})),n.d(e,"Eb",(function(){return wa})),n.d(e,"Fb",(function(){return Fa})),n.d(e,"Gb",(function(){return xa})),n.d(e,"Hb",(function(){return Sl})),n.d(e,"Ib",(function(){return Tt})),n.d(e,"Jb",(function(){return Lt})),n.d(e,"Kb",(function(){return k})),n.d(e,"Lb",(function(){return C})),n.d(e,"Mb",(function(){return It})),n.d(e,"Nb",(function(){return Rt})),n.d(e,"Ob",(function(){return Go})),n.d(e,"Pb",(function(){return Ko})),n.d(e,"Qb",(function(){return ta})),n.d(e,"Rb",(function(){return Jo})),n.d(e,"Sb",(function(){return Qo})),n.d(e,"Tb",(function(){return Xo})),n.d(e,"Ub",(function(){return Zo})),n.d(e,"Vb",(function(){return ea})),n.d(e,"Wb",(function(){return xn})),n.d(e,"Xb",(function(){return Ba})),n.d(e,"Yb",(function(){return lt})),n.d(e,"Zb",(function(){return Ho})),n.d(e,"ac",(function(){return Ml})),n.d(e,"bc",(function(){return qo})),n.d(e,"cc",(function(){return ia})),n.d(e,"dc",(function(){return kl})),n.d(e,"ec",(function(){return ze})),n.d(e,"fc",(function(){return Ne})),n.d(e,"gc",(function(){return sa})),n.d(e,"hc",(function(){return al})),n.d(e,"ic",(function(){return sl})),n.d(e,"jc",(function(){return ua})),n.d(e,"kc",(function(){return ca})),n.d(e,"lc",(function(){return Wo})),n.d(e,"mc",(function(){return ha})),n.d(e,"nc",(function(){return el})),n.d(e,"oc",(function(){return nl})),n.d(e,"pc",(function(){return rl})),n.d(e,"qc",(function(){return bl})),n.d(e,"rc",(function(){return Uo})),n.d(e,"sc",(function(){return de})),n.d(e,"tc",(function(){return mr})),n.d(e,"uc",(function(){return vr})),n.d(e,"vc",(function(){return Ot})),n.d(e,"wc",(function(){return _l})),n.d(e,"xc",(function(){return _a})),n.d(e,"yc",(function(){return Yo})),n.d(e,"zc",(function(){return El})),n.d(e,"Ac",(function(){return La})),n.d(e,"Bc",(function(){return Ra})),n.d(e,"Cc",(function(){return Na})),n.d(e,"Dc",(function(){return za})),n.d(e,"Ec",(function(){return xl}));const v=m("Inject",t=>({token:t})),y=m("Optional"),b=m("Self"),_=m("SkipSelf");var x=function(t){return t[t.Default=0]="Default",t[t.Host=1]="Host",t[t.Self=2]="Self",t[t.SkipSelf=4]="SkipSelf",t[t.Optional=8]="Optional",t}({});function w(t){for(let e in t)if(t[e]===w)return e;throw Error("Could not find renamed property on target object.")}function S(t,e){for(const n in e)e.hasOwnProperty(n)&&!t.hasOwnProperty(n)&&(t[n]=e[n])}function k(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function C(t){return{factory:t.factory,providers:t.providers||[],imports:t.imports||[]}}function A(t){return T(t,t[M])||T(t,t[O])}function T(t,e){return e&&e.token===t?e:null}function E(t){return t&&(t.hasOwnProperty(D)||t.hasOwnProperty(P))?t[D]:null}const M=w({"\u0275prov":w}),D=w({"\u0275inj":w}),I=w({"\u0275provFallback":w}),O=w({ngInjectableDef:w}),P=w({ngInjectorDef:w});function L(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(L).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;const e=t.toString();if(null==e)return""+e;const n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function R(t,e){return null==t||""===t?null===e?"":e:null==e||""===e?t:t+" "+e}const N=w({__forward_ref__:w});function z(t){return t.__forward_ref__=z,t.toString=function(){return L(this())},t}function F(t){return B(t)?t():t}function B(t){return"function"==typeof t&&t.hasOwnProperty(N)&&t.__forward_ref__===z}const V="undefined"!=typeof globalThis&&globalThis,j="undefined"!=typeof window&&window,Y="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,U="undefined"!=typeof global&&global,G=V||U||j||Y,H=w({"\u0275cmp":w}),q=w({"\u0275dir":w}),W=w({"\u0275pipe":w}),$=w({"\u0275mod":w}),Z=w({"\u0275loc":w}),X=w({"\u0275fac":w}),K=w({__NG_ELEMENT_ID__:w});class Q{constructor(t,e){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=k({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return"InjectionToken "+this._desc}}const J=new Q("INJECTOR",-1),tt={},et=/\n/gm,nt=w({provide:String,useValue:w});let rt,it=void 0;function ot(t){const e=it;return it=t,e}function at(t){const e=rt;return rt=t,e}function st(t,e=x.Default){if(void 0===it)throw new Error("inject() must be called from an injection context");return null===it?ut(t,void 0,e):it.get(t,e&x.Optional?null:void 0,e)}function lt(t,e=x.Default){return(rt||st)(F(t),e)}const ct=lt;function ut(t,e,n){const r=A(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&x.Optional)return null;if(void 0!==e)return e;throw new Error(`Injector: NOT_FOUND [${L(t)}]`)}function ht(t){const e=[];for(let n=0;nArray.isArray(t)?gt(t,e):e(t))}function mt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function vt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function yt(t,e){const n=[];for(let r=0;r=0?t[1|r]=n:(r=~r,function(t,e,n,r){let i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r,e,n)),r}function _t(t,e){const n=xt(t,e);if(n>=0)return t[1|n]}function xt(t,e){return function(t,e,n){let r=0,i=t.length>>1;for(;i!==r;){const n=r+(i-r>>1),o=t[n<<1];if(e===o)return n<<1;o>e?i=n:r=n+1}return~(i<<1)}(t,e)}const wt=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),St=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),kt={},Ct=[];let At=0;function Tt(t){return g(()=>{const e=t.type,n=e.prototype,r={},i={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===wt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||Ct,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||St.Emulated,id:"c",styles:t.styles||Ct,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.directives,a=t.features,s=t.pipes;return i.id+=At++,i.inputs=Pt(t.inputs,r),i.outputs=Pt(t.outputs),a&&a.forEach(t=>t(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(Et):null,i.pipeDefs=s?()=>("function"==typeof s?s():s).map(Mt):null,i})}function Et(t){return Nt(t)||function(t){return t[q]||null}(t)}function Mt(t){return function(t){return t[W]||null}(t)}const Dt={};function It(t){const e={type:t.type,bootstrap:t.bootstrap||Ct,declarations:t.declarations||Ct,imports:t.imports||Ct,exports:t.exports||Ct,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&g(()=>{Dt[t.id]=t.type}),e}function Ot(t,e){return g(()=>{const n=Ft(t,!0);n.declarations=e.declarations||Ct,n.imports=e.imports||Ct,n.exports=e.exports||Ct})}function Pt(t,e){if(null==t)return kt;const n={};for(const r in t)if(t.hasOwnProperty(r)){let i=t[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,e&&(e[i]=o)}return n}const Lt=Tt;function Rt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Nt(t){return t[H]||null}function zt(t,e){return t.hasOwnProperty(X)?t[X]:null}function Ft(t,e){const n=t[$]||null;if(!n&&!0===e)throw new Error(`Type ${L(t)} does not have '\u0275mod' property.`);return n}function Bt(t){return Array.isArray(t)&&"object"==typeof t[1]}function Vt(t){return Array.isArray(t)&&!0===t[1]}function jt(t){return 0!=(8&t.flags)}function Yt(t){return 2==(2&t.flags)}function Ut(t){return 1==(1&t.flags)}function Gt(t){return null!==t.template}function Ht(t){return 0!=(512&t[2])}let qt=void 0;function Wt(t){qt=t}function $t(){return void 0!==qt?qt:"undefined"!=typeof document?document:void 0}function Zt(t){return!!t.listen}const Xt={createRenderer:(t,e)=>$t()};function Kt(t){for(;Array.isArray(t);)t=t[0];return t}function Qt(t,e){return Kt(e[t+19])}function Jt(t,e){return Kt(e[t.index])}function te(t,e){return t.data[e+19]}function ee(t,e){return t[e+19]}function ne(t,e){const n=e[t];return Bt(n)?n:n[0]}function re(t){const e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function ie(t){return 4==(4&t[2])}function oe(t){return 128==(128&t[2])}function ae(t,e){return null===t||null==e?null:t[e]}function se(t){t[18]=0}const le={lFrame:Me(null),bindingsEnabled:!0,checkNoChangesMode:!1};function ce(){return le.bindingsEnabled}function ue(){return le.lFrame.lView}function he(){return le.lFrame.tView}function de(t){le.lFrame.contextLView=t}function fe(){return le.lFrame.previousOrParentTNode}function pe(t,e){le.lFrame.previousOrParentTNode=t,le.lFrame.isParent=e}function ge(){return le.lFrame.isParent}function me(){le.lFrame.isParent=!1}function ve(){return le.checkNoChangesMode}function ye(t){le.checkNoChangesMode=t}function be(){const t=le.lFrame;let e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function _e(){return le.lFrame.bindingIndex}function xe(){return le.lFrame.bindingIndex++}function we(t){const e=le.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Se(t,e){const n=le.lFrame;n.bindingIndex=n.bindingRootIndex=t,n.currentDirectiveIndex=e}function ke(){return le.lFrame.currentQueryIndex}function Ce(t){le.lFrame.currentQueryIndex=t}function Ae(t,e){const n=Ee();le.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function Te(t,e){const n=Ee(),r=t[1];le.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=r,n.contextLView=t,n.bindingIndex=r.bindingStartIndex}function Ee(){const t=le.lFrame,e=null===t?null:t.child;return null===e?Me(t):e}function Me(t){const e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function De(){const t=le.lFrame;return le.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}const Ie=De;function Oe(){const t=De();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.currentSanitizer=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Pe(){return le.lFrame.selectedIndex}function Le(t){le.lFrame.selectedIndex=t}function Re(){const t=le.lFrame;return te(t.tView,t.selectedIndex)}function Ne(){le.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function ze(){le.lFrame.currentNamespace=null}function Fe(t,e){for(let n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[a]<0&&(t[18]+=65536),(o>10>16&&(3&t[2])===e&&(t[2]+=1024,o.call(a)):o.call(a)}class Ge{constructor(t,e,n){this.factory=t,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=n}}function He(t,e,n){const r=Zt(t);let i=0;for(;ie){a=o-1;break}}}for(;o>16}function Je(t,e){let n=Qe(t),r=e;for(;n>0;)r=r[15],n--;return r}function tn(t){return"string"==typeof t?t:null==t?"":""+t}function en(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():tn(t)}const nn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(G))();function rn(t){return t instanceof Function?t():t}let on=!0;function an(t){const e=on;return on=t,e}let sn=0;function ln(t,e){const n=un(t,e);if(-1!==n)return n;const r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,cn(r.data,t),cn(e,null),cn(r.blueprint,null));const i=hn(t,e),o=t.injectorIndex;if(Xe(i)){const t=Ke(i),n=Je(i,e),r=n[1].data;for(let i=0;i<8;i++)e[o+i]=n[t+i]|r[t+i]}return e[o+8]=i,o}function cn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function un(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function hn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let n=e[6],r=1;for(;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function dn(t,e,n){!function(t,e,n){let r="string"!=typeof n?n[K]:n.charCodeAt(0)||0;null==r&&(r=n[K]=sn++);const i=255&r,o=1<0?255&e:e}(n);if("function"==typeof i){Ae(e,t);try{const t=i();if(null!=t||r&x.Optional)return t;throw new Error(`No provider for ${en(n)}!`)}finally{Ie()}}else if("number"==typeof i){if(-1===i)return new _n(t,e);let o=null,a=un(t,e),s=-1,l=r&x.Host?e[16][6]:null;for((-1===a||r&x.SkipSelf)&&(s=-1===a?hn(t,e):e[a+8],bn(r,!1)?(o=e[1],a=Ke(s),e=Je(s,e)):a=-1);-1!==a;){s=e[a+8];const t=e[1];if(yn(i,a,t.data)){const t=gn(a,e,n,o,r,l);if(t!==pn)return t}bn(r,e[1].data[a+8]===l)&&yn(i,a,e)?(o=t,a=Ke(s),e=Je(s,e)):a=-1}}}if(r&x.Optional&&void 0===i&&(i=null),0==(r&(x.Self|x.Host))){const t=e[9],o=at(void 0);try{return t?t.get(n,i,r&x.Optional):ut(n,i,r&x.Optional)}finally{at(o)}}if(r&x.Optional)return i;throw new Error(`NodeInjector: NOT_FOUND [${en(n)}]`)}const pn={};function gn(t,e,n,r,i,o){const a=e[1],s=a.data[t+8],l=mn(s,a,n,null==r?Yt(s)&&on:r!=a&&3===s.type,i&x.Host&&o===s);return null!==l?vn(e,a,l,s):pn}function mn(t,e,n,r,i){const o=t.providerIndexes,a=e.data,s=65535&o,l=t.directiveStart,c=o>>16,u=i?s+c:t.directiveEnd;for(let h=r?s:s+c;h=l&&t.type===n)return h}if(i){const t=a[l];if(t&&Gt(t)&&t.type===n)return l}return null}function vn(t,e,n,r){let i=t[n];const o=e.data;if(i instanceof Ge){const a=i;if(a.resolving)throw new Error("Circular dep for "+en(o[n]));const s=an(a.canSeeViewProviders);let l;a.resolving=!0,a.injectImpl&&(l=at(a.injectImpl)),Ae(t,r);try{i=t[n]=a.factory(void 0,o,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){const{onChanges:r,onInit:i,doCheck:o}=e;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,o))}(n,o[n],e)}finally{a.injectImpl&&at(l),an(s),a.resolving=!1,Ie()}}return i}function yn(t,e,n){const r=64&t,i=32&t;let o;return o=128&t?r?i?n[e+7]:n[e+6]:i?n[e+5]:n[e+4]:r?i?n[e+3]:n[e+2]:i?n[e+1]:n[e],!!(o&1<{const e=Object.getPrototypeOf(t.prototype).constructor,n=e[X]||function t(e){const n=e;if(B(e))return()=>{const e=t(F(n));return e?e():null};let r=zt(n);if(null===r){const t=E(n);r=t&&t.factory}return r||null}(e);return null!==n?n:t=>new t})}function wn(t){return t.ngDebugContext}function Sn(t){return t.ngOriginalError}function kn(t,...e){t.error(...e)}class Cn{constructor(){this._console=console}handleError(t){const e=this._findOriginalError(t),n=this._findContext(t),r=function(t){return t.ngErrorLogger||kn}(t);r(this._console,"ERROR",t),e&&r(this._console,"ORIGINAL ERROR",e),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(t){return t?wn(t)?wn(t):this._findContext(Sn(t)):null}_findOriginalError(t){let e=Sn(t);for(;e&&Sn(e);)e=Sn(e);return e}}class An{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class Tn extends An{getTypeName(){return"HTML"}}class En extends An{getTypeName(){return"Style"}}class Mn extends An{getTypeName(){return"Script"}}class Dn extends An{getTypeName(){return"URL"}}class In extends An{getTypeName(){return"ResourceURL"}}function On(t){return t instanceof An?t.changingThisBreaksApplicationSecurity:t}function Pn(t,e){const n=Ln(t);if(null!=n&&n!==e){if("ResourceURL"===n&&"URL"===e)return!0;throw new Error(`Required a safe ${e}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===e}function Ln(t){return t instanceof An&&t.getTypeName()||null}function Rn(t){return new Tn(t)}function Nn(t){return new En(t)}function zn(t){return new Mn(t)}function Fn(t){return new Dn(t)}function Bn(t){return new In(t)}let Vn=!0,jn=!1;function Yn(){return jn=!0,Vn}function Un(){if(jn)throw new Error("Cannot enable prod mode after platform setup.");Vn=!1}class Gn{constructor(t){this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let e=this.inertDocument.body;if(null==e){const t=this.inertDocument.createElement("html");this.inertDocument.appendChild(t),e=this.inertDocument.createElement("body"),t.appendChild(e)}e.innerHTML='',!e.querySelector||e.querySelector("svg")?(e.innerHTML='

    ',this.getInertBodyElement=e.querySelector&&e.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(t){t=""+t+"";try{t=encodeURI(t)}catch(r){return null}const e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);const n=e.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(t){t=""+t+"";try{const e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(e){return null}}getInertBodyElement_InertDocument(t){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;const n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(t){const e=t.attributes;for(let r=e.length-1;0Wn(t.trim())).join(", ")),this.buf.push(" ",e,'="',lr(a),'"')}var r;return this.buf.push(">"),!0}endElement(t){const e=t.nodeName.toLowerCase();tr.hasOwnProperty(e)&&!Xn.hasOwnProperty(e)&&(this.buf.push(""))}chars(t){this.buf.push(lr(t))}checkClobberedElement(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}const ar=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,sr=/([^\#-~ |!])/g;function lr(t){return t.replace(/&/g,"&").replace(ar,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(sr,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}let cr;function ur(t,e){let n=null;try{cr=cr||new Gn(t);let r=e?String(e):"";n=cr.getInertBodyElement(r);let i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=cr.getInertBodyElement(r)}while(r!==o);const a=new or,s=a.sanitizeChildren(hr(n)||n);return Yn()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n){const t=hr(n)||n;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function hr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}const dr=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}(),fr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),pr=/^url\(([^)]+)\)$/;function gr(t){if(!(t=String(t).trim()))return"";const e=t.match(pr);return e&&Wn(e[1])===e[1]||t.match(fr)&&function(t){let e=!0,n=!0;for(let r=0;ro?"":i[u+1].toLowerCase();const e=8&r?t:null;if(e&&-1!==wr(e,c,0)||2&r&&c!==t){if(Ar(r))return!1;a=!0}}}}else{if(!a&&!Ar(r)&&!Ar(l))return!1;if(a&&Ar(l))continue;a=!1,r=l|1&r}}return Ar(r)||a}function Ar(t){return 0==(1&t)}function Tr(t,e,n,r){if(null===e)return-1;let i=0;if(r||!n){let n=!1;for(;i-1)for(n++;n0?'="'+e+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""===i||Ar(a)||(e+=Dr(o,i),i=""),r=a,o=o||!Ar(r);n++}return""!==i&&(e+=Dr(o,i)),e}const Or={};function Pr(t){const e=t[3];return Vt(e)?e[3]:e}function Lr(t){Rr(he(),ue(),Pe()+t,ve())}function Rr(t,e,n,r){if(!r)if(3==(3&e[2])){const r=t.preOrderCheckHooks;null!==r&&Be(e,r,n)}else{const r=t.preOrderHooks;null!==r&&Ve(e,r,0,n)}Le(n)}function Nr(t,e){return t<<17|e<<2}function zr(t){return t>>17&32767}function Fr(t){return 2|t}function Br(t){return(131068&t)>>2}function Vr(t,e){return-131069&t|e<<2}function jr(t){return 1|t}function Yr(t,e){const n=t.contentQueries;if(null!==n)for(let r=0;r>1==-1){for(let t=9;t19&&Rr(t,e,0,ve()),n(r,i)}finally{Le(o)}}function Xr(t,e,n){if(jt(e)){const r=e.directiveEnd;for(let i=e.directiveStart;iPromise.resolve(null))();function Ai(t){return t[7]||(t[7]=[])}function Ti(t){return t.cleanup||(t.cleanup=[])}function Ei(t,e){const n=t[9],r=n?n.get(Cn,null):null;r&&r.handleError(e)}function Mi(t,e,n,r,i){for(let o=0;o0&&(t[n-1][4]=r[4]);const o=vt(t,9+e);Li(r[1],r,!1,null);const a=o[5];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function zi(t,e){if(!(256&e[2])){const n=e[11];Zt(n)&&n.destroyNode&&Zi(t,e,n,3,null,null),function(t){let e=t[13];if(!e)return Bi(t[1],t);for(;e;){let n=null;if(Bt(e))n=e[13];else{const t=e[9];t&&(n=t)}if(!n){for(;e&&!e[4]&&e!==t;)Bt(e)&&Bi(e[1],e),e=Fi(e,t);null===e&&(e=t),Bt(e)&&Bi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Fi(t,e){let n;return Bt(t)&&(n=t[6])&&2===n.type?Ii(n,t):t[3]===e?null:t[3]}function Bi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){let n;if(null!=t&&null!=(n=t.destroyHooks))for(let r=0;r=0?t[s]():t[-s].unsubscribe(),r+=2}else n[r].call(t[n[r+1]]);e[7]=null}}(t,e);const n=e[6];n&&3===n.type&&Zt(e[11])&&e[11].destroy();const r=e[17];if(null!==r&&Vt(e[3])){r!==e[3]&&Ri(r,e);const n=e[5];null!==n&&n.detachView(t)}}}function Vi(t,e,n){let r=e.parent;for(;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){const t=n[6];return 2===t.type?Oi(t,n):n[0]}if(e&&5===e.type&&4&e.flags)return Jt(e,n).parentNode;if(2&r.flags){const e=t.data,n=e[e[r.index].directiveStart].encapsulation;if(n!==St.ShadowDom&&n!==St.Native)return null}return Jt(r,n)}function ji(t,e,n,r){Zt(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function Yi(t,e,n){Zt(t)?t.appendChild(e,n):e.appendChild(n)}function Ui(t,e,n,r){null!==r?ji(t,e,n,r):Yi(t,e,n)}function Gi(t,e){return Zt(t)?t.parentNode(e):e.parentNode}function Hi(t,e){if(2===t.type){const n=Ii(t,e);return null===n?null:Wi(n.indexOf(e,9)-9,n)}return 4===t.type||5===t.type?Jt(t,e):null}function qi(t,e,n,r){const i=Vi(t,r,e);if(null!=i){const t=e[11],o=Hi(r.parent||e[6],e);if(Array.isArray(n))for(let e=0;e-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}zi(this._lView[1],this._lView)}onDestroy(t){var e,n,r;e=this._lView[1],r=t,Ai(n=this._lView).push(r),e.firstCreatePass&&Ti(e).push(n[7].length-1,null)}markForCheck(){xi(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){wi(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(t,e,n){ye(!0);try{wi(t,e,n)}finally{ye(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}detachFromAppRef(){var t;this._appRef=null,Zi(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class to extends Ji{constructor(t){super(t),this._view=t}detectChanges(){Si(this._view)}checkNoChanges(){!function(t){ye(!0);try{Si(t)}finally{ye(!1)}}(this._view)}get context(){return null}}let eo,no,ro;function io(t,e,n){return eo||(eo=class extends t{}),new eo(Jt(e,n))}function oo(t,e,n,r){return no||(no=class extends t{constructor(t,e,n){super(),this._declarationView=t,this._declarationTContainer=e,this.elementRef=n}createEmbeddedView(t){const e=this._declarationTContainer.tViews,n=Gr(this._declarationView,e,t,16,null,e.node);n[17]=this._declarationView[this._declarationTContainer.index];const r=this._declarationView[5];null!==r&&(n[5]=r.createEmbeddedView(e)),qr(e,n,t);const i=new Ji(n);return i._tViewNode=n[6],i}}),0===n.type?new no(r,n,io(e,n,r)):null}function ao(t,e,n,r){let i;ro||(ro=class extends t{constructor(t,e,n){super(),this._lContainer=t,this._hostTNode=e,this._hostView=n}get element(){return io(e,this._hostTNode,this._hostView)}get injector(){return new _n(this._hostTNode,this._hostView)}get parentInjector(){const t=hn(this._hostTNode,this._hostView),e=Je(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){const t=n.parent.injectorIndex;let e=n.parent;for(;null!=e.parent&&t==e.parent.injectorIndex;)e=e.parent;return e}let r=Qe(t),i=e,o=e[6];for(;r>1;)i=i[15],o=i[6],r--;return o}(t,this._hostView,this._hostTNode);return Xe(t)&&null!=n?new _n(n,e):new _n(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}get length(){return this._lContainer.length-9}createEmbeddedView(t,e,n){const r=t.createEmbeddedView(e||{});return this.insert(r,n),r}createComponent(t,e,n,r,i){const o=n||this.parentInjector;if(!i&&null==t.ngModule&&o){const t=o.get(ft,null);t&&(i=t)}const a=t.create(o,r,void 0,i);return this.insert(a.hostView,e),a}insert(t,e){const n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Vt(n[3])){const e=this.indexOf(t);if(-1!==e)this.detach(e);else{const e=n[3],r=new ro(e,e[6],e[3]);r.detach(r.indexOf(t))}}const i=this._adjustIndex(e);return function(t,e,n,r){const i=9+r,o=n.length;r>0&&(n[i-1][4]=e),r{class t{}return t.__NG_ELEMENT_ID__=()=>co(),t})();const co=so,uo=new Q("Set Injector scope."),ho={},fo={},po=[];let go=void 0;function mo(){return void 0===go&&(go=new dt),go}function vo(t,e=null,n=null,r){return new yo(t,n,e||mo(),r)}class yo{constructor(t,e,n,r=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];e&>(e,n=>this.processProvider(n,t,e)),gt([t],t=>this.processInjectorType(t,[],i)),this.records.set(J,xo(void 0,this));const o=this.records.get(uo);this.scope=null!=o?o.value:null,this.source=r||("object"==typeof t?null:L(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,e=tt,n=x.Default){this.assertNotDestroyed();const r=ot(this);try{if(!(n&x.SkipSelf)){let e=this.records.get(t);if(void 0===e){const n=("function"==typeof(i=t)||"object"==typeof i&&i instanceof Q)&&A(t);e=n&&this.injectableDefInScope(n)?xo(bo(t),ho):null,this.records.set(t,e)}if(null!=e)return this.hydrate(t,e)}return(n&x.Self?mo():this.parent).get(t,e=n&x.Optional&&e===tt?null:e)}catch(o){if("NullInjectorError"===o.name){if((o.ngTempTokenPath=o.ngTempTokenPath||[]).unshift(L(t)),r)throw o;return function(t,e,n,r){const i=t.ngTempTokenPath;throw e.__source&&i.unshift(e.__source),t.message=function(t,e,n,r=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let i=L(e);if(Array.isArray(e))i=e.map(L).join(" -> ");else if("object"==typeof e){let t=[];for(let n in e)if(e.hasOwnProperty(n)){let r=e[n];t.push(n+":"+("string"==typeof r?JSON.stringify(r):L(r)))}i=`{${t.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${t.replace(et,"\n ")}`}("\n"+t.message,i,n,r),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(o,t,"R3InjectorError",this.source)}throw o}finally{ot(r)}var i}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((e,n)=>t.push(L(n))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,e,n){if(!(t=F(t)))return!1;let r=E(t);const i=null==r&&t.ngModule||void 0,o=void 0===i?t:i,a=-1!==n.indexOf(o);if(void 0!==i&&(r=E(i)),null==r)return!1;if(null!=r.imports&&!a){let t;n.push(o);try{gt(r.imports,r=>{this.processInjectorType(r,e,n)&&(void 0===t&&(t=[]),t.push(r))})}finally{}if(void 0!==t)for(let e=0;ethis.processProvider(t,n,r||po))}}this.injectorDefTypes.add(o),this.records.set(o,xo(r.factory,ho));const s=r.providers;if(null!=s&&!a){const e=t;gt(s,t=>this.processProvider(t,e,s))}return void 0!==i&&void 0!==t.providers}processProvider(t,e,n){let r=So(t=F(t))?t:F(t&&t.provide);const i=function(t,e,n){return wo(t)?xo(void 0,t.useValue):xo(_o(t,e,n),ho)}(t,e,n);if(So(t)||!0!==t.multi){const t=this.records.get(r);t&&void 0!==t.multi&&xr()}else{let e=this.records.get(r);e?void 0===e.multi&&xr():(e=xo(void 0,ho,!0),e.factory=()=>ht(e.multi),this.records.set(r,e)),r=t,e.multi.push(t)}this.records.set(r,i)}hydrate(t,e){var n;return e.value===fo?function(t){throw new Error("Cannot instantiate cyclic dependency! "+t)}(L(t)):e.value===ho&&(e.value=fo,e.value=e.factory()),"object"==typeof e.value&&e.value&&null!==(n=e.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(e.value),e.value}injectableDefInScope(t){return!!t.providedIn&&("string"==typeof t.providedIn?"any"===t.providedIn||t.providedIn===this.scope:this.injectorDefTypes.has(t.providedIn))}}function bo(t){const e=A(t),n=null!==e?e.factory:zt(t);if(null!==n)return n;const r=E(t);if(null!==r)return r.factory;if(t instanceof Q)throw new Error(`Token ${L(t)} is missing a \u0275prov definition.`);if(t instanceof Function)return function(t){const e=t.length;if(e>0){const n=yt(e,"?");throw new Error(`Can't resolve all parameters for ${L(t)}: (${n.join(", ")}).`)}const n=function(t){const e=t&&(t[M]||t[O]||t[I]&&t[I]());if(e){const n=function(t){if(t.hasOwnProperty("name"))return t.name;const e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "${n}" class.`),e}return null}(t);return null!==n?()=>n.factory(t):()=>new t}(t);throw new Error("unreachable")}function _o(t,e,n){let r=void 0;if(So(t)){const e=F(t);return zt(e)||bo(e)}if(wo(t))r=()=>F(t.useValue);else if((i=t)&&i.useFactory)r=()=>t.useFactory(...ht(t.deps||[]));else if(function(t){return!(!t||!t.useExisting)}(t))r=()=>lt(F(t.useExisting));else{const i=F(t&&(t.useClass||t.provide));if(i||function(t,e,n){let r="";throw t&&e&&(r=` - only instances of Provider and Type are allowed, got: [${e.map(t=>t==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${L(t)}'`+r)}(e,n,t),!function(t){return!!t.deps}(t))return zt(i)||bo(i);r=()=>new i(...ht(t.deps))}var i;return r}function xo(t,e,n=!1){return{factory:t,value:e,multi:n?[]:void 0}}function wo(t){return null!==t&&"object"==typeof t&&nt in t}function So(t){return"function"==typeof t}const ko=function(t,e,n){return function(t,e=null,n=null,r){const i=vo(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)};let Co=(()=>{class t{static create(t,e){return Array.isArray(t)?ko(t,e,""):ko(t.providers,t.parent,t.name||"")}}return t.THROW_IF_NOT_FOUND=tt,t.NULL=new dt,t.\u0275prov=k({token:t,providedIn:"any",factory:()=>lt(J)}),t.__NG_ELEMENT_ID__=-1,t})();const Ao=new Q("AnalyzeForEntryComponents");let To=new Map;const Eo=new Set;function Mo(t){return"string"==typeof t?t:t.text()}function Do(t,e){let n=t.styles,r=t.classes,i=0;for(let o=0;os(Kt(t[r.index])).target:r.index;if(Zt(n)){let a=null;if(!s&&l&&(a=function(t,e,n,r){const i=t.cleanup;if(null!=i)for(let o=0;on?t[n]:null}"string"==typeof t&&(o+=2)}return null}(t,e,i,r.index)),null!==a)(a.__ngLastListenerFn__||a).__ngNextListenerFn__=o,a.__ngLastListenerFn__=o,h=!1;else{o=aa(r,e,o,!1);const t=n.listen(f.name||p,i,o);u.push(o,t),c&&c.push(i,m,g,g+1)}}else o=aa(r,e,o,!0),p.addEventListener(i,o,a),u.push(o),c&&c.push(i,m,g,a)}const d=r.outputs;let f;if(h&&null!==d&&(f=d[i])){const t=f.length;if(t)for(let n=0;n0;)e=e[15],t--;return e}(t,le.lFrame.contextLView))[8]}(t)}function la(t,e){let n=null;const r=function(t){const e=t.attrs;if(null!=e){const t=e.indexOf(5);if(0==(1&t))return e[t+1]}return null}(t);for(let i=0;i=0}const ma={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function va(t){return t.substring(ma.key,ma.keyEnd)}function ya(t,e){const n=ma.textEnd;return n===e?-1:(e=ma.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,ma.key=e,n),ba(t,e,n))}function ba(t,e,n){for(;e=0;n=ya(e,n))bt(t,va(e),!0)}function ka(t,e,n,r){const i=ue(),o=he(),a=we(2);if(o.firstUpdatePass&&Ta(o,t,a,r),e!==Or&&Fo(i,a,e)){let s;null==n&&(s=function(){const t=le.lFrame;return null===t?null:t.currentSanitizer}())&&(n=s),Da(o,o.data[Pe()+19],i,i[11],t,i[a+1]=function(t,e){return null==t||("function"==typeof e?t=e(t):"string"==typeof e?t+=e:"object"==typeof t&&(t=L(On(t)))),t}(e,n),r,a)}}function Ca(t,e,n,r){const i=he(),o=we(2);i.firstUpdatePass&&Ta(i,null,o,r);const a=ue();if(n!==Or&&Fo(a,o,n)){const s=i.data[Pe()+19];if(Pa(s,r)&&!Aa(i,o)){let t=r?s.classes:s.styles;null!==t&&(n=R(t,n||"")),$o(i,s,a,n,r)}else!function(t,e,n,r,i,o,a,s){i===Or&&(i=fa);let l=0,c=0,u=0=t.expandoStartIndex}function Ta(t,e,n,r){const i=t.data;if(null===i[n+1]){const o=i[Pe()+19],a=Aa(t,n);Pa(o,r)&&null===e&&!a&&(e=!1),e=function(t,e,n,r){const i=function(t){const e=le.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t);let o=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=Ma(n=Ea(null,t,e,n,r),e.attrs,r),o=null);else{const a=e.directiveStylingLast;if(-1===a||t[a]!==i)if(n=Ea(i,t,e,n,r),null===o){let n=function(t,e,n){const r=n?e.classBindings:e.styleBindings;if(0!==Br(r))return t[zr(r)]}(t,e,r);void 0!==n&&Array.isArray(n)&&(n=Ea(null,t,e,n[1],r),n=Ma(n,e.attrs,r),function(t,e,n,r){t[zr(n?e.classBindings:e.styleBindings)]=r}(t,e,r,n))}else o=function(t,e,n){let r=void 0;const i=e.directiveEnd;for(let o=1+e.directiveStylingLast;o0)&&(u=!0)}else c=n;if(i)if(0!==l){const e=zr(t[s+1]);t[r+1]=Nr(e,s),0!==e&&(t[e+1]=Vr(t[e+1],r)),t[s+1]=131071&t[s+1]|r<<17}else t[r+1]=Nr(s,0),0!==s&&(t[s+1]=Vr(t[s+1],r)),s=r;else t[r+1]=Nr(l,0),0===s?s=r:t[l+1]=Vr(t[l+1],r),l=r;u&&(t[r+1]=Fr(t[r+1])),pa(t,c,r,!0),pa(t,c,r,!1),function(t,e,n,r,i){const o=i?t.residualClasses:t.residualStyles;null!=o&&"string"==typeof e&&xt(o,e)>=0&&(n[r+1]=jr(n[r+1]))}(e,c,t,r,o),a=Nr(s,l),o?e.classBindings=a:e.styleBindings=a}(i,o,e,n,a,r)}}function Ea(t,e,n,r,i){let o=null;const a=n.directiveEnd;let s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){const e=t[i],o=Array.isArray(e),l=o?e[1]:e,c=null===l;let u=n[i+1];u===Or&&(u=c?fa:void 0);let h=c?_t(u,r):l===r?u:void 0;if(o&&!Oa(h)&&(h=_t(e,r)),Oa(h)&&(s=h,a))return s;const d=t[i+1];i=a?zr(d):Br(d)}if(null!==e){let t=o?e.residualClasses:e.residualStyles;null!=t&&(s=_t(t,r))}return s}function Oa(t){return void 0!==t}function Pa(t,e){return 0!=(t.flags&(e?16:32))}function La(t,e=""){const n=ue(),r=he(),i=t+19,o=r.firstCreatePass?Hr(r,n[6],t,3,null,null):r.data[i],a=n[i]=function(t,e){return Zt(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);qi(r,n,a,o),pe(o,!1)}function Ra(t){return Na("",t,""),Ra}function Na(t,e,n){const r=ue(),i=jo(r,t,e,n);return i!==Or&&Di(r,Pe(),i),Na}function za(t,e,n,r,i){const o=ue(),a=function(t,e,n,r,i,o){const a=Bo(t,_e(),n,i);return we(2),a?e+tn(n)+r+tn(i)+o:Or}(o,t,e,n,r,i);return a!==Or&&Di(o,Pe(),a),za}function Fa(t,e,n){Ca(bt,Sa,jo(ue(),t,e,n),!0)}function Ba(t,e,n){const r=ue();return Fo(r,xe(),e)&&ri(he(),Re(),r,t,e,r[11],n,!0),Ba}function Va(t,e){const n=re(t)[1],r=n.data.length-1;Fe(n,{directiveStart:r,directiveEnd:r+1})}function ja(t){let e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0;const r=[t];for(;e;){let i=void 0;if(Gt(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);const e=t;e.inputs=Ya(t.inputs),e.declaredInputs=Ya(t.declaredInputs),e.outputs=Ya(t.outputs);const n=i.hostBindings;n&&Ha(t,n);const o=i.viewQuery,a=i.contentQueries;if(o&&Ua(t,o),a&&Ga(t,a),S(t.inputs,i.inputs),S(t.declaredInputs,i.declaredInputs),S(t.outputs,i.outputs),Gt(i)&&i.data.animation){const e=t.data;e.animation=(e.animation||[]).concat(i.data.animation)}e.afterContentChecked=e.afterContentChecked||i.afterContentChecked,e.afterContentInit=t.afterContentInit||i.afterContentInit,e.afterViewChecked=t.afterViewChecked||i.afterViewChecked,e.afterViewInit=t.afterViewInit||i.afterViewInit,e.doCheck=t.doCheck||i.doCheck,e.onDestroy=t.onDestroy||i.onDestroy,e.onInit=t.onInit||i.onInit}const e=i.features;if(e)for(let r=0;r=0;r--){const i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=$e(i.hostAttrs,n=$e(n,i.hostAttrs))}}(r)}function Ya(t){return t===kt?{}:t===Ct?[]:t}function Ua(t,e){const n=t.viewQuery;t.viewQuery=n?(t,r)=>{e(t,r),n(t,r)}:e}function Ga(t,e){const n=t.contentQueries;t.contentQueries=n?(t,r,i)=>{e(t,r,i),n(t,r,i)}:e}function Ha(t,e){const n=t.hostBindings;t.hostBindings=n?(t,r)=>{e(t,r),n(t,r)}:e}class qa{constructor(t,e,n){this.previousValue=t,this.currentValue=e,this.firstChange=n}isFirstChange(){return this.firstChange}}function Wa(t){t.type.prototype.ngOnChanges&&(t.setInput=$a,t.onChanges=function(){const t=Za(this),e=t&&t.current;if(e){const n=t.previous;if(n===kt)t.previous=e;else for(let t in e)n[t]=e[t];t.current=null,this.ngOnChanges(e)}})}function $a(t,e,n,r){const i=Za(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:kt,current:null}),o=i.current||(i.current={}),a=i.previous,s=this.declaredInputs[n],l=a[s];o[s]=new qa(l&&l.currentValue,e,a===kt),t[r]=e}function Za(t){return t.__ngSimpleChanges__||null}function Xa(t,e,n,r,i){if(t=F(t),Array.isArray(t))for(let o=0;o>16;if(So(t)||!t.multi){const r=new Ge(l,i,Go),f=Ja(s,e,i?u:u+d,h);-1===f?(dn(ln(c,a),o,s),Ka(o,t,e.length),e.push(s),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(r),a.push(r)):(n[f]=r,a[f]=r)}else{const f=Ja(s,e,u+d,h),p=Ja(s,e,u,u+d),g=f>=0&&n[f],m=p>=0&&n[p];if(i&&!m||!i&&!g){dn(ln(c,a),o,s);const u=function(t,e,n,r,i){const o=new Ge(t,n,Go);return o.multi=[],o.index=e,o.componentProviders=0,Qa(o,i,r&&!n),o}(i?es:ts,n.length,i,r,l);!i&&m&&(n[p].providerFactory=u),Ka(o,t,e.length),e.push(s),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(u),a.push(u)}else Ka(o,t,f>-1?f:p),Qa(n[i?p:f],l,!i&&r);!i&&r&&m&&n[p].componentProviders++}}}function Ka(t,e,n){if(So(e)||e.useClass){const r=(e.useClass||e).prototype.ngOnDestroy;r&&(t.destroyHooks||(t.destroyHooks=[])).push(n,r)}}function Qa(t,e,n){t.multi.push(e),n&&t.componentProviders++}function Ja(t,e,n,r){for(let i=n;i{n.providersResolver=(n,r)=>function(t,e,n){const r=he();if(r.firstCreatePass){const i=Gt(t);Xa(n,r.data,r.blueprint,i,!0),Xa(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}Wa.ngInherit=!0;class is{}class os{resolveComponentFactory(t){throw function(t){const e=Error(`No component factory found for ${L(t)}. Did you add it to @NgModule.entryComponents?`);return e.ngComponent=t,e}(t)}}let as=(()=>{class t{}return t.NULL=new os,t})(),ss=(()=>{class t{constructor(t){this.nativeElement=t}}return t.__NG_ELEMENT_ID__=()=>ls(t),t})();const ls=function(t){return io(t,fe(),ue())};class cs{}const us=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}();let hs=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>ds(),t})();const ds=function(){const t=ue(),e=ne(fe().index,t);return function(t){const e=t[11];if(Zt(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Bt(e)?e:t)};let fs=(()=>{class t{}return t.\u0275prov=k({token:t,providedIn:"root",factory:()=>null}),t})();class ps{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const gs=new ps("9.0.7");class ms{constructor(){}supports(t){return Ro(t)}create(t){return new ys(t)}}const vs=(t,e)=>e;class ys{constructor(t){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||vs}forEachItem(t){let e;for(e=this._itHead;null!==e;e=e._next)t(e)}forEachOperation(t){let e=this._itHead,n=this._removalsHead,r=0,i=null;for(;e||n;){const o=!n||e&&e.currentIndex{r=this._trackByFn(e,t),null!==i&&Po(i.trackById,r)?(o&&(i=this._verifyReinsertion(i,t,r,e)),Po(i.item,t)||this._addIdentityChange(i,t)):(i=this._mismatch(i,t,r,e),o=!0),i=i._next,e++}),this.length=e;return this._truncate(i),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t,e;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=e)t.previousIndex=t.currentIndex,e=t._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,e,n,r){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Po(t.item,e)||this._addIdentityChange(t,e),this._moveAfter(t,i,r)):null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Po(t.item,e)||this._addIdentityChange(t,e),this._reinsertAfter(t,i,r)):t=this._addAfter(new bs(e,n),i,r),t}_verifyReinsertion(t,e,n,r){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?t=this._reinsertAfter(i,t._prev,r):t.currentIndex!=r&&(t.currentIndex=r,this._addToMoves(t,r)),t}_truncate(t){for(;null!==t;){const e=t._next;this._addToRemovals(this._unlink(t)),t=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(t,e,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const r=t._prevRemoved,i=t._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(t,e,n),this._addToMoves(t,n),t}_moveAfter(t,e,n){return this._unlink(t),this._insertAfter(t,e,n),this._addToMoves(t,n),t}_addAfter(t,e,n){return this._insertAfter(t,e,n),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,e,n){const r=null===e?this._itHead:e._next;return t._next=r,t._prev=e,null===r?this._itTail=t:r._prev=t,null===e?this._itHead=t:e._next=t,null===this._linkedRecords&&(this._linkedRecords=new xs),this._linkedRecords.put(t),t.currentIndex=n,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const e=t._prev,n=t._next;return null===e?this._itHead=n:e._next=n,null===n?this._itTail=e:n._prev=e,t}_addToMoves(t,e){return t.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new xs),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,e){return t.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class bs{constructor(t,e){this.item=t,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class _s{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,e){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===e||e<=n.currentIndex)&&Po(n.trackById,t))return n;return null}remove(t){const e=t._prevDup,n=t._nextDup;return null===e?this._head=n:e._nextDup=n,null===n?this._tail=e:n._prevDup=e,null===this._head}}class xs{constructor(){this.map=new Map}put(t){const e=t.trackById;let n=this.map.get(e);n||(n=new _s,this.map.set(e,n)),n.add(t)}get(t,e){const n=this.map.get(t);return n?n.get(t,e):null}remove(t){const e=t.trackById;return this.map.get(e).remove(t)&&this.map.delete(e),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function ws(t,e,n){const r=t.previousIndex;if(null===r)return r;let i=0;return n&&r{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,e){if(t){const n=t._prev;return e._next=t,e._prev=n,t._prev=e,n&&(n._next=e),t===this._mapHead&&(this._mapHead=e),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(t,e){if(this._records.has(t)){const n=this._records.get(t);this._maybeAddToChanges(n,e);const r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}const n=new Cs(t);return this._records.set(t,n),n.currentValue=e,this._addToAdditions(n),n}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,e){Po(e,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=e,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,e){t instanceof Map?t.forEach(e):Object.keys(t).forEach(n=>e(t[n],n))}}class Cs{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let As=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(null!=n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return t.create(e,n)},deps:[[t,new _,new y]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(null!=e)return e;throw new Error(`Cannot find a differ supporting object '${t}' of type '${n=t,n.name||typeof n}'`);var n}}return t.\u0275prov=k({token:t,providedIn:"root",factory:()=>new t([new ms])}),t})(),Ts=(()=>{class t{constructor(t){this.factories=t}static create(e,n){if(n){const t=n.factories.slice();e=e.concat(t)}return new t(e)}static extend(e){return{provide:t,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return t.create(e,n)},deps:[[t,new _,new y]]}}find(t){const e=this.factories.find(e=>e.supports(t));if(e)return e;throw new Error(`Cannot find a differ supporting object '${t}'`)}}return t.\u0275prov=k({token:t,providedIn:"root",factory:()=>new t([new Ss])}),t})();const Es=[new Ss],Ms=new As([new ms]),Ds=new Ts(Es);let Is=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Os(t,ss),t})();const Os=function(t,e){return oo(t,e,fe(),ue())};let Ps=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>Ls(t,ss),t})();const Ls=function(t,e){return ao(t,e,fe(),ue())},Rs={};class Ns extends as{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const e=Nt(t);return new Bs(e,this.ngModule)}}function zs(t){const e=[];for(let n in t)t.hasOwnProperty(n)&&e.push({propName:t[n],templateName:n});return e}const Fs=new Q("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>nn});class Bs extends is{constructor(t,e){super(),this.componentDef=t,this.ngModule=e,this.componentType=t.type,this.selector=t.selectors.map(Ir).join(","),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return zs(this.componentDef.inputs)}get outputs(){return zs(this.componentDef.outputs)}create(t,e,n,r){const i=(r=r||this.ngModule)?function(t,e){return{get:(n,r,i)=>{const o=t.get(n,Rs,i);return o!==Rs||r===Rs?o:e.get(n,r,i)}}}(t,r.injector):t,o=i.get(cs,Xt),a=i.get(fs,null),s=o.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=n?function(t,e,n){if(Zt(t))return t.selectRootElement(e,n===St.ShadowDom);let r="string"==typeof e?t.querySelector(e):e;return r.textContent="",r}(s,n,this.componentDef.encapsulation):Ur(l,o.createRenderer(null,this.componentDef),function(t){const e=t.toLowerCase();return"svg"===e?"http://www.w3.org/2000/svg":"math"===e?"http://www.w3.org/1998/MathML/":null}(l)),u=this.componentDef.onPush?576:528,h="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),d={components:[],scheduler:nn,clean:Ci,playerHandler:null,flags:0},f=ti(0,-1,null,1,0,null,null,null,null,null),p=Gr(null,f,d,u,null,null,o,s,a,i);let g,m;Te(p,null);try{const t=function(t,e,n,r,i,o){const a=n[1];n[19]=t;const s=Hr(a,null,0,3,null,null),l=s.mergedAttrs=e.hostAttrs;null!==l&&(Do(s,l),null!==t&&(He(i,t,l),null!==s.classes&&Qi(i,t,s.classes),null!==s.styles&&Ki(i,t,s.styles)));const c=r.createRenderer(t,e),u=Gr(n,Jr(e),null,e.onPush?64:16,n[19],s,r,c,void 0);return a.firstCreatePass&&(dn(ln(s,n),a,e.type),ci(a,s),hi(s,n.length,1)),_i(n,u),n[19]=u}(c,this.componentDef,p,o,s);if(c)if(n)He(s,c,["ng-version",gs.full]);else{const{attrs:t,classes:e}=function(t){const e=[],n=[];let r=1,i=2;for(;r0&&Qi(s,c,e.join(" "))}m=te(p[1],0),e&&(m.projection=e.map(t=>Array.from(t))),g=function(t,e,n,r,i){const o=n[1],a=function(t,e,n){const r=fe();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),li(t,r,1),di(t,e,n));const i=vn(e,t,e.length-1,r);br(i,e);const o=Jt(r,e);return o&&br(o,e),i}(o,n,e);r.components.push(a),t[8]=a,i&&i.forEach(t=>t(a,e)),e.contentQueries&&e.contentQueries(1,a,n.length-1);const s=fe();if(o.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){Le(s.index-19);const t=n[1];oi(t,e),ai(t,n,e.hostVars),si(e,a)}return a}(t,this.componentDef,p,d,[Va]),qr(f,p,null)}finally{Oe()}const v=new Vs(this.componentType,g,io(ss,m,p),p,m);return n&&!h||(v.hostView._tViewNode.child=m),v}}class Vs extends class{}{constructor(t,e,n,r,i){super(),this.location=n,this._rootLView=r,this._tNode=i,this.destroyCbs=[],this.instance=e,this.hostView=this.changeDetectorRef=new to(r),this.hostView._tViewNode=function(t,e,n,r){let i=t.node;return null==i&&(t.node=i=ei(0,null,2,-1,null,null)),r[6]=i}(r[1],0,0,r),this.componentType=t}get injector(){return new _n(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(t=>t()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(t){this.destroyCbs&&this.destroyCbs.push(t)}}const js=void 0;var Ys=["en",[["a","p"],["AM","PM"],js],[["AM","PM"],js,js],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],js,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],js,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",js,"{1} 'at' {0}",js],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},function(t){let e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}];let Us={};function Gs(t,e,n){"string"!=typeof e&&(n=e,e=t[Zs.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),Us[e]=t,n&&(Us[e][Zs.ExtraData]=n)}function Hs(t){const e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t);let n=$s(e);if(n)return n;const r=e.split("-")[0];if(n=$s(r),n)return n;if("en"===r)return Ys;throw new Error(`Missing locale data for the locale "${t}".`)}function qs(t){return Hs(t)[Zs.CurrencyCode]||null}function Ws(t){return Hs(t)[Zs.PluralCase]}function $s(t){return t in Us||(Us[t]=G.ng&&G.ng.common&&G.ng.common.locales&&G.ng.common.locales[t]),Us[t]}const Zs=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,PluralCase:19,ExtraData:20};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencyCode]="CurrencyCode",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}();let Xs="en-US";function Ks(t){var e,n;n="Expected localeId to be defined",null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: "+t+` [Expected=> null != ${e} <=Actual]`)}(n,e),"string"==typeof t&&(Xs=t.toLowerCase().replace(/_/g,"-"))}const Qs=new Map;class Js extends ft{constructor(t,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Ns(this);const n=Ft(t),r=t[Z]||null;r&&Ks(r),this._bootstrapComponents=rn(n.bootstrap),this._r3Injector=vo(t,e,[{provide:ft,useValue:this},{provide:as,useValue:this.componentFactoryResolver}],L(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,e=Co.THROW_IF_NOT_FOUND,n=x.Default){return t===Co||t===ft||t===J?this:this._r3Injector.get(t,e,n)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(t=>t()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class tl extends pt{constructor(t){super(),this.moduleType=t,null!==Ft(t)&&function t(e){if(null!==e.\u0275mod.id){const t=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error(`Duplicate module registered for ${t} - ${L(e)} vs ${L(e.name)}`)})(t,Qs.get(t),e),Qs.set(t,e)}let n=e.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(e=>t(e))}(t)}create(t){return new Js(this.moduleType,t)}}function el(t,e,n){const r=be()+t,i=ue();return i[r]===Or?zo(i,r,n?e.call(n):e()):function(t,e){return t[e]}(i,r)}function nl(t,e,n,r){return ol(ue(),be(),t,e,n,r)}function rl(t,e,n,r,i,o){return function(t,e,n,r,i,o,a,s){const l=e+n;return function(t,e,n,r,i){const o=Bo(t,e,n,r);return Fo(t,e+2,i)||o}(t,l,i,o,a)?zo(t,l+3,s?r.call(s,i,o,a):r(i,o,a)):il(t,l+3)}(ue(),be(),t,e,n,r,i,o)}function il(t,e){const n=t[e];return n===Or?void 0:n}function ol(t,e,n,r,i,o){const a=e+n;return Fo(t,a,i)?zo(t,a+1,o?r.call(o,i):r(i)):il(t,a+1)}function al(t,e){const n=he();let r;const i=t+19;n.firstCreatePass?(r=function(t,e){if(e)for(let n=e.length-1;n>=0;n--){const r=e[n];if(t===r.name)return r}throw new Error(`The pipe '${t}' could not be found!`)}(e,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const o=r.factory||(r.factory=zt(r.type)),a=at(Go),s=o();return at(a),function(t,e,n,r){const i=n+19;i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=r}(n,ue(),t,s),s}function sl(t,e,n){const r=ue(),i=ee(r,t);return function(t,e){return Lo.isWrapped(e)&&(e=Lo.unwrap(e),t[_e()]=Or),e}(r,function(t,e){return t[1].data[e+19].pure}(r,t)?ol(r,be(),e,i.transform,n,i):i.transform(n))}class ll extends r.a{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,e,n){let r,o=t=>null,a=()=>null;t&&"object"==typeof t?(r=this.__isAsync?e=>{setTimeout(()=>t.next(e))}:e=>{t.next(e)},t.error&&(o=this.__isAsync?e=>{setTimeout(()=>t.error(e))}:e=>{t.error(e)}),t.complete&&(a=this.__isAsync?()=>{setTimeout(()=>t.complete())}:()=>{t.complete()})):(r=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)},e&&(o=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)}),n&&(a=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const s=super.subscribe(r,o,a);return t instanceof i.a&&t.add(s),s}}function cl(){return this._results[Oo()]()}class ul{constructor(){this.dirty=!0,this._results=[],this.changes=new ll,this.length=0;const t=Oo(),e=ul.prototype;e[t]||(e[t]=cl)}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,e){return this._results.reduce(t,e)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t){this._results=function t(e,n){void 0===n&&(n=e);for(let r=0;r0)i.push(s[e/2]);else{const o=a[e+1],s=n[-r];for(let e=9;e{class t{constructor(t){this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}runInitializers(){if(this.initialized)return;const t=[],e=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n{e()}).catch(t=>{this.reject(t)}),0===t.length&&e(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(lt(Dl,8))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();const Ol=new Q("AppId"),Pl={provide:Ol,useFactory:function(){return`${Ll()}${Ll()}${Ll()}`},deps:[]};function Ll(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Rl=new Q("Platform Initializer"),Nl=new Q("Platform ID"),zl=new Q("appBootstrapListener");let Fl=(()=>{class t{log(t){console.log(t)}warn(t){console.warn(t)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();const Bl=new Q("LocaleId"),Vl=new Q("DefaultCurrencyCode");class jl{constructor(t,e){this.ngModuleFactory=t,this.componentFactories=e}}const Yl=function(t){return new tl(t)},Ul=Yl,Gl=function(t){return Promise.resolve(Yl(t))},Hl=function(t){const e=Yl(t),n=rn(Ft(t).declarations).reduce((t,e)=>{const n=Nt(e);return n&&t.push(new Bs(n)),t},[]);return new jl(e,n)},ql=Hl,Wl=function(t){return Promise.resolve(Hl(t))};let $l=(()=>{class t{constructor(){this.compileModuleSync=Ul,this.compileModuleAsync=Gl,this.compileModuleAndAllComponentsSync=ql,this.compileModuleAndAllComponentsAsync=Wl}clearCache(){}clearCacheFor(t){}getModuleId(t){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();const Zl=new Q("compilerOptions"),Xl=(()=>Promise.resolve(0))();function Kl(t){"undefined"==typeof Zone?Xl.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class Ql{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:e=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ll(!1),this.onMicrotaskEmpty=new ll(!1),this.onStable=new ll(!1),this.onError=new ll(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=e,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let t=G.requestAnimationFrame,e=G.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&e){const n=t[Zone.__symbol__("OriginalDelegate")];n&&(t=n);const r=e[Zone.__symbol__("OriginalDelegate")];r&&(e=r)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function(t){const e=!!t.shouldCoalesceEventChangeDetection&&t.nativeRequestAnimationFrame&&(()=>{!function(t){-1===t.lastRequestAnimationFrameId&&(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(G,()=>{t.lastRequestAnimationFrameId=-1,nc(t),ec(t)}),nc(t))}(t)});t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:e},onInvokeTask:(n,r,i,o,a,s)=>{try{return rc(t),n.invokeTask(i,o,a,s)}finally{e&&"eventTask"===o.type&&e(),ic(t)}},onInvoke:(e,n,r,i,o,a,s)=>{try{return rc(t),e.invoke(r,i,o,a,s)}finally{ic(t)}},onHasTask:(e,n,r,i)=>{e.hasTask(r,i),n===r&&("microTask"==i.change?(t._hasPendingMicrotasks=i.microTask,nc(t),ec(t)):"macroTask"==i.change&&(t.hasPendingMacrotasks=i.macroTask))},onHandleError:(e,n,r,i)=>(e.handleError(r,i),t.runOutsideAngular(()=>t.onError.emit(i)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ql.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ql.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,e,n){return this._inner.run(t,e,n)}runTask(t,e,n,r){const i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,t,tc,Jl,Jl);try{return i.runTask(o,e,n)}finally{i.cancelTask(o)}}runGuarded(t,e,n){return this._inner.runGuarded(t,e,n)}runOutsideAngular(t){return this._outer.run(t)}}function Jl(){}const tc={};function ec(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function nc(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||t.shouldCoalesceEventChangeDetection&&-1!==t.lastRequestAnimationFrameId)}function rc(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ic(t){t._nesting--,ec(t)}class oc{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ll,this.onMicrotaskEmpty=new ll,this.onStable=new ll,this.onError=new ll}run(t,e,n){return t.apply(e,n)}runGuarded(t,e,n){return t.apply(e,n)}runOutsideAngular(t){return t()}runTask(t,e,n,r){return t.apply(e,n)}}let ac=(()=>{class t{constructor(t){this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ql.assertNotInAngularZone(),Kl(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())Kl(()=>{for(;0!==this._callbacks.length;){let t=this._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(this._didWork)}this._didWork=!1});else{let t=this.getPendingTasks();this._callbacks=this._callbacks.filter(e=>!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(t=>({source:t.source,creationLocation:t.creationLocation,data:t.data})):[]}addCallback(t,e,n){let r=-1;e&&e>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(t=>t.timeoutId!==r),t(this._didWork,this.getPendingTasks())},e)),this._callbacks.push({doneCb:t,timeoutId:r,updateCb:n})}whenStable(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(t,e,n){return[]}}return t.\u0275fac=function(e){return new(e||t)(lt(Ql))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})(),sc=(()=>{class t{constructor(){this._applications=new Map,hc.addToWindow(this)}registerApplication(t,e){this._applications.set(t,e)}unregisterApplication(t){this._applications.delete(t)}unregisterAllApplications(){this._applications.clear()}getTestability(t){return this._applications.get(t)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(t,e=!0){return hc.findTestabilityInTree(this,t,e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();class lc{addToWindow(t){}findTestabilityInTree(t,e,n){return null}}function cc(t){hc=t}let uc,hc=new lc,dc=function(t,e,n){const r=new tl(n);if(0===To.size)return Promise.resolve(r);const i=function(t){const e=[];return t.forEach(t=>t&&e.push(...t)),e}(t.get(Zl,[]).concat(e).map(t=>t.providers));if(0===i.length)return Promise.resolve(r);const o=function(){const t=G.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}(),a=Co.create({providers:i}).get(o.ResourceLoader);return function(t){const e=[],n=new Map;function r(t){let e=n.get(t);if(!e){const r=(t=>Promise.resolve(a.get(t)))(t);n.set(t,e=r.then(Mo))}return e}return To.forEach((t,n)=>{const i=[];t.templateUrl&&i.push(r(t.templateUrl).then(e=>{t.template=e}));const o=t.styleUrls,a=t.styles||(t.styles=[]),s=t.styles.length;o&&o.forEach((e,n)=>{a.push(""),i.push(r(e).then(r=>{a[s+n]=r,o.splice(o.indexOf(e),1),0==o.length&&(t.styleUrls=void 0)}))});const l=Promise.all(i).then(()=>function(t){Eo.delete(t)}(n));e.push(l)}),To=new Map,Promise.all(e).then(()=>{})}().then(()=>r)};const fc=new Q("AllowMultipleToken");class pc{constructor(t,e){this.name=t,this.token=e}}function gc(t,e,n=[]){const r="Platform: "+e,i=new Q(r);return(e=[])=>{let o=mc();if(!o||o.injector.get(fc,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{const t=n.concat(e).concat({provide:i,useValue:!0},{provide:uo,useValue:"platform"});!function(t){if(uc&&!uc.destroyed&&!uc.injector.get(fc,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");uc=t.get(vc);const e=t.get(Rl,null);e&&e.forEach(t=>t())}(Co.create({providers:t,name:r}))}return function(t){const e=mc();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function mc(){return uc&&!uc.destroyed?uc:null}let vc=(()=>{class t{constructor(t){this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(t,e){const n=function(t,e){let n;return n="noop"===t?new oc:("zone.js"===t?void 0:t)||new Ql({enableLongStackTrace:Yn(),shouldCoalesceEventChangeDetection:e}),n}(e?e.ngZone:void 0,e&&e.ngZoneEventCoalescing||!1),r=[{provide:Ql,useValue:n}];return n.run(()=>{const e=Co.create({providers:r,parent:this.injector,name:t.moduleType.name}),i=t.create(e),o=i.injector.get(Cn,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(()=>_c(this._modules,i)),n.runOutsideAngular(()=>n.onError.subscribe({next:t=>{o.handleError(t)}})),function(t,e,n){try{const r=n();return na(r)?r.catch(n=>{throw e.runOutsideAngular(()=>t.handleError(n)),n}):r}catch(r){throw e.runOutsideAngular(()=>t.handleError(r)),r}}(o,n,()=>{const t=i.injector.get(Il);return t.runInitializers(),t.donePromise.then(()=>(Ks(i.injector.get(Bl,"en-US")||"en-US"),this._moduleDoBootstrap(i),i))})})}bootstrapModule(t,e=[]){const n=yc({},e);return dc(this.injector,n,t).then(t=>this.bootstrapModuleFactory(t,n))}_moduleDoBootstrap(t){const e=t.injector.get(bc);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach(t=>e.bootstrap(t));else{if(!t.instance.ngDoBootstrap)throw new Error(`The module ${L(t.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);t.instance.ngDoBootstrap(e)}this._modules.push(t)}onDestroy(t){this._destroyListeners.push(t)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(t=>t.destroy()),this._destroyListeners.forEach(t=>t()),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(lt(Co))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();function yc(t,e){return Array.isArray(e)?e.reduce(yc,t):Object.assign(Object.assign({},t),e)}let bc=(()=>{class t{constructor(t,e,n,r,i,s){this._zone=t,this._console=e,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Yn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const c=new o.a(t=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{t.next(this._stable),t.complete()})}),u=new o.a(t=>{let e;this._zone.runOutsideAngular(()=>{e=this._zone.onStable.subscribe(()=>{Ql.assertNotInAngularZone(),Kl(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,t.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ql.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{t.next(!1)}))});return()=>{e.unsubscribe(),n.unsubscribe()}});this.isStable=Object(a.a)(c,u.pipe(t=>{return l()((e=p,function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,d);return r.source=t,r.subjectFactory=n,r})(t));var e}))}bootstrap(t,e){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=t instanceof is?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);const r=n.isBoundToModule?void 0:this._injector.get(ft),i=n.create(Co.NULL,[],e||n.selector,r);i.onDestroy(()=>{this._unloadComponent(i)});const o=i.injector.get(ac,null);return o&&i.injector.get(sc).registerApplication(i.location.nativeElement,o),this._loadComponent(i),Yn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let t of this._views)t.detectChanges();if(this._enforceNoNewChanges)for(let t of this._views)t.checkNoChanges()}catch(t){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(t))}finally{this._runningTick=!1}}attachView(t){const e=t;this._views.push(e),e.attachToAppRef(this)}detachView(t){const e=t;_c(this._views,e),e.detachFromAppRef()}_loadComponent(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(zl,[]).concat(this._bootstrapListeners).forEach(e=>e(t))}_unloadComponent(t){this.detachView(t.hostView),_c(this.components,t)}ngOnDestroy(){this._views.slice().forEach(t=>t.destroy())}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(lt(Ql),lt(Fl),lt(Co),lt(Cn),lt(as),lt(Il))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();function _c(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class xc{}class wc{}const Sc={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let kc=(()=>{class t{constructor(t,e){this._compiler=t,this._config=e||Sc}load(t){return this.loadAndCompile(t)}loadAndCompile(t){let[e,r]=t.split("#");return void 0===r&&(r="default"),n("zn8P")(e).then(t=>t[r]).then(t=>Cc(t,e,r)).then(t=>this._compiler.compileModuleAsync(t))}loadFactory(t){let[e,r]=t.split("#"),i="NgFactory";return void 0===r&&(r="default",i=""),n("zn8P")(this._config.factoryPathPrefix+e+this._config.factoryPathSuffix).then(t=>t[r+i]).then(t=>Cc(t,e,r))}}return t.\u0275fac=function(e){return new(e||t)(lt($l),lt(wc,8))},t.\u0275prov=k({token:t,factory:t.\u0275fac}),t})();function Cc(t,e,n){if(!t)throw new Error(`Cannot find '${n}' in '${e}'`);return t}const Ac=function(t){return null},Tc=gc(null,"core",[{provide:Nl,useValue:"unknown"},{provide:vc,deps:[Co]},{provide:sc,deps:[]},{provide:Fl,deps:[]}]),Ec=[{provide:bc,useClass:bc,deps:[Ql,Fl,Co,Cn,as,Il]},{provide:Fs,deps:[Ql],useFactory:function(t){let e=[];return t.onStable.subscribe(()=>{for(;e.length;)e.pop()()}),function(t){e.push(t)}}},{provide:Il,useClass:Il,deps:[[new y,Dl]]},{provide:$l,useClass:$l,deps:[]},Pl,{provide:As,useFactory:function(){return Ms},deps:[]},{provide:Ts,useFactory:function(){return Ds},deps:[]},{provide:Bl,useFactory:function(t){return Ks(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new v(Bl),new y,new _]]},{provide:Vl,useValue:"USD"}];let Mc=(()=>{class t{constructor(t){}}return t.\u0275mod=It({type:t}),t.\u0275inj=C({factory:function(e){return new(e||t)(lt(bc))},providers:Ec}),t})()},"fc+c":function(t,e,n){var r=n("sS/r").extend({type:"dataZoom",render:function(t,e,n,r){this.dataZoomModel=t,this.ecModel=e,this.api=n},getTargetCoordInfo:function(){var t=this.ecModel,e={};return this.dataZoomModel.eachTargetAxis((function(n,r){var i=t.getComponent(n.axis,r);if(i){var o=i.getCoordSysModel();o&&function(t,e,n,r){for(var i,o=0;o0&&(_[0]=-_[0],_[1]=-_[1]);var w,S=h[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var k=-Math.atan2(h[1],h[0]);c[0].8?"left":u[0]<-.8?"right":"center",p=u[1]>.8?"top":u[1]<-.8?"bottom":"middle";break;case"start":d=[-u[0]*v+l[0],-u[1]*y+l[1]],f=u[0]>.8?"right":u[0]<-.8?"left":"center",p=u[1]>.8?"bottom":u[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":d=[v*S+l[0],l[1]+w],f=h[0]<0?"right":"left",g=[-v*S,-w];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":d=[x[0],x[1]+w],f="center",g=[0,-w];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":d=[-v*S+c[0],c[1]+w],f=h[0]>=0?"right":"left",g=[v*S,-w]}n.attr({style:{textVerticalAlign:n.__verticalAlign||p,textAlign:n.__textAlign||f},position:d,scale:[r,r],origin:g})}}}},p._createLine=function(t,e,n){var i=t.hostModel,o=function(t){var e=new a({name:"line",subPixelOptimize:!0});return d(e.shape,t),e}(t.getItemLayout(e));o.shape.percent=0,s.initProps(o,{shape:{percent:1}},i,e),this.add(o);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),r.each(c,(function(n){var r=h(n,t,e);this.add(r),this[u(n)]=t.getItemVisual(e,n)}),this),this._updateCommonStl(t,e,n)},p.updateData=function(t,e,n){var i=t.hostModel,o=this.childOfName("line"),a=t.getItemLayout(e),l={shape:{}};d(l.shape,a),s.updateProps(o,l,i,e),r.each(c,(function(n){var r=t.getItemVisual(e,n),i=u(n);if(this[i]!==r){this.remove(this.childOfName(n));var o=h(n,t,e);this.add(o)}this[i]=r}),this),this._updateCommonStl(t,e,n)},p._updateCommonStl=function(t,e,n){var i=t.hostModel,o=this.childOfName("line"),a=n&&n.lineStyle,u=n&&n.hoverLineStyle,h=n&&n.labelModel,d=n&&n.hoverLabelModel;if(!n||t.hasItemOption){var f=t.getItemModel(e);a=f.getModel("lineStyle").getLineStyle(),u=f.getModel("emphasis.lineStyle").getLineStyle(),h=f.getModel("label"),d=f.getModel("emphasis.label")}var p=t.getItemVisual(e,"color"),g=r.retrieve3(t.getItemVisual(e,"opacity"),a.opacity,1);o.useStyle(r.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},a)),o.hoverStyle=u,r.each(c,(function(t){var e=this.childOfName(t);e&&(e.setColor(p),e.setStyle({opacity:g}))}),this);var m,v,y=h.getShallow("show"),b=d.getShallow("show"),_=this.childOfName("label");if((y||b)&&(m=p||"#000",null==(v=i.getFormattedLabel(e,"normal",t.dataType)))){var x=i.getRawValue(e);v=null==x?t.getName(e):isFinite(x)?l(x):x}var w=y?v:null,S=b?r.retrieve2(i.getFormattedLabel(e,"emphasis",t.dataType),v):null,k=_.style;if(null!=w||null!=S){s.setTextStyle(_.style,h,{text:w},{autoColor:m}),_.__textAlign=k.textAlign,_.__verticalAlign=k.textVerticalAlign,_.__position=h.get("position")||"middle";var C=h.get("distance");r.isArray(C)||(C=[C,C]),_.__labelDistance=C}_.hoverStyle=null!=S?{text:S,textFill:d.getTextColor(!0),fontStyle:d.getShallow("fontStyle"),fontWeight:d.getShallow("fontWeight"),fontSize:d.getShallow("fontSize"),fontFamily:d.getShallow("fontFamily")}:{text:null},_.ignore=!y&&!b,s.setHoverStyle(this)},p.highlight=function(){this.trigger("emphasis")},p.downplay=function(){this.trigger("normal")},p.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},p.setLinePoints=function(t){var e=this.childOfName("line");d(e.shape,t),e.dirty()},r.inherits(f,s.Group),t.exports=f},fmMI:function(t,e,n){n("Tghj");var r=n("bYtY"),i=r.each,o=r.filter,a=r.map,s=r.isArray,l=r.indexOf,c=r.isObject,u=r.isString,h=r.createHashMap,d=r.assert,f=r.clone,p=r.merge,g=r.extend,m=r.mixin,v=n("4NO4"),y=n("Qxkt"),b=n("bLfw"),_=n("iXHM"),x=n("5Hur"),w=n("D5nY").resetSourceDefaulter,S=y.extend({init:function(t,e,n,r){n=n||{},this.option=null,this._theme=new y(n),this._optionManager=r},setOption:function(t,e){d(!("\0_ec_inner"in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var r=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(r)):k.call(this,r),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=n.getTimelineOption(this);o&&(this.mergeOption(o),e=!0)}if(!t||"recreate"===t||"media"===t){var a=n.getMediaOption(this,this._api);a.length&&i(a,(function(t){this.mergeOption(t,e=!0)}),this)}return e},mergeOption:function(t){var e=this.option,n=this._componentsMap,r=[];w(this),i(t,(function(t,n){null!=t&&(b.hasClass(n)?n&&r.push(n):e[n]=null==e[n]?f(t):p(e[n],t,!0))})),b.topologicalTravel(r,b.getAllClassMainTypes(),(function(r,o){var a=v.normalizeToArray(t[r]),l=v.mappingToExists(n.get(r),a);v.makeIdAndName(l),i(l,(function(t,e){var n=t.option;c(n)&&(t.keyInfo.mainType=r,t.keyInfo.subType=function(t,e,n){return e.type?e.type:n?n.subType:b.determineSubType(t,e)}(r,n,t.exist))}));var u=function(t,e){s(e)||(e=e?[e]:[]);var n={};return i(e,(function(e){n[e]=(t.get(e)||[]).slice()})),n}(n,o);e[r]=[],n.set(r,[]),i(l,(function(t,i){var o=t.exist,a=t.option;if(d(c(a)||o,"Empty component definition"),a){var s=b.getClass(r,t.keyInfo.subType,!0);if(o&&o.constructor===s)o.name=t.keyInfo.name,o.mergeOption(a,this),o.optionUpdated(a,!1);else{var l=g({dependentModels:u,componentIndex:i},t.keyInfo);o=new s(a,this,this,l),g(o,l),o.init(a,this,this,l),o.optionUpdated(null,!0)}}else o.mergeOption({},this),o.optionUpdated({},!1);n.get(r)[i]=o,e[r][i]=o.option}),this),"series"===r&&C(this,n.get("series"))}),this),this._seriesIndicesMap=h(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=f(this.option);return i(t,(function(e,n){if(b.hasClass(n)){for(var r=(e=v.normalizeToArray(e)).length-1;r>=0;r--)v.isIdInner(e[r])&&e.splice(r,1);t[n]=e}})),delete t["\0_ec_inner"],t},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);if(n)return n[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var n,r=t.index,i=t.id,c=t.name,u=this._componentsMap.get(e);if(!u||!u.length)return[];if(null!=r)s(r)||(r=[r]),n=o(a(r,(function(t){return u[t]})),(function(t){return!!t}));else if(null!=i){var h=s(i);n=o(u,(function(t){return h&&l(i,t.id)>=0||!h&&t.id===i}))}else if(null!=c){var d=s(c);n=o(u,(function(t){return d&&l(c,t.name)>=0||!d&&t.name===c}))}else n=u.slice();return A(n,t)},findComponents:function(t){var e,n,r,i,a,s=t.mainType,l=(n=s+"Index",r=s+"Id",i=s+"Name",!(e=t.query)||null==e[n]&&null==e[r]&&null==e[i]?null:{mainType:s,index:e[n],id:e[r],name:e[i]});return a=A(l?this.queryComponents(l):this._componentsMap.get(s),t),t.filter?o(a,t.filter):a},eachComponent:function(t,e,n){var r=this._componentsMap;if("function"==typeof t)n=e,e=t,r.each((function(t,r){i(t,(function(t,i){e.call(n,r,t,i)}))}));else if(u(t))i(r.get(t),e,n);else if(c(t)){var o=this.findComponents(t);i(o,e,n)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.name===t}))},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return o(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){i(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];t.call(e,r,n)}),this)},eachRawSeries:function(t,e){i(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){i(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];i.subType===t&&e.call(n,i,r)}),this)},eachRawSeriesByType:function(t,e,n){return i(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){C(this,o(this._componentsMap.get("series"),t,e))},restoreData:function(t){var e=this._componentsMap;C(this,e.get("series"));var n=[];e.each((function(t,e){n.push(e)})),b.topologicalTravel(n,b.getAllClassMainTypes(),(function(n,r){i(e.get(n),(function(e){("series"!==n||!function(t,e){if(e){var n=e.seiresIndex,r=e.seriesId,i=e.seriesName;return null!=n&&t.componentIndex!==n||null!=r&&t.id!==r||null!=i&&t.name!==i}}(e,t))&&e.restoreData()}))}))}});function k(t){var e,n;t=t,this.option={},this.option["\0_ec_inner"]=1,this._componentsMap=h({series:[]}),n=(e=t).color&&!e.colorLayer,i(this._theme.option,(function(t,r){"colorLayer"===r&&n||b.hasClass(r)||("object"==typeof t?e[r]=e[r]?p(e[r],t,!1):f(t):null==e[r]&&(e[r]=t))})),p(t,_,!1),this.mergeOption(t)}function C(t,e){t._seriesIndicesMap=h(t._seriesIndices=a(e,(function(t){return t.componentIndex}))||[])}function A(t,e){return e.hasOwnProperty("subType")?o(t,(function(t){return t.subType===e.subType})):t}m(S,x),t.exports=S},fmRc:function(t,e,n){var r=n("Xi7e"),i=n("77Zs"),o=n("L8xA"),a=n("gCq4"),s=n("VaNO"),l=n("0Cz8");function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=i,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,t.exports=c},ftKO:function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},g0SD:function(t,e,n){var r=n("bYtY"),i=n("9wZj"),o=n("OELB"),a=n("YXkt"),s=n("kj2x");function l(t,e,n){var r=e.coordinateSystem;t.each((function(i){var a,s=t.getItemModel(i),l=o.parsePercent(s.get("x"),n.getWidth()),c=o.parsePercent(s.get("y"),n.getHeight());if(isNaN(l)||isNaN(c)){if(e.getMarkerPosition)a=e.getMarkerPosition(t.getValues(t.dimensions,i));else if(r){var u=t.get(r.dimensions[0],i),h=t.get(r.dimensions[1],i);a=r.dataToPoint([u,h])}}else a=[l,c];isNaN(l)||(a[0]=l),isNaN(c)||(a[1]=c),t.setItemLayout(i,a)}))}var c=n("iPDy").extend({type:"markPoint",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markPointModel;e&&(l(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout(e))}),this)},renderSeries:function(t,e,n,o){var c=t.coordinateSystem,u=t.id,h=t.getData(),d=this.markerGroupMap,f=d.get(u)||d.set(u,new i),p=function(t,e,n){var i;i=t?r.map(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return r.defaults({name:t},n)})):[{name:"value",type:"float"}];var o=new a(i,n),l=r.map(n.get("data"),r.curry(s.dataTransform,e));return t&&(l=r.filter(l,r.curry(s.dataFilter,t))),o.initData(l,null,t?s.dimValueGetter:function(t){return t.value}),o}(c,t,e);e.setData(p),l(e.getData(),t,o),p.each((function(t){var n=p.getItemModel(t),i=n.getShallow("symbol"),o=n.getShallow("symbolSize"),a=r.isFunction(i),s=r.isFunction(o);if(a||s){var l=e.getRawValue(t),c=e.getDataParams(t);a&&(i=i(l,c)),s&&(o=o(l,c))}p.setItemVisual(t,{symbol:i,symbolSize:o,color:n.get("itemStyle.color")||h.getVisual("color")})})),f.updateData(p),this.group.add(f.group),p.eachItemGraphicEl((function(t){t.traverse((function(t){t.dataModel=e}))})),f.__keep=!0,f.group.silent=e.get("silent")||t.get("silent")}});t.exports=c},g7p0:function(t,e,n){var r=n("bYtY"),i=n("bLfw"),o=n("+TT/"),a=o.getLayoutParams,s=o.sizeCalculable,l=o.mergeLayoutParam,c=i.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(t,e,n,r){var i=a(t);c.superApply(this,"init",arguments),u(t,i)},mergeOption:function(t,e){c.superApply(this,"mergeOption",arguments),u(this.option,t)}});function u(t,e){var n=t.cellSize;r.isArray(n)?1===n.length&&(n[1]=n[0]):n=t.cellSize=[n,n];var i=r.map([0,1],(function(t){return s(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));l(t,e,{type:"box",ignoreSize:i})}t.exports=c},gCq4:function(t,e){t.exports=function(t){return this.__data__.get(t)}},gFfm:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n=0}function s(t,e,n,r,o){var a="vertical"===o?"x":"y";i.each(t,(function(t){var i,s,l;t.sort((function(t,e){return t.getLayout()[a]-e.getLayout()[a]}));for(var c=0,u=t.length,h="vertical"===o?"dx":"dy",d=0;d0&&(i=s.getLayout()[a]+l,s.setLayout("vertical"===o?{x:i}:{y:i},!0)),c=s.getLayout()[a]+s.getLayout()[h]+e;if((l=c-e-("vertical"===o?r:n))>0)for(i=s.getLayout()[a]-l,s.setLayout("vertical"===o?{x:i}:{y:i},!0),c=i,d=u-2;d>=0;--d)(l=(s=t[d]).getLayout()[a]+s.getLayout()[h]+e-c)>0&&(i=s.getLayout()[a]-l,s.setLayout("vertical"===o?{x:i}:{y:i},!0)),c=s.getLayout()[a]}))}function l(t,e,n){i.each(t.slice().reverse(),(function(t){i.each(t,(function(t){if(t.outEdges.length){var r=f(t.outEdges,c,n)/f(t.outEdges,d,n);if("vertical"===n){var i=t.getLayout().x+(r-h(t,n))*e;t.setLayout({x:i},!0)}else{var o=t.getLayout().y+(r-h(t,n))*e;t.setLayout({y:o},!0)}}}))}))}function c(t,e){return h(t.node2,e)*t.getValue()}function u(t,e){return h(t.node1,e)*t.getValue()}function h(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function d(t){return t.getValue()}function f(t,e,n){for(var r=0,i=t.length,o=-1;++o=0;b&&y.depth>g&&(g=y.depth),v.setLayout({depth:b?y.depth:f},!0),v.setLayout("vertical"===s?{dy:n}:{dx:n},!0);for(var _=0;_f-1?g:f-1;l&&"left"!==l&&function(t,e,n,r){if("right"===e){for(var o=[],s=t,l=0;s.length;){for(var c=0;c0;c--)l(h,d*=.99,u),s(h,a,n,r,u),p(h,d,u),s(h,a,n,r,u)}(t,e,u,c,r,h,d),function(t,e){var n="vertical"===e?"x":"y";i.each(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),i.each(t,(function(t){var e=0,n=0;i.each(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),i.each(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,d)}(v,y,n,c,h,g,0!==i.filter(v,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}},gut8:function(t,e){e.ContextCachedBy={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},e.WILL_BE_RESTORED=9},gvm7:function(t,e,n){var r=n("bYtY"),i=n("dqUG");function o(t){this._zr=t.getZr(),this._show=!1}o.prototype={constructor:o,_enterable:!0,update:function(){},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,n){this.el&&this._zr.remove(this.el);for(var r={},o=t,a=o.indexOf("{marker");a>=0;){var s=o.indexOf("|}"),l=o.substr(a+"{marker".length,s-a-"{marker".length);r["marker"+l]=l.indexOf("sub")>-1?{textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[l],textOffset:[3,0]}:{textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[l]},a=(o=o.substr(s+1)).indexOf("{marker")}this.el=new i({style:{rich:r,text:t,textLineHeight:20,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding")},z:n.get("z")}),this._zr.add(this.el);var c=this;this.el.on("mouseover",(function(){c._enterable&&(clearTimeout(c._hideTimeout),c._show=!0),c._inContent=!0})),this.el.on("mouseout",(function(){c._enterable&&c._show&&c.hideLater(c._hideDelay),c._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(r.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]}}},t.exports=o},h54F:function(t,e,n){var r=n("ProS"),i=n("YXkt"),o=n("bYtY"),a=n("4NO4").defaultEmphasis,s=n("Qxkt"),l=n("7aKB").encodeHTML,c=n("I3/A"),u=n("xKMd"),h=r.extendSeriesModel({type:"series.graph",init:function(t){h.superApply(this,"init",arguments);var e=this;function n(){return e._categoriesData}this.legendVisualProvider=new u(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){h.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){h.superApply(this,"mergeDefaultAndTheme",arguments),a(t,["edgeLabel"],["show"])},getInitialData:function(t,e){var n=t.edges||t.links||[],r=t.data||t.nodes||[],i=this;if(r&&n)return c(r,n,this,!0,(function(t,n){t.wrapMethod("getItemModel",(function(t){var e=i._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var r=i.getModel("edgeLabel"),o=new s({label:r.option},r.parentModel,e),a=i.getModel("emphasis.edgeLabel"),l=new s({emphasis:{label:a.option}},a.parentModel,e);function c(t){return(t=this.parsePath(t))&&"label"===t[0]?o:t&&"emphasis"===t[0]&&"label"===t[1]?l:this.parentModel}n.wrapMethod("getItemModel",(function(t){return t.customizeGetParent(c),t}))})).data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,n){if("edge"===n){var r=this.getData(),i=this.getDataParams(t,n),o=r.graph.getEdgeByIndex(t),a=r.getName(o.node1.dataIndex),s=r.getName(o.node2.dataIndex),c=[];return null!=a&&c.push(a),null!=s&&c.push(s),c=l(c.join(" > ")),i.value&&(c+=" : "+l(i.value)),c}return h.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=o.map(this.option.categories||[],(function(t){return null!=t.value?t:o.extend({value:0},t)})),e=new i(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t,!0)}))},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return h.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&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}}}});t.exports=h},h7HQ:function(t,e,n){var r=n("y+Vt"),i=n("T6xi"),o=r.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){i.buildPath(t,e,!0)}});t.exports=o},h8O9:function(t,e,n){var r=n("bYtY").map,i=n("zM3Q"),o=n("7hqr").isDimensionStacked;t.exports=function(t){return{seriesType:t,plan:i(),reset:function(t){var e=t.getData(),n=t.coordinateSystem,i=t.pipelineContext.large;if(n){var a=r(n.dimensions,(function(t){return e.mapDimension(t)})).slice(0,2),s=a.length,l=e.getCalculationInfo("stackResultDimension");return o(e,a[0])&&(a[0]=l),o(e,a[1])&&(a[1]=l),s&&{progress:function(t,e){for(var r=i&&new Float32Array((t.end-t.start)*s),o=t.start,l=0,c=[],u=[];o=n&&t<=r},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,r=this.scale;return t=r.normalize(t),this.onBand&&"ordinal"===r.type&&m(n=n.slice(),r.count()),s(t,p,n,e)},coordToData:function(t,e){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&m(n=n.slice(),r.count());var i=s(t,n,p,e);return this.scale.scale(i)},pointToData:function(t,e){},getTicksCoords:function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=h(this,e),r=o(n.ticks,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this);return function(t,e,n,r){var o=e.length;if(t.onBand&&!n&&o){var a,s=t.getExtent();if(1===o)e[0].coord=s[0],a=e[1]={coord:s[0]};else{var l=(e[o-1].coord-e[0].coord)/(e[o-1].tickValue-e[0].tickValue);i(e,(function(t){t.coord-=l/2}));var u=t.scale.getExtent();e.push(a={coord:e[o-1].coord+l*(1+u[1]-e[o-1].tickValue)})}var h=s[0]>s[1];d(e[0].coord,s[0])&&(r?e[0].coord=s[0]:e.shift()),r&&d(s[0],e[0].coord)&&e.unshift({coord:s[0]}),d(s[1],a.coord)&&(r?a.coord=s[1]:e.pop()),r&&d(a.coord,s[1])&&e.push({coord:s[1]})}function d(t,e){return t=c(t),e=c(e),h?t>e:t0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return o(e,(function(t){return o(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},getViewLabels:function(){return d(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(t[1]-t[0]);return Math.abs(r)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return f(this)}},t.exports=g},hNWo:function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=n("Qxkt"),a=n("4NO4").isNameSpecified,s=n("Kagy").legend.selector,l={all:{type:"all",title:i.clone(s.all)},inverse:{type:"inverse",title:i.clone(s.inverse)}},c=r.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){c.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var e=t.selector;!0===e&&(e=t.selector=["all","inverse"]),i.isArray(e)&&i.each(e,(function(t,n){i.isString(t)&&(t={type:t}),e[n]=i.merge(t,l[t.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n=0},getOrient:function(){return"vertical"===this.get("orient")?{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}}});t.exports=c},hOwI:function(t,e){var n=Math.log(2);function r(t,e,i,o,a,s){var l=o+"-"+a,c=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var u=Math.round(Math.log((1<e&&o>r||oi?a:0}},hypo:function(t,e,n){var r=n("O0oS");t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},i38C:function(t,e,n){n("Tghj");var r=n("bYtY"),i=r.createHashMap,o=r.each;function a(t){this.coordSysName=t,this.coordSysDims=[],this.axisMap=i(),this.categoryAxisMap=i(),this.firstCategoryDimIndex=null}var s={cartesian2d:function(t,e,n,r){var i=t.getReferringComponents("xAxis")[0],o=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],n.set("x",i),n.set("y",o),l(i)&&(r.set("x",i),e.firstCategoryDimIndex=0),l(o)&&(r.set("y",o),e.firstCategoryDimIndex=1)},singleAxis:function(t,e,n,r){var i=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],n.set("single",i),l(i)&&(r.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,n,r){var i=t.getReferringComponents("polar")[0],o=i.findAxisModel("radiusAxis"),a=i.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),l(o)&&(r.set("radius",o),e.firstCategoryDimIndex=0),l(a)&&(r.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,r){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var i=t.ecModel,a=i.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();o(a.parallelAxisIndex,(function(t,o){var a=i.getComponent("parallelAxis",t),c=s[o];n.set(c,a),l(a)&&null==e.firstCategoryDimIndex&&(r.set(c,a),e.firstCategoryDimIndex=o)}))}};function l(t){return"category"===t.get("type")}e.getCoordSysInfoBySeries=function(t){var e=t.get("coordinateSystem"),n=new a(e),r=s[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}},iBet:function(t,e,n){var r=n("b5wT"),i=n("F9We").Graph;t.exports=function(t,e,n){var o=function(t){for(var e;t.hasNode(e=r.uniqueId("_root")););return e}(t),a=new i({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(e){return t.node(e)}));return r.forEach(t.nodes(),(function(i){var s=t.node(i),l=t.parent(i);(s.rank===e||s.minRank<=e&&e<=s.maxRank)&&(a.setNode(i),a.setParent(i,l||o),r.forEach(t[n](i),(function(e){var n=e.v===i?e.w:e.v,o=a.edge(n,i),s=r.isUndefined(o)?0:o.weight;a.setEdge(n,i,{weight:t.edge(e).weight+s})})),r.has(s,"minRank")&&a.setNode(i,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]}))})),a}},iLNv:function(t,e){var n="\0__throttleOriginMethod",r="\0__throttleRate";function i(t,e,n){var r,i,o,a,s,l=0,c=0,u=null;function h(){c=(new Date).getTime(),u=null,t.apply(o,a||[])}e=e||0;var d=function(){r=(new Date).getTime(),o=this,a=arguments;var t=s||e,d=s||n;s=null,i=r-(d?l:c)-t,clearTimeout(u),d?u=setTimeout(h,t):i>=0?h():u=setTimeout(h,-i),l=r};return d.clear=function(){u&&(clearTimeout(u),u=null)},d.debounceNextCall=function(t){s=t},d}e.throttle=i,e.createOrUpdate=function(t,e,o,a){var s=t[e];if(s){var l=s[n]||s;if(s[r]!==o||s["\0__throttleType"]!==a){if(null==o||!a)return t[e]=l;(s=t[e]=i(l,o,"debounce"===a))[n]=l,s["\0__throttleType"]=a,s[r]=o}return s}},e.clear=function(t,e){var r=t[e];r&&r[n]&&(t[e]=r[n])}},iPDy:function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=r.extendComponentView({type:"marker",init:function(){this.markerGroupMap=i.createHashMap()},render:function(t,e,n){var r=this.markerGroupMap;r.each((function(t){t.__keep=!1}));var i=this.type+"Model";e.eachSeries((function(t){var r=t[i];r&&this.renderSeries(t,r,e,n)}),this),r.each((function(t){!t.__keep&&this.group.remove(t.group)}),this)},renderSeries:function(){}});t.exports=o},iRjW:function(t,e,n){var r=n("bYtY"),i=n("Yl7c").parseClassType,o=0;e.getUID=function(t){return[t||"",o++,Math.random().toFixed(5)].join("_")},e.enableSubTypeDefaulter=function(t){var e={};return t.registerSubTypeDefaulter=function(t,n){t=i(t),e[t.main]=n},t.determineSubType=function(n,r){var o=r.type;if(!o){var a=i(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](r))}return o},t},e.enableTopologicalTravel=function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,o,a){if(t.length){var s=function(t){var i={},o=[];return r.each(t,(function(a){var s=n(i,a),l=function(t,e){var n=[];return r.each(t,(function(t){r.indexOf(e,t)>=0&&n.push(t)})),n}(s.originalDeps=e(a),t);s.entryCount=l.length,0===s.entryCount&&o.push(a),r.each(l,(function(t){r.indexOf(s.predecessor,t)<0&&s.predecessor.push(t);var e=n(i,t);r.indexOf(e.successor,t)<0&&e.successor.push(a)}))})),{graph:i,noEntryList:o}}(i),l=s.graph,c=s.noEntryList,u={};for(r.each(t,(function(t){u[t]=!0}));c.length;){var h=c.pop(),d=l[h],f=!!u[h];f&&(o.call(a,h,d.originalDeps.slice()),delete u[h]),r.each(d.successor,f?g:p)}r.each(u,(function(){throw new Error("Circle dependency may exists")}))}function p(t){l[t].entryCount--,0===l[t].entryCount&&c.push(t)}function g(t){u[t]=!0,p(t)}}}},iXHM:function(t,e){var n="";"undefined"!=typeof navigator&&(n=navigator.platform||"");var r={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:n.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};t.exports=r},iXp4:function(t,e,n){var r=n("ItGF"),i=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];t.exports=function(t){return r.browser.ie&&r.browser.version>=11?function(){var e,n=this.__clipPaths,r=this.style;if(n)for(var o=0;oe[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=a.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,o=[];if(!e)return o;n[0]1e4)return[];var l=o.length?o[o.length-1]:r[1];return n[1]>l&&o.push(t?s(l+e,i):n[1]),o},getMinorTicks:function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),o=1;oi[0]&&u0;)r*=10;var i=[o.round(d(e[0]/r)*r),o.round(h(e[1]/r)*r)];this._interval=r,this._niceExtent=i}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function m(t,e){return u(t,c(e))}r.each(["contain","normalize"],(function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}})),g.create=function(){return new g},t.exports=g},jFXE:function(t,e,n){"use strict";var r=n("b5wT"),i=n("F9We").Graph,o=n("tQ6r");function a(t,e){var n={};return r.reduce(e,(function(e,i){var o=0,a=0,s=e.length,c=r.last(i);return r.forEach(i,(function(e,u){var h=function(t,e){if(t.node(e).dummy)return r.find(t.predecessors(e),(function(e){return t.node(e).dummy}))}(t,e),d=h?t.node(h).order:s;(h||e===c)&&(r.forEach(i.slice(a,u+1),(function(e){r.forEach(t.predecessors(e),(function(r){var i=t.node(r),a=i.order;!(as)&&l(n,e,c)}))}))}return r.reduce(e,(function(e,n){var o,a=-1,s=0;return r.forEach(n,(function(r,l){if("border"===t.node(r).dummy){var c=t.predecessors(r);c.length&&(o=t.node(c[0]).order,i(n,s,l,a,o),s=l,a=o)}i(n,s,n.length,o,e.length)})),n})),n}function l(t,e,n){if(e>n){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function c(t,e,n){if(e>n){var i=e;e=n,n=i}return r.has(t[e],n)}function u(t,e,n,i){var o={},a={},s={};return r.forEach(e,(function(t){r.forEach(t,(function(t,e){o[t]=t,a[t]=t,s[t]=e}))})),r.forEach(e,(function(t){var e=-1;r.forEach(t,(function(t){var l=i(t);if(l.length)for(var u=((l=r.sortBy(l,(function(t){return s[t]}))).length-1)/2,h=Math.floor(u),d=Math.ceil(u);h<=d;++h){var f=l[h];a[t]===t&&e{const r=new i.a;let o=0;return r.add(e.schedule((function(){o!==t.length?(n.next(t[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r})}},"jbM+":function(t,e,n){var r=n("R/W3");t.exports=function(t,e){return!(null==t||!t.length)&&r(t,e,0)>-1}},jeLo:function(t,e,n){var r=n("juv8"),i=n("mTTR");t.exports=function(t){return r(t,i(t))}},jett:function(t,e,n){var r=n("ProS");n("VSLf"),n("oBaM"),n("FGaS");var i=n("mOdp"),o=n("f5Yq"),a=n("hw6D"),s=n("0/Rx"),l=n("eJH7");r.registerVisual(i("radar")),r.registerVisual(o("radar","circle")),r.registerLayout(a),r.registerProcessor(s("radar")),r.registerPreprocessor(l)},jhN1:function(t,e,n){"use strict";n.d(e,"a",(function(){return F})),n.d(e,"b",(function(){return O})),n.d(e,"c",(function(){return A})),n.d(e,"d",(function(){return N})),n.d(e,"e",(function(){return x}));var r=n("ofXK"),i=n("fXoL");class o extends r.u{constructor(){super()}supportsDOMEvents(){return!0}}class a extends o{static makeCurrent(){Object(r.y)(new a)}getProperty(t,e){return t[e]}log(t){window.console&&window.console.log&&window.console.log(t)}logGroup(t){window.console&&window.console.group&&window.console.group(t)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(t,e,n){return t.addEventListener(e,n,!1),()=>{t.removeEventListener(e,n,!1)}}dispatchEvent(t,e){t.dispatchEvent(e)}remove(t){return t.parentNode&&t.parentNode.removeChild(t),t}getValue(t){return t.value}createElement(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(t){const e=l||(l=document.querySelector("base"),l)?l.getAttribute("href"):null;return null==e?null:(n=e,s||(s=document.createElement("a")),s.setAttribute("href",n),"/"===s.pathname.charAt(0)?s.pathname:"/"+s.pathname);var n}resetBaseElement(){l=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(t){return Object(r.x)(document.cookie,t)}}let s,l=null;const c=new i.q("TRANSITION_ID"),u=[{provide:i.d,useFactory:function(t,e,n){return()=>{n.get(i.e).donePromise.then(()=>{const n=Object(r.w)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter(e=>e.getAttribute("ng-transition")===t).forEach(t=>n.remove(t))})}},deps:[c,r.c,i.r],multi:!0}];class h{static init(){Object(i.Y)(new h)}addToWindow(t){i.qb.getAngularTestability=(e,n=!0)=>{const r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},i.qb.getAllAngularTestabilities=()=>t.getAllTestabilities(),i.qb.getAllAngularRootElements=()=>t.getAllRootElements(),i.qb.frameworkStabilizers||(i.qb.frameworkStabilizers=[]),i.qb.frameworkStabilizers.push(t=>{const e=i.qb.getAllAngularTestabilities();let n=e.length,r=!1;const o=function(e){r=r||e,n--,0==n&&t(r)};e.forEach((function(t){t.whenStable(o)}))})}findTestabilityInTree(t,e,n){if(null==e)return null;const i=t.getTestability(e);return null!=i?i:n?Object(r.w)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}const d=new i.q("EventManagerPlugins");let f=(()=>{class t{constructor(t,e){this._zone=e,this._eventNameToPlugin=new Map,t.forEach(t=>t.manager=this),this._plugins=t.slice().reverse()}addEventListener(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}addGlobalEventListener(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}getZone(){return this._zone}_findPluginFor(t){const e=this._eventNameToPlugin.get(t);if(e)return e;const n=this._plugins;for(let r=0;r{class t{constructor(){this._stylesSet=new Set}addStyles(t){const e=new Set;t.forEach(t=>{this._stylesSet.has(t)||(this._stylesSet.add(t),e.add(t))}),this.onStylesAdded(e)}onStylesAdded(t){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),m=(()=>{class t extends g{constructor(t){super(),this._doc=t,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(t.head)}_addStylesToHost(t,e){t.forEach(t=>{const n=this._doc.createElement("style");n.textContent=t,this._styleNodes.add(e.appendChild(n))})}addHost(t){this._addStylesToHost(this._stylesSet,t),this._hostNodes.add(t)}removeHost(t){this._hostNodes.delete(t)}onStylesAdded(t){this._hostNodes.forEach(e=>this._addStylesToHost(t,e))}ngOnDestroy(){this._styleNodes.forEach(t=>Object(r.w)().remove(t))}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(r.c))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();const v={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},y=/%COMP%/g;function b(t,e,n){for(let r=0;r{if("__ngUnwrap__"===e)return t;!1===t(e)&&(e.preventDefault(),e.returnValue=!1)}}let x=(()=>{class t{constructor(t,e,n){this.eventManager=t,this.sharedStylesHost=e,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new w(t)}createRenderer(t,e){if(!t||!e)return this.defaultRenderer;switch(e.encapsulation){case i.Q.Emulated:{let n=this.rendererByCompId.get(e.id);return n||(n=new S(this.eventManager,this.sharedStylesHost,e,this.appId),this.rendererByCompId.set(e.id,n)),n.applyToHost(t),n}case i.Q.Native:case i.Q.ShadowDom:return new k(this.eventManager,this.sharedStylesHost,t,e);default:if(!this.rendererByCompId.has(e.id)){const t=b(e.id,e.styles,[]);this.sharedStylesHost.addStyles(t),this.rendererByCompId.set(e.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(f),i.Yb(m),i.Yb(i.c))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();class w{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,e){return e?document.createElementNS(v[e]||e,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,e){t.appendChild(e)}insertBefore(t,e,n){t&&t.insertBefore(e,n)}removeChild(t,e){t&&t.removeChild(e)}selectRootElement(t,e){let n="string"==typeof t?document.querySelector(t):t;if(!n)throw new Error(`The selector "${t}" did not match any elements`);return e||(n.textContent=""),n}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,e,n,r){if(r){e=r+":"+e;const i=v[r];i?t.setAttributeNS(i,e,n):t.setAttribute(e,n)}else t.setAttribute(e,n)}removeAttribute(t,e,n){if(n){const r=v[n];r?t.removeAttributeNS(r,e):t.removeAttribute(`${n}:${e}`)}else t.removeAttribute(e)}addClass(t,e){t.classList.add(e)}removeClass(t,e){t.classList.remove(e)}setStyle(t,e,n,r){r&i.G.DashCase?t.style.setProperty(e,n,r&i.G.Important?"important":""):t.style[e]=n}removeStyle(t,e,n){n&i.G.DashCase?t.style.removeProperty(e):t.style[e]=""}setProperty(t,e,n){t[e]=n}setValue(t,e){t.nodeValue=e}listen(t,e,n){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,e,_(n)):this.eventManager.addEventListener(t,e,_(n))}}class S extends w{constructor(t,e,n,r){super(t),this.component=n;const i=b(r+"-"+n.id,n.styles,[]);e.addStyles(i),this.contentAttr="_ngcontent-%COMP%".replace(y,r+"-"+n.id),this.hostAttr=function(t){return"_nghost-%COMP%".replace(y,t)}(r+"-"+n.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,e){const n=super.createElement(t,e);return super.setAttribute(n,this.contentAttr,""),n}}class k extends w{constructor(t,e,n,r){super(t),this.sharedStylesHost=e,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===i.Q.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const o=b(r.id,r.styles,[]);for(let i=0;i{class t extends p{constructor(t){super(t)}supports(t){return!0}addEventListener(t,e,n){return t.addEventListener(e,n,!1),()=>this.removeEventListener(t,e,n)}removeEventListener(t,e,n){return t.removeEventListener(e,n)}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(r.c))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),A=(()=>{class t{constructor(){this.events=[],this.overrides={}}buildHammer(t){const e=new Hammer(t,this.options);e.get("pinch").set({enable:!0}),e.get("rotate").set({enable:!0});for(const n in this.overrides)e.get(n).set(this.overrides[n]);return e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();const T=["alt","control","meta","shift"],E={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},M={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},D={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let I=(()=>{class t extends p{constructor(t){super(t)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,n,i){const o=t.parseEventName(n),a=t.eventCallback(o.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(r.w)().onAndCancel(e,o.domEventName,a))}static parseEventName(e){const n=e.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const i=t._normalizeKey(n.pop());let o="";if(T.forEach(t=>{const e=n.indexOf(t);e>-1&&(n.splice(e,1),o+=t+".")}),o+=i,0!=n.length||0===i.length)return null;const a={};return a.domEventName=r,a.fullKey=o,a}static getEventFullKey(t){let e="",n=function(t){let e=t.key;if(null==e){if(e=t.keyIdentifier,null==e)return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&M.hasOwnProperty(e)&&(e=M[e]))}return E[e]||e}(t);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),T.forEach(r=>{r!=n&&(0,D[r])(t)&&(e+=r+".")}),e+=n,e}static eventCallback(e,n,r){return i=>{t.getEventFullKey(i)===e&&r.runGuarded(()=>n(i))}}static _normalizeKey(t){switch(t){case"esc":return"escape";default:return t}}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(r.c))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),O=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(i.Kb)({factory:function(){return Object(i.Yb)(L)},token:t,providedIn:"root"}),t})();function P(t){return new L(t.get(r.c))}let L=(()=>{class t extends O{constructor(t){super(),this._doc=t}sanitize(t,e){if(null==e)return null;switch(t){case i.I.NONE:return e;case i.I.HTML:return Object(i.fb)(e,"HTML")?Object(i.yb)(e):Object(i.cb)(this._doc,String(e));case i.I.STYLE:return Object(i.fb)(e,"Style")?Object(i.yb)(e):Object(i.db)(e);case i.I.SCRIPT:if(Object(i.fb)(e,"Script"))return Object(i.yb)(e);throw new Error("unsafe value used in a script context");case i.I.URL:return Object(i.pb)(e),Object(i.fb)(e,"URL")?Object(i.yb)(e):Object(i.eb)(String(e));case i.I.RESOURCE_URL:if(Object(i.fb)(e,"ResourceURL"))return Object(i.yb)(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${t} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(t){return Object(i.gb)(t)}bypassSecurityTrustStyle(t){return Object(i.jb)(t)}bypassSecurityTrustScript(t){return Object(i.ib)(t)}bypassSecurityTrustUrl(t){return Object(i.kb)(t)}bypassSecurityTrustResourceUrl(t){return Object(i.hb)(t)}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(r.c))},t.\u0275prov=Object(i.Kb)({factory:function(){return P(Object(i.Yb)(i.o))},token:t,providedIn:"root"}),t})();const R=[{provide:i.B,useValue:r.v},{provide:i.C,useValue:function(){a.makeCurrent(),h.init()},multi:!0},{provide:r.c,useFactory:function(){return Object(i.wb)(document),document},deps:[]}],N=Object(i.S)(i.X,"browser",R),z=[[],{provide:i.ab,useValue:"root"},{provide:i.m,useFactory:function(){return new i.m},deps:[]},{provide:d,useClass:C,multi:!0,deps:[r.c,i.z,i.B]},{provide:d,useClass:I,multi:!0,deps:[r.c]},[],{provide:x,useClass:x,deps:[f,m,i.c]},{provide:i.F,useExisting:x},{provide:g,useExisting:m},{provide:m,useClass:m,deps:[r.c]},{provide:i.N,useClass:i.N,deps:[i.z]},{provide:f,useClass:f,deps:[d,i.z]},[]];let F=(()=>{class t{constructor(t){if(t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:i.c,useValue:e.appId},{provide:c,useExisting:i.c},u]}}}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)(i.Yb(t,12))},providers:z,imports:[r.b,i.f]}),t})();"undefined"!=typeof window&&window},jkPA:function(t,e,n){var r=n("bYtY"),i=r.createHashMap,o=r.isObject,a=r.map;function s(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication}s.createByAxisModel=function(t){var e=t.option,n=e.data,r=n&&a(n,u);return new s({categories:r,needCollect:!r,deduplication:!1!==e.dedplication})};var l=s.prototype;function c(t){return t._map||(t._map=i(t.categories))}function u(t){return o(t)&&null!=t.value?t.value:t+""}l.getOrdinal=function(t){return c(this).get(t)},l.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!=typeof t&&!n)return t;if(n&&!this._deduplication)return this.categories[e=this.categories.length]=t,e;var r=c(this);return null==(e=r.get(t))&&(n?(this.categories[e=this.categories.length]=t,r.set(t,e)):e=NaN),e},t.exports=s},jlxc:function(t,e,n){var r=n("PEyx");t.exports=function(t,e){var n=t.append("foreignObject").attr("width","100000"),i=n.append("xhtml:div");i.attr("xmlns","http://www.w3.org/1999/xhtml");var o=e.label;switch(typeof o){case"function":i.insert(o);break;case"object":i.insert((function(){return o}));break;default:i.html(o)}r.applyStyle(i,e.labelStyle),i.style("display","inline-block"),i.style("white-space","nowrap");var a=i.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}},jndi:function(t,e,n){var r=n("bYtY"),i=n("Qe9p"),o=n("YXkt"),a=n("OELB"),s=n("IwbS"),l=n("kj2x"),c=n("iPDy"),u=function(t,e,n,i){var o=l.dataTransform(t,i[0]),a=l.dataTransform(t,i[1]),s=r.retrieve,c=o.coord,u=a.coord;c[0]=s(c[0],-1/0),c[1]=s(c[1],-1/0),u[0]=s(u[0],1/0),u[1]=s(u[1],1/0);var h=r.mergeAll([{},o,a]);return h.coord=[o.coord,a.coord],h.x0=o.x,h.y0=o.y,h.x1=a.x,h.y1=a.y,h};function h(t){return!isNaN(t)&&!isFinite(t)}function d(t,e,n,r){var i=1-t;return h(e[i])&&h(n[i])}function f(t,e){var n=e.coord[0],r=e.coord[1];return!("cartesian2d"!==t.type||!n||!r||!d(1,n,r)&&!d(0,n,r))||l.dataFilter(t,{coord:n,x:e.x0,y:e.y0})||l.dataFilter(t,{coord:r,x:e.x1,y:e.y1})}function p(t,e,n,r,i){var o,s=r.coordinateSystem,l=t.getItemModel(e),c=a.parsePercent(l.get(n[0]),i.getWidth()),u=a.parsePercent(l.get(n[1]),i.getHeight());if(isNaN(c)||isNaN(u)){if(r.getMarkerPosition)o=r.getMarkerPosition(t.getValues(n,e));else{var d=[g=t.get(n[0],e),m=t.get(n[1],e)];s.clampData&&s.clampData(d,d),o=s.dataToPoint(d,!0)}if("cartesian2d"===s.type){var f=s.getAxis("x"),p=s.getAxis("y"),g=t.get(n[0],e),m=t.get(n[1],e);h(g)?o[0]=f.toGlobalCoord(f.getExtent()["x0"===n[0]?0:1]):h(m)&&(o[1]=p.toGlobalCoord(p.getExtent()["y0"===n[1]?0:1]))}isNaN(c)||(o[0]=c),isNaN(u)||(o[1]=u)}else o=[c,u];return o}var g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];c.extend({type:"markArea",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markAreaModel;if(e){var i=e.getData();i.each((function(e){var o=r.map(g,(function(r){return p(i,e,r,t,n)}));i.setItemLayout(e,o),i.getItemGraphicEl(e).setShape("points",o)}))}}),this)},renderSeries:function(t,e,n,a){var l=t.coordinateSystem,c=t.id,h=t.getData(),d=this.markerGroupMap,m=d.get(c)||d.set(c,{group:new s.Group});this.group.add(m.group),m.__keep=!0;var v=function(t,e,n){var i,a;t?(i=r.map(t&&t.dimensions,(function(t){var n=e.getData(),i=n.getDimensionInfo(n.mapDimension(t))||{};return r.defaults({name:t},i)})),a=new o(r.map(["x0","y0","x1","y1"],(function(t,e){return{name:t,type:i[e%2].type}})),n)):a=new o(i=[{name:"value",type:"float"}],n);var s=r.map(n.get("data"),r.curry(u,e,t,n));return t&&(s=r.filter(s,r.curry(f,t))),a.initData(s,null,t?function(t,e,n,r){return t.coord[Math.floor(r/2)][r%2]}:function(t){return t.value}),a.hasItemOption=!0,a}(l,t,e);e.setData(v),v.each((function(e){v.setItemLayout(e,r.map(g,(function(n){return p(v,e,n,t,a)}))),v.setItemVisual(e,{color:h.getVisual("color")})})),v.diff(m.__data).add((function(t){var e=new s.Polygon({shape:{points:v.getItemLayout(t)}});v.setItemGraphicEl(t,e),m.group.add(e)})).update((function(t,n){var r=m.__data.getItemGraphicEl(n);s.updateProps(r,{shape:{points:v.getItemLayout(t)}},e,t),m.group.add(r),v.setItemGraphicEl(t,r)})).remove((function(t){var e=m.__data.getItemGraphicEl(t);m.group.remove(e)})).execute(),v.eachItemGraphicEl((function(t,n){var o=v.getItemModel(n),a=o.getModel("label"),l=o.getModel("emphasis.label"),c=v.getItemVisual(n,"color");t.useStyle(r.defaults(o.getModel("itemStyle").getItemStyle(),{fill:i.modifyAlpha(c,.4),stroke:c})),t.hoverStyle=o.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(t.style,t.hoverStyle,a,l,{labelFetcher:e,labelDataIndex:n,defaultText:v.getName(n)||"",isRectText:!0,autoColor:c}),s.setHoverStyle(t,{}),t.dataModel=e})),m.__data=v,m.group.silent=e.get("silent")||t.get("silent")}})},"jsU+":function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=n("IUWy"),a=r.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){a.superApply(this,"optionUpdated",arguments),i.each(this.option.feature,(function(t,e){var n=o.get(e);n&&i.merge(t,n.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.exports=a},jtI2:function(t,e,n){n("SMc4");var r=n("bLfw").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"}});t.exports=r},juDX:function(t,e,n){n("P47w"),(0,n("aX58").registerPainter)("svg",n("3CBa"))},juv8:function(t,e,n){var r=n("MrPd"),i=n("hypo");t.exports=function(t,e,n,o){var a=!n;n||(n={});for(var s=-1,l=e.length;++s"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kMLO:function(t,e,n){var r=n("XxSj"),i=n("Qe9p"),o=n("bYtY"),a=o.isArray;function s(t){var e=l(t,"color");if(e){var n=l(t,"colorAlpha"),r=l(t,"colorSaturation");return r&&(e=i.modifyHSL(e,null,null,r)),n&&(e=i.modifyAlpha(e,n)),e}}function l(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function c(t,e){var n=t.get(e);return a(n)&&n.length?{name:e,range:n}:null}t.exports={seriesType:"treemap",reset:function(t,e,n,a){var l=t.getData().tree,u=l.root,h=t.getModel("itemStyle");u.isRemoved()||function t(e,n,a,l,u,h){var d=e.getModel(),f=e.getLayout();if(f&&!f.invisible&&f.isInView){var p,g=e.getModel("itemStyle"),m=function(t,e,n,r){var i=o.extend({},e);return o.each(["color","colorAlpha","colorSaturation"],(function(o){var a=t.get(o,!0);null==a&&n&&(a=n[o]),null==a&&(a=e[o]),null==a&&(a=r.get(o)),null!=a&&(i[o]=a)})),i}(g,n,a[e.depth],l),v=g.get("borderColor"),y=g.get("borderColorSaturation");null!=y&&(v=function(t,e){return null!=e?i.modifyHSL(e,null,null,t):null}(y,p=s(m))),e.setVisual("borderColor",v);var b=e.viewChildren;if(b&&b.length){var _=function(t,e,n,i,o,a){if(a&&a.length){var s=c(e,"color")||null!=o.color&&"none"!==o.color&&(c(e,"colorAlpha")||c(e,"colorSaturation"));if(s){var l=e.get("visualMin"),u=e.get("visualMax"),h=n.dataExtent.slice();null!=l&&lh[1]&&(h[1]=u);var d=e.get("colorMappingBy"),f={type:s.name,dataExtent:h,visual:s.range};"color"!==f.type||"index"!==d&&"id"!==d?f.mappingMethod="linear":(f.mappingMethod="category",f.loop=!0);var p=new r(f);return p.__drColorMappingBy=d,p}}}(0,d,f,0,m,b);o.each(b,(function(e,n){if(e.depth>=u.length||e===u[e.depth]){var r=function(t,e,n,r,i,a){var s=o.extend({},e);if(i){var l=i.type,c="color"===l&&i.__drColorMappingBy,u="index"===c?r:"id"===c?a.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));s[l]=i.mapValueToVisual(u)}return s}(d,m,e,n,_,h);t(e,r,a,l,u,h)}}))}else p=s(m),e.setVisual("color",p)}}(u,{},o.map(l.levelModels,(function(t){return t?t.get("itemStyle"):null})),h,t.getViewRoot().getAncestors(),t)}}},kekF:function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},khRU:function(t,e){t.exports="0.8.5"},kj2x:function(t,e,n){var r=n("bYtY"),i=n("OELB"),o=n("7hqr").isDimensionStacked,a=r.indexOf;function s(t,e,n,r,a,s){var l=[],c=o(e,r)?e.getCalculationInfo("stackResultDimension"):r,u=h(e,c,t),d=e.indicesOfNearest(c,u)[0];l[a]=e.get(n,d),l[s]=e.get(c,d);var f=e.get(r,d),p=i.getPrecision(e.get(r,d));return(p=Math.min(p,20))>=0&&(l[s]=+l[s].toFixed(p)),[l,f]}var l=r.curry,c={min:l(s,"min"),max:l(s,"max"),average:l(s,"average")};function u(t,e,n,r){var i={};return null!=t.valueIndex||null!=t.valueDim?(i.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,i.valueAxis=n.getAxis(function(t,e){var n=t.getData(),r=n.dimensions;e=n.getDimension(e);for(var i=0;i\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,c={"\xad":"shy","\u200c":"zwnj","\u200d":"zwj","\u200e":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200f":"rlm","\u200b":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20db":"tdot","\u20dc":"DotDot","\t":"Tab","\n":"NewLine","\u2008":"puncsp","\u205f":"MediumSpace","\u2009":"thinsp","\u200a":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xa0":"nbsp","\u205f\u200a":"ThickSpace","\u203e":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204f":"bsemi",":":"colon","\u2a74":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xb7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201a":"sbquo","\u2039":"lsaquo","\u203a":"rsaquo",'"':"quot","\u201c":"ldquo","\u201d":"rdquo","\u201e":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230a":"lfloor","\u230b":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298b":"lbrke","\u298c":"rbrke","\u298d":"lbrkslu","\u298e":"rbrksld","\u298f":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27e6":"lobrk","\u27e7":"robrk","\u27e8":"lang","\u27e9":"rang","\u27ea":"Lang","\u27eb":"Rang","\u27ec":"loang","\u27ed":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xb4":"acute","\u02dc":"tilde","^":"Hat","\xaf":"macr","\u02d8":"breve","\u02d9":"dot","\xa8":"die","\u02da":"ring","\u02dd":"dblac","\xb8":"cedil","\u02db":"ogon","\u02c6":"circ","\u02c7":"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","\u2117":"copysr","\u2118":"wp","\u211e":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219a":"nlarr","\u2192":"rarr","\u219b":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21ae":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219d":"rarrw","\u219d\u0338":"nrarrw","\u219e":"Larr","\u219f":"Uarr","\u21a0":"Rarr","\u21a1":"Darr","\u21a2":"larrtl","\u21a3":"rarrtl","\u21a4":"mapstoleft","\u21a5":"mapstoup","\u21a6":"map","\u21a7":"mapstodown","\u21a9":"larrhk","\u21aa":"rarrhk","\u21ab":"larrlp","\u21ac":"rarrlp","\u21ad":"harrw","\u21b0":"lsh","\u21b1":"rsh","\u21b2":"ldsh","\u21b3":"rdsh","\u21b5":"crarr","\u21b6":"cularr","\u21b7":"curarr","\u21ba":"olarr","\u21bb":"orarr","\u21bc":"lharu","\u21bd":"lhard","\u21be":"uharr","\u21bf":"uharl","\u21c0":"rharu","\u21c1":"rhard","\u21c2":"dharr","\u21c3":"dharl","\u21c4":"rlarr","\u21c5":"udarr","\u21c6":"lrarr","\u21c7":"llarr","\u21c8":"uuarr","\u21c9":"rrarr","\u21ca":"ddarr","\u21cb":"lrhar","\u21cc":"rlhar","\u21d0":"lArr","\u21cd":"nlArr","\u21d1":"uArr","\u21d2":"rArr","\u21cf":"nrArr","\u21d3":"dArr","\u21d4":"iff","\u21ce":"nhArr","\u21d5":"vArr","\u21d6":"nwArr","\u21d7":"neArr","\u21d8":"seArr","\u21d9":"swArr","\u21da":"lAarr","\u21db":"rAarr","\u21dd":"zigrarr","\u21e4":"larrb","\u21e5":"rarrb","\u21f5":"duarr","\u21fd":"loarr","\u21fe":"roarr","\u21ff":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220b":"ni","\u220c":"notni","\u03f6":"bepsi","\u220f":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","\u226e":"nlt","<\u20d2":"nvlt","=":"equals","\u2260":"ne","=\u20e5":"bne","\u2a75":"Equal",">":"gt","\u226f":"ngt",">\u20d2":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221a":"Sqrt","\u221d":"prop","\u221e":"infin","\u221f":"angrt","\u2220":"ang","\u2220\u20d2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\ufe00":"caps","\u222a":"cup","\u222a\ufe00":"cups","\u222b":"int","\u222c":"Int","\u222d":"tint","\u2a0c":"qint","\u222e":"oint","\u222f":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223a":"mDDot","\u223b":"homtht","\u223c":"sim","\u2241":"nsim","\u223c\u20d2":"nvsim","\u223d":"bsim","\u223d\u0331":"race","\u223e":"ac","\u223e\u0333":"acE","\u223f":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224a":"ape","\u224b":"apid","\u224b\u0338":"napid","\u224c":"bcong","\u224d":"CupCap","\u226d":"NotCupCap","\u224d\u20d2":"nvap","\u224e":"bump","\u224e\u0338":"nbump","\u224f":"bumpe","\u224f\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225a":"veeeq","\u225c":"trie","\u225f":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20e5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20d2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20d2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\ufe00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\ufe00":"gvnE","\u226a":"ll","\u226a\u0338":"nLtv","\u226a\u20d2":"nLt","\u226b":"gg","\u226b\u0338":"nGtv","\u226b\u20d2":"nGt","\u226c":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227a":"pr","\u2280":"npr","\u227b":"sc","\u2281":"nsc","\u227c":"prcue","\u22e0":"nprcue","\u227d":"sccue","\u22e1":"nsccue","\u227e":"prsim","\u227f":"scsim","\u227f\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20d2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20d2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228a\ufe00":"vsubne","\u228a":"subne","\u228b\ufe00":"vsupne","\u228b":"supne","\u228d":"cupdot","\u228e":"uplus","\u228f":"sqsub","\u228f\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22e2":"nsqsube","\u2292":"sqsupe","\u22e3":"nsqsupe","\u2293":"sqcap","\u2293\ufe00":"sqcaps","\u2294":"sqcup","\u2294\ufe00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229a":"ocir","\u229b":"oast","\u229d":"odash","\u229e":"plusb","\u229f":"minusb","\u22a0":"timesb","\u22a1":"sdotb","\u22a2":"vdash","\u22ac":"nvdash","\u22a3":"dashv","\u22a4":"top","\u22a5":"bot","\u22a7":"models","\u22a8":"vDash","\u22ad":"nvDash","\u22a9":"Vdash","\u22ae":"nVdash","\u22aa":"Vvdash","\u22ab":"VDash","\u22af":"nVDash","\u22b0":"prurel","\u22b2":"vltri","\u22ea":"nltri","\u22b3":"vrtri","\u22eb":"nrtri","\u22b4":"ltrie","\u22ec":"nltrie","\u22b4\u20d2":"nvltrie","\u22b5":"rtrie","\u22ed":"nrtrie","\u22b5\u20d2":"nvrtrie","\u22b6":"origof","\u22b7":"imof","\u22b8":"mumap","\u22b9":"hercon","\u22ba":"intcal","\u22bb":"veebar","\u22bd":"barvee","\u22be":"angrtvb","\u22bf":"lrtri","\u22c0":"Wedge","\u22c1":"Vee","\u22c2":"xcap","\u22c3":"xcup","\u22c4":"diam","\u22c5":"sdot","\u22c6":"Star","\u22c7":"divonx","\u22c8":"bowtie","\u22c9":"ltimes","\u22ca":"rtimes","\u22cb":"lthree","\u22cc":"rthree","\u22cd":"bsime","\u22ce":"cuvee","\u22cf":"cuwed","\u22d0":"Sub","\u22d1":"Sup","\u22d2":"Cap","\u22d3":"Cup","\u22d4":"fork","\u22d5":"epar","\u22d6":"ltdot","\u22d7":"gtdot","\u22d8":"Ll","\u22d8\u0338":"nLl","\u22d9":"Gg","\u22d9\u0338":"nGg","\u22da\ufe00":"lesg","\u22da":"leg","\u22db":"gel","\u22db\ufe00":"gesl","\u22de":"cuepr","\u22df":"cuesc","\u22e6":"lnsim","\u22e7":"gnsim","\u22e8":"prnsim","\u22e9":"scnsim","\u22ee":"vellip","\u22ef":"ctdot","\u22f0":"utdot","\u22f1":"dtdot","\u22f2":"disin","\u22f3":"isinsv","\u22f4":"isins","\u22f5":"isindot","\u22f5\u0338":"notindot","\u22f6":"notinvc","\u22f7":"notinvb","\u22f9":"isinE","\u22f9\u0338":"notinE","\u22fa":"nisd","\u22fb":"xnis","\u22fc":"nis","\u22fd":"notnivc","\u22fe":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230c":"drcrop","\u230d":"dlcrop","\u230e":"urcrop","\u230f":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231c":"ulcorn","\u231d":"urcorn","\u231e":"dlcorn","\u231f":"drcorn","\u2322":"frown","\u2323":"smile","\u232d":"cylcty","\u232e":"profalar","\u2336":"topbot","\u233d":"ovbar","\u233f":"solbar","\u237c":"angzarr","\u23b0":"lmoust","\u23b1":"rmoust","\u23b4":"tbrk","\u23b5":"bbrk","\u23b6":"bbrktbrk","\u23dc":"OverParenthesis","\u23dd":"UnderParenthesis","\u23de":"OverBrace","\u23df":"UnderBrace","\u23e2":"trpezium","\u23e7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250c":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251c":"boxvr","\u2524":"boxvl","\u252c":"boxhd","\u2534":"boxhu","\u253c":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255a":"boxUR","\u255b":"boxuL","\u255c":"boxUl","\u255d":"boxUL","\u255e":"boxvR","\u255f":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256a":"boxvH","\u256b":"boxVh","\u256c":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25a1":"squ","\u25aa":"squf","\u25ab":"EmptyVerySmallSquare","\u25ad":"rect","\u25ae":"marker","\u25b1":"fltns","\u25b3":"xutri","\u25b4":"utrif","\u25b5":"utri","\u25b8":"rtrif","\u25b9":"rtri","\u25bd":"xdtri","\u25be":"dtrif","\u25bf":"dtri","\u25c2":"ltrif","\u25c3":"ltri","\u25ca":"loz","\u25cb":"cir","\u25ec":"tridot","\u25ef":"xcirc","\u25f8":"ultri","\u25f9":"urtri","\u25fa":"lltri","\u25fb":"EmptySmallSquare","\u25fc":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260e":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266a":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27c8":"bsolhsub","\u27c9":"suphsol","\u27f5":"xlarr","\u27f6":"xrarr","\u27f7":"xharr","\u27f8":"xlArr","\u27f9":"xrArr","\u27fa":"xhArr","\u27fc":"xmap","\u27ff":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290c":"lbarr","\u290d":"rbarr","\u290e":"lBarr","\u290f":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291a":"ratail","\u291b":"lAtail","\u291c":"rAtail","\u291d":"larrfs","\u291e":"rarrfs","\u291f":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292a":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293c":"curarrm","\u293d":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294a":"lurdshar","\u294b":"ldrushar","\u294e":"LeftRightVector","\u294f":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295a":"LeftTeeVector","\u295b":"RightTeeVector","\u295c":"RightUpTeeVector","\u295d":"RightDownTeeVector","\u295e":"DownLeftTeeVector","\u295f":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296a":"lharul","\u296b":"llhard","\u296c":"rharul","\u296d":"lrhard","\u296e":"udhar","\u296f":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297b":"suplarr","\u297c":"lfisht","\u297d":"rfisht","\u297e":"ufisht","\u297f":"dfisht","\u299a":"vzigzag","\u299c":"vangrt","\u299d":"angrtvbd","\u29a4":"ange","\u29a5":"range","\u29a6":"dwangle","\u29a7":"uwangle","\u29a8":"angmsdaa","\u29a9":"angmsdab","\u29aa":"angmsdac","\u29ab":"angmsdad","\u29ac":"angmsdae","\u29ad":"angmsdaf","\u29ae":"angmsdag","\u29af":"angmsdah","\u29b0":"bemptyv","\u29b1":"demptyv","\u29b2":"cemptyv","\u29b3":"raemptyv","\u29b4":"laemptyv","\u29b5":"ohbar","\u29b6":"omid","\u29b7":"opar","\u29b9":"operp","\u29bb":"olcross","\u29bc":"odsold","\u29be":"olcir","\u29bf":"ofcir","\u29c0":"olt","\u29c1":"ogt","\u29c2":"cirscir","\u29c3":"cirE","\u29c4":"solb","\u29c5":"bsolb","\u29c9":"boxbox","\u29cd":"trisb","\u29ce":"rtriltri","\u29cf":"LeftTriangleBar","\u29cf\u0338":"NotLeftTriangleBar","\u29d0":"RightTriangleBar","\u29d0\u0338":"NotRightTriangleBar","\u29dc":"iinfin","\u29dd":"infintie","\u29de":"nvinfin","\u29e3":"eparsl","\u29e4":"smeparsl","\u29e5":"eqvparsl","\u29eb":"lozf","\u29f4":"RuleDelayed","\u29f6":"dsol","\u2a00":"xodot","\u2a01":"xoplus","\u2a02":"xotime","\u2a04":"xuplus","\u2a06":"xsqcup","\u2a0d":"fpartint","\u2a10":"cirfnint","\u2a11":"awint","\u2a12":"rppolint","\u2a13":"scpolint","\u2a14":"npolint","\u2a15":"pointint","\u2a16":"quatint","\u2a17":"intlarhk","\u2a22":"pluscir","\u2a23":"plusacir","\u2a24":"simplus","\u2a25":"plusdu","\u2a26":"plussim","\u2a27":"plustwo","\u2a29":"mcomma","\u2a2a":"minusdu","\u2a2d":"loplus","\u2a2e":"roplus","\u2a2f":"Cross","\u2a30":"timesd","\u2a31":"timesbar","\u2a33":"smashp","\u2a34":"lotimes","\u2a35":"rotimes","\u2a36":"otimesas","\u2a37":"Otimes","\u2a38":"odiv","\u2a39":"triplus","\u2a3a":"triminus","\u2a3b":"tritime","\u2a3c":"iprod","\u2a3f":"amalg","\u2a40":"capdot","\u2a42":"ncup","\u2a43":"ncap","\u2a44":"capand","\u2a45":"cupor","\u2a46":"cupcap","\u2a47":"capcup","\u2a48":"cupbrcap","\u2a49":"capbrcup","\u2a4a":"cupcup","\u2a4b":"capcap","\u2a4c":"ccups","\u2a4d":"ccaps","\u2a50":"ccupssm","\u2a53":"And","\u2a54":"Or","\u2a55":"andand","\u2a56":"oror","\u2a57":"orslope","\u2a58":"andslope","\u2a5a":"andv","\u2a5b":"orv","\u2a5c":"andd","\u2a5d":"ord","\u2a5f":"wedbar","\u2a66":"sdote","\u2a6a":"simdot","\u2a6d":"congdot","\u2a6d\u0338":"ncongdot","\u2a6e":"easter","\u2a6f":"apacir","\u2a70":"apE","\u2a70\u0338":"napE","\u2a71":"eplus","\u2a72":"pluse","\u2a73":"Esim","\u2a77":"eDDot","\u2a78":"equivDD","\u2a79":"ltcir","\u2a7a":"gtcir","\u2a7b":"ltquest","\u2a7c":"gtquest","\u2a7d":"les","\u2a7d\u0338":"nles","\u2a7e":"ges","\u2a7e\u0338":"nges","\u2a7f":"lesdot","\u2a80":"gesdot","\u2a81":"lesdoto","\u2a82":"gesdoto","\u2a83":"lesdotor","\u2a84":"gesdotol","\u2a85":"lap","\u2a86":"gap","\u2a87":"lne","\u2a88":"gne","\u2a89":"lnap","\u2a8a":"gnap","\u2a8b":"lEg","\u2a8c":"gEl","\u2a8d":"lsime","\u2a8e":"gsime","\u2a8f":"lsimg","\u2a90":"gsiml","\u2a91":"lgE","\u2a92":"glE","\u2a93":"lesges","\u2a94":"gesles","\u2a95":"els","\u2a96":"egs","\u2a97":"elsdot","\u2a98":"egsdot","\u2a99":"el","\u2a9a":"eg","\u2a9d":"siml","\u2a9e":"simg","\u2a9f":"simlE","\u2aa0":"simgE","\u2aa1":"LessLess","\u2aa1\u0338":"NotNestedLessLess","\u2aa2":"GreaterGreater","\u2aa2\u0338":"NotNestedGreaterGreater","\u2aa4":"glj","\u2aa5":"gla","\u2aa6":"ltcc","\u2aa7":"gtcc","\u2aa8":"lescc","\u2aa9":"gescc","\u2aaa":"smt","\u2aab":"lat","\u2aac":"smte","\u2aac\ufe00":"smtes","\u2aad":"late","\u2aad\ufe00":"lates","\u2aae":"bumpE","\u2aaf":"pre","\u2aaf\u0338":"npre","\u2ab0":"sce","\u2ab0\u0338":"nsce","\u2ab3":"prE","\u2ab4":"scE","\u2ab5":"prnE","\u2ab6":"scnE","\u2ab7":"prap","\u2ab8":"scap","\u2ab9":"prnap","\u2aba":"scnap","\u2abb":"Pr","\u2abc":"Sc","\u2abd":"subdot","\u2abe":"supdot","\u2abf":"subplus","\u2ac0":"supplus","\u2ac1":"submult","\u2ac2":"supmult","\u2ac3":"subedot","\u2ac4":"supedot","\u2ac5":"subE","\u2ac5\u0338":"nsubE","\u2ac6":"supE","\u2ac6\u0338":"nsupE","\u2ac7":"subsim","\u2ac8":"supsim","\u2acb\ufe00":"vsubnE","\u2acb":"subnE","\u2acc\ufe00":"vsupnE","\u2acc":"supnE","\u2acf":"csub","\u2ad0":"csup","\u2ad1":"csube","\u2ad2":"csupe","\u2ad3":"subsup","\u2ad4":"supsub","\u2ad5":"subsub","\u2ad6":"supsup","\u2ad7":"suphsub","\u2ad8":"supdsub","\u2ad9":"forkv","\u2ada":"topfork","\u2adb":"mlcp","\u2ae4":"Dashv","\u2ae6":"Vdashl","\u2ae7":"Barv","\u2ae8":"vBar","\u2ae9":"vBarv","\u2aeb":"Vbar","\u2aec":"Not","\u2aed":"bNot","\u2aee":"rnmid","\u2aef":"cirmid","\u2af0":"midcir","\u2af1":"topcir","\u2af2":"nhpar","\u2af3":"parsim","\u2afd":"parsl","\u2afd\u20e5":"nparsl","\u266d":"flat","\u266e":"natur","\u266f":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","\u20ac":"euro","\xb9":"sup1","\xbd":"half","\u2153":"frac13","\xbc":"frac14","\u2155":"frac15","\u2159":"frac16","\u215b":"frac18","\xb2":"sup2","\u2154":"frac23","\u2156":"frac25","\xb3":"sup3","\xbe":"frac34","\u2157":"frac35","\u215c":"frac38","\u2158":"frac45","\u215a":"frac56","\u215d":"frac58","\u215e":"frac78","\u{1d4b6}":"ascr","\u{1d552}":"aopf","\u{1d51e}":"afr","\u{1d538}":"Aopf","\u{1d504}":"Afr","\u{1d49c}":"Ascr","\xaa":"ordf","\xe1":"aacute","\xc1":"Aacute","\xe0":"agrave","\xc0":"Agrave","\u0103":"abreve","\u0102":"Abreve","\xe2":"acirc","\xc2":"Acirc","\xe5":"aring","\xc5":"angst","\xe4":"auml","\xc4":"Auml","\xe3":"atilde","\xc3":"Atilde","\u0105":"aogon","\u0104":"Aogon","\u0101":"amacr","\u0100":"Amacr","\xe6":"aelig","\xc6":"AElig","\u{1d4b7}":"bscr","\u{1d553}":"bopf","\u{1d51f}":"bfr","\u{1d539}":"Bopf","\u212c":"Bscr","\u{1d505}":"Bfr","\u{1d520}":"cfr","\u{1d4b8}":"cscr","\u{1d554}":"copf","\u212d":"Cfr","\u{1d49e}":"Cscr","\u2102":"Copf","\u0107":"cacute","\u0106":"Cacute","\u0109":"ccirc","\u0108":"Ccirc","\u010d":"ccaron","\u010c":"Ccaron","\u010b":"cdot","\u010a":"Cdot","\xe7":"ccedil","\xc7":"Ccedil","\u2105":"incare","\u{1d521}":"dfr","\u2146":"dd","\u{1d555}":"dopf","\u{1d4b9}":"dscr","\u{1d49f}":"Dscr","\u{1d507}":"Dfr","\u2145":"DD","\u{1d53b}":"Dopf","\u010f":"dcaron","\u010e":"Dcaron","\u0111":"dstrok","\u0110":"Dstrok","\xf0":"eth","\xd0":"ETH","\u2147":"ee","\u212f":"escr","\u{1d522}":"efr","\u{1d556}":"eopf","\u2130":"Escr","\u{1d508}":"Efr","\u{1d53c}":"Eopf","\xe9":"eacute","\xc9":"Eacute","\xe8":"egrave","\xc8":"Egrave","\xea":"ecirc","\xca":"Ecirc","\u011b":"ecaron","\u011a":"Ecaron","\xeb":"euml","\xcb":"Euml","\u0117":"edot","\u0116":"Edot","\u0119":"eogon","\u0118":"Eogon","\u0113":"emacr","\u0112":"Emacr","\u{1d523}":"ffr","\u{1d557}":"fopf","\u{1d4bb}":"fscr","\u{1d509}":"Ffr","\u{1d53d}":"Fopf","\u2131":"Fscr","\ufb00":"fflig","\ufb03":"ffilig","\ufb04":"ffllig","\ufb01":"filig",fj:"fjlig","\ufb02":"fllig","\u0192":"fnof","\u210a":"gscr","\u{1d558}":"gopf","\u{1d524}":"gfr","\u{1d4a2}":"Gscr","\u{1d53e}":"Gopf","\u{1d50a}":"Gfr","\u01f5":"gacute","\u011f":"gbreve","\u011e":"Gbreve","\u011d":"gcirc","\u011c":"Gcirc","\u0121":"gdot","\u0120":"Gdot","\u0122":"Gcedil","\u{1d525}":"hfr","\u210e":"planckh","\u{1d4bd}":"hscr","\u{1d559}":"hopf","\u210b":"Hscr","\u210c":"Hfr","\u210d":"Hopf","\u0125":"hcirc","\u0124":"Hcirc","\u210f":"hbar","\u0127":"hstrok","\u0126":"Hstrok","\u{1d55a}":"iopf","\u{1d526}":"ifr","\u{1d4be}":"iscr","\u2148":"ii","\u{1d540}":"Iopf","\u2110":"Iscr","\u2111":"Im","\xed":"iacute","\xcd":"Iacute","\xec":"igrave","\xcc":"Igrave","\xee":"icirc","\xce":"Icirc","\xef":"iuml","\xcf":"Iuml","\u0129":"itilde","\u0128":"Itilde","\u0130":"Idot","\u012f":"iogon","\u012e":"Iogon","\u012b":"imacr","\u012a":"Imacr","\u0133":"ijlig","\u0132":"IJlig","\u0131":"imath","\u{1d4bf}":"jscr","\u{1d55b}":"jopf","\u{1d527}":"jfr","\u{1d4a5}":"Jscr","\u{1d50d}":"Jfr","\u{1d541}":"Jopf","\u0135":"jcirc","\u0134":"Jcirc","\u0237":"jmath","\u{1d55c}":"kopf","\u{1d4c0}":"kscr","\u{1d528}":"kfr","\u{1d4a6}":"Kscr","\u{1d542}":"Kopf","\u{1d50e}":"Kfr","\u0137":"kcedil","\u0136":"Kcedil","\u{1d529}":"lfr","\u{1d4c1}":"lscr","\u2113":"ell","\u{1d55d}":"lopf","\u2112":"Lscr","\u{1d50f}":"Lfr","\u{1d543}":"Lopf","\u013a":"lacute","\u0139":"Lacute","\u013e":"lcaron","\u013d":"Lcaron","\u013c":"lcedil","\u013b":"Lcedil","\u0142":"lstrok","\u0141":"Lstrok","\u0140":"lmidot","\u013f":"Lmidot","\u{1d52a}":"mfr","\u{1d55e}":"mopf","\u{1d4c2}":"mscr","\u{1d510}":"Mfr","\u{1d544}":"Mopf","\u2133":"Mscr","\u{1d52b}":"nfr","\u{1d55f}":"nopf","\u{1d4c3}":"nscr","\u2115":"Nopf","\u{1d4a9}":"Nscr","\u{1d511}":"Nfr","\u0144":"nacute","\u0143":"Nacute","\u0148":"ncaron","\u0147":"Ncaron","\xf1":"ntilde","\xd1":"Ntilde","\u0146":"ncedil","\u0145":"Ncedil","\u2116":"numero","\u014b":"eng","\u014a":"ENG","\u{1d560}":"oopf","\u{1d52c}":"ofr","\u2134":"oscr","\u{1d4aa}":"Oscr","\u{1d512}":"Ofr","\u{1d546}":"Oopf","\xba":"ordm","\xf3":"oacute","\xd3":"Oacute","\xf2":"ograve","\xd2":"Ograve","\xf4":"ocirc","\xd4":"Ocirc","\xf6":"ouml","\xd6":"Ouml","\u0151":"odblac","\u0150":"Odblac","\xf5":"otilde","\xd5":"Otilde","\xf8":"oslash","\xd8":"Oslash","\u014d":"omacr","\u014c":"Omacr","\u0153":"oelig","\u0152":"OElig","\u{1d52d}":"pfr","\u{1d4c5}":"pscr","\u{1d561}":"popf","\u2119":"Popf","\u{1d513}":"Pfr","\u{1d4ab}":"Pscr","\u{1d562}":"qopf","\u{1d52e}":"qfr","\u{1d4c6}":"qscr","\u{1d4ac}":"Qscr","\u{1d514}":"Qfr","\u211a":"Qopf","\u0138":"kgreen","\u{1d52f}":"rfr","\u{1d563}":"ropf","\u{1d4c7}":"rscr","\u211b":"Rscr","\u211c":"Re","\u211d":"Ropf","\u0155":"racute","\u0154":"Racute","\u0159":"rcaron","\u0158":"Rcaron","\u0157":"rcedil","\u0156":"Rcedil","\u{1d564}":"sopf","\u{1d4c8}":"sscr","\u{1d530}":"sfr","\u{1d54a}":"Sopf","\u{1d516}":"Sfr","\u{1d4ae}":"Sscr","\u24c8":"oS","\u015b":"sacute","\u015a":"Sacute","\u015d":"scirc","\u015c":"Scirc","\u0161":"scaron","\u0160":"Scaron","\u015f":"scedil","\u015e":"Scedil","\xdf":"szlig","\u{1d531}":"tfr","\u{1d4c9}":"tscr","\u{1d565}":"topf","\u{1d4af}":"Tscr","\u{1d517}":"Tfr","\u{1d54b}":"Topf","\u0165":"tcaron","\u0164":"Tcaron","\u0163":"tcedil","\u0162":"Tcedil","\u2122":"trade","\u0167":"tstrok","\u0166":"Tstrok","\u{1d4ca}":"uscr","\u{1d566}":"uopf","\u{1d532}":"ufr","\u{1d54c}":"Uopf","\u{1d518}":"Ufr","\u{1d4b0}":"Uscr","\xfa":"uacute","\xda":"Uacute","\xf9":"ugrave","\xd9":"Ugrave","\u016d":"ubreve","\u016c":"Ubreve","\xfb":"ucirc","\xdb":"Ucirc","\u016f":"uring","\u016e":"Uring","\xfc":"uuml","\xdc":"Uuml","\u0171":"udblac","\u0170":"Udblac","\u0169":"utilde","\u0168":"Utilde","\u0173":"uogon","\u0172":"Uogon","\u016b":"umacr","\u016a":"Umacr","\u{1d533}":"vfr","\u{1d567}":"vopf","\u{1d4cb}":"vscr","\u{1d519}":"Vfr","\u{1d54d}":"Vopf","\u{1d4b1}":"Vscr","\u{1d568}":"wopf","\u{1d4cc}":"wscr","\u{1d534}":"wfr","\u{1d4b2}":"Wscr","\u{1d54e}":"Wopf","\u{1d51a}":"Wfr","\u0175":"wcirc","\u0174":"Wcirc","\u{1d535}":"xfr","\u{1d4cd}":"xscr","\u{1d569}":"xopf","\u{1d54f}":"Xopf","\u{1d51b}":"Xfr","\u{1d4b3}":"Xscr","\u{1d536}":"yfr","\u{1d4ce}":"yscr","\u{1d56a}":"yopf","\u{1d4b4}":"Yscr","\u{1d51c}":"Yfr","\u{1d550}":"Yopf","\xfd":"yacute","\xdd":"Yacute","\u0177":"ycirc","\u0176":"Ycirc","\xff":"yuml","\u0178":"Yuml","\u{1d4cf}":"zscr","\u{1d537}":"zfr","\u{1d56b}":"zopf","\u2128":"Zfr","\u2124":"Zopf","\u{1d4b5}":"Zscr","\u017a":"zacute","\u0179":"Zacute","\u017e":"zcaron","\u017d":"Zcaron","\u017c":"zdot","\u017b":"Zdot","\u01b5":"imped","\xfe":"thorn","\xde":"THORN","\u0149":"napos","\u03b1":"alpha","\u0391":"Alpha","\u03b2":"beta","\u0392":"Beta","\u03b3":"gamma","\u0393":"Gamma","\u03b4":"delta","\u0394":"Delta","\u03b5":"epsi","\u03f5":"epsiv","\u0395":"Epsilon","\u03dd":"gammad","\u03dc":"Gammad","\u03b6":"zeta","\u0396":"Zeta","\u03b7":"eta","\u0397":"Eta","\u03b8":"theta","\u03d1":"thetav","\u0398":"Theta","\u03b9":"iota","\u0399":"Iota","\u03ba":"kappa","\u03f0":"kappav","\u039a":"Kappa","\u03bb":"lambda","\u039b":"Lambda","\u03bc":"mu","\xb5":"micro","\u039c":"Mu","\u03bd":"nu","\u039d":"Nu","\u03be":"xi","\u039e":"Xi","\u03bf":"omicron","\u039f":"Omicron","\u03c0":"pi","\u03d6":"piv","\u03a0":"Pi","\u03c1":"rho","\u03f1":"rhov","\u03a1":"Rho","\u03c3":"sigma","\u03a3":"Sigma","\u03c2":"sigmaf","\u03c4":"tau","\u03a4":"Tau","\u03c5":"upsi","\u03a5":"Upsilon","\u03d2":"Upsi","\u03c6":"phi","\u03d5":"phiv","\u03a6":"Phi","\u03c7":"chi","\u03a7":"Chi","\u03c8":"psi","\u03a8":"Psi","\u03c9":"omega","\u03a9":"ohm","\u0430":"acy","\u0410":"Acy","\u0431":"bcy","\u0411":"Bcy","\u0432":"vcy","\u0412":"Vcy","\u0433":"gcy","\u0413":"Gcy","\u0453":"gjcy","\u0403":"GJcy","\u0434":"dcy","\u0414":"Dcy","\u0452":"djcy","\u0402":"DJcy","\u0435":"iecy","\u0415":"IEcy","\u0451":"iocy","\u0401":"IOcy","\u0454":"jukcy","\u0404":"Jukcy","\u0436":"zhcy","\u0416":"ZHcy","\u0437":"zcy","\u0417":"Zcy","\u0455":"dscy","\u0405":"DScy","\u0438":"icy","\u0418":"Icy","\u0456":"iukcy","\u0406":"Iukcy","\u0457":"yicy","\u0407":"YIcy","\u0439":"jcy","\u0419":"Jcy","\u0458":"jsercy","\u0408":"Jsercy","\u043a":"kcy","\u041a":"Kcy","\u045c":"kjcy","\u040c":"KJcy","\u043b":"lcy","\u041b":"Lcy","\u0459":"ljcy","\u0409":"LJcy","\u043c":"mcy","\u041c":"Mcy","\u043d":"ncy","\u041d":"Ncy","\u045a":"njcy","\u040a":"NJcy","\u043e":"ocy","\u041e":"Ocy","\u043f":"pcy","\u041f":"Pcy","\u0440":"rcy","\u0420":"Rcy","\u0441":"scy","\u0421":"Scy","\u0442":"tcy","\u0422":"Tcy","\u045b":"tshcy","\u040b":"TSHcy","\u0443":"ucy","\u0423":"Ucy","\u045e":"ubrcy","\u040e":"Ubrcy","\u0444":"fcy","\u0424":"Fcy","\u0445":"khcy","\u0425":"KHcy","\u0446":"tscy","\u0426":"TScy","\u0447":"chcy","\u0427":"CHcy","\u045f":"dzcy","\u040f":"DZcy","\u0448":"shcy","\u0428":"SHcy","\u0449":"shchcy","\u0429":"SHCHcy","\u044a":"hardcy","\u042a":"HARDcy","\u044b":"ycy","\u042b":"Ycy","\u044c":"softcy","\u042c":"SOFTcy","\u044d":"ecy","\u042d":"Ecy","\u044e":"yucy","\u042e":"YUcy","\u044f":"yacy","\u042f":"YAcy","\u2135":"aleph","\u2136":"beth","\u2137":"gimel","\u2138":"daleth"},u=/["&'<>`]/g,h={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},d=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,f=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,g={aacute:"\xe1",Aacute:"\xc1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"\u0430",Acy:"\u0410",aelig:"\xe6",AElig:"\xc6",af:"\u2061",afr:"\u{1d51e}",Afr:"\u{1d504}",agrave:"\xe0",Agrave:"\xc0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2a3f",amp:"&",AMP:"&",and:"\u2227",And:"\u2a53",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",Aogon:"\u0104",aopf:"\u{1d552}",Aopf:"\u{1d538}",ap:"\u2248",apacir:"\u2a6f",ape:"\u224a",apE:"\u2a70",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",aring:"\xe5",Aring:"\xc5",ascr:"\u{1d4b6}",Ascr:"\u{1d49c}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",beta:"\u03b2",Beta:"\u0392",beth:"\u2136",between:"\u226c",bfr:"\u{1d51f}",Bfr:"\u{1d505}",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bNot:"\u2aed",bopf:"\u{1d553}",Bopf:"\u{1d539}",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\u{1d4b7}",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpe:"\u224f",bumpE:"\u2aae",bumpeq:"\u224f",Bumpeq:"\u224e",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22d2",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",ccaron:"\u010d",Ccaron:"\u010c",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",Cdot:"\u010a",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\u{1d520}",Cfr:"\u212d",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",Chi:"\u03a7",cir:"\u25cb",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29c3",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2a74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\u{1d554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",cscr:"\u{1d4b8}",Cscr:"\u{1d49e}",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",Cup:"\u22d3",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21d3",Darr:"\u21a1",dash:"\u2010",dashv:"\u22a3",Dashv:"\u2ae4",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",Dcaron:"\u010e",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21ca",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",delta:"\u03b4",Delta:"\u0394",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\u{1d521}",Dfr:"\u{1d507}",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\u{1d555}",Dopf:"\u{1d53b}",dot:"\u02d9",Dot:"\xa8",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21d3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\u{1d4b9}",Dscr:"\u{1d49f}",dscy:"\u0455",DScy:"\u0405",dsol:"\u29f6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",DZcy:"\u040f",dzigrarr:"\u27ff",eacute:"\xe9",Eacute:"\xc9",easter:"\u2a6e",ecaron:"\u011b",Ecaron:"\u011a",ecir:"\u2256",ecirc:"\xea",Ecirc:"\xca",ecolon:"\u2255",ecy:"\u044d",Ecy:"\u042d",eDDot:"\u2a77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\u{1d522}",Efr:"\u{1d508}",eg:"\u2a9a",egrave:"\xe8",Egrave:"\xc8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014b",ENG:"\u014a",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\u{1d556}",Eopf:"\u{1d53c}",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",Epsilon:"\u0395",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2a73",eta:"\u03b7",Eta:"\u0397",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\u{1d523}",Ffr:"\u{1d509}",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\u{1d557}",Fopf:"\u{1d53d}",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\u{1d4bb}",Fscr:"\u2131",gacute:"\u01f5",gamma:"\u03b3",Gamma:"\u0393",gammad:"\u03dd",Gammad:"\u03dc",gap:"\u2a86",gbreve:"\u011f",Gbreve:"\u011e",Gcedil:"\u0122",gcirc:"\u011d",Gcirc:"\u011c",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22db",gEl:"\u2a8c",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\u{1d524}",Gfr:"\u{1d50a}",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2aa5",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\u{1d558}",Gopf:"\u{1d53e}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",gscr:"\u210a",Gscr:"\u{1d4a2}",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gt:">",Gt:"\u226b",GT:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",HARDcy:"\u042a",harr:"\u2194",hArr:"\u21d4",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\u{1d525}",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\u{1d559}",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1d4bd}",Hscr:"\u210b",hslash:"\u210f",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",iacute:"\xed",Iacute:"\xcd",ic:"\u2063",icirc:"\xee",Icirc:"\xce",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xa1",iff:"\u21d4",ifr:"\u{1d526}",Ifr:"\u2111",igrave:"\xec",Igrave:"\xcc",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012b",Imacr:"\u012a",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",Int:"\u222c",intcal:"\u22ba",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012f",Iogon:"\u012e",iopf:"\u{1d55a}",Iopf:"\u{1d540}",iota:"\u03b9",Iota:"\u0399",iprod:"\u2a3c",iquest:"\xbf",iscr:"\u{1d4be}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xef",Iuml:"\xcf",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\u{1d527}",Jfr:"\u{1d50d}",jmath:"\u0237",jopf:"\u{1d55b}",Jopf:"\u{1d541}",jscr:"\u{1d4bf}",Jscr:"\u{1d4a5}",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03ba",Kappa:"\u039a",kappav:"\u03f0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043a",Kcy:"\u041a",kfr:"\u{1d528}",Kfr:"\u{1d50e}",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045c",KJcy:"\u040c",kopf:"\u{1d55c}",Kopf:"\u{1d542}",kscr:"\u{1d4c0}",Kscr:"\u{1d4a6}",lAarr:"\u21da",lacute:"\u013a",Lacute:"\u0139",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",Lambda:"\u039b",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larr:"\u2190",lArr:"\u21d0",Larr:"\u219e",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",lAtail:"\u291b",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",Lcaron:"\u013d",lcedil:"\u013c",Lcedil:"\u013b",lceil:"\u2308",lcub:"{",lcy:"\u043b",Lcy:"\u041b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",leftarrow:"\u2190",Leftarrow:"\u21d0",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",Leftrightarrow:"\u21d4",LeftRightArrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",leg:"\u22da",lEg:"\u2a8b",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lfr:"\u{1d529}",Lfr:"\u{1d50f}",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226a",Ll:"\u22d8",llarr:"\u21c7",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",Lmidot:"\u013f",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",Longleftarrow:"\u27f8",LongLeftArrow:"\u27f5",longleftrightarrow:"\u27f7",Longleftrightarrow:"\u27fa",LongLeftRightArrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",Longrightarrow:"\u27f9",LongRightArrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\u{1d55d}",Lopf:"\u{1d543}",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\u{1d4c1}",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226a",LT:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21a6",Map:"\u2905",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",Mcy:"\u041c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",mfr:"\u{1d52a}",Mfr:"\u{1d510}",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\u{1d55e}",Mopf:"\u{1d544}",mp:"\u2213",mscr:"\u{1d4c2}",Mscr:"\u2133",mstpos:"\u223e",mu:"\u03bc",Mu:"\u039c",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",Ncy:"\u041d",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",nfr:"\u{1d52b}",Nfr:"\u{1d511}",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",ngt:"\u226f",nGt:"\u226b\u20d2",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",NJcy:"\u040a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nlt:"\u226e",nLt:"\u226a\u20d2",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\u{1d55f}",Nopf:"\u2115",not:"\xac",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\u{1d4c3}",Nscr:"\u{1d4a9}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2ac5\u0338",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2ac6\u0338",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",Nu:"\u039d",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xf3",Oacute:"\xd3",oast:"\u229b",ocir:"\u229a",ocirc:"\xf4",Ocirc:"\xd4",ocy:"\u043e",Ocy:"\u041e",odash:"\u229d",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29bf",ofr:"\u{1d52c}",Ofr:"\u{1d512}",ogon:"\u02db",ograve:"\xf2",Ograve:"\xd2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",Omacr:"\u014c",omega:"\u03c9",Omega:"\u03a9",omicron:"\u03bf",Omicron:"\u039f",omid:"\u29b6",ominus:"\u2296",oopf:"\u{1d560}",Oopf:"\u{1d546}",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",or:"\u2228",Or:"\u2a54",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",oscr:"\u2134",Oscr:"\u{1d4aa}",oslash:"\xf8",Oslash:"\xd8",osol:"\u2298",otilde:"\xf5",Otilde:"\xd5",otimes:"\u2297",Otimes:"\u2a37",otimesas:"\u2a36",ouml:"\xf6",Ouml:"\xd6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",pcy:"\u043f",Pcy:"\u041f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\u{1d52d}",Pfr:"\u{1d513}",phi:"\u03c6",Phi:"\u03a6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",Pi:"\u03a0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\u{1d561}",Popf:"\u2119",pound:"\xa3",pr:"\u227a",Pr:"\u2abb",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prE:"\u2ab3",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\u{1d4c5}",Pscr:"\u{1d4ab}",psi:"\u03c8",Psi:"\u03a8",puncsp:"\u2008",qfr:"\u{1d52e}",Qfr:"\u{1d514}",qint:"\u2a0c",qopf:"\u{1d562}",Qopf:"\u211a",qprime:"\u2057",qscr:"\u{1d4c6}",Qscr:"\u{1d4ac}",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarr:"\u2192",rArr:"\u21d2",Rarr:"\u21a0",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",Rarrtl:"\u2916",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\u{1d52f}",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rho:"\u03c1",Rho:"\u03a1",rhov:"\u03f1",RightAngleBracket:"\u27e9",rightarrow:"\u2192",Rightarrow:"\u21d2",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\u{1d563}",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\u{1d4c7}",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",Sacute:"\u015a",sbquo:"\u201a",sc:"\u227b",Sc:"\u2abc",scap:"\u2ab8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",scedil:"\u015f",Scedil:"\u015e",scirc:"\u015d",Scirc:"\u015c",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",Scy:"\u0421",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\u{1d530}",Sfr:"\u{1d516}",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",sigma:"\u03c3",Sigma:"\u03a3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",SOFTcy:"\u042c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\u{1d564}",Sopf:"\u{1d54a}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\u{1d4c8}",Sscr:"\u{1d4ae}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",Star:"\u22c6",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",sube:"\u2286",subE:"\u2ac5",subedot:"\u2ac3",submult:"\u2ac1",subne:"\u228a",subnE:"\u2acb",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup:"\u2283",Sup:"\u22d1",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supE:"\u2ac6",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supne:"\u228b",supnE:"\u2acc",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",tau:"\u03c4",Tau:"\u03a4",tbrk:"\u23b4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20db",telrec:"\u2315",tfr:"\u{1d531}",Tfr:"\u{1d517}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03b8",Theta:"\u0398",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",thorn:"\xfe",THORN:"\xde",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\u{1d565}",Topf:"\u{1d54b}",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\u{1d4c9}",Tscr:"\u{1d4af}",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045b",TSHcy:"\u040b",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uacute:"\xfa",Uacute:"\xda",uarr:"\u2191",uArr:"\u21d1",Uarr:"\u219f",Uarrocir:"\u2949",ubrcy:"\u045e",Ubrcy:"\u040e",ubreve:"\u016d",Ubreve:"\u016c",ucirc:"\xfb",Ucirc:"\xdb",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21c5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296e",ufisht:"\u297e",ufr:"\u{1d532}",Ufr:"\u{1d518}",ugrave:"\xf9",Ugrave:"\xd9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",Umacr:"\u016a",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",uogon:"\u0173",Uogon:"\u0172",uopf:"\u{1d566}",Uopf:"\u{1d54c}",uparrow:"\u2191",Uparrow:"\u21d1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",Updownarrow:"\u21d5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",upsilon:"\u03c5",Upsilon:"\u03a5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",Uring:"\u016e",urtri:"\u25f9",uscr:"\u{1d4ca}",Uscr:"\u{1d4b0}",utdot:"\u22f0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uuml:"\xfc",Uuml:"\xdc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",vee:"\u2228",Vee:"\u22c1",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",vfr:"\u{1d533}",Vfr:"\u{1d519}",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\u{1d567}",Vopf:"\u{1d54d}",vprop:"\u221d",vrtri:"\u22b3",vscr:"\u{1d4cb}",Vscr:"\u{1d4b1}",vsubne:"\u228a\ufe00",vsubnE:"\u2acb\ufe00",vsupne:"\u228b\ufe00",vsupnE:"\u2acc\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\u{1d534}",Wfr:"\u{1d51a}",wopf:"\u{1d568}",Wopf:"\u{1d54e}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\u{1d4cc}",Wscr:"\u{1d4b2}",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\u{1d535}",Xfr:"\u{1d51b}",xharr:"\u27f7",xhArr:"\u27fa",xi:"\u03be",Xi:"\u039e",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\u{1d569}",Xopf:"\u{1d54f}",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",xscr:"\u{1d4cd}",Xscr:"\u{1d4b3}",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacute:"\xfd",Yacute:"\xdd",yacy:"\u044f",YAcy:"\u042f",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044b",Ycy:"\u042b",yen:"\xa5",yfr:"\u{1d536}",Yfr:"\u{1d51c}",yicy:"\u0457",YIcy:"\u0407",yopf:"\u{1d56a}",Yopf:"\u{1d550}",yscr:"\u{1d4ce}",Yscr:"\u{1d4b4}",yucy:"\u044e",YUcy:"\u042e",yuml:"\xff",Yuml:"\u0178",zacute:"\u017a",Zacute:"\u0179",zcaron:"\u017e",Zcaron:"\u017d",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017c",Zdot:"\u017b",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",zeta:"\u03b6",Zeta:"\u0396",zfr:"\u{1d537}",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21dd",zopf:"\u{1d56b}",Zopf:"\u2124",zscr:"\u{1d4cf}",Zscr:"\u{1d4b5}",zwj:"\u200d",zwnj:"\u200c"},m={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},v={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"},y=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],b=String.fromCharCode,_={}.hasOwnProperty,x=function(t,e){return _.call(t,e)},w=function(t,e){if(!t)return e;var n,r={};for(n in e)r[n]=x(t,n)?t[n]:e[n];return r},S=function(t,e){var n="";return t>=55296&&t<=57343||t>1114111?(e&&A("character reference outside the permissible Unicode range"),"\ufffd"):x(v,t)?(e&&A("disallowed character reference"),v[t]):(e&&function(t,e){for(var n=-1,r=t.length;++n65535&&(n+=b((t-=65536)>>>10&1023|55296),t=56320|1023&t),n+=b(t))},k=function(t){return"&#x"+t.toString(16).toUpperCase()+";"},C=function(t){return"&#"+t+";"},A=function(t){throw Error("Parse error: "+t)},T=function(t,e){(e=w(e,T.options)).strict&&f.test(t)&&A("forbidden code point");var n=e.useNamedReferences,r=e.allowUnsafeSymbols,i=e.decimal?C:k,h=function(t){return i(t.charCodeAt(0))};return e.encodeEverything?(t=t.replace(a,(function(t){return n&&x(c,t)?"&"+c[t]+";":h(t)})),n&&(t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(t=t.replace(l,(function(t){return"&"+c[t]+";"})))):n?(r||(t=t.replace(u,(function(t){return"&"+c[t]+";"}))),t=(t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,(function(t){return"&"+c[t]+";"}))):r||(t=t.replace(u,h)),t.replace(o,(function(t){var e=t.charCodeAt(0),n=t.charCodeAt(1);return i(1024*(e-55296)+n-56320+65536)})).replace(s,h)};T.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var E=function(t,e){var n=(e=w(e,E.options)).strict;return n&&d.test(t)&&A("malformed character reference"),t.replace(p,(function(t,r,i,o,a,s,l,c,u){var h,d,f,p,v,y;return r?g[v=r]:i?(v=i,(y=o)&&e.isAttributeValue?(n&&"="==y&&A("`&` did not start a character reference"),t):(n&&A("named character reference was not terminated by a semicolon"),m[v]+(y||""))):a?(f=a,d=s,n&&!d&&A("character reference was not terminated by a semicolon"),h=parseInt(f,10),S(h,n)):l?(p=l,d=c,n&&!d&&A("character reference was not terminated by a semicolon"),h=parseInt(p,16),S(h,n)):(n&&A("named character reference was not terminated by a semicolon"),t)}))};E.options={isAttributeValue:!1,strict:!1};var M={version:"1.2.0",encode:T,decode:E,escape:function(t){return t.replace(u,(function(t){return h[t]}))},unescape:E};void 0===(r=(function(){return M}).call(e,n,e,t))||(t.exports=r)}()}).call(this,n("YuTi")(t))},kzvK:function(t,e,n){var r=n("sS/r").extend({type:"timeline"});t.exports=r},l7GE:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("7o/Q");class i extends r.a{notifyNext(t,e,n,r,i){this.destination.next(e)}notifyError(t,e){this.destination.error(t)}notifyComplete(t){this.destination.complete()}}},l9OW:function(t,e,n){var r=n("SKAX"),i=n("MMmD");t.exports=function(t,e){var n=-1,o=i(t)?Array(t.length):[];return r(t,(function(t,r,i){o[++n]=e(t,r,i)})),o}},lE7J:function(t,e,n){var r=n("OELB"),i=r.round;function o(t){return r.getPrecisionSafe(t)+2}function a(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function s(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),a(t,0,e),a(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,n,a){var l={},c=l.interval=r.nice((t[1]-t[0])/e,!0);null!=n&&ca&&(c=l.interval=a);var u=l.intervalPrecision=o(c);return s(l.niceTickExtent=[i(Math.ceil(t[0]/c)*c,u),i(Math.floor(t[1]/c)*c,u)],t),l},e.getIntervalPrecision=o,e.fixExtent=s},lELe:function(t,e,n){var r=n("bYtY");t.exports=function(t){var e=[];r.each(t.series,(function(t){t&&"map"===t.type&&(e.push(t),t.map=t.map||t.mapType,r.defaults(t,t.mapLocation))}))}},lJxs:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("7o/Q");function i(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new o(t,e))}}class o{constructor(t,e){this.project=t,this.thisArg=e}call(t,e){return e.subscribe(new a(t,this.project,this.thisArg))}}class a extends r.a{constructor(t,e,n){super(t),this.project=e,this.count=0,this.thisArg=n||this}_next(t){let e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}},lLGD:function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=n("nVfU"),a=o.layout,s=o.largeLayout;n("Wqna"),n("F7hV"),n("Z8zF"),n("Ae16"),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,i.curry(a,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),r.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},lOQZ:function(t,e,n){var r=n("QBsz"),i=n("U/Mo"),o=i.getSymbolSize,a=i.getNodeGlobalScale,s=Math.PI,l=[],c={value:function(t,e,n,r,i,o,a,s){var l=0,c=r.getSum("value"),u=2*Math.PI/(c||s);n.eachNode((function(t){var e=t.getValue("value"),n=u*(c?e:1)/2;l+=n,t.setLayout([i*Math.cos(l)+o,i*Math.sin(l)+a]),l+=n}))},symbolSize:function(t,e,n,r,i,c,u,h){var d=0;l.length=h;var f=a(t);n.eachNode((function(t){var e=o(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=f;var n=Math.asin(e/2/i);isNaN(n)&&(n=s/2),l[t.dataIndex]=n,d+=2*n}));var p=(2*s-d)/h/2,g=0;n.eachNode((function(t){var e=p+l[t.dataIndex];g+=e,t.setLayout([i*Math.cos(g)+c,i*Math.sin(g)+u]),g+=e}))}};e.circularLayout=function(t,e){var n=t.coordinateSystem;if(!n||"view"===n.type){var i=n.getBoundingRect(),o=t.getData(),a=o.graph,s=i.width/2+i.x,l=i.height/2+i.y,u=Math.min(i.width,i.height)/2,h=o.count();o.setLayout({cx:s,cy:l}),h&&(c[e](t,n,a,o,u,s,l,h),a.eachEdge((function(t){var e,n=t.getModel().get("lineStyle.curveness")||0,i=r.clone(t.node1.getLayout()),o=r.clone(t.node2.getLayout());+n&&(e=[s*(n*=3)+(i[0]+o[0])/2*(1-n),l*n+(i[1]+o[1])/2*(1-n)]),t.setLayout([i,o,e])})))}}},lQqw:function(t,e,n){var r=n("MMmD");t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var o=n.length,a=e?o:-1,s=Object(n);(e?a--:++a2?e[2]:void 0;for(c&&o(e[0],e[1],c)&&(r=1);++na){var s=o;o=a,a=s}return o+"\x01"+a+"\x01"+(r.isUndefined(i)?"\0":i)}function l(t,e,n,r){var i=""+e,o=""+n;if(!t&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};return r&&(s.name=r),s}function c(t,e){return s(t,e.v,e.w,e.name)}t.exports=i,i.prototype._nodeCount=0,i.prototype._edgeCount=0,i.prototype.isDirected=function(){return this._isDirected},i.prototype.isMultigraph=function(){return this._isMultigraph},i.prototype.isCompound=function(){return this._isCompound},i.prototype.setGraph=function(t){return this._label=t,this},i.prototype.graph=function(){return this._label},i.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},i.prototype.nodeCount=function(){return this._nodeCount},i.prototype.nodes=function(){return r.keys(this._nodes)},i.prototype.sources=function(){var t=this;return r.filter(this.nodes(),(function(e){return r.isEmpty(t._in[e])}))},i.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),(function(e){return r.isEmpty(t._out[e])}))},i.prototype.setNodes=function(t,e){var n=arguments,i=this;return r.each(t,(function(t){n.length>1?i.setNode(t,e):i.setNode(t)})),this},i.prototype.setNode=function(t,e){return r.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},i.prototype.node=function(t){return this._nodes[t]},i.prototype.hasNode=function(t){return r.has(this._nodes,t)},i.prototype.removeNode=function(t){var e=this;if(r.has(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),(function(t){e.setParent(t)})),delete this._children[t]),r.each(r.keys(this._in[t]),n),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},i.prototype.setParent=function(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(e))e="\0";else{for(var n=e+="";!r.isUndefined(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this},i.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},i.prototype.parent=function(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}},i.prototype.children=function(t){if(r.isUndefined(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return r.keys(e)}else{if("\0"===t)return this.nodes();if(this.hasNode(t))return[]}},i.prototype.predecessors=function(t){var e=this._preds[t];if(e)return r.keys(e)},i.prototype.successors=function(t){var e=this._sucs[t];if(e)return r.keys(e)},i.prototype.neighbors=function(t){var e=this.predecessors(t);if(e)return r.union(e,this.successors(t))},i.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},i.prototype.filterNodes=function(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;r.each(this._nodes,(function(n,r){t(r)&&e.setNode(r,n)})),r.each(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))}));var i={};return this._isCompound&&r.each(e.nodes(),(function(t){e.setParent(t,function t(r){var o=n.parent(r);return void 0===o||e.hasNode(o)?(i[r]=o,o):o in i?i[o]:t(o)}(t))})),e},i.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},i.prototype.edgeCount=function(){return this._edgeCount},i.prototype.edges=function(){return r.values(this._edgeObjs)},i.prototype.setPath=function(t,e){var n=this,i=arguments;return r.reduce(t,(function(t,r){return i.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r})),this},i.prototype.setEdge=function(){var t,e,n,i,a=!1,c=arguments[0];"object"==typeof c&&null!==c&&"v"in c?(t=c.v,e=c.w,n=c.name,2===arguments.length&&(i=arguments[1],a=!0)):(t=c,e=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],a=!0)),t=""+t,e=""+e,r.isUndefined(n)||(n=""+n);var u=s(this._isDirected,t,e,n);if(r.has(this._edgeLabels,u))return a&&(this._edgeLabels[u]=i),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[u]=a?i:this._defaultEdgeLabelFn(t,e,n);var h=l(this._isDirected,t,e,n);return t=h.v,e=h.w,Object.freeze(h),this._edgeObjs[u]=h,o(this._preds[e],t),o(this._sucs[t],e),this._in[e][u]=h,this._out[t][u]=h,this._edgeCount++,this},i.prototype.edge=function(t,e,n){var r=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return this._edgeLabels[r]},i.prototype.hasEdge=function(t,e,n){var i=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return r.has(this._edgeLabels,i)},i.prototype.removeEdge=function(t,e,n){var r=1===arguments.length?c(this._isDirected,arguments[0]):s(this._isDirected,t,e,n),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],a(this._preds[e],t),a(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this},i.prototype.inEdges=function(t,e){var n=this._in[t];if(n){var i=r.values(n);return e?r.filter(i,(function(t){return t.v===e})):i}},i.prototype.outEdges=function(t,e){var n=this._out[t];if(n){var i=r.values(n);return e?r.filter(i,(function(t){return t.w===e})):i}},i.prototype.nodeEdges=function(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}},loD1:function(t,e){e.containStroke=function(t,e,n,r,i,o,a){if(0===i)return!1;var s,l=i;if(a>e+l&&a>r+l||at+l&&o>n+l||oe(t),e)}}},mFDi:function(t,e,n){var r,i,o,a,s=n("QBsz"),l=n("Fofx"),c=s.applyTransform,u=Math.min,h=Math.max;function d(t,e,n,r){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r),this.x=t,this.y=e,this.width=n,this.height=r}d.prototype={constructor:d,union:function(t){var e=u(t.x,this.x),n=u(t.y,this.y);this.width=h(t.x+t.width,this.x+this.width)-e,this.height=h(t.y+t.height,this.y+this.height)-n,this.x=e,this.y=n},applyTransform:(r=[],i=[],o=[],a=[],function(t){if(t){r[0]=o[0]=this.x,r[1]=a[1]=this.y,i[0]=a[0]=this.x+this.width,i[1]=o[1]=this.y+this.height,c(r,r,t),c(i,i,t),c(o,o,t),c(a,a,t),this.x=u(r[0],i[0],o[0],a[0]),this.y=u(r[1],i[1],o[1],a[1]);var e=h(r[0],i[0],o[0],a[0]),n=h(r[1],i[1],o[1],a[1]);this.width=e-this.x,this.height=n-this.y}}),calculateTransform:function(t){var e=this,n=t.width/e.width,r=t.height/e.height,i=l.create();return l.translate(i,i,[-e.x,-e.y]),l.scale(i,i,[n,r]),l.translate(i,i,[t.x,t.y]),i},intersect:function(t){if(!t)return!1;t instanceof d||(t=d.create(t));var e=this;return!(e.x+e.width=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new d(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},d.create=function(t){return new d(t.x,t.y,t.width,t.height)},t.exports=d},mLcG:function(t,e){var n="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=n},mNz5:function(t,e,n){var r=n("dt0z"),i=0;t.exports=function(t){var e=++i;return r(t)+e}},mOdp:function(t,e,n){var r=n("bYtY").createHashMap;t.exports=function(t){return{getTargetSeries:function(e){var n={},i=r();return e.eachSeriesByType(t,(function(t){t.__paletteScope=n,i.set(t.uid,t)})),i},reset:function(t,e){var n=t.getRawData(),r={},i=t.getData();i.each((function(t){var e=i.getRawIndex(t);r[e]=t})),n.each((function(e){var o,a=r[e],s=null!=a&&i.getItemVisual(a,"color",!0),l=null!=a&&i.getItemVisual(a,"borderColor",!0);if(s&&l||(o=n.getItemModel(e)),!s){var c=o.get("itemStyle.color")||t.getColorFromPalette(n.getName(e)||e+"",t.__paletteScope,n.count());null!=a&&i.setItemVisual(a,"color",c)}if(!l){var u=o.get("itemStyle.borderColor");null!=a&&i.setItemVisual(a,"borderColor",u)}}))}}}},mTTR:function(t,e,n){var r=n("b80T"),i=n("QcOe"),o=n("MMmD");t.exports=function(t){return o(t)?r(t,!0):i(t)}},mUg4:function(t,e,n){var r=n("cq/+"),i=n("EwQA"),o=n("mTTR");t.exports=function(t,e){return null==t?t:r(t,i(e),o)}},mYwL:function(t,e,n){var r=n("bYtY"),i=n("IwbS"),o=Math.PI;t.exports=function(t,e){r.defaults(e=e||{},{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var n=new i.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),a=new i.Arc({shape:{startAngle:-o/2,endAngle:-o/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),s=new i.Rect({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});a.animateShape(!0).when(1e3,{endAngle:3*o/2}).start("circularInOut"),a.animateShape(!0).when(1e3,{startAngle:3*o/2}).delay(300).start("circularInOut");var l=new i.Group;return l.add(a),l.add(s),l.add(n),l.resize=function(){var e=t.getWidth()/2,r=t.getHeight()/2;a.setShape({cx:e,cy:r});var i=a.shape.r;s.setShape({x:e-i,y:r-i,width:2*i,height:2*i}),n.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},l.resize(),l}},mc0g:function(t,e){t.exports=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var l=a[t?s:++i];if(!1===n(o[l],l,o))break}return e}}},mdPL:function(t,e,n){(function(t){var r=n("WFqU"),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s}).call(this,n("YuTi")(t))},"mv/X":function(t,e,n){var r=n("ljhN"),i=n("MMmD"),o=n("wJg7"),a=n("GoyQ");t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?i(n)&&o(e,n.length):"string"==s&&e in n)&&r(n[e],t)}},mwIZ:function(t,e,n){var r=n("ZWtO");t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},n1HI:function(t,e,n){var r=n("hX1E").normalizeRadian,i=2*Math.PI;e.containStroke=function(t,e,n,o,a,s,l,c,u){if(0===l)return!1;var h=l;c-=t,u-=e;var d=Math.sqrt(c*c+u*u);if(d-h>n||d+ha&&(a+=i);var p=Math.atan2(u,c);return p<0&&(p+=i),p>=o&&p<=a||p+i>=o&&p+i<=a}},n3Sm:function(t,e,n){var r=n("SKAX");t.exports=function(t,e){var n=[];return r(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}},n4Lv:function(t,e,n){var r=n("7hqr").isDimensionStacked,i=n("bYtY").map;e.prepareDataCoordInfo=function(t,e,n){var o,a=t.getBaseAxis(),s=t.getOtherAxis(a),l=function(t,e){var n=0,r=t.scale.getExtent();return"start"===e?n=r[0]:"end"===e?n=r[1]:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]),n}(s,n),c=a.dim,u=s.dim,h=e.mapDimension(u),d=e.mapDimension(c),f="x"===u||"radius"===u?1:0,p=i(t.dimensions,(function(t){return e.mapDimension(t)})),g=e.getCalculationInfo("stackResultDimension");return(o|=r(e,p[0]))&&(p[0]=g),(o|=r(e,p[1]))&&(p[1]=g),{dataDimsForPoint:p,valueStart:l,valueAxisDim:u,baseAxisDim:c,stacked:!!o,valueDim:h,baseDim:d,baseDataOffset:f,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}},e.getStackedOnPoint=function(t,e,n,r){var i=NaN;t.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,r),a[1-o]=i,e.dataToPoint(a)}},n6Mw:function(t,e,n){var r=n("SrGk"),i=n("bYtY"),o=n("Fofx");function a(t,e){r.call(this,t,e,"clipPath","__clippath_in_use__")}i.inherits(a,r),a.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var n=this.getTextSvgElement(t);n&&this.updateDom(n,t.__clipPaths,!0),this.markUsed(t)},a.prototype.updateDom=function(t,e,n){if(e&&e.length>0){var r,i,a=this.getDefs(!0),s=e[0],l=n?"_textDom":"_dom";s[l]?(i=s[l].getAttribute("id"),a.contains(r=s[l])||a.appendChild(r)):(i="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(r=this.createElement("clipPath")).setAttribute("id",i),a.appendChild(r),s[l]=r);var c=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var u=Array.prototype.slice.call(s.transform);o.mul(s.transform,s.parent.invTransform,s.transform),c.brush(s),s.transform=u}else c.brush(s);var h=this.getSvgElement(s);r.innerHTML="",r.appendChild(h.cloneNode()),t.setAttribute("clip-path","url(#"+i+")"),e.length>1&&this.updateDom(r,e.slice(1),n)}else t&&t.setAttribute("clip-path","none")},a.prototype.markUsed=function(t){var e=this;t.__clipPaths&&i.each(t.__clipPaths,(function(t){t._dom&&r.prototype.markUsed.call(e,t._dom),t._textDom&&r.prototype.markUsed.call(e,t._textDom)}))},t.exports=a},n6bG:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,"a",(function(){return r}))},nCxF:function(t,e,n){var r=n("QBsz"),i=r.min,o=r.max,a=r.scale,s=r.distance,l=r.add,c=r.clone,u=r.sub;t.exports=function(t,e,n,r){var h,d,f,p,g=[],m=[],v=[],y=[];if(r){f=[1/0,1/0],p=[-1/0,-1/0];for(var b=0,_=t.length;b<_;b++)i(f,f,t[b]),o(p,p,t[b]);i(f,f,r[0]),o(p,p,r[1])}for(b=0,_=t.length;b<_;b++){var x=t[b];if(n)h=t[b?b-1:_-1],d=t[(b+1)%_];else{if(0===b||b===_-1){g.push(c(t[b]));continue}h=t[b-1],d=t[b+1]}u(m,d,h),a(m,m,e);var w=s(x,h),S=s(x,d),k=w+S;0!==k&&(w/=k,S/=k),a(v,m,-w),a(y,m,S);var C=l([],x,v),A=l([],x,y);r&&(o(C,C,f),i(C,C,p),o(A,A,f),i(A,A,p)),g.push(C),g.push(A)}return n&&g.push(g.shift()),g}},nKiI:function(t,e,n){var r=n("bYtY"),i=n("mFDi"),o=n("OELB"),a=o.parsePercent,s=o.MAX_SAFE_INTEGER,l=n("+TT/"),c=n("VaxA"),u=Math.max,h=Math.min,d=r.retrieve,f=r.each,p=["itemStyle","borderWidth"],g=["itemStyle","gapWidth"],m=["upperLabel","show"],v=["upperLabel","height"];function y(t,e,n){for(var r,i=0,o=1/0,a=0,s=t.length;ai&&(i=r));var l=t.area*t.area,c=e*e*n;return l?u(c*i/l,l/(c*o)):1/0}function b(t,e,n,r,i){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],c=n[s[o]],d=e?t.area/e:0;(i||d>n[l[a]])&&(d=n[l[a]]);for(var f=0,p=t.length;fs&&(u=s),a=o}us[1]&&(s[1]=e)}))}else s=[NaN,NaN];return{sum:r,dataExtent:s}}(e,s,l);if(0===u.sum)return t.viewChildren=[];if(u.sum=function(t,e,n,r,i){if(!r)return n;for(var o=t.get("visibleMin"),a=i.length,s=a,l=a-1;l>=0;l--){var c=i["asc"===r?a-l-1:l].getValue();c/n*e0&&(a=null===a?l:Math.min(a,l))}n[i]=a}}return n}(t),n=[];return r.each(t,(function(t){var r,o=t.coordinateSystem.getBaseAxis(),a=o.getExtent();if("category"===o.type)r=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=e[o.dim+"_"+o.index],u=Math.abs(a[1]-a[0]),h=o.scale.getExtent(),d=Math.abs(h[1]-h[0]);r=s?u/d*s:u}else{var f=t.getData();r=Math.abs(a[1]-a[0])/f.count()}var p=i(t.get("barWidth"),r),g=i(t.get("barMaxWidth"),r),m=i(t.get("barMinWidth")||1,r),v=t.get("barGap"),y=t.get("barCategoryGap");n.push({bandWidth:r,barWidth:p,barMaxWidth:g,barMinWidth:m,barGap:v,barCategoryGap:y,axisKey:c(o),stackId:l(t)})})),d(n)}function d(t){var e={};r.each(t,(function(t,n){var r=t.axisKey,i=t.bandWidth,o=e[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},a=o.stacks;e[r]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var c=t.barMaxWidth;c&&(a[s].maxWidth=c);var u=t.barMinWidth;u&&(a[s].minWidth=u);var h=t.barGap;null!=h&&(o.gap=h);var d=t.barCategoryGap;null!=d&&(o.categoryGap=d)}));var n={};return r.each(e,(function(t,e){n[e]={};var o=t.stacks,a=t.bandWidth,s=i(t.categoryGap,a),l=i(t.gap,1),c=t.remainedWidth,u=t.autoWidthCount,h=(c-s)/(u+(u-1)*l);h=Math.max(h,0),r.each(o,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width)r=t.width,e&&(r=Math.min(r,e)),n&&(r=Math.max(r,n)),t.width=r,c-=r+l*r,u--;else{var r=h;e&&er&&(r=n),r!==h&&(t.width=r,c-=r+l*r,u--)}})),h=(c-s)/(u+(u-1)*l),h=Math.max(h,0);var d,f=0;r.each(o,(function(t,e){t.width||(t.width=h),d=t,f+=t.width*(1+l)})),d&&(f-=d.width*l);var p=-f/2;r.each(o,(function(t,r){n[e][r]=n[e][r]||{bandWidth:a,offset:p,width:t.width},p+=t.width*(1+l)}))})),n}function f(t,e,n){if(t&&e){var r=t[c(e)];return null!=r&&null!=n&&(r=r[l(n)]),r}}var p={seriesType:"bar",plan:a(),reset:function(t){if(g(t)&&m(t)){var e=t.getData(),n=t.coordinateSystem,r=n.grid.getRect(),i=n.getBaseAxis(),o=n.getOtherAxis(i),a=e.mapDimension(o.dim),l=e.mapDimension(i.dim),c=o.isHorizontal(),u=c?0:1,d=f(h([t]),i,t).width;return d>.5||(d=.5),{progress:function(t,e){for(var i,h=t.count,f=new s(2*h),p=new s(2*h),g=new s(h),m=[],y=[],b=0,_=0;null!=(i=t.next());)y[u]=e.get(a,i),y[1-u]=e.get(l,i),m=n.dataToPoint(y,null,m),p[b]=c?r.x+r.width:m[0],f[b++]=m[0],p[b]=c?m[1]:r.y+r.height,f[b++]=m[1],g[_++]=i;e.setLayout({largePoints:f,largeDataIndices:g,largeBackgroundPoints:p,barWidth:d,valueAxisStart:v(0,o),backgroundStart:c?r.x:r.y,valueAxisHorizontal:c})}}}}};function g(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function m(t){return t.pipelineContext&&t.pipelineContext.large}function v(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}e.getLayoutOnAxis=function(t){var e=[],n=t.axis;if("category"===n.type){for(var i=n.getBandWidth(),o=0;o=0?"p":"n",O=x;b&&(a[u][D]||(a[u][D]={p:x,n:x}),O=a[u][D][I]),_?(k=O,C=(E=n.dataToPoint([M,D]))[1]+d,A=E[0]-x,T=f,Math.abs(A)e=>{for(let n=0,r=t.length;n0){t.moveTo(n[i++],n[i++]);for(var a=1;a0?t.quadraticCurveTo((s+c)/2-(l-u)*r,(l+u)/2-(c-s)*r,c,u):t.lineTo(c,u)}},findDataIndex:function(t,e){var n=this.shape,r=n.segs,i=n.curveness;if(n.polyline)for(var s=0,l=0;l0)for(var u=r[l++],h=r[l++],d=1;d0){if(a.containStroke(u,h,(u+f)/2-(h-p)*i,(h+p)/2-(f-u)*i,f,p))return s}else if(o.containStroke(u,h,f,p))return s;s++}return-1}});function l(){this.group=new r.Group}var c=l.prototype;c.isPersistent=function(){return!this._incremental},c.updateData=function(t){this.group.removeAll();var e=new s({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},c.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new i({silent:!0})),this.group.add(this._incremental)):this._incremental=null},c.incrementalUpdate=function(t,e){var n=new s;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},c.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},c._setCommon=function(t,e,n){var r=e.hostModel;t.setShape({polyline:r.get("polyline"),curveness:r.get("lineStyle.curveness")}),t.useStyle(r.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var i=e.getVisual("color");i&&t.setStyle("stroke",i),t.setStyle("fill"),n||(t.seriesIndex=r.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(t.dataIndex=n+t.__startIndex)})))},c._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t.exports=l},oBaM:function(t,e,n){var r=n("T4UG"),i=n("5GtS"),o=n("bYtY"),a=n("7aKB").encodeHTML,s=n("xKMd"),l=r.extend({type:"series.radar",dependencies:["radar"],init:function(t){l.superApply(this,"init",arguments),this.legendVisualProvider=new s(o.bind(this.getData,this),o.bind(this.getRawData,this))},getInitialData:function(t,e){return i(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(t){var e=this.getData(),n=this.coordinateSystem.getIndicatorAxes(),r=this.getData().getName(t);return a(""===r?this.name:r)+"
    "+o.map(n,(function(n,r){var i=e.get(e.mapDimension(n.dim),t);return a(n.name+" : "+i)})).join("
    ")},getTooltipPosition:function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,r=e.getValues(o.map(n.dimensions,(function(t){return e.mapDimension(t)})),t,!0),i=0,a=r.length;i{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Kb)({factory:u,token:t,providedIn:"platform"}),t})();function u(){return Object(r.Yb)(d)}const h=new r.q("Location Initialized");let d=(()=>{class t extends c{constructor(t){super(),this._doc=t,this._init()}_init(){this.location=o().getLocation(),this._history=o().getHistory()}getBaseHrefFromDOM(){return o().getBaseHref(this._doc)}onPopState(t){o().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",t,!1)}onHashChange(t){o().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",t,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(t){this.location.pathname=t}pushState(t,e,n){f()?this._history.pushState(t,e,n):this.location.hash=n}replaceState(t,e,n){f()?this._history.replaceState(t,e,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(l))},t.\u0275prov=Object(r.Kb)({factory:p,token:t,providedIn:"platform"}),t})();function f(){return!!window.history.pushState}function p(){return new d(Object(r.Yb)(l))}function g(t,e){if(0==t.length)return e;if(0==e.length)return t;let n=0;return t.endsWith("/")&&n++,e.startsWith("/")&&n++,2==n?t+e.substring(1):1==n?t+e:t+"/"+e}function m(t){const e=t.match(/#|\?|$/),n=e&&e.index||t.length;return t.slice(0,n-("/"===t[n-1]?1:0))+t.slice(n)}function v(t){return t&&"?"!==t[0]?"?"+t:t}let y=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(r.Kb)({factory:b,token:t,providedIn:"root"}),t})();function b(t){const e=Object(r.Yb)(l).location;return new x(Object(r.Yb)(c),e&&e.origin||"")}const _=new r.q("appBaseHref");let x=(()=>{class t extends y{constructor(t,e){if(super(),this._platformLocation=t,null==e&&(e=this._platformLocation.getBaseHrefFromDOM()),null==e)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=e}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}prepareExternalUrl(t){return g(this._baseHref,t)}path(t=!1){const e=this._platformLocation.pathname+v(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?`${e}${n}`:e}pushState(t,e,n,r){const i=this.prepareExternalUrl(n+v(r));this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){const i=this.prepareExternalUrl(n+v(r));this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(c),r.Yb(_,8))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})(),w=(()=>{class t extends y{constructor(t,e){super(),this._platformLocation=t,this._baseHref="",null!=e&&(this._baseHref=e)}onPopState(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}getBaseHref(){return this._baseHref}path(t=!1){let e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}prepareExternalUrl(t){const e=g(this._baseHref,t);return e.length>0?"#"+e:e}pushState(t,e,n,r){let i=this.prepareExternalUrl(n+v(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}replaceState(t,e,n,r){let i=this.prepareExternalUrl(n+v(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(c),r.Yb(_,8))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})(),S=(()=>{class t{constructor(t,e){this._subject=new r.n,this._urlChangeListeners=[],this._platformStrategy=t;const n=this._platformStrategy.getBaseHref();this._platformLocation=e,this._baseHref=m(C(n)),this._platformStrategy.onPopState(t=>{this._subject.emit({url:this.path(!0),pop:!0,state:t.state,type:t.type})})}path(t=!1){return this.normalize(this._platformStrategy.path(t))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(t,e=""){return this.path()==this.normalize(t+v(e))}normalize(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,C(e)))}prepareExternalUrl(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}go(t,e="",n=null){this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+v(e)),n)}replaceState(t,e="",n=null){this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+v(e)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(t){this._urlChangeListeners.push(t),this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})}_notifyUrlChangeListeners(t="",e){this._urlChangeListeners.forEach(n=>n(t,e))}subscribe(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(y),r.Yb(c))},t.normalizeQueryParams=v,t.joinWithSlash=g,t.stripTrailingSlash=m,t.\u0275prov=Object(r.Kb)({factory:k,token:t,providedIn:"root"}),t})();function k(){return new S(Object(r.Yb)(y),Object(r.Yb)(c))}function C(t){return t.replace(/\/index.html$/,"")}const A=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),T=r.ob;class E{}let M=(()=>{class t extends E{constructor(t){super(),this.locale=t}getPluralCategory(t,e){switch(T(e||this.locale)(t)){case A.Zero:return"zero";case A.One:return"one";case A.Two:return"two";case A.Few:return"few";case A.Many:return"many";default:return"other"}}}return t.\u0275fac=function(e){return new(e||t)(r.Yb(r.u))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t})();function D(t,e){e=encodeURIComponent(e);for(const n of t.split(";")){const t=n.indexOf("="),[r,i]=-1==t?[n,""]:[n.slice(0,t),n.slice(t+1)];if(r.trim()===e)return decodeURIComponent(i)}return null}let I=(()=>{class t{constructor(t,e,n,r){this._iterableDiffers=t,this._keyValueDiffers=e,this._ngEl=n,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(r.rb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){const t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}_applyKeyValueChanges(t){t.forEachAddedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachChangedItem(t=>this._toggleClass(t.key,t.currentValue)),t.forEachRemovedItem(t=>{t.previousValue&&this._toggleClass(t.key,!1)})}_applyIterableChanges(t){t.forEachAddedItem(t=>{if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r.xb)(t.item));this._toggleClass(t.item,!0)}),t.forEachRemovedItem(t=>this._toggleClass(t.item,!1))}_applyClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!0)):Object.keys(t).forEach(e=>this._toggleClass(e,!!t[e])))}_removeClasses(t){t&&(Array.isArray(t)||t instanceof Set?t.forEach(t=>this._toggleClass(t,!1)):Object.keys(t).forEach(t=>this._toggleClass(t,!1)))}_toggleClass(t,e){(t=t.trim())&&t.split(/\s+/g).forEach(t=>{e?this._renderer.addClass(this._ngEl.nativeElement,t):this._renderer.removeClass(this._ngEl.nativeElement,t)})}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.s),r.Ob(r.t),r.Ob(r.l),r.Ob(r.E))},t.\u0275dir=r.Jb({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class O{constructor(t,e,n,r){this.$implicit=t,this.ngForOf=e,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let P=(()=>{class t{constructor(t,e,n){this._viewContainer=t,this._template=e,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(t){this._ngForOf=t,this._ngForOfDirty=!0}set ngForTrackBy(t){Object(r.W)()&&null!=t&&"function"!=typeof t&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(t)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=t}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(t){t&&(this._template=t)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(e){throw new Error(`Cannot find a differ supporting object '${n}' of type '${t=n,t.name||typeof t}'. NgFor only supports binding to Iterables such as Arrays.`)}}var t;if(this._differ){const t=this._differ.diff(this._ngForOf);t&&this._applyChanges(t)}}_applyChanges(t){const e=[];t.forEachOperation((t,n,r)=>{if(null==t.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new O(null,this._ngForOf,-1,-1),null===r?void 0:r),i=new L(t,n);e.push(i)}else if(null==r)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const i=this._viewContainer.get(n);this._viewContainer.move(i,r);const o=new L(t,i);e.push(o)}});for(let n=0;n{this._viewContainer.get(t.currentIndex).context.$implicit=t.item})}_perViewChange(t,e){t.context.$implicit=e.item}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.P),r.Ob(r.M),r.Ob(r.s))},t.\u0275dir=r.Jb({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();class L{constructor(t,e){this.record=t,this.view=e}}let R=(()=>{class t{constructor(t,e){this._viewContainer=t,this._context=new N,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=e}set ngIf(t){this._context.$implicit=this._context.ngIf=t,this._updateView()}set ngIfThen(t){z("ngIfThen",t),this._thenTemplateRef=t,this._thenViewRef=null,this._updateView()}set ngIfElse(t){z("ngIfElse",t),this._elseTemplateRef=t,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(t,e){return!0}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.P),r.Ob(r.M))},t.\u0275dir=r.Jb({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class N{constructor(){this.$implicit=null,this.ngIf=null}}function z(t,e){if(e&&!e.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${Object(r.xb)(e)}'.`)}class F{constructor(t,e){this._viewContainerRef=t,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(t){t&&!this._created?this.create():!t&&this._created&&this.destroy()}}let B=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(t){this._ngSwitch=t,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(t){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(t)}_matchCase(t){const e=t==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||e,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),e}_updateDefaultCases(t){if(this._defaultViews&&t!==this._defaultUsed){this._defaultUsed=t;for(let e=0;e{class t{constructor(t,e,n){this.ngSwitch=n,n._addCase(),this._view=new F(t,e)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.P),r.Ob(r.M),r.Ob(B,1))},t.\u0275dir=r.Jb({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),j=(()=>{class t{constructor(t,e,n){n._addDefault(new F(t,e))}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.P),r.Ob(r.M),r.Ob(B,1))},t.\u0275dir=r.Jb({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),Y=(()=>{class t{constructor(t,e,n){this._ngEl=t,this._differs=e,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(t){this._ngStyle=t,!this._differ&&t&&(this._differ=this._differs.find(t).create())}ngDoCheck(){if(this._differ){const t=this._differ.diff(this._ngStyle);t&&this._applyChanges(t)}}_setStyle(t,e){const[n,r]=t.split(".");null!=(e=null!=e&&r?`${e}${r}`:e)?this._renderer.setStyle(this._ngEl.nativeElement,n,e):this._renderer.removeStyle(this._ngEl.nativeElement,n)}_applyChanges(t){t.forEachRemovedItem(t=>this._setStyle(t.key,null)),t.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),t.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.l),r.Ob(r.t),r.Ob(r.E))},t.\u0275dir=r.Jb({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),U=(()=>{class t{constructor(t){this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(t){if(this._shouldRecreateView(t)){const t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}_shouldRecreateView(t){const e=t.ngTemplateOutletContext;return!!t.ngTemplateOutlet||e&&this._hasContextShapeChanged(e)}_hasContextShapeChanged(t){const e=Object.keys(t.previousValue||{}),n=Object.keys(t.currentValue||{});if(e.length===n.length){for(let t of n)if(-1===e.indexOf(t))return!0;return!1}return!0}_updateExistingContext(t){for(let e of Object.keys(t))this._viewRef.context[e]=this.ngTemplateOutletContext[e]}}return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.P))},t.\u0275dir=r.Jb({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[r.Ab]}),t})(),G=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},providers:[{provide:E,useClass:M}]}),t})();const H="browser";function q(t){return t===H}function W(t){return"server"===t}let $=(()=>{class t{}return t.\u0275prov=Object(r.Kb)({token:t,providedIn:"root",factory:()=>new Z(Object(r.Yb)(l),window,Object(r.Yb)(r.m))}),t})();class Z{constructor(t,e,n){this.document=t,this.window=e,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(t){this.offset=Array.isArray(t)?()=>t:t}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(t){this.supportScrollRestoration()&&this.window.scrollTo(t[0],t[1])}scrollToAnchor(t){if(this.supportScrollRestoration()){t=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(t):t.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const e=this.document.querySelector("#"+t);if(e)return void this.scrollToElement(e);const n=this.document.querySelector(`[name='${t}']`);if(n)return void this.scrollToElement(n)}catch(e){this.errorHandler.handleError(e)}}}setHistoryScrollRestoration(t){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=t)}}scrollToElement(t){const e=t.getBoundingClientRect(),n=e.left+this.window.pageXOffset,r=e.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(t){return!1}}}},or5M:function(t,e,n){var r=n("1hJj"),i=n("QoRX"),o=n("xYSL");t.exports=function(t,e,n,a,s,l){var c=1&n,u=t.length,h=e.length;if(u!=h&&!(c&&h>u))return!1;var d=l.get(t);if(d&&l.get(e))return d==e;var f=-1,p=!0,g=2&n?new r:void 0;for(l.set(t,e),l.set(e,t);++f=t&&(0===e?0:r[e-1][0]).4?"bottom":"middle",textAlign:I<-.4?"left":I>.4?"right":"center"},{autoColor:N}),silent:!0}))}if(b.get("show")&&D!==x){for(var z=0;z<=w;z++){I=Math.cos(C),O=Math.sin(C);var F=new i.Line({shape:{x1:I*g+f,y1:O*g+p,x2:I*(g-k)+f,y2:O*(g-k)+p},silent:!0,style:M});"auto"===M.stroke&&F.setStyle({stroke:r((D+z/w)/x)}),d.add(F),C+=T}C-=T}else C+=A}},_renderPointer:function(t,e,n,o,a,l,u,h){var d=this.group,f=this._data;if(t.get("pointer.show")){var p=[+t.get("min"),+t.get("max")],g=[l,u],m=t.getData(),v=m.mapDimension("value");m.diff(f).add((function(e){var n=new r({shape:{angle:l}});i.initProps(n,{shape:{angle:c(m.get(v,e),p,g,!0)}},t),d.add(n),m.setItemGraphicEl(e,n)})).update((function(e,n){var r=f.getItemGraphicEl(n);i.updateProps(r,{shape:{angle:c(m.get(v,e),p,g,!0)}},t),d.add(r),m.setItemGraphicEl(e,r)})).remove((function(t){var e=f.getItemGraphicEl(t);d.remove(e)})).execute(),m.eachItemGraphicEl((function(t,e){var n=m.getItemModel(e),r=n.getModel("pointer");t.setShape({x:a.cx,y:a.cy,width:s(r.get("width"),a.r),r:s(r.get("length"),a.r)}),t.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",o(c(m.get(v,e),p,[0,1],!0))),i.setHoverStyle(t,n.getModel("emphasis.itemStyle").getItemStyle())})),this._data=m}else f&&f.eachItemGraphicEl((function(t){d.remove(t)}))},_renderTitle:function(t,e,n,r,o){var a=t.getData(),l=a.mapDimension("value"),u=t.getModel("title");if(u.get("show")){var h=u.get("offsetCenter"),d=o.cx+s(h[0],o.r),f=o.cy+s(h[1],o.r),p=+t.get("min"),g=+t.get("max"),m=t.getData().get(l,0),v=r(c(m,[p,g],[0,1],!0));this.group.add(new i.Text({silent:!0,style:i.setTextStyle({},u,{x:d,y:f,text:a.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:v,forceRich:!0})}))}},_renderDetail:function(t,e,n,r,o){var a=t.getModel("detail"),l=+t.get("min"),h=+t.get("max");if(a.get("show")){var d=a.get("offsetCenter"),f=o.cx+s(d[0],o.r),p=o.cy+s(d[1],o.r),g=s(a.get("width"),o.r),m=s(a.get("height"),o.r),v=t.getData(),y=v.get(v.mapDimension("value"),0),b=r(c(y,[l,h],[0,1],!0));this.group.add(new i.Text({silent:!0,style:i.setTextStyle({},a,{x:f,y:p,text:u(y,a.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(m)?null:m,textAlign:"center",textVerticalAlign:"middle"},{autoColor:b,forceRich:!0})}))}}});t.exports=d},pFRH:function(t,e,n){var r=n("cvCv"),i=n("O0oS"),o=n("zZ0H");t.exports=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:o},pHPU:function(t,e,n){var r=n("M96O"),i=n("AevD");t.exports=function(t,e,n,r){return function(t,e,n,r){var o,a,s={},l=new i,c=function(t){var e=t.v!==o?t.v:t.w,r=s[e],i=n(t),c=a.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+i);c0&&(o=l.removeMin(),(a=s[o]).distance!==Number.POSITIVE_INFINITY);)r(o).forEach(c);return s}(t,String(e),n||o,r||function(e){return t.outEdges(e)})};var o=r.constant(1)},pLH3:function(t,e,n){var r=n("ProS");n("ALo7"),n("TWL2");var i=n("mOdp"),o=n("JLnu"),a=n("0/Rx");r.registerVisual(i("funnel")),r.registerLayout(o),r.registerProcessor(a("funnel"))},pLZG:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("7o/Q");function i(t,e){return function(n){return n.lift(new o(t,e))}}class o{constructor(t,e){this.predicate=t,this.thisArg=e}call(t,e){return e.subscribe(new a(t,this.predicate,this.thisArg))}}class a extends r.a{constructor(t,e,n){super(t),this.predicate=e,this.thisArg=n,this.count=0}_next(t){let e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}},pP6R:function(t,e,n){var r=n("ProS"),i="\0_ec_interaction_mutex";function o(t){return t[i]||(t[i]={})}r.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),e.take=function(t,e,n){o(t)[e]=n},e.release=function(t,e,n){var r=o(t);r[e]===n&&(r[e]=null)},e.isTaken=function(t,e){return!!o(t)[e]}},pSRY:function(t,e,n){var r=n("QkVE");t.exports=function(t){return r(this,t).has(t)}},pmaE:function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=n("IwbS"),a=n("DEFe"),s=r.extendChartView({type:"map",render:function(t,e,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var i=this.group;if(i.removeAll(),!t.getHostGeoModel()){if(r&&"geoRoam"===r.type&&"series"===r.componentType&&r.seriesId===t.id)(o=this._mapDraw)&&i.add(o.group);else if(t.needsDrawMap){var o=this._mapDraw||new a(n,!0);i.add(o.group),o.draw(t,e,n,this,r),this._mapDraw=o}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},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(t,e,n){var r=t.originalData,a=this.group;r.each(r.mapDimension("value"),(function(e,n){if(!isNaN(e)){var s=r.getItemLayout(n);if(s&&s.point){var u=s.point,h=s.offset,d=new o.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:u[0]+9*h,cy:u[1],r:3},silent:!0,z2:8+(h?0:o.Z2_EMPHASIS_LIFT+1)});if(!h){var f=t.mainSeries.getData(),p=r.getName(n),g=f.indexOfName(p),m=r.getItemModel(n),v=m.getModel("label"),y=m.getModel("emphasis.label"),b=f.getItemGraphicEl(g),_=i.retrieve2(t.getFormattedLabel(g,"normal"),p),x=i.retrieve2(t.getFormattedLabel(g,"emphasis"),_),w=b.__seriesMapHighDown,S=Math.random();if(!w){w=b.__seriesMapHighDown={};var k=i.curry(l,!0),C=i.curry(l,!1);b.on("mouseover",k).on("mouseout",C).on("emphasis",k).on("normal",C)}b.__seriesMapCallKey=S,i.extend(w,{recordVersion:S,circle:d,labelModel:v,hoverLabelModel:y,emphasisText:x,normalText:_}),c(w,!1)}a.add(d)}}}))}});function l(t){var e=this.__seriesMapHighDown;e&&e.recordVersion===this.__seriesMapCallKey&&c(e,t)}function c(t,e){var n=t.circle,r=t.labelModel,i=t.hoverLabelModel,a=t.emphasisText,s=t.normalText;e?(n.style.extendFrom(o.setTextStyle({},i,{text:i.get("show")?a:null},{isRectText:!0,useInsideStyle:!1},!0)),n.__mapOriginalZ2=n.z2,n.z2+=o.Z2_EMPHASIS_LIFT):(o.setTextStyle(n.style,r,{text:r.get("show")?s:null,textPosition:r.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),n.dirty(!1),null!=n.__mapOriginalZ2&&(n.z2=n.__mapOriginalZ2,n.__mapOriginalZ2=null))}t.exports=s},ptHe:function(t,e,n){"use strict";var r=n("b5wT"),i=n("KZ/l");t.exports={run:function(t){var e="greedy"===t.graph().acyclicer?i(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],n={},i={};return r.forEach(t.nodes(),(function o(a){r.has(i,a)||(i[a]=!0,n[a]=!0,r.forEach(t.outEdges(a),(function(t){r.has(n,t.w)?e.push(t):o(t.w)})),delete n[a])})),e}(t);r.forEach(e,(function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,r.uniqueId("rev"))}))},undo:function(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var r=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,r)}}))}}},pzxd:function(t,e,n){var r=n("bYtY"),i=r.retrieve2,o=r.retrieve3,a=r.each,s=r.normalizeCssArray,l=r.isString,c=r.isObject,u=n("6GrX"),h=n("VpOo"),d=n("Xnb7"),f=n("fW2E"),p=n("gut8"),g=p.ContextCachedBy,m=p.WILL_BE_RESTORED,v=u.DEFAULT_FONT,y={left:1,right:1,center:1},b={top:1,bottom:1,middle:1},_=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],x={},w={};function S(t){if(t){t.font=u.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||y[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||b[n]?n:"top",t.textPadding&&(t.textPadding=s(t.textPadding))}}function k(t,e,n,r,i){if(n&&e.textRotation){var o=e.textOrigin;"center"===o?(r=n.width/2+n.x,i=n.height/2+n.y):o&&(r=o[0]+n.x,i=o[1]+n.y),t.translate(r,i),t.rotate(-e.textRotation),t.translate(-r,-i)}}function C(t,e,n,r,a,s,l,c){var u=r.rich[n.styleName]||{};u.text=n.text;var h=n.textVerticalAlign,d=s+a/2;"top"===h?d=s+n.height/2:"bottom"===h&&(d=s+a-n.height/2),!n.isLineHolder&&A(u)&&T(t,e,u,"right"===c?l-n.width:"center"===c?l-n.width/2:l,d-n.height/2,n.width,n.height);var f=n.textPadding;f&&(l=L(l,c,f),d-=n.height/2-f[2]-n.textHeight/2),D(e,"shadowBlur",o(u.textShadowBlur,r.textShadowBlur,0)),D(e,"shadowColor",u.textShadowColor||r.textShadowColor||"transparent"),D(e,"shadowOffsetX",o(u.textShadowOffsetX,r.textShadowOffsetX,0)),D(e,"shadowOffsetY",o(u.textShadowOffsetY,r.textShadowOffsetY,0)),D(e,"textAlign",c),D(e,"textBaseline","middle"),D(e,"font",n.font||v);var p=I(u.textStroke||r.textStroke,m),g=O(u.textFill||r.textFill),m=i(u.textStrokeWidth,r.textStrokeWidth);p&&(D(e,"lineWidth",m),D(e,"strokeStyle",p),e.strokeText(n.text,l,d)),g&&(D(e,"fillStyle",g),e.fillText(n.text,l,d))}function A(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function T(t,e,n,r,i,o,a){var s=n.textBackgroundColor,u=n.textBorderWidth,f=n.textBorderColor,p=l(s);if(D(e,"shadowBlur",n.textBoxShadowBlur||0),D(e,"shadowColor",n.textBoxShadowColor||"transparent"),D(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),D(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),p||u&&f){e.beginPath();var g=n.textBorderRadius;g?h.buildPath(e,{x:r,y:i,width:o,height:a,r:g}):e.rect(r,i,o,a),e.closePath()}if(p)if(D(e,"fillStyle",s),null!=n.fillOpacity){var m=e.globalAlpha;e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=m}else e.fill();else if(c(s)){var v=s.image;(v=d.createOrUpdateImage(v,null,t,E,s))&&d.isImageReady(v)&&e.drawImage(v,r,i,o,a)}u&&f&&(D(e,"lineWidth",u),D(e,"strokeStyle",f),null!=n.strokeOpacity?(m=e.globalAlpha,e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=m):e.stroke())}function E(t,e){e.image=t}function M(t,e,n,r){var i=n.x||0,o=n.y||0,a=n.textAlign,s=n.textVerticalAlign;if(r){var l=n.textPosition;if(l instanceof Array)i=r.x+P(l[0],r.width),o=r.y+P(l[1],r.height);else{var c=e&&e.calculateTextPosition?e.calculateTextPosition(x,n,r):u.calculateTextPosition(x,n,r);i=c.x,o=c.y,a=a||c.textAlign,s=s||c.textVerticalAlign}var h=n.textOffset;h&&(i+=h[0],o+=h[1])}return(t=t||{}).baseX=i,t.baseY=o,t.textAlign=a,t.textVerticalAlign=s,t}function D(t,e,n){return t[e]=f(t,e,n),t[e]}function I(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function O(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function P(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function L(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}e.normalizeTextStyle=function(t){return S(t),a(t.rich,S),t},e.renderText=function(t,e,n,r,i,o){r.rich?function(t,e,n,r,i,o){o!==m&&(e.__attrCachedBy=g.NONE);var a=t.__textCotentBlock;a&&!t.__dirtyText||(a=t.__textCotentBlock=u.parseRichText(n,r)),function(t,e,n,r,i){var o=n.width,a=n.outerWidth,s=n.outerHeight,l=r.textPadding,c=M(w,t,r,i),h=c.baseX,d=c.baseY,f=c.textAlign,p=c.textVerticalAlign;k(e,r,i,h,d);var g=u.adjustTextX(h,a,f),m=u.adjustTextY(d,s,p),v=g,y=m;l&&(v+=l[3],y+=l[0]);var b=v+o;A(r)&&T(t,e,r,g,m,a,s);for(var _=0;_=0&&"right"===(x=E[N]).textAlign;)C(t,e,x,r,I,y,R,"right"),O-=x.width,R-=x.width,N--;for(L+=(o-(L-v)-(b-R)-O)/2;P<=N;)C(t,e,x=E[P],r,I,y,L+x.width/2,"center"),L+=x.width,P++;y+=I}}(t,e,a,r,i)}(t,e,n,r,i,o):function(t,e,n,r,i,o){"use strict";var a,s=A(r),l=!1,c=e.__attrCachedBy===g.PLAIN_TEXT;o!==m?(o&&(a=o.style,l=!s&&c&&a),e.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):c&&(e.__attrCachedBy=g.NONE);var h=r.font||v;l&&h===(a.font||v)||(e.font=h);var d=t.__computedFont;t.__styleFont!==h&&(t.__styleFont=h,d=t.__computedFont=e.font);var p=r.textPadding,y=t.__textCotentBlock;y&&!t.__dirtyText||(y=t.__textCotentBlock=u.parsePlainText(n,d,p,r.textLineHeight,r.truncate));var b=y.outerHeight,x=y.lines,S=y.lineHeight,C=M(w,t,r,i),E=C.baseX,D=C.baseY,P=C.textAlign||"left",R=C.textVerticalAlign;k(e,r,i,E,D);var N=u.adjustTextY(D,b,R),z=E,F=N;if(s||p){var B=u.getWidth(n,d);p&&(B+=p[1]+p[3]);var V=u.adjustTextX(E,B,P);s&&T(t,e,r,V,N,B,b),p&&(z=L(E,P,p),F+=p[0])}e.textAlign=P,e.textBaseline="middle",e.globalAlpha=r.opacity||1;for(var j=0;j<_.length;j++){var Y=_[j],U=Y[0],G=Y[1],H=r[U];l&&H===a[U]||(e[G]=f(e,G,H||Y[2]))}F+=S/2;var q=r.textStrokeWidth,W=!l||q!==(l?a.textStrokeWidth:null),$=!l||W||r.textStroke!==a.textStroke,Z=I(r.textStroke,q),X=O(r.textFill);if(Z&&(W&&(e.lineWidth=q),$&&(e.strokeStyle=Z)),X&&(l&&r.textFill===a.textFill||(e.fillStyle=X)),1===x.length)Z&&e.strokeText(x[0],z,F),X&&e.fillText(x[0],z,F);else for(j=0;j1e4||!this._symbolDraw.isPersistent())return{update:!0};var i=a().reset(t);i.progress&&i.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_getClipShape:function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},_updateSymbolDraw:function(t,e){var n=this._symbolDraw,r=e.pipelineContext.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new o:new i,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(t,e){var n=["lineStyle","normal","opacity"];t.exports={seriesType:"parallel",reset:function(t,e,r){var i=t.getModel("itemStyle"),o=t.getModel("lineStyle"),a=e.get("color"),s=o.get("color")||i.get("color")||a[t.seriesIndex%a.length],l=t.get("inactiveOpacity"),c=t.get("activeOpacity"),u=t.getModel("lineStyle").getLineStyle(),h=t.coordinateSystem,d=t.getData(),f={normal:u.opacity,active:c,inactive:l};return d.setVisual("color",s),{progress:function(t,e){h.eachActiveState(e,(function(t,r){var i=f[t];if("normal"===t&&e.hasItemOption){var o=e.getItemModel(r).get(n,!0);null!=o&&(i=o)}e.setItemVisual(r,"opacity",i)}),t.start,t.end)}}}}},q4HE:function(t,e){var n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",o="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?"+s+"(?:\\u200d(?:"+[i,o,a].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*",c="(?:"+[i+n+"?",n,o,a,"[\\ud800-\\udfff]"].join("|")+")",u=RegExp(r+"(?="+r+")|"+c+l,"g");t.exports=function(t){for(var e=u.lastIndex=0;u.test(t);)++e;return e}},q92V:function(t,e,n){var r=n("dunj"),i=n("V9xz"),o=n("zZ0H");t.exports=function(t){return t&&t.length?r(t,o,i):void 0}},qGSU:function(t,e,n){"use strict";var r=n("b5wT");function i(t){r.forEach(t.nodes(),(function(e){o(t.node(e))})),r.forEach(t.edges(),(function(e){o(t.edge(e))}))}function o(t){var e=t.width;t.width=t.height,t.height=e}function a(t){t.y=-t.y}function s(t){var e=t.x;t.x=t.y,t.y=e}t.exports={adjust:function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||i(t)},undo:function(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||function(t){r.forEach(t.nodes(),(function(e){a(t.node(e))})),r.forEach(t.edges(),(function(e){var n=t.edge(e);r.forEach(n.points,a),r.has(n,"y")&&a(n)}))}(t),"lr"!==e&&"rl"!==e||(function(t){r.forEach(t.nodes(),(function(e){s(t.node(e))})),r.forEach(t.edges(),(function(e){var n=t.edge(e);r.forEach(n.points,s),r.has(n,"x")&&s(n)}))}(t),i(t))}}},qH13:function(t,e,n){var r=n("ItGF"),i=n("QBsz").applyTransform,o=n("mFDi"),a=n("Qe9p"),s=n("6GrX"),l=n("pzxd"),c=n("ni6a"),u=n("Gev7"),h=n("Dagg"),d=n("dqUG"),f=n("y+Vt"),p=n("IMiH"),g=n("QuXc"),m=n("06Qe"),v=p.CMD,y=Math.round,b=Math.sqrt,_=Math.abs,x=Math.cos,w=Math.sin,S=Math.max;if(!r.canvasSupported){var k=21600,C=k/2,A=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=k+","+k,t.coordorigin="0,0"},T=function(t,e,n){return"rgb("+[t,e,n].join(",")+")"},E=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},M=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},D=function(t,e,n){return 1e5*(parseFloat(t)||0)+1e3*(parseFloat(e)||0)+n},I=l.parsePercent,O=function(t,e,n){var r=a.parse(e);n=+n,isNaN(n)&&(n=1),r&&(t.color=T(r[0],r[1],r[2]),t.opacity=n*r[3])},P=function(t,e,n,r){var o="fill"===e,s=t.getElementsByTagName(e)[0];null!=n[e]&&"none"!==n[e]&&(o||!o&&n.lineWidth)?(t[o?"filled":"stroked"]="true",n[e]instanceof g&&M(t,s),s||(s=m.createNode(e)),o?function(t,e,n){var r,o=e.fill;if(null!=o)if(o instanceof g){var s,l=0,c=[0,0],u=0,h=1,d=n.getBoundingRect(),f=d.width,p=d.height;if("linear"===o.type){s="gradient";var m=[o.x*f,o.y*p],v=[o.x2*f,o.y2*p];(y=n.transform)&&(i(m,m,y),i(v,v,y)),(l=180*Math.atan2(v[0]-m[0],v[1]-m[1])/Math.PI)<0&&(l+=360),l<1e-6&&(l=0)}else{s="gradientradial";var y,b=n.scale,_=f,x=p;c=[((m=[o.x*f,o.y*p])[0]-d.x)/_,(m[1]-d.y)/x],(y=n.transform)&&i(m,m,y);var w=S(_/=b[0]*k,x/=b[1]*k);h=2*o.r/w-(u=0/w)}var C=o.colorStops.slice();C.sort((function(t,e){return t.offset-e.offset}));for(var A=C.length,E=[],M=[],D=0;D=2){var L=E[0][0],R=E[1][0],N=E[0][1]*e.opacity,z=E[1][1]*e.opacity;t.type=s,t.method="none",t.focus="100%",t.angle=l,t.color=L,t.color2=R,t.colors=M.join(","),t.opacity=z,t.opacity2=N}"radial"===s&&(t.focusposition=c.join(","))}else O(t,o,e.opacity)}(s,n,r):function(t,e){e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof g||O(t,e.stroke,e.opacity)}(s,n),E(t,s)):(t[o?"filled":"stroked"]="false",M(t,s))},L=[[],[],[]];f.prototype.brushVML=function(t){var e=this.style,n=this._vmlEl;n||(n=m.createNode("shape"),A(n),this._vmlEl=n),P(n,"fill",e,this),P(n,"stroke",e,this);var r=this.transform,o=null!=r,a=n.getElementsByTagName("stroke")[0];if(a){var s=e.lineWidth;o&&!e.strokeNoScale&&(s*=b(_(r[0]*r[3]-r[1]*r[2]))),a.weight=s+"px"}var l=this.path||(this.path=new p);this.__dirtyPath&&(l.beginPath(),l.subPixelOptimize=!1,this.buildPath(l,this.shape),l.toStatic(),this.__dirtyPath=!1),n.path=function(t,e){var n,r,o,a,s,l,c=v.M,u=v.C,h=v.L,d=v.A,f=v.Q,p=[],g=t.data,m=t.len();for(a=0;a.01?Y&&(U+=.0125):Math.abs(G-z)<1e-4?Y&&UN?T-=.0125:T+=.0125:Y&&Gz?A+=.0125:A-=.0125),p.push(H,y(((N-F)*O+D)*k-C),",",y(((z-B)*P+I)*k-C),",",y(((N+F)*O+D)*k-C),",",y(((z+B)*P+I)*k-C),",",y((U*O+D)*k-C),",",y((G*P+I)*k-C),",",y((A*O+D)*k-C),",",y((T*P+I)*k-C)),s=A,l=T;break;case v.R:var q=L[0],W=L[1];q[0]=g[a++],q[1]=g[a++],W[0]=q[0]+g[a++],W[1]=q[1]+g[a++],e&&(i(q,q,e),i(W,W,e)),q[0]=y(q[0]*k-C),W[0]=y(W[0]*k-C),q[1]=y(q[1]*k-C),W[1]=y(W[1]*k-C),p.push(" m ",q[0],",",q[1]," l ",W[0],",",q[1]," l ",W[0],",",W[1]," l ",q[0],",",W[1]);break;case v.Z:p.push(" x ")}if(n>0){p.push(r);for(var $=0;$100&&(z=0,N={});var n,r=F.style;try{r.font=t,n=r.fontFamily.split(",")[0]}catch(i){}e={style:r.fontStyle||"normal",variant:r.fontVariant||"normal",weight:r.fontWeight||"normal",size:0|parseFloat(r.fontSize||12),family:n||"Microsoft YaHei"},N[t]=e,z++}return e}(o.font),x=_.style+" "+_.variant+" "+_.weight+" "+_.size+'px "'+_.family+'"';n=n||s.getBoundingRect(a,x,v,b,o.textPadding,o.textLineHeight);var w=this.transform;if(w&&!r&&(B.copy(e),B.applyTransform(w),e=B),r)p=e.x,g=e.y;else{var S=o.textPosition;if(S instanceof Array)p=e.x+I(S[0],e.width),g=e.y+I(S[1],e.height),v=v||"left";else{var k=this.calculateTextPosition?this.calculateTextPosition({},o,e):s.calculateTextPosition({},o,e);p=k.x,g=k.y,v=v||k.textAlign,b=b||k.textVerticalAlign}}p=s.adjustTextX(p,n.width,v),g=s.adjustTextY(g,n.height,b),g+=n.height/2;var C,T,M,O=m.createNode,L=this._textVmlEl;L?T=(C=(M=L.firstChild).nextSibling).nextSibling:(L=O("line"),C=O("path"),T=O("textpath"),M=O("skew"),T.style["v-text-align"]="left",A(L),C.textpathok=!0,T.on=!0,L.from="0 0",L.to="1000 0.05",E(L,M),E(L,C),E(L,T),this._textVmlEl=L);var R=[p,g],V=L.style;w&&r?(i(R,R,w),M.on=!0,M.matrix=w[0].toFixed(3)+","+w[2].toFixed(3)+","+w[1].toFixed(3)+","+w[3].toFixed(3)+",0,0",M.offset=(y(R[0])||0)+","+(y(R[1])||0),M.origin="0 0",V.left="0px",V.top="0px"):(M.on=!1,V.left=y(p)+"px",V.top=y(g)+"px"),T.string=String(a).replace(/&/g,"&").replace(/"/g,""");try{T.style.font=x}catch(j){}P(L,"fill",{fill:o.textFill,opacity:o.opacity},this),P(L,"stroke",{stroke:o.textStroke,opacity:o.opacity,lineDash:o.lineDash||null},this),L.style.zIndex=D(this.zlevel,this.z,this.z2),E(t,L)}},j=function(t){M(t,this._textVmlEl),this._textVmlEl=null},Y=function(t){E(t,this._textVmlEl)},U=[c,u,h,f,d],G=0;Gh?h=f:(d.lastTickCount=r,d.lastAutoInterval=h),h}},r.inherits(s,o),t.exports=s},qZTm:function(t,e,n){var r=n("fR/l"),i=n("MvSz"),o=n("7GkX");t.exports=function(t){return r(t,o,i)}},qgGe:function(t,e,n){var r=n("bYtY"),i=n("T4UG"),o=n("Bsck"),a=n("VaxA").wrapTreePathInfo,s=i.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,e){var n={name:t.name,children:t.data};!function t(e){var n=0;r.each(e.children,(function(e){t(e);var i=e.value;r.isArray(i)&&(i=i[0]),n+=i}));var i=e.value;r.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=n),i<0&&(i=0),r.isArray(e.value)?e.value[0]=i:e.value=i}(n);var i={};return i.levels=t.levels||[],o.createTree(n,this,i).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var e=i.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=a(n,this),e},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,emphasis:{}},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1,emphasis:{},highlight:{opacity:1},downplay:{opacity:.9}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});t.exports=s},qj72:function(t,e,n){var r=n("bYtY");function i(t,e){return e=e||[0,0],r.map(["x","y"],(function(n,r){var i=this.getAxis(n),o=e[r],a=t[r]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(o-a)-i.dataToCoord(o+a))}),this)}t.exports=function(t){var e=t.grid.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:r.bind(i,t)}}}},"qt/9":function(t,e,n){var r=n("ProS"),i=n("bYtY");n("Wqna"),n("1tlw"),n("Mylv");var o=n("nVfU").layout,a=n("f5Yq");n("Ae16"),r.registerLayout(i.curry(o,"pictorialBar")),r.registerVisual(a("pictorialBar","roundRect"))},quSY:function(t,e,n){"use strict";var r=n("DH7j"),i=n("XoHu"),o=n("n6bG");const a=(()=>{function t(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((t,e)=>`${e+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t})();n.d(e,"a",(function(){return s}));let s=(()=>{class t{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}unsubscribe(){let e;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:s,_subscriptions:c}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(let t=0;tt.concat(e instanceof a?e.errors:e),[])}},quyA:function(t,e){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");t.exports=function(t){return n.test(t)}},qvmO:function(t,e,n){var r=n("3y7U");t.exports=function(t,e){return r(t,e,"pre")}},qwVE:function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=n("K4ya"),a=n("XxSj"),s=r.PRIORITY.VISUAL.COMPONENT;function l(t,e,n,r){for(var i=e.targetVisuals[r],o=a.prepareVisualTypes(i),s={color:t.getData().getVisual("color")},l=0,c=o.length;l=0&&(this.delFromStorage(t),this._roots.splice(a,1),t instanceof o&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s},t.exports=l},rA99:function(t,e,n){var r=n("y+Vt"),i=n("QBsz"),o=n("Sj9i"),a=o.quadraticSubdivide,s=o.cubicSubdivide,l=o.quadraticAt,c=o.cubicAt,u=o.quadraticDerivativeAt,h=o.cubicDerivativeAt,d=[];function f(t,e,n){return null===t.cpx2||null===t.cpy2?[(n?h:c)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?h:c)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?u:l)(t.x1,t.cpx1,t.x2,e),(n?u:l)(t.y1,t.cpy1,t.y2,e)]}var p=r.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(t,e){var n=e.x1,r=e.y1,i=e.x2,o=e.y2,l=e.cpx1,c=e.cpy1,u=e.cpx2,h=e.cpy2,f=e.percent;0!==f&&(t.moveTo(n,r),null==u||null==h?(f<1&&(a(n,l,i,f,d),l=d[1],i=d[2],a(r,c,o,f,d),c=d[1],o=d[2]),t.quadraticCurveTo(l,c,i,o)):(f<1&&(s(n,l,u,i,f,d),l=d[1],u=d[2],i=d[3],s(r,c,h,o,f,d),c=d[1],h=d[2],o=d[3]),t.bezierCurveTo(l,c,u,h,i,o)))},pointAt:function(t){return f(this.shape,t,!1)},tangentAt:function(t){var e=f(this.shape,t,!0);return i.normalize(e,e)}});t.exports=p},rEGp:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},rdor:function(t,e,n){var r=n("lOQZ").circularLayout;t.exports=function(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&r(t,"symbolSize")}))}},rfSb:function(t,e,n){var r=n("T4UG"),i=n("sdST"),o=n("L0Ub").getDimensionTypeByAxis,a=n("YXkt"),s=n("bYtY"),l=n("4NO4").groupData,c=n("7aKB").encodeHTML,u=n("xKMd"),h=r.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){h.superApply(this,"init",arguments),this.legendVisualProvider=new u(s.bind(this.getData,this),s.bind(this.getRawData,this))},fixData:function(t){var e=t.length,n=l(t,(function(t){return t[2]})),r=[];n.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var i=r.length,o=-1,a=-1,s=0;so&&(o=c,a=s)}for(var u=0;u3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},_onZoom:function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;var o=new u(i.x,i.y,i.width,i.height),a=this.seriesModel.layoutInfo;e-=a.x,n-=a.y;var s=h.create();h.translate(s,s,[-e,-n]),h.scale(s,s,[t.scale,t.scale]),h.translate(s,s,[e,n]),o.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:o.x,y:o.y,width:o.width,height:o.height}})}},_initEvents:function(t){t.on("click",(function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var n=this.findTarget(t.offsetX,t.offsetY);if(n){var r=n.node;if(r.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===e)this._zoomToNode(n);else if("link"===e){var i=r.hostTree.data.getItemModel(r.dataIndex),o=i.get("link",!0),a=i.get("target",!0)||"blank";o&&window.open(o,a)}}}}}),this)},_renderBreadcrumb:function(t,e,n){n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(t,e,n.node,p((function(e){"animating"!==this._state&&(s.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))}),this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(r){var i=this._storage.background[r.getRawIndex()];if(i){var o=i.transformCoordToLocal(t,e),a=i.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:r,offsetX:o[0],offsetY:o[1]}}}),this),n}});function C(t,e,n,r,a,s,l,c,u,h){if(l){var d=l.getLayout(),f=t.getData();if(f.setItemGraphicEl(l.dataIndex,null),d&&d.isInView){var p=d.width,v=d.height,k=d.borderWidth,C=d.invisible,T=l.getRawIndex(),E=c&&c.getRawIndex(),M=l.viewChildren,D=d.upperHeight,I=M&&M.length,O=l.getModel("itemStyle"),P=l.getModel("emphasis.itemStyle"),L=V("nodeGroup",g);if(L){if(u.add(L),L.attr("position",[d.x||0,d.y||0]),L.__tmNodeWidth=p,L.__tmNodeHeight=v,d.isAboveViewRoot)return L;var R=l.getModel(),N=V("background",m,h,1);if(N&&function(e,n,r){if(n.dataIndex=l.dataIndex,n.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:p,height:v}),C)F(n);else{n.invisible=!1;var i=l.getVisual("borderColor",!0),a=P.get("borderColor"),s=S(O);s.fill=i;var c=w(P);if(c.fill=a,r){var u=p-2*k;B(s,c,i,u,D,{x:k,y:0,width:u,height:D})}else s.text=c.text=null;n.setStyle(s),o.setElementHoverStyle(n,c)}e.add(n)}(L,N,I&&d.upperHeight),I)o.isHighDownDispatcher(L)&&o.setAsHighDownDispatcher(L,!1),N&&(o.setAsHighDownDispatcher(N,!0),f.setItemGraphicEl(l.dataIndex,N));else{var z=V("content",m,h,2);z&&function(e,n){n.dataIndex=l.dataIndex,n.seriesIndex=t.seriesIndex;var r=Math.max(p-2*k,0),i=Math.max(v-2*k,0);if(n.culling=!0,n.setShape({x:k,y:k,width:r,height:i}),C)F(n);else{n.invisible=!1;var a=l.getVisual("color",!0),s=S(O);s.fill=a;var c=w(P);B(s,c,a,r,i),n.setStyle(s),o.setElementHoverStyle(n,c)}e.add(n)}(L,z),N&&o.isHighDownDispatcher(N)&&o.setAsHighDownDispatcher(N,!1),o.setAsHighDownDispatcher(L,!0),f.setItemGraphicEl(l.dataIndex,L)}return L}}}function F(t){!t.invisible&&s.push(t)}function B(e,n,r,a,s,c){var u=i.retrieve(t.getFormattedLabel(l.dataIndex,"normal",null,null,c?"upperLabel":"label"),R.get("name"));if(!c&&d.isLeafRoot){var h=t.get("drillDownIcon",!0);u=h?h+" "+u:u}var f=R.getModel(c?_:y),p=R.getModel(c?x:b),g=f.getShallow("show");o.setLabelStyle(e,n,f,p,{defaultText:g?u:null,autoColor:r,isRectText:!0}),c&&(e.textRect=i.clone(c)),e.truncate=g&&f.get("ellipsis")?{outerWidth:a,outerHeight:s,minChar:2}:null}function V(t,o,s,c){var u=null!=E&&n[t][E],h=a[t];return u?(n[t][E]=null,function(t,e,n){(t[T]={}).old="nodeGroup"===n?e.position.slice():i.extend({},e.shape)}(h,u,t)):C||((u=new o({z:A(s,c)})).__tmDepth=s,u.__tmStorageName=t,function(t,e,n){var i=t[T]={},o=l.parentNode;if(o&&(!r||"drillDown"===r.direction)){var s=0,c=0,u=a.background[o.getRawIndex()];!r&&u&&u.old&&(s=u.old.width,c=u.old.height),i.old="nodeGroup"===n?[0,c]:{x:s,y:c,width:0,height:0}}i.fadein="nodeGroup"!==n}(h,0,t)),e[t][T]=u}}function A(t,e){var n=10*t+e;return(n-1)/n}t.exports=k},sAZ8:function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=n("+rIm"),a=n("/IIm"),s=n("9KIM"),l=n("IwbS"),c=["axisLine","axisTickLabel","axisName"],u=r.extendComponentView({type:"parallelAxis",init:function(t,e){u.superApply(this,"init",arguments),(this._brushController=new a(e.getZr())).on("brush",i.bind(this._onBrush,this))},render:function(t,e,n,r){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,r)){this.axisModel=t,this.api=n,this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),t.get("show")){var s=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),u=s.coordinateSystem,h=t.getAreaSelectStyle(),d=h.width,f=u.getAxisLayout(t.axis.dim),p=i.extend({strokeContainThreshold:d},f),g=new o(t,p);i.each(c,g.add,g),this._axisGroup.add(g.getGroup()),this._refreshBrushController(p,h,t,s,d,n),l.groupTransition(a,this._axisGroup,r&&!1===r.animation?null:t)}}},_refreshBrushController:function(t,e,n,r,o,a){var c=n.axis.getExtent(),u=c[1]-c[0],h=Math.min(30,.1*Math.abs(u)),d=l.BoundingRect.create({x:c[0],y:-o/2,width:u,height:o});d.x-=h,d.width+=2*h,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(d),isTargetByCursor:s.makeRectIsTargetByCursor(d,a,r),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(d,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return i.map(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}(n))},_onBrush:function(t,e){var n=this.axisModel,r=n.axis,o=i.map(t,(function(t){return[r.coordToData(t.range[0],!0),r.coordToData(t.range[1],!0)]}));(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:o})},dispose:function(){this._brushController.dispose()}});t.exports=u},sEf8:function(t,e){t.exports=function(t){return function(e){return t(e)}}},"sK/D":function(t,e,n){var r=n("IwbS"),i=n("OELB").round;function o(t,e,n){var i=t.getArea(),o=t.getBaseAxis().isHorizontal(),a=i.x,s=i.y,l=i.width,c=i.height,u=n.get("lineStyle.width")||2,h=new r.Rect({shape:{x:a-=u/2,y:s-=u/2,width:l+=u,height:c+=u}});return e&&(h.shape[o?"width":"height"]=0,r.initProps(h,{shape:{width:l,height:c}},n)),h}function a(t,e,n){var o=t.getArea(),a=new r.Sector({shape:{cx:i(t.cx,1),cy:i(t.cy,1),r0:i(o.r0,1),r:i(o.r,1),startAngle:o.startAngle,endAngle:o.endAngle,clockwise:o.clockwise}});return e&&(a.shape.endAngle=o.startAngle,r.initProps(a,{shape:{endAngle:o.endAngle}},n)),a}e.createGridClipPath=o,e.createPolarClipPath=a,e.createClipPath=function(t,e,n){return t?"polar"===t.type?a(t,e,n):"cartesian2d"===t.type?o(t,e,n):null:null}},sRwP:function(t,e,n){n("jsU+"),n("2548"),n("Tp9H"),n("06DH"),n("dnwI"),n("fE02"),n("33Ds")},"sS/r":function(t,e,n){var r=n("4fz+"),i=n("iRjW"),o=n("Yl7c"),a=function(){this.group=new r,this.uid=i.getUID("viewComponent")},s=a.prototype={constructor:a,init:function(t,e){},render:function(t,e,n,r){},dispose:function(){},filterForExposedEvent:null};s.updateView=s.updateLayout=s.updateVisual=function(t,e,n,r){},o.enableClassExtend(a),o.enableClassManagement(a,{registerWhenExtend:!0}),t.exports=a},"sW+o":function(t,e,n){var r=n("SrGk"),i=n("bYtY"),o=n("SUKs"),a=n("Qe9p");function s(t,e){r.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}i.inherits(s,r),s.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var n=this;i.each(["fill","stroke"],(function(r){if(e.style[r]&&("linear"===e.style[r].type||"radial"===e.style[r].type)){var i,o=e.style[r],a=n.getDefs(!0);o._dom?(i=o._dom,a.contains(o._dom)||n.addDom(i)):i=n.add(o),n.markUsed(e);var s=i.getAttribute("id");t.setAttribute(r,"url(#"+s+")")}}))}},s.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return o("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},s.prototype.update=function(t){var e=this;r.prototype.update.call(this,t,(function(){var n=t.type,r=t._dom.tagName;"linear"===n&&"linearGradient"===r||"radial"===n&&"radialGradient"===r?e.updateDom(t,t._dom):(e.removeDom(t),e.add(t))}))},s.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void o("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}e.setAttribute("gradientUnits",t.global?"userSpaceOnUse":"objectBoundingBox"),e.innerHTML="";for(var n=t.colorStops,r=0,i=n.length;r-1&&t%1==0&&t<=9007199254740991}},sjEL:function(t,e,n){(function(t){t.exports=function(){"use strict";var e,r;function i(){return e.apply(null,arguments)}function o(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function a(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t){return void 0===t}function l(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function c(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function u(t,e){var n,r=[];for(n=0;n>>0,r=0;rmt(t)?(o=t+1,s-mt(t)):(o=t,s),{year:o,dayOfYear:a}}function Rt(t,e,n){var r,i,o=Pt(t.year(),e,n),a=Math.floor((t.dayOfYear()-o-1)/7)+1;return a<1?r=a+Nt(i=t.year()-1,e,n):a>Nt(t.year(),e,n)?(r=a-Nt(t.year(),e,n),i=t.year()+1):(i=t.year(),r=a),{week:r,year:i}}function Nt(t,e,n){var r=Pt(t,e,n),i=Pt(t+1,e,n);return(mt(t)-r+i)/7}function zt(t,e){return t.slice(e,7).concat(t.slice(0,e))}G("w",["ww",2],"wo","week"),G("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),F("week",5),F("isoWeek",5),ut("w",Q),ut("ww",Q,$),ut("W",Q),ut("WW",Q,$),gt(["w","ww","W","WW"],(function(t,e,n,r){e[r.substr(0,1)]=S(t)})),G("d",0,"do","day"),G("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),G("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),G("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),G("e",0,0,"weekday"),G("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),ut("d",Q),ut("e",Q),ut("E",Q),ut("dd",(function(t,e){return e.weekdaysMinRegex(t)})),ut("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),ut("dddd",(function(t,e){return e.weekdaysRegex(t)})),gt(["dd","ddd","dddd"],(function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:p(n).invalidWeekday=t})),gt(["d","e","E"],(function(t,e,n,r){e[r]=S(t)}));var Ft="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Bt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Vt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),jt=lt,Yt=lt,Ut=lt;function Gt(){function t(t,e){return e.length-t.length}var e,n,r,i,o,a=[],s=[],l=[],c=[];for(e=0;e<7;e++)n=f([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(t),s.sort(t),l.sort(t),c.sort(t),e=0;e<7;e++)s[e]=dt(s[e]),l[e]=dt(l[e]),c[e]=dt(c[e]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ht(){return this.hours()%12||12}function qt(t,e){G(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Wt(t,e){return e._meridiemParse}G("H",["HH",2],0,"hour"),G("h",["hh",2],0,Ht),G("k",["kk",2],0,(function(){return this.hours()||24})),G("hmm",0,0,(function(){return""+Ht.apply(this)+B(this.minutes(),2)})),G("hmmss",0,0,(function(){return""+Ht.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)})),G("Hmm",0,0,(function(){return""+this.hours()+B(this.minutes(),2)})),G("Hmmss",0,0,(function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)})),qt("a",!0),qt("A",!1),L("hour","h"),F("hour",13),ut("a",Wt),ut("A",Wt),ut("H",Q),ut("h",Q),ut("k",Q),ut("HH",Q,$),ut("hh",Q,$),ut("kk",Q,$),ut("hmm",J),ut("hmmss",tt),ut("Hmm",J),ut("Hmmss",tt),pt(["H","HH"],3),pt(["k","kk"],(function(t,e,n){var r=S(t);e[3]=24===r?0:r})),pt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),pt(["h","hh"],(function(t,e,n){e[3]=S(t),p(n).bigHour=!0})),pt("hmm",(function(t,e,n){var r=t.length-2;e[3]=S(t.substr(0,r)),e[4]=S(t.substr(r)),p(n).bigHour=!0})),pt("hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[3]=S(t.substr(0,r)),e[4]=S(t.substr(r,2)),e[5]=S(t.substr(i)),p(n).bigHour=!0})),pt("Hmm",(function(t,e,n){var r=t.length-2;e[3]=S(t.substr(0,r)),e[4]=S(t.substr(r))})),pt("Hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[3]=S(t.substr(0,r)),e[4]=S(t.substr(r,2)),e[5]=S(t.substr(i))}));var $t,Zt=_t("Hours",!0),Xt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,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"},months:Ct,monthsShort:At,week:{dow:0,doy:6},weekdays:Ft,weekdaysMin:Vt,weekdaysShort:Bt,meridiemParse:/[ap]\.?m?\.?/i},Kt={},Qt={};function Jt(t){return t?t.toLowerCase().replace("_","-"):t}function te(e){var r=null;if(!Kt[e]&&void 0!==t&&t&&t.exports)try{r=$t._abbr,n("Lw2E")("./"+e),ee(r)}catch(e){}return Kt[e]}function ee(t,e){var n;return t&&((n=s(e)?re(t):ne(t,e))?$t=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),$t._abbr}function ne(t,e){if(null===e)return delete Kt[t],null;var n,r=Xt;if(e.abbr=t,null!=Kt[t])M("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Kt[t]._config;else if(null!=e.parentLocale)if(null!=Kt[e.parentLocale])r=Kt[e.parentLocale]._config;else{if(null==(n=te(e.parentLocale)))return Qt[e.parentLocale]||(Qt[e.parentLocale]=[]),Qt[e.parentLocale].push({name:t,config:e}),null;r=n._config}return Kt[t]=new O(I(r,e)),Qt[t]&&Qt[t].forEach((function(t){ne(t.name,t.config)})),ee(t),Kt[t]}function re(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return $t;if(!o(t)){if(e=te(t))return e;t=[t]}return function(t){for(var e,n,r,i,o=0;o=e&&k(i,n,!0)>=e-1)break;e--}o++}return $t}(t)}function ie(t){var e,n=t._a;return n&&-2===p(t).overflow&&(e=n[1]<0||11St(n[0],n[1])?2:n[3]<0||24Nt(n,o,a)?p(t)._overflowWeeks=!0:null!=l?p(t)._overflowWeekday=!0:(s=Lt(n,r,i,o,a),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(a=oe(t._a[0],r[0]),(t._dayOfYear>mt(a)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),n=Ot(a,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Ot:function(t,e,n,r,i,o,a){var s;return t<100&&0<=t?(s=new Date(t+400,e,n,r,i,o,a),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,i,o,a),s}).apply(null,s),o=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==o&&(p(t).weekdayMismatch=!0)}}var se=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,le=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ce=/Z|[+-]\d\d(?::?\d\d)?/,ue=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],he=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],de=/^\/?Date\((\-?\d+)/i;function fe(t){var e,n,r,i,o,a,s=t._i,l=se.exec(s)||le.exec(s);if(l){for(p(t).iso=!0,e=0,n=ue.length;en.valueOf():n.valueOf()this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},an.isLocal=function(){return!!this.isValid()&&!this._isUTC},an.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},an.isUtc=Pe,an.isUTC=Pe,an.zoneAbbr=function(){return this._isUTC?"UTC":""},an.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},an.dates=A("dates accessor is deprecated. Use date instead.",Je),an.months=A("months accessor is deprecated. Use month instead",Et),an.years=A("years accessor is deprecated. Use year instead",bt),an.zone=A("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),an.isDSTShifted=A("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),(t=ye(t))._a){var e=t._isUTC?f(t._a):_e(t._a);this._isDSTShifted=this.isValid()&&0e[0]&&(e=e.slice().reverse());var r=t.coordToPoint([e[0],n]),i=t.coordToPoint([e[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function u(t){return t.getRadiusAxis().inverse?0:1}function h(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var d=a.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,o=i.getRadiusAxis().getExtent(),a=n.getTicksCoords(),s=n.getMinorTicksCoords(),c=r.map(n.getViewLabels(),(function(t){return(t=r.clone(t)).coord=n.dataToCoord(t.tickValue),t}));h(c),h(a),r.each(l,(function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,i,a,s,o,c)}),this)}},_axisLine:function(t,e,n,r,o){var a,s=t.getModel("axisLine.lineStyle"),l=u(e),c=l?0:1;(a=0===o[c]?new i.Circle({shape:{cx:e.cx,cy:e.cy,r:o[l]},style:s.getLineStyle(),z2:1,silent:!0}):new i.Ring({shape:{cx:e.cx,cy:e.cy,r:o[l],r0:o[c]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,this.group.add(a)},_axisTick:function(t,e,n,o,a){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),h=a[u(e)],d=r.map(n,(function(t){return new i.Line({shape:c(e,[h,h+l],t.coord)})}));this.group.add(i.mergePath(d,{style:r.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,e,n,o,a){if(o.length){for(var s=t.getModel("axisTick"),l=t.getModel("minorTick"),h=(s.get("inside")?-1:1)*l.get("length"),d=a[u(e)],f=[],p=0;pv?"left":"right",_=Math.abs(m[1]-y)/g<.3?"middle":m[1]>y?"top":"bottom";h&&h[c]&&h[c].textStyle&&(a=new o(h[c].textStyle,d,d.ecModel));var x=new i.Text({silent:s.isLabelSilent(t)});this.group.add(x),i.setTextStyle(x.style,a,{x:m[0],y:m[1],textFill:a.getTextColor()||t.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:b,textVerticalAlign:_}),p&&(x.eventData=s.makeAxisEventDataBase(t),x.eventData.targetType="axisLabel",x.eventData.value=n.rawLabel)}),this)},_splitLine:function(t,e,n,o,a){var s=t.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var h=[],d=0;dMath.abs(a)*c?(s<0&&(c=-c),n=c*a/s,r=c):(a<0&&(l=-l),n=l,r=l*s/a),{x:i+n,y:o+r}},buildLayerMatrix:function(t){var e=r.map(r.range(a(t)+1),(function(){return[]}));return r.forEach(t.nodes(),(function(n){var i=t.node(n),o=i.rank;r.isUndefined(o)||(e[o][i.order]=n)})),e},normalizeRanks:function(t){var e=r.min(r.map(t.nodes(),(function(e){return t.node(e).rank})));r.forEach(t.nodes(),(function(n){var i=t.node(n);r.has(i,"rank")&&(i.rank-=e)}))},removeEmptyRanks:function(t){var e=r.min(r.map(t.nodes(),(function(e){return t.node(e).rank}))),n=[];r.forEach(t.nodes(),(function(r){var i=t.node(r).rank-e;n[i]||(n[i]=[]),n[i].push(r)}));var i=0,o=t.graph().nodeRankFactor;r.forEach(n,(function(e,n){r.isUndefined(e)&&n%o!=0?--i:i&&r.forEach(e,(function(e){t.node(e).rank+=i}))}))},addBorderNode:function(t,e,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),o(t,"border",i,e)},maxRank:a,partition:function(t,e){var n={lhs:[],rhs:[]};return r.forEach(t,(function(t){e(t)?n.lhs.push(t):n.rhs.push(t)})),n},time:function(t,e){var n=r.now();try{return e()}finally{console.log(t+" time: "+(r.now()-n)+"ms")}},notime:function(t,e){return e()}}},tadb:function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"DataView");t.exports=r},tceW:function(t,e,n){var r=n("KCsZ")([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);t.exports={getBarItemStyle:function(t){var e=r(this,t);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(e.lineDash=n)}return e}}},txkQ:function(t,e,n){var r=n("aX58");e.zrender=r;var i=n("Fofx");e.matrix=i;var o=n("QBsz");e.vector=o;var a=n("bYtY"),s=n("Qe9p");e.color=s;var l=n("IwbS"),c=n("OELB");e.number=c;var u=n("7aKB");e.format=u;var h=n("iLNv");e.throttle=h.throttle;var d=n("FUi9");e.helper=d;var f=n("vafp");e.parseGeoJSON=f;var p=n("YXkt");e.List=p;var g=n("Qxkt");e.Model=g;var m=n("hM6l");e.Axis=m;var v=n("ItGF");e.env=v;var y=f,b={};a.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){b[t]=a[t]}));var _={};a.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(t){_[t]=l[t]})),e.parseGeoJson=y,e.util=b,e.graphic=_},tyNb:function(t,e,n){"use strict";var r=n("ofXK"),i=n("fXoL"),o=n("LRne"),a=n("Cfvw"),s=n("XNiG"),l=n("9ppp");class c extends s.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new l.a;return this._value}next(t){super.next(this._value=t)}}var u=n("HDdC");const h=(()=>{function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t})();var d=n("z+Ro"),f=n("DH7j"),p=n("l7GE"),g=n("ZUHj"),m=n("yCtX");const v={};class y{constructor(t){this.resultSelector=t}call(t,e){return e.subscribe(new b(t,this.resultSelector))}}class b extends p.a{constructor(t,e){super(t),this.resultSelector=e,this.active=0,this.values=[],this.observables=[]}_next(t){this.values.push(v),this.observables.push(t)}_complete(){const t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(let n=0;n{let n;try{n=t()}catch(r){return void e.error(r)}return(n?Object(a.a)(n):Object(_.b)()).subscribe(e)})}var w=n("lJxs"),S=n("0EUg"),k=n("pLZG"),C=n("7o/Q"),A=n("4I5i");function T(t){return function(e){return 0===t?Object(_.b)():e.lift(new E(t))}}class E{constructor(t){if(this.total=t,this.total<0)throw new A.a}call(t,e){return e.subscribe(new M(t,this.total))}}class M extends C.a{constructor(t,e){super(t),this.total=e,this.ring=new Array,this.count=0}_next(t){const e=this.ring,n=this.total,r=this.count++;e.length0){const n=this.count>=this.total?this.total:this.count,r=this.ring;for(let i=0;ie.lift(new I(t))}class I{constructor(t){this.errorFactory=t}call(t,e){return e.subscribe(new O(t,this.errorFactory))}}class O extends C.a{constructor(t,e){super(t),this.errorFactory=e,this.hasValue=!1}_next(t){this.hasValue=!0,this.destination.next(t)}_complete(){if(this.hasValue)return this.destination.complete();{let e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}}function P(){return new h}function L(t=null){return e=>e.lift(new R(t))}class R{constructor(t){this.defaultValue=t}call(t,e){return e.subscribe(new N(t,this.defaultValue))}}class N extends C.a{constructor(t,e){super(t),this.defaultValue=e,this.isEmpty=!0}_next(t){this.isEmpty=!1,this.destination.next(t)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var z=n("SpAZ");function F(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Object(k.a)((e,n)=>t(e,n,r)):z.a,T(1),n?L(e):D(()=>new h))}var B=n("51Dv");function V(t){return function(e){const n=new j(t),r=e.lift(n);return n.caught=r}}class j{constructor(t){this.selector=t}call(t,e){return e.subscribe(new Y(t,this.selector,this.caught))}}class Y extends p.a{constructor(t,e,n){super(t),this.selector=e,this.caught=n}error(t){if(!this.isStopped){let n;try{n=this.selector(t,this.caught)}catch(e){return void super.error(e)}this._unsubscribeAndRecycle();const r=new B.a(this,void 0,void 0);this.add(r);const i=Object(g.a)(this,n,void 0,void 0,r);i!==r&&this.add(i)}}}var U=n("IzEk");function G(t,e){const n=arguments.length>=2;return r=>r.pipe(t?Object(k.a)((e,n)=>t(e,n,r)):z.a,Object(U.a)(1),n?L(e):D(()=>new h))}var H=n("5+tZ");class q{constructor(t,e,n){this.predicate=t,this.thisArg=e,this.source=n}call(t,e){return e.subscribe(new W(t,this.predicate,this.thisArg,this.source))}}class W extends C.a{constructor(t,e,n,r){super(t),this.predicate=e,this.thisArg=n,this.source=r,this.index=0,this.thisArg=n||this}notifyComplete(t){this.destination.next(t),this.destination.complete()}_next(t){let e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}_complete(){this.notifyComplete(!0)}}var $=n("eIep"),Z=n("JX91");function X(t,e){let n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new K(t,e,n))}}class K{constructor(t,e,n=!1){this.accumulator=t,this.seed=e,this.hasSeed=n}call(t,e){return e.subscribe(new Q(t,this.accumulator,this.seed,this.hasSeed))}}class Q extends C.a{constructor(t,e,n,r){super(t),this.accumulator=e,this._seed=n,this.hasSeed=r,this.index=0}get seed(){return this._seed}set seed(t){this.hasSeed=!0,this._seed=t}_next(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}_tryNext(t){const e=this.index++;let n;try{n=this.accumulator(this.seed,t,e)}catch(r){this.destination.error(r)}this.seed=n,this.destination.next(n)}}function J(t,e){return Object(H.a)(t,e,1)}var tt=n("mCNh"),et=n("vkgz"),nt=n("quSY");class rt{constructor(t){this.callback=t}call(t,e){return e.subscribe(new it(t,this.callback))}}class it extends C.a{constructor(t,e){super(t),this.add(new nt.a(e))}}var ot=n("bHdf");n.d(e,"a",(function(){return Rn}));class at{constructor(t,e){this.id=t,this.url=e}}class st extends at{constructor(t,e,n="imperative",r=null){super(t,e),this.navigationTrigger=n,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class lt extends at{constructor(t,e,n){super(t,e),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class ct extends at{constructor(t,e,n){super(t,e),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class ut extends at{constructor(t,e,n){super(t,e),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class ht extends at{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dt extends at{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ft extends at{constructor(t,e,n,r,i){super(t,e),this.urlAfterRedirects=n,this.state=r,this.shouldActivate=i}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class pt extends at{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gt extends at{constructor(t,e,n,r){super(t,e),this.urlAfterRedirects=n,this.state=r}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mt{constructor(t){this.route=t}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class vt{constructor(t){this.route=t}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class yt{constructor(t){this.snapshot=t}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class bt{constructor(t){this.snapshot=t}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _t{constructor(t){this.snapshot=t}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class xt{constructor(t){this.snapshot=t}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class wt{constructor(t,e,n){this.routerEvent=t,this.position=e,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let St=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=i.Ib({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&i.Pb(0,"router-outlet")},directives:function(){return[Cn]},encapsulation:2}),t})();class kt{constructor(t){this.params=t||{}}has(t){return this.params.hasOwnProperty(t)}get(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e[0]:e}return null}getAll(t){if(this.has(t)){const e=this.params[t];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Ct(t){return new kt(t)}function At(t){const e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Tt(t,e,n){const r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.lengthe.indexOf(t)>-1):t===e}function Rt(t){return Array.prototype.concat.apply([],t)}function Nt(t){return t.length>0?t[t.length-1]:null}function zt(t,e){for(const n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Ft(t){return Object(i.sb)(t)?t:Object(i.tb)(t)?Object(a.a)(Promise.resolve(t)):Object(o.a)(t)}function Bt(t,e,n){return n?function(t,e){return Pt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Ut(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(const r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every(n=>Lt(t[n],e[n]))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!Ut(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Ut(n.segments,i))return!1;for(const e in r.children){if(!n.children[e])return!1;if(!t(n.children[e],r.children[e]))return!1}return!0}{const t=i.slice(0,n.segments.length),o=i.slice(n.segments.length);return!!Ut(n.segments,t)&&!!n.children.primary&&e(n.children.primary,r,o)}}(e,n,n.segments)}(t.root,e.root)}class Vt{constructor(t,e,n){this.root=t,this.queryParams=e,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return Wt.serialize(this)}}class jt{constructor(t,e){this.segments=t,this.children=e,this.parent=null,zt(e,(t,e)=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return $t(this)}}class Yt{constructor(t,e){this.path=t,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Ct(this.parameters)),this._parameterMap}toString(){return te(this)}}function Ut(t,e){return t.length===e.length&&t.every((t,n)=>t.path===e[n].path)}function Gt(t,e){let n=[];return zt(t.children,(t,r)=>{"primary"===r&&(n=n.concat(e(t,r)))}),zt(t.children,(t,r)=>{"primary"!==r&&(n=n.concat(e(t,r)))}),n}class Ht{}class qt{parse(t){const e=new oe(t);return new Vt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(t){return`${"/"+function t(e,n){if(!e.hasChildren())return $t(e);if(n){const n=e.children.primary?t(e.children.primary,!1):"",r=[];return zt(e.children,(e,n)=>{"primary"!==n&&r.push(`${n}:${t(e,!1)}`)}),r.length>0?`${n}(${r.join("//")})`:n}{const n=Gt(e,(n,r)=>"primary"===r?[t(e.children.primary,!1)]:[`${r}:${t(n,!1)}`]);return`${$t(e)}/(${n.join("//")})`}}(t.root,!0)}${function(t){const e=Object.keys(t).map(e=>{const n=t[e];return Array.isArray(n)?n.map(t=>`${Xt(e)}=${Xt(t)}`).join("&"):`${Xt(e)}=${Xt(n)}`});return e.length?"?"+e.join("&"):""}(t.queryParams)}${"string"==typeof t.fragment?"#"+encodeURI(t.fragment):""}`}}const Wt=new qt;function $t(t){return t.segments.map(t=>te(t)).join("/")}function Zt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Xt(t){return Zt(t).replace(/%3B/gi,";")}function Kt(t){return Zt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Qt(t){return decodeURIComponent(t)}function Jt(t){return Qt(t.replace(/\+/g,"%20"))}function te(t){return`${Kt(t.path)}${e=t.parameters,Object.keys(e).map(t=>`;${Kt(t)}=${Kt(e[t])}`).join("")}`;var e}const ee=/^[^\/()?;=#]+/;function ne(t){const e=t.match(ee);return e?e[0]:""}const re=/^[^=?&#]+/,ie=/^[^?&#]+/;class oe{constructor(t){this.url=t,this.remaining=t}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new jt([],{}):new jt([],this.parseChildren())}parseQueryParams(){const t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new jt(t,e)),n}parseSegment(){const t=ne(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(t),new Yt(Qt(t),this.parseMatrixParams())}parseMatrixParams(){const t={};for(;this.consumeOptional(";");)this.parseParam(t);return t}parseParam(t){const e=ne(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=ne(this.remaining);t&&(n=t,this.capture(n))}t[Qt(e)]=Qt(n)}parseQueryParam(t){const e=function(t){const e=t.match(re);return e?e[0]:""}(this.remaining);if(!e)return;this.capture(e);let n="";if(this.consumeOptional("=")){const t=function(t){const e=t.match(ie);return e?e[0]:""}(this.remaining);t&&(n=t,this.capture(n))}const r=Jt(e),i=Jt(n);if(t.hasOwnProperty(r)){let e=t[r];Array.isArray(e)||(e=[e],t[r]=e),e.push(i)}else t[r]=i}parseParens(t){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=ne(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error(`Cannot parse url '${this.url}'`);let i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i="primary");const o=this.parseChildren();e[i]=1===Object.keys(o).length?o.primary:new jt([],o),this.consumeOptional("//")}return e}peekStartsWith(t){return this.remaining.startsWith(t)}consumeOptional(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}capture(t){if(!this.consumeOptional(t))throw new Error(`Expected "${t}".`)}}class ae{constructor(t){this._root=t}get root(){return this._root.value}parent(t){const e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}children(t){const e=se(t,this._root);return e?e.children.map(t=>t.value):[]}firstChild(t){const e=se(t,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(t){const e=le(t,this._root);return e.length<2?[]:e[e.length-2].children.map(t=>t.value).filter(e=>e!==t)}pathFromRoot(t){return le(t,this._root).map(t=>t.value)}}function se(t,e){if(t===e.value)return e;for(const n of e.children){const e=se(t,n);if(e)return e}return null}function le(t,e){if(t===e.value)return[e];for(const n of e.children){const r=le(t,n);if(r.length)return r.unshift(e),r}return[]}class ce{constructor(t,e){this.value=t,this.children=e}toString(){return`TreeNode(${this.value})`}}function ue(t){const e={};return t&&t.children.forEach(t=>e[t.value.outlet]=t),e}class he extends ae{constructor(t,e){super(t),this.snapshot=e,ve(this,t)}toString(){return this.snapshot.toString()}}function de(t,e){const n=function(t,e){const n=new ge([],{},{},"",{},"primary",e,null,t.root,-1,{});return new me("",new ce(n,[]))}(t,e),r=new c([new Yt("",{})]),i=new c({}),o=new c({}),a=new c({}),s=new c(""),l=new fe(r,i,a,s,o,"primary",e,n.root);return l.snapshot=n.root,new he(new ce(l,[]),n)}class fe{constructor(t,e,n,r,i,o,a,s){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this._futureSnapshot=s}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(w.a)(t=>Ct(t)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(w.a)(t=>Ct(t)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function pe(t,e="emptyOnly"){const n=t.pathFromRoot;let r=0;if("always"!==e)for(r=n.length-1;r>=1;){const t=n[r],e=n[r-1];if(t.routeConfig&&""===t.routeConfig.path)r--;else{if(e.component)break;r--}}return function(t){return t.reduce((t,e)=>({params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(n.slice(r))}class ge{constructor(t,e,n,r,i,o,a,s,l,c,u){this.url=t,this.params=e,this.queryParams=n,this.fragment=r,this.data=i,this.outlet=o,this.component=a,this.routeConfig=s,this._urlSegment=l,this._lastPathIndex=c,this._resolve=u}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Ct(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Ct(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class me extends ae{constructor(t,e){super(e),this.url=t,ve(this,e)}toString(){return ye(this._root)}}function ve(t,e){e.value._routerState=t,e.children.forEach(e=>ve(t,e))}function ye(t){const e=t.children.length>0?` { ${t.children.map(ye).join(", ")} } `:"";return`${t.value}${e}`}function be(t){if(t.snapshot){const e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Pt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Pt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(let n=0;nPt(t.parameters,r[e].parameters))&&!(!t.parent!=!e.parent)&&(!t.parent||_e(t.parent,e.parent))}function xe(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function we(t,e,n,r,i){let o={};return r&&zt(r,(t,e)=>{o[e]=Array.isArray(t)?t.map(t=>""+t):""+t}),new Vt(n.root===t?e:function t(e,n,r){const i={};return zt(e.children,(e,o)=>{i[o]=e===n?r:t(e,n,r)}),new jt(e.segments,i)}(n.root,t,e),o,i)}class Se{constructor(t,e,n){if(this.isAbsolute=t,this.numberOfDoubleDots=e,this.commands=n,t&&n.length>0&&xe(n[0]))throw new Error("Root segment cannot have matrix parameters");const r=n.find(t=>"object"==typeof t&&null!=t&&t.outlets);if(r&&r!==Nt(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class ke{constructor(t,e,n){this.segmentGroup=t,this.processChildren=e,this.index=n}}function Ce(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function Ae(t,e,n){if(t||(t=new jt([],{})),0===t.segments.length&&t.hasChildren())return Te(t,e,n);const r=function(t,e,n){let r=0,i=e;const o={match:!1,pathIndex:0,commandIndex:0};for(;i=n.length)return o;const e=t.segments[i],a=Ce(n[r]),s=r0&&void 0===a)break;if(a&&s&&"object"==typeof s&&void 0===s.outlets){if(!Ie(a,s,e))return o;r+=2}else{if(!Ie(a,{},e))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex{null!==n&&(i[r]=Ae(t.children[r],e,n))}),zt(t.children,(t,e)=>{void 0===r[e]&&(i[e]=t)}),new jt(t.segments,i)}}function Ee(t,e,n){const r=t.segments.slice(0,e);let i=0;for(;i{null!==t&&(e[n]=Ee(new jt([],{}),0,t))}),e}function De(t){const e={};return zt(t,(t,n)=>e[n]=""+t),e}function Ie(t,e,n){return t==n.path&&Pt(e,n.parameters)}class Oe{constructor(t,e,n,r){this.routeReuseStrategy=t,this.futureState=e,this.currState=n,this.forwardEvent=r}activate(t){const e=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,n,t),be(this.futureState.root),this.activateChildRoutes(e,n,t)}deactivateChildRoutes(t,e,n){const r=ue(e);t.children.forEach(t=>{const e=t.value.outlet;this.deactivateRoutes(t,r[e],n),delete r[e]}),zt(r,(t,e)=>{this.deactivateRouteAndItsChildren(t,n)})}deactivateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(r===i)if(r.component){const i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(t,e,i.children)}else this.deactivateChildRoutes(t,e,n);else i&&this.deactivateRouteAndItsChildren(e,n)}deactivateRouteAndItsChildren(t,e){this.routeReuseStrategy.shouldDetach(t.value.snapshot)?this.detachAndStoreRouteSubtree(t,e):this.deactivateRouteAndOutlet(t,e)}detachAndStoreRouteSubtree(t,e){const n=e.getContext(t.value.outlet);if(n&&n.outlet){const e=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(t.value.snapshot,{componentRef:e,route:t,contexts:r})}}deactivateRouteAndOutlet(t,e){const n=e.getContext(t.value.outlet);if(n){const r=ue(t),i=t.value.component?n.children:e;zt(r,(t,e)=>this.deactivateRouteAndItsChildren(t,i)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(t,e,n){const r=ue(e);t.children.forEach(t=>{this.activateRoutes(t,r[t.value.outlet],n),this.forwardEvent(new xt(t.value.snapshot))}),t.children.length&&this.forwardEvent(new bt(t.value.snapshot))}activateRoutes(t,e,n){const r=t.value,i=e?e.value:null;if(be(r),r===i)if(r.component){const i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(t,e,i.children)}else this.activateChildRoutes(t,e,n);else if(r.component){const e=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){const t=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),e.children.onOutletReAttached(t.contexts),e.attachRef=t.componentRef,e.route=t.route.value,e.outlet&&e.outlet.attach(t.componentRef,t.route.value),Pe(t.route)}else{const n=function(t){for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig;if(t&&t.component)return null}return null}(r.snapshot),i=n?n.module.componentFactoryResolver:null;e.attachRef=null,e.route=r,e.resolver=i,e.outlet&&e.outlet.activateWith(r,i),this.activateChildRoutes(t,null,e.children)}}else this.activateChildRoutes(t,null,n)}}function Pe(t){be(t.value),t.children.forEach(Pe)}function Le(t){return"function"==typeof t}function Re(t){return t instanceof Vt}class Ne{constructor(t){this.segmentGroup=t||null}}class ze{constructor(t){this.urlTree=t}}function Fe(t){return new u.a(e=>e.error(new Ne(t)))}function Be(t){return new u.a(e=>e.error(new ze(t)))}function Ve(t){return new u.a(e=>e.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${t}'`)))}class je{constructor(t,e,n,r,o){this.configLoader=e,this.urlSerializer=n,this.urlTree=r,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(i.x)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(w.a)(t=>this.createUrlTree(t,this.urlTree.queryParams,this.urlTree.fragment))).pipe(V(t=>{if(t instanceof ze)return this.allowRedirects=!1,this.match(t.urlTree);if(t instanceof Ne)throw this.noMatchError(t);throw t}))}match(t){return this.expandSegmentGroup(this.ngModule,this.config,t.root,"primary").pipe(Object(w.a)(e=>this.createUrlTree(e,t.queryParams,t.fragment))).pipe(V(t=>{if(t instanceof Ne)throw this.noMatchError(t);throw t}))}noMatchError(t){return new Error(`Cannot match any routes. URL Segment: '${t.segmentGroup}'`)}createUrlTree(t,e,n){const r=t.segments.length>0?new jt([],{primary:t}):t;return new Vt(r,e,n)}expandSegmentGroup(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(w.a)(t=>new jt([],t))):this.expandSegment(t,n,e,n.segments,r,!0)}expandChildren(t,e,n){return function(t,e){if(0===Object.keys(t).length)return Object(o.a)({});const n=[],r=[],i={};return zt(t,(t,o)=>{const a=e(o,t).pipe(Object(w.a)(t=>i[o]=t));"primary"===o?n.push(a):r.push(a)}),o.a.apply(null,n.concat(r)).pipe(Object(S.a)(),F(),Object(w.a)(()=>i))}(n.children,(n,r)=>this.expandSegmentGroup(t,e,r,n))}expandSegment(t,e,n,r,i,a){return Object(o.a)(...n).pipe(Object(w.a)(s=>this.expandSegmentAgainstRoute(t,e,n,s,r,i,a).pipe(V(t=>{if(t instanceof Ne)return Object(o.a)(null);throw t}))),Object(S.a)(),G(t=>!!t),V((t,n)=>{if(t instanceof h||"EmptyError"===t.name){if(this.noLeftoversInUrl(e,r,i))return Object(o.a)(new jt([],{}));throw new Ne(e)}throw t}))}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}expandSegmentAgainstRoute(t,e,n,r,i,o,a){return He(r)!==o?Fe(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o):Fe(e)}expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o)}expandWildCardWithParamsAgainstRouteUsingRedirect(t,e,n,r){const i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Be(i):this.lineralizeSegments(n,i).pipe(Object(H.a)(n=>{const i=new jt(n,{});return this.expandSegment(t,i,e,n,r,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,o){const{matched:a,consumedSegments:s,lastChild:l,positionalParamSegments:c}=Ye(e,r,i);if(!a)return Fe(e);const u=this.applyRedirectCommands(s,r.redirectTo,c);return r.redirectTo.startsWith("/")?Be(u):this.lineralizeSegments(r,u).pipe(Object(H.a)(r=>this.expandSegment(t,e,n,r.concat(i.slice(l)),o,!1)))}matchSegmentAgainstRoute(t,e,n,r){if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(w.a)(t=>(n._loadedConfig=t,new jt(r,{})))):Object(o.a)(new jt(r,{}));const{matched:i,consumedSegments:a,lastChild:s}=Ye(e,n,r);if(!i)return Fe(e);const l=r.slice(s);return this.getChildConfig(t,n,r).pipe(Object(H.a)(t=>{const n=t.module,r=t.routes,{segmentGroup:i,slicedSegments:s}=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some(n=>Ge(t,e,n)&&"primary"!==He(n))}(t,n,r)?{segmentGroup:Ue(new jt(e,function(t,e){const n={};n.primary=e;for(const r of t)""===r.path&&"primary"!==He(r)&&(n[He(r)]=new jt([],{}));return n}(r,new jt(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some(n=>Ge(t,e,n))}(t,n,r)?{segmentGroup:Ue(new jt(t.segments,function(t,e,n,r){const i={};for(const o of n)Ge(t,e,o)&&!r[He(o)]&&(i[He(o)]=new jt([],{}));return Object.assign(Object.assign({},r),i)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,a,l,r);return 0===s.length&&i.hasChildren()?this.expandChildren(n,r,i).pipe(Object(w.a)(t=>new jt(a,t))):0===r.length&&0===s.length?Object(o.a)(new jt(a,{})):this.expandSegment(n,i,r,s,"primary",!0).pipe(Object(w.a)(t=>new jt(a.concat(t.segments),t.children)))}))}getChildConfig(t,e,n){return e.children?Object(o.a)(new Et(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(o.a)(e._loadedConfig):function(t,e,n){const r=e.canLoad;return r&&0!==r.length?Object(a.a)(r).pipe(Object(w.a)(r=>{const i=t.get(r);let o;if(function(t){return t&&Le(t.canLoad)}(i))o=i.canLoad(e,n);else{if(!Le(i))throw new Error("Invalid CanLoad guard");o=i(e,n)}return Ft(o)})).pipe(Object(S.a)(),(i=t=>!0===t,t=>t.lift(new q(i,void 0,t)))):Object(o.a)(!0);var i}(t.injector,e,n).pipe(Object(H.a)(n=>n?this.configLoader.load(t.injector,e).pipe(Object(w.a)(t=>(e._loadedConfig=t,t))):function(t){return new u.a(e=>e.error(At(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`)))}(e))):Object(o.a)(new Et([],t))}lineralizeSegments(t,e){let n=[],r=e.root;for(;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(o.a)(n);if(r.numberOfChildren>1||!r.children.primary)return Ve(t.redirectTo);r=r.children.primary}}applyRedirectCommands(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}applyRedirectCreatreUrlTree(t,e,n,r){const i=this.createSegmentGroup(t,e.root,n,r);return new Vt(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(t,e){const n={};return zt(t,(t,r)=>{if("string"==typeof t&&t.startsWith(":")){const i=t.substring(1);n[r]=e[i]}else n[r]=t}),n}createSegmentGroup(t,e,n,r){const i=this.createSegments(t,e.segments,n,r);let o={};return zt(e.children,(e,i)=>{o[i]=this.createSegmentGroup(t,e,n,r)}),new jt(i,o)}createSegments(t,e,n,r){return e.map(e=>e.path.startsWith(":")?this.findPosParam(t,e,r):this.findOrReturn(e,n))}findPosParam(t,e,n){const r=n[e.path.substring(1)];if(!r)throw new Error(`Cannot redirect to '${t}'. Cannot find '${e.path}'.`);return r}findOrReturn(t,e){let n=0;for(const r of e){if(r.path===t.path)return e.splice(n),r;n++}return t}}function Ye(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};const r=(e.matcher||Tt)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Ue(t){if(1===t.numberOfChildren&&t.children.primary){const e=t.children.primary;return new jt(t.segments.concat(e.segments),e.children)}return t}function Ge(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function He(t){return t.outlet||"primary"}class qe{constructor(t){this.path=t,this.route=this.path[this.path.length-1]}}class We{constructor(t,e){this.component=t,this.route=e}}function $e(t,e,n){const r=t._root;return function t(e,n,r,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const a=ue(n);return e.children.forEach(e=>{!function(e,n,r,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const a=e.value,s=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){const c=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Ut(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Ut(t.url,e.url)||!Pt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!_e(t,e)||!Pt(t.queryParams,e.queryParams);case"paramsChange":default:return!_e(t,e)}}(s,a,a.routeConfig.runGuardsAndResolvers);c?o.canActivateChecks.push(new qe(i)):(a.data=s.data,a._resolvedData=s._resolvedData),t(e,n,a.component?l?l.children:null:r,i,o),c&&o.canDeactivateChecks.push(new We(l&&l.outlet&&l.outlet.component||null,s))}else s&&Xe(n,l,o),o.canActivateChecks.push(new qe(i)),t(e,null,a.component?l?l.children:null:r,i,o)}(e,a[e.value.outlet],r,i.concat([e.value]),o),delete a[e.value.outlet]}),zt(a,(t,e)=>Xe(t,r.getContext(e),o)),o}(r,e?e._root:null,n,[r.value])}function Ze(t,e,n){const r=function(t){if(!t)return null;for(let e=t.parent;e;e=e.parent){const t=e.routeConfig;if(t&&t._loadedConfig)return t._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function Xe(t,e,n){const r=ue(t),i=t.value;zt(r,(t,r)=>{Xe(t,i.component?e?e.children.getContext(r):null:e,n)}),n.canDeactivateChecks.push(new We(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}const Ke=Symbol("INITIAL_VALUE");function Qe(){return Object($.a)(t=>function(...t){let e=null,n=null;return Object(d.a)(t[t.length-1])&&(n=t.pop()),"function"==typeof t[t.length-1]&&(e=t.pop()),1===t.length&&Object(f.a)(t[0])&&(t=t[0]),Object(m.a)(t,n).lift(new y(e))}(...t.map(t=>t.pipe(Object(U.a)(1),Object(Z.a)(Ke)))).pipe(X((t,e)=>{let n=!1;return e.reduce((t,r,i)=>{if(t!==Ke)return t;if(r===Ke&&(n=!0),!n){if(!1===r)return r;if(i===e.length-1||Re(r))return r}return t},t)},Ke),Object(k.a)(t=>t!==Ke),Object(w.a)(t=>Re(t)?t:!0===t),Object(U.a)(1)))}function Je(t,e){return null!==t&&e&&e(new _t(t)),Object(o.a)(!0)}function tn(t,e){return null!==t&&e&&e(new yt(t)),Object(o.a)(!0)}function en(t,e,n){const r=e.routeConfig?e.routeConfig.canActivate:null;if(!r||0===r.length)return Object(o.a)(!0);const i=r.map(r=>x(()=>{const i=Ze(r,e,n);let o;if(function(t){return t&&Le(t.canActivate)}(i))o=Ft(i.canActivate(e,t));else{if(!Le(i))throw new Error("Invalid CanActivate guard");o=Ft(i(e,t))}return o.pipe(G())}));return Object(o.a)(i).pipe(Qe())}function nn(t,e,n){const r=e[e.length-1],i=e.slice(0,e.length-1).reverse().map(t=>function(t){const e=t.routeConfig?t.routeConfig.canActivateChild:null;return e&&0!==e.length?{node:t,guards:e}:null}(t)).filter(t=>null!==t).map(e=>x(()=>{const i=e.guards.map(i=>{const o=Ze(i,e.node,n);let a;if(function(t){return t&&Le(t.canActivateChild)}(o))a=Ft(o.canActivateChild(r,t));else{if(!Le(o))throw new Error("Invalid CanActivateChild guard");a=Ft(o(r,t))}return a.pipe(G())});return Object(o.a)(i).pipe(Qe())}));return Object(o.a)(i).pipe(Qe())}class rn{}class on{constructor(t,e,n,r,i,o){this.rootComponentType=t,this.config=e,this.urlTree=n,this.url=r,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=o}recognize(){try{const t=ln(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,t,"primary"),n=new ge([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ce(n,e),i=new me(this.url,r);return this.inheritParamsAndData(i._root),Object(o.a)(i)}catch(t){return new u.a(e=>e.error(t))}}inheritParamsAndData(t){const e=t.value,n=pe(e,this.paramsInheritanceStrategy);e.params=Object.freeze(n.params),e.data=Object.freeze(n.data),t.children.forEach(t=>this.inheritParamsAndData(t))}processSegmentGroup(t,e,n){return 0===e.segments.length&&e.hasChildren()?this.processChildren(t,e):this.processSegment(t,e,e.segments,n)}processChildren(t,e){const n=Gt(e,(e,n)=>this.processSegmentGroup(t,e,n));return function(t){const e={};t.forEach(t=>{const n=e[t.value.outlet];if(n){const e=n.url.map(t=>t.toString()).join("/"),r=t.value.url.map(t=>t.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${e}' and '${r}'.`)}e[t.value.outlet]=t.value})}(n),n.sort((t,e)=>"primary"===t.value.outlet?-1:"primary"===e.value.outlet?1:t.value.outlet.localeCompare(e.value.outlet)),n}processSegment(t,e,n,r){for(const o of t)try{return this.processSegmentAgainstRoute(o,e,n,r)}catch(i){if(!(i instanceof rn))throw i}if(this.noLeftoversInUrl(e,n,r))return[];throw new rn}noLeftoversInUrl(t,e,n){return 0===e.length&&!t.children[n]}processSegmentAgainstRoute(t,e,n,r){if(t.redirectTo)throw new rn;if((t.outlet||"primary")!==r)throw new rn;let i,o=[],a=[];if("**"===t.path){const o=n.length>0?Nt(n).parameters:{};i=new ge(n,o,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hn(t),r,t.component,t,an(e),sn(e)+n.length,dn(t))}else{const s=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new rn;return{consumedSegments:[],lastChild:0,parameters:{}}}const r=(e.matcher||Tt)(n,t,e);if(!r)throw new rn;const i={};zt(r.posParams,(t,e)=>{i[e]=t.path});const o=r.consumed.length>0?Object.assign(Object.assign({},i),r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(e,t,n);o=s.consumedSegments,a=n.slice(s.lastChild),i=new ge(o,s.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hn(t),r,t.component,t,an(e),sn(e)+o.length,dn(t))}const s=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),{segmentGroup:l,slicedSegments:c}=ln(e,o,a,s,this.relativeLinkResolution);if(0===c.length&&l.hasChildren()){const t=this.processChildren(s,l);return[new ce(i,t)]}if(0===s.length&&0===c.length)return[new ce(i,[])];const u=this.processSegment(s,l,c,"primary");return[new ce(i,u)]}}function an(t){let e=t;for(;e._sourceSegment;)e=e._sourceSegment;return e}function sn(t){let e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;for(;e._sourceSegment;)e=e._sourceSegment,n+=e._segmentIndexShift?e._segmentIndexShift:0;return n-1}function ln(t,e,n,r,i){if(n.length>0&&function(t,e,n){return n.some(n=>cn(t,e,n)&&"primary"!==un(n))}(t,n,r)){const i=new jt(e,function(t,e,n,r){const i={};i.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;for(const o of n)if(""===o.path&&"primary"!==un(o)){const n=new jt([],{});n._sourceSegment=t,n._segmentIndexShift=e.length,i[un(o)]=n}return i}(t,e,r,new jt(n,t.children)));return i._sourceSegment=t,i._segmentIndexShift=e.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some(n=>cn(t,e,n))}(t,n,r)){const o=new jt(t.segments,function(t,e,n,r,i,o){const a={};for(const s of r)if(cn(t,n,s)&&!i[un(s)]){const n=new jt([],{});n._sourceSegment=t,n._segmentIndexShift="legacy"===o?t.segments.length:e.length,a[un(s)]=n}return Object.assign(Object.assign({},i),a)}(t,e,n,r,t.children,i));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}const o=new jt(t.segments,t.children);return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}function cn(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function un(t){return t.outlet||"primary"}function hn(t){return t.data||{}}function dn(t){return t.resolve||{}}function fn(t,e,n,r){const i=Ze(t,e,r);return Ft(i.resolve?i.resolve(e,n):i(e,n))}function pn(t){return function(e){return e.pipe(Object($.a)(e=>{const n=t(e);return n?Object(a.a)(n).pipe(Object(w.a)(()=>e)):Object(a.a)([e])}))}}class gn{shouldDetach(t){return!1}store(t,e){}shouldAttach(t){return!1}retrieve(t){return null}shouldReuseRoute(t,e){return t.routeConfig===e.routeConfig}}const mn=new i.q("ROUTES");class vn{constructor(t,e,n,r){this.loader=t,this.compiler=e,this.onLoadStartListener=n,this.onLoadEndListener=r}load(t,e){return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(w.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=n.create(t);return new Et(Rt(r.injector.get(mn)).map(Ot),r)}))}loadModuleFactory(t){return"string"==typeof t?Object(a.a)(this.loader.load(t)):Ft(t()).pipe(Object(H.a)(t=>t instanceof i.v?Object(o.a)(t):Object(a.a)(this.compiler.compileModuleAsync(t))))}}class yn{shouldProcessUrl(t){return!0}extract(t){return t}merge(t,e){return t}}function bn(t){throw t}function _n(t,e,n){return e.parse("/")}function xn(t,e){return Object(o.a)(null)}let wn=(()=>{class t{constructor(t,e,n,r,o,a,l,u){this.rootComponentType=t,this.urlSerializer=e,this.rootContexts=n,this.location=r,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new s.a,this.errorHandler=bn,this.malformedUriErrorHandler=_n,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:xn,afterPreactivation:xn},this.urlHandlingStrategy=new yn,this.routeReuseStrategy=new gn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(i.x),this.console=o.get(i.Z);const h=o.get(i.z);this.isNgZoneEnabled=h instanceof i.z,this.resetConfig(u),this.currentUrlTree=new Vt(new jt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new vn(a,l,t=>this.triggerEvent(new mt(t)),t=>this.triggerEvent(new vt(t))),this.routerState=de(this.currentUrlTree,this.rootComponentType),this.transitions=new c({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}setupNavigations(t){const e=this.events;return t.pipe(Object(k.a)(t=>0!==t.id),Object(w.a)(t=>Object.assign(Object.assign({},t),{extractedUrl:this.urlHandlingStrategy.extract(t.rawUrl)})),Object($.a)(t=>{let n=!1,r=!1;return Object(o.a)(t).pipe(Object(et.a)(t=>{this.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object($.a)(t=>{const n=!this.navigated||t.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(o.a)(t).pipe(Object($.a)(t=>{const n=this.transitions.getValue();return e.next(new st(t.id,this.serializeUrl(t.extractedUrl),t.source,t.restoredState)),n!==this.transitions.getValue()?_.a:[t]}),Object($.a)(t=>Promise.resolve(t)),(r=this.ngModule.injector,i=this.configLoader,a=this.urlSerializer,s=this.config,function(t){return t.pipe(Object($.a)(t=>function(t,e,n,r,i){return new je(t,e,n,r,i).apply()}(r,i,a,t.extractedUrl,s).pipe(Object(w.a)(e=>Object.assign(Object.assign({},t),{urlAfterRedirects:e})))))}),Object(et.a)(t=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:t.urlAfterRedirects})}),function(t,e,n,r,i){return function(o){return o.pipe(Object(H.a)(o=>function(t,e,n,r,i="emptyOnly",o="legacy"){return new on(t,e,n,r,i,o).recognize()}(t,e,o.urlAfterRedirects,n(o.urlAfterRedirects),r,i).pipe(Object(w.a)(t=>Object.assign(Object.assign({},o),{targetSnapshot:t})))))}}(this.rootComponentType,this.config,t=>this.serializeUrl(t),this.paramsInheritanceStrategy,this.relativeLinkResolution),Object(et.a)(t=>{"eager"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),Object(et.a)(t=>{const n=new ht(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.next(n)}));var r,i,a,s;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:r,source:i,restoredState:a,extras:s}=t,l=new st(n,this.serializeUrl(r),i,a);e.next(l);const c=de(r,this.rootComponentType).snapshot;return Object(o.a)(Object.assign(Object.assign({},t),{targetSnapshot:c,urlAfterRedirects:r,extras:Object.assign(Object.assign({},s),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=t.rawUrl,this.browserUrlTree=t.urlAfterRedirects,t.resolve(null),_.a}),pn(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:o,replaceUrl:a}}=t;return this.hooks.beforePreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!o,replaceUrl:!!a})}),Object(et.a)(t=>{const e=new dt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),Object(w.a)(t=>Object.assign(Object.assign({},t),{guards:$e(t.targetSnapshot,t.currentSnapshot,this.rootContexts)})),function(t,e){return function(n){return n.pipe(Object(H.a)(n=>{const{targetSnapshot:r,currentSnapshot:i,guards:{canActivateChecks:s,canDeactivateChecks:l}}=n;return 0===l.length&&0===s.length?Object(o.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return Object(a.a)(t).pipe(Object(H.a)(t=>function(t,e,n,r,i){const a=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(o.a)(!0);const s=a.map(o=>{const a=Ze(o,e,i);let s;if(function(t){return t&&Le(t.canDeactivate)}(a))s=Ft(a.canDeactivate(t,e,n,r));else{if(!Le(a))throw new Error("Invalid CanDeactivate guard");s=Ft(a(t,e,n,r))}return s.pipe(G())});return Object(o.a)(s).pipe(Qe())}(t.component,t.route,n,e,r)),G(t=>!0!==t,!0))}(l,r,i,t).pipe(Object(H.a)(n=>n&&"boolean"==typeof n?function(t,e,n,r){return Object(a.a)(e).pipe(J(e=>Object(a.a)([tn(e.route.parent,r),Je(e.route,r),nn(t,e.path,n),en(t,e.route,n)]).pipe(Object(S.a)(),G(t=>!0!==t,!0))),G(t=>!0!==t,!0))}(r,s,t,e):Object(o.a)(n)),Object(w.a)(t=>Object.assign(Object.assign({},n),{guardsResult:t})))}))}}(this.ngModule.injector,t=>this.triggerEvent(t)),Object(et.a)(t=>{if(Re(t.guardsResult)){const e=At(`Redirecting to "${this.serializeUrl(t.guardsResult)}"`);throw e.url=t.guardsResult,e}}),Object(et.a)(t=>{const e=new ft(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);this.triggerEvent(e)}),Object(k.a)(t=>{if(!t.guardsResult){this.resetUrlToCurrentUrlTree();const n=new ct(t.id,this.serializeUrl(t.extractedUrl),"");return e.next(n),t.resolve(!1),!1}return!0}),pn(t=>{if(t.guards.canActivateChecks.length)return Object(o.a)(t).pipe(Object(et.a)(t=>{const e=new pt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}),(e=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(t){return t.pipe(Object(H.a)(t=>{const{targetSnapshot:r,guards:{canActivateChecks:i}}=t;return i.length?Object(a.a)(i).pipe(J(t=>function(t,e,n,r){return function(t,e,n,r){const i=Object.keys(t);if(0===i.length)return Object(o.a)({});if(1===i.length){const o=i[0];return fn(t[o],e,n,r).pipe(Object(w.a)(t=>({[o]:t})))}const s={};return Object(a.a)(i).pipe(Object(H.a)(i=>fn(t[i],e,n,r).pipe(Object(w.a)(t=>(s[i]=t,t))))).pipe(F(),Object(w.a)(()=>s))}(t._resolve,t,e,r).pipe(Object(w.a)(e=>(t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),pe(t,n).resolve),null)))}(t.route,r,e,n)),function(t,e){return arguments.length>=2?function(n){return Object(tt.a)(X(t,e),T(1),L(e))(n)}:function(e){return Object(tt.a)(X((e,n,r)=>t(e,n,r+1)),T(1))(e)}}((t,e)=>t),Object(w.a)(e=>t)):Object(o.a)(t)}))}),Object(et.a)(t=>{const e=new gt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);this.triggerEvent(e)}));var e,n}),pn(t=>{const{targetSnapshot:e,id:n,extractedUrl:r,rawUrl:i,extras:{skipLocationChange:o,replaceUrl:a}}=t;return this.hooks.afterPreactivation(e,{navigationId:n,appliedUrlTree:r,rawUrlTree:i,skipLocationChange:!!o,replaceUrl:!!a})}),Object(w.a)(t=>{const e=function(t,e,n){const r=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){const i=r.value;i._futureSnapshot=n.value;const o=function(e,n,r){return n.children.map(n=>{for(const i of r.children)if(e.shouldReuseRoute(i.value.snapshot,n.value))return t(e,n,i);return t(e,n)})}(e,n,r);return new ce(i,o)}{const r=e.retrieve(n.value);if(r){const t=r.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(let r=0;rt(e,n));return new ce(r,o)}}var i}(t,e._root,n?n._root:void 0);return new he(r,e)}(this.routeReuseStrategy,t.targetSnapshot,t.currentRouterState);return Object.assign(Object.assign({},t),{targetRouterState:e})}),Object(et.a)(t=>{this.currentUrlTree=t.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,t.rawUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!t.extras.replaceUrl,t.id,t.extras.state),this.browserUrlTree=t.urlAfterRedirects)}),(s=this.rootContexts,l=this.routeReuseStrategy,u=t=>this.triggerEvent(t),Object(w.a)(t=>(new Oe(l,t.targetRouterState,t.currentRouterState,u).activate(s),t))),Object(et.a)({next(){n=!0},complete(){n=!0}}),(i=()=>{if(!n&&!r){this.resetUrlToCurrentUrlTree();const n=new ct(t.id,this.serializeUrl(t.extractedUrl),`Navigation ID ${t.id} is not equal to the current navigation id ${this.navigationId}`);e.next(n),t.resolve(!1)}this.currentNavigation=null},t=>t.lift(new rt(i))),V(n=>{if(r=!0,(i=n)&&i.ngNavigationCancelingError){const r=Re(n.url);r||(this.navigated=!0,this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl));const i=new ct(t.id,this.serializeUrl(t.extractedUrl),n.message);e.next(i),r?setTimeout(()=>{const e=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(e,"imperative",null,{skipLocationChange:t.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:t.resolve,reject:t.reject,promise:t.promise})},0):t.resolve(!1)}else{this.resetStateAndUrl(t.currentRouterState,t.currentUrlTree,t.rawUrl);const r=new ut(t.id,this.serializeUrl(t.extractedUrl),n);e.next(r);try{t.resolve(this.errorHandler(n))}catch(o){t.reject(o)}}var i;return _.a}));var i,s,l,u}))}resetRootComponentType(t){this.rootComponentType=t,this.routerState.root.component=this.rootComponentType}getTransition(){const t=this.transitions.value;return t.urlAfterRedirects=this.browserUrlTree,t}setTransition(t){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),t))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(t=>{let e=this.parseUrl(t.url);const n="popstate"===t.type?"popstate":"hashchange",r=t.state&&t.state.navigationId?t.state:null;setTimeout(()=>{this.scheduleNavigation(e,n,r,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(t){this.events.next(t)}resetConfig(t){Mt(t),this.config=t.map(Ot),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(t,e={}){const{relativeTo:n,queryParams:r,fragment:o,preserveQueryParams:a,queryParamsHandling:s,preserveFragment:l}=e;Object(i.W)()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const c=n||this.routerState.root,u=l?this.currentUrlTree.fragment:o;let h=null;if(s)switch(s){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=a?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,e,n,r,i){if(0===n.length)return we(e.root,e.root,e,r,i);const o=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Se(!0,0,t);let e=0,n=!1;const r=t.reduce((t,r,i)=>{if("object"==typeof r&&null!=r){if(r.outlets){const e={};return zt(r.outlets,(t,n)=>{e[n]="string"==typeof t?t.split("/"):t}),[...t,{outlets:e}]}if(r.segmentPath)return[...t,r.segmentPath]}return"string"!=typeof r?[...t,r]:0===i?(r.split("/").forEach((r,i)=>{0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))}),t):[...t,r]},[]);return new Se(n,e,r)}(n);if(o.toRoot())return we(e.root,new jt([],{}),e,r,i);const a=function(t,e,n){if(t.isAbsolute)return new ke(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new ke(n.snapshot._urlSegment,!0,0);const r=xe(t.commands[0])?0:1;return function(t,e,n){let r=t,i=e,o=n;for(;o>i;){if(o-=i,r=r.parent,!r)throw new Error("Invalid number of '../'");i=r.segments.length}return new ke(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(o,e,t),s=a.processChildren?Te(a.segmentGroup,a.index,o.commands):Ae(a.segmentGroup,a.index,o.commands);return we(a.segmentGroup,s,e,r,i)}(c,this.currentUrlTree,t,h,u)}navigateByUrl(t,e={skipLocationChange:!1}){Object(i.W)()&&this.isNgZoneEnabled&&!i.z.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Re(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}navigate(t,e={skipLocationChange:!1}){return function(t){for(let e=0;e{const r=t[n];return null!=r&&(e[n]=r),e},{})}processNavigations(){this.navigations.subscribe(t=>{this.navigated=!0,this.lastSuccessfulId=t.id,this.events.next(new lt(t.id,this.serializeUrl(t.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,t.resolve(!0)},t=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(t,e,n,r,i){const o=this.getTransition();if(o&&"imperative"!==e&&"imperative"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"hashchange"==e&&"popstate"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);if(o&&"popstate"==e&&"hashchange"===o.source&&o.rawUrl.toString()===t.toString())return Promise.resolve(!0);let a,s,l;i?(a=i.resolve,s=i.reject,l=i.promise):l=new Promise((t,e)=>{a=t,s=e});const c=++this.navigationId;return this.setTransition({id:c,source:e,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:t,extras:r,resolve:a,reject:s,promise:l,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),l.catch(t=>Promise.reject(t))}setBrowserUrl(t,e,n,r){const i=this.urlSerializer.serialize(t);r=r||{},this.location.isCurrentPathEqualTo(i)||e?this.location.replaceState(i,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(i,"",Object.assign(Object.assign({},r),{navigationId:n}))}resetStateAndUrl(t,e,n){this.routerState=t,this.currentUrlTree=e,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return t.\u0275fac=function(t){i.bc()},t.\u0275dir=i.Jb({type:t}),t})();class Sn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new kn,this.attachRef=null}}class kn{constructor(){this.contexts=new Map}onChildOutletCreated(t,e){const n=this.getOrCreateContext(t);n.outlet=e,this.contexts.set(t,n)}onChildOutletDestroyed(t){const e=this.getContext(t);e&&(e.outlet=null)}onOutletDeactivated(){const t=this.contexts;return this.contexts=new Map,t}onOutletReAttached(t){this.contexts=t}getOrCreateContext(t){let e=this.getContext(t);return e||(e=new Sn,this.contexts.set(t,e)),e}getContext(t){return this.contexts.get(t)||null}}let Cn=(()=>{class t{constructor(t,e,n,r,o){this.parentContexts=t,this.location=e,this.resolver=n,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new i.n,this.deactivateEvents=new i.n,this.name=r||"primary",t.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const t=this.parentContexts.getContext(this.name);t&&t.route&&(t.attachRef?this.attach(t.attachRef,t.route):this.activateWith(t.route,t.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const t=this.activated;return this.activated=null,this._activatedRoute=null,t}attach(t,e){this.activated=t,this._activatedRoute=e,this.location.insert(t.hostView)}deactivate(){if(this.activated){const t=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(t)}}activateWith(t,e){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=t;const n=(e=e||this.resolver).resolveComponentFactory(t._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new An(t,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(i.Ob(kn),i.Ob(i.P),i.Ob(i.j),i.Zb("name"),i.Ob(i.h))},t.\u0275dir=i.Jb({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),t})();class An{constructor(t,e,n){this.route=t,this.childContexts=e,this.parent=n}get(t,e){return t===fe?this.route:t===kn?this.childContexts:this.parent.get(t,e)}}class Tn{}class En{preload(t,e){return Object(o.a)(null)}}let Mn=(()=>{class t{constructor(t,e,n,r,i){this.router=t,this.injector=r,this.preloadingStrategy=i,this.loader=new vn(e,n,e=>t.triggerEvent(new mt(e)),e=>t.triggerEvent(new vt(e)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(k.a)(t=>t instanceof lt),J(()=>this.preload())).subscribe(()=>{})}preload(){const t=this.injector.get(i.x);return this.processRoutes(t,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(t,e){const n=[];for(const r of e)if(r.loadChildren&&!r.canLoad&&r._loadedConfig){const t=r._loadedConfig;n.push(this.processRoutes(t.module,t.routes))}else r.loadChildren&&!r.canLoad?n.push(this.preloadConfig(t,r)):r.children&&n.push(this.processRoutes(t,r.children));return Object(a.a)(n).pipe(Object(ot.a)(),Object(w.a)(t=>{}))}preloadConfig(t,e){return this.preloadingStrategy.preload(e,()=>this.loader.load(t.injector,e).pipe(Object(H.a)(t=>(e._loadedConfig=t,this.processRoutes(t.module,t.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(wn),i.Yb(i.w),i.Yb(i.i),i.Yb(i.r),i.Yb(Tn))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})(),Dn=(()=>{class t{constructor(t,e,n={}){this.router=t,this.viewportScroller=e,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(t=>{t instanceof st?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=t.navigationTrigger,this.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof lt&&(this.lastId=t.id,this.scheduleScrollEvent(t,this.router.parseUrl(t.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(t=>{t instanceof wt&&(t.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(t,e){this.router.triggerEvent(new wt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(t){i.bc()},t.\u0275dir=i.Jb({type:t}),t})();const In=new i.q("ROUTER_CONFIGURATION"),On=new i.q("ROUTER_FORROOT_GUARD"),Pn=[r.f,{provide:Ht,useClass:qt},{provide:wn,useFactory:function(t,e,n,i,o,a,s,l={},c,u){const h=new wn(null,t,e,n,i,o,a,Rt(s));if(c&&(h.urlHandlingStrategy=c),u&&(h.routeReuseStrategy=u),l.errorHandler&&(h.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(h.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){const t=Object(r.w)();h.events.subscribe(e=>{t.logGroup("Router Event: "+e.constructor.name),t.log(e.toString()),t.log(e),t.logGroupEnd()})}return l.onSameUrlNavigation&&(h.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(h.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(h.relativeLinkResolution=l.relativeLinkResolution),h},deps:[Ht,kn,r.f,i.r,i.w,i.i,mn,In,[class{},new i.A],[class{},new i.A]]},kn,{provide:fe,useFactory:function(t){return t.routerState.root},deps:[wn]},{provide:i.w,useClass:i.L},Mn,En,class{preload(t,e){return e().pipe(V(()=>Object(o.a)(null)))}},{provide:In,useValue:{enableTracing:!1}}];function Ln(){return new i.y("Router",wn)}let Rn=(()=>{class t{constructor(t,e){}static forRoot(e,n){return{ngModule:t,providers:[Pn,Bn(e),{provide:On,useFactory:Fn,deps:[[wn,new i.A,new i.K]]},{provide:In,useValue:n||{}},{provide:r.g,useFactory:zn,deps:[r.q,[new i.p(r.a),new i.A],In]},{provide:Dn,useFactory:Nn,deps:[wn,r.r,In]},{provide:Tn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:En},{provide:i.y,multi:!0,useFactory:Ln},[Vn,{provide:i.d,multi:!0,useFactory:jn,deps:[Vn]},{provide:Un,useFactory:Yn,deps:[Vn]},{provide:i.b,multi:!0,useExisting:Un}]]}}static forChild(e){return{ngModule:t,providers:[Bn(e)]}}}return t.\u0275mod=i.Mb({type:t}),t.\u0275inj=i.Lb({factory:function(e){return new(e||t)(i.Yb(On,8),i.Yb(wn,8))}}),t})();function Nn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Dn(t,e,n)}function zn(t,e,n={}){return n.useHash?new r.d(t,e):new r.p(t,e)}function Fn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Bn(t){return[{provide:i.a,multi:!0,useValue:t},{provide:mn,multi:!0,useValue:t}]}let Vn=(()=>{class t{constructor(t){this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new s.a}appInitializer(){return this.injector.get(r.e,Promise.resolve(null)).then(()=>{let t=null;const e=new Promise(e=>t=e),n=this.injector.get(wn),r=this.injector.get(In);if(this.isLegacyDisabled(r)||this.isLegacyEnabled(r))t(!0);else if("disabled"===r.initialNavigation)n.setUpLocationChangeListener(),t(!0);else{if("enabled"!==r.initialNavigation)throw new Error(`Invalid initialNavigation options: '${r.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(o.a)(null):(this.initNavigation=!0,t(!0),this.resultOfPreactivationDone),n.initialNavigation()}return e})}bootstrapListener(t){const e=this.injector.get(In),n=this.injector.get(Mn),r=this.injector.get(Dn),o=this.injector.get(wn),a=this.injector.get(i.g);t===a.components[0]&&(this.isLegacyEnabled(e)?o.initialNavigation():this.isLegacyDisabled(e)&&o.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),o.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}isLegacyDisabled(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}return t.\u0275fac=function(e){return new(e||t)(i.Yb(i.r))},t.\u0275prov=i.Kb({token:t,factory:t.\u0275fac}),t})();function jn(t){return t.appInitializer.bind(t)}function Yn(t){return t.bootstrapListener.bind(t)}const Un=new i.q("Router Initializer")},u3DP:function(t,e,n){var r=n("6GrX"),i=n("OELB").parsePercent,o=Math.PI/180;function a(t,e,n,r,i,o,a,s,l,c){function u(e,n,r,i){for(var o=e;ol+a);o++)if(t[o].y+=r,o>e&&o+1t[o].y+t[o].height)return void h(o,r/2);h(n-1,r/2)}function h(e,n){for(var r=e;r>=0&&!(t[r].y-n0&&t[r].y>t[r-1].y+t[r-1].height));r--);}function d(t,e,n,r,i,o){for(var a=e?Number.MAX_VALUE:0,s=0,l=t.length;s=a&&(d=a-10),!e&&d<=a&&(d=a+10),t[s].x=n+d*o,a=d}}t.sort((function(t,e){return t.y-e.y}));for(var f,p=0,g=t.length,m=[],v=[],y=0;y=n?v.push(t[y]):m.push(t[y]);d(m,!1,e,n,r,i),d(v,!0,e,n,r,i)}function s(t){return"center"===t.position}t.exports=function(t,e,n,l,c,u){var h,d,f=t.getData(),p=[],g=!1,m=(t.get("minShowLabelAngle")||0)*o;f.each((function(o){var a=f.getItemLayout(o),s=f.getItemModel(o),l=s.getModel("label"),u=l.get("position")||s.get("emphasis.label.position"),v=l.get("distanceToLabelLine"),y=l.get("alignTo"),b=i(l.get("margin"),n),_=l.get("bleedMargin"),x=l.getFont(),w=s.getModel("labelLine"),S=w.get("length");S=i(S,n);var k=w.get("length2");if(k=i(k,n),!(a.angle0?"right":"left":D>0?"left":"right"}var j=l.get("rotate");O="number"==typeof j?j*(Math.PI/180):j?D<0?-M+Math.PI:-M:0,g=!!O,a.label={x:C,y:A,position:u,height:L.height,len:S,len2:k,linePoints:T,textAlign:E,verticalAlign:"middle",rotation:O,inside:R,labelDistance:v,labelAlignTo:y,labelMargin:b,bleedMargin:_,textRect:L,text:P,font:x},R||p.push(a.label)}})),!g&&t.get("avoidLabelOverlap")&&function(t,e,n,i,o,l,c,u){for(var h=[],d=[],f=Number.MAX_VALUE,p=-Number.MAX_VALUE,g=0;g1?"series.multiple.prefix":"series.single.prefix"),{seriesCount:a}),e.eachSeries((function(t,e){if(e1?"multiple":"single")+".";n=f(n=p(r?s+"withName":s+"withoutName"),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(y=t.subType,i.series.typeNames[y]||"\u81ea\u5b9a\u4e49\u56fe")});var c=t.getData();window.data=c,c.count()>l?n+=f(p("data.partialData"),{displayCnt:l}):n+=p("data.allData");for(var h=[],g=0;g0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}))},vKoX:function(t,e,n){var r=n("SrGk");function i(t,e){r.call(this,t,e,["filter"],"__filter_in_use__","_shadowDom")}function o(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}n("bYtY").inherits(i,r),i.prototype.addWithoutUpdate=function(t,e){if(e&&o(e.style)){var n;e._shadowDom?(n=e._shadowDom,this.getDefs(!0).contains(e._shadowDom)||this.addDom(n)):n=this.add(e),this.markUsed(e);var r=n.getAttribute("id");t.style.filter="url(#"+r+")"}},i.prototype.add=function(t){var e=this.createElement("filter");return t._shadowDomId=t._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+t._shadowDomId),this.updateDom(t,e),this.addDom(e),e},i.prototype.update=function(t,e){if(o(e.style)){var n=this;r.prototype.update.call(this,e,(function(){n.updateDom(e,e._shadowDom)}))}else this.remove(t,e)},i.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(t),t.style.filter="")},i.prototype.updateDom=function(t,e){var n=e.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var r,i,o,a,s=t.style,l=t.scale&&t.scale[0]||1,c=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)r=s.shadowOffsetX||0,i=s.shadowOffsetY||0,o=s.shadowBlur,a=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);r=s.textShadowOffsetX||0,i=s.textShadowOffsetY||0,o=s.textShadowBlur,a=s.textShadowColor}n.setAttribute("dx",r/l),n.setAttribute("dy",i/c),n.setAttribute("flood-color",a),n.setAttribute("stdDeviation",o/2/l+" "+o/2/c),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(o/2*200)+"%"),e.setAttribute("height",Math.ceil(o/2*200)+"%"),e.appendChild(n),t._shadowDom=e},i.prototype.markUsed=function(t){t._shadowDom&&r.prototype.markUsed.call(this,t._shadowDom)},t.exports=i},vL6D:function(t,e,n){var r=n("bYtY"),i=n("+rIm"),o=n("IwbS"),a=n("7bkD"),s=n("Znkb"),l=n("WN+l"),c=l.rectCoordAxisBuildSplitArea,u=l.rectCoordAxisHandleRemove,h=["axisLine","axisTickLabel","axisName"],d=["splitArea","splitLine"],f=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,n,s){var l=this.group;l.removeAll();var c=this._axisGroup;this._axisGroup=new o.Group;var u=a.layout(t),p=new i(t,u);r.each(h,p.add,p),l.add(this._axisGroup),l.add(p.getGroup()),r.each(d,(function(e){t.get(e+".show")&&this["_"+e](t)}),this),o.groupTransition(c,this._axisGroup,t),f.superCall(this,"render",t,e,n,s)},remove:function(){u(this)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){var n=t.getModel("splitLine"),r=n.getModel("lineStyle"),i=r.get("width"),a=r.get("color");a=a instanceof Array?a:[a];for(var s=t.coordinateSystem.getRect(),l=e.isHorizontal(),c=[],u=0,h=e.getTicksCoords({tickModel:n}),d=[],f=[],p=0;p0&&e.animate(n,!1).when(null==o?500:o,u).delay(a||0)}(t,"",t,e,n,r,h);var d=t.animators.slice(),p=d.length;function g(){--p||o&&o()}p||o&&o();for(var m=0;m=0)&&t(o,r,i)}))}var f=d.prototype;function p(t){return t[0]>t[1]&&t.reverse(),t}function g(t,e){return o.parseFinder(t,e,{includeMainTypes:h})}f.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var r=b[t.brushType](0,n,e);t.__rangeOffset={offset:x[t.brushType](r.values,t.range,[1,1]),xyMinMax:r.xyMinMax}}}))},f.matchOutputRanges=function(t,e,n){s(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&r.each(i.coordSyses,(function(r){var i=b[t.brushType](1,r,t.range);n(t,i.values,r,e)}))}),this)},f.setInputRanges=function(t,e){s(t,(function(t){var n,r,i,o,a=this.findTargetInfo(t,e);if(t.range=t.range||[],a&&!0!==a){t.panelId=a.panelId;var s=b[t.brushType](0,a.coordSys,t.coordRange),l=t.__rangeOffset;t.range=l?x[t.brushType](s.values,l.offset,(n=l.xyMinMax,r=S(s.xyMinMax),i=S(n),o=[r[0]/i[0],r[1]/i[1]],isNaN(o[0])&&(o[0]=1),isNaN(o[1])&&(o[1]=1),o)):s.values}}),this)},f.makePanelOpts=function(t,e){return r.map(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e&&e(n),clipPath:a.makeRectPanelClipPath(r),isTargetByCursor:a.makeRectIsTargetByCursor(r,t,n.coordSysModel),getLinearBrushOtherExtent:a.makeLinearBrushOtherExtent(r)}}))},f.controlSeries=function(t,e,n){var r=this.findTargetInfo(t,n);return!0===r||r&&l(r.coordSyses,e.coordinateSystem)>=0},f.findTargetInfo=function(t,e){for(var n=this._targetInfoList,r=g(e,t),i=0;i=0||l(i,t.getAxis("y").model)>=0)&&r.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:r[0],coordSyses:r,getPanelRect:y.grid,xAxisDeclared:c[t.id],yAxisDeclared:u[t.id]})})))},geo:function(t,e){s(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:y.geo})}))}},v=[function(t,e){var n=t.xAxisModel,r=t.yAxisModel,i=t.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(i.getTransform(t)),e}},b={lineX:c(_,0),lineY:c(_,1),rect:function(t,e,n){var r=e[u[t]]([n[0][0],n[1][0]]),i=e[u[t]]([n[0][1],n[1][1]]),o=[p([r[0],i[0]]),p([r[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(t,e,n){var i=[[1/0,-1/0],[1/0,-1/0]];return{values:r.map(n,(function(n){var r=e[u[t]](n);return i[0][0]=Math.min(i[0][0],r[0]),i[1][0]=Math.min(i[1][0],r[1]),i[0][1]=Math.max(i[0][1],r[0]),i[1][1]=Math.max(i[1][1],r[1]),r})),xyMinMax:i}}};function _(t,e,n,i){var o=n.getAxis(["x","y"][t]),a=p(r.map([0,1],(function(t){return e?o.coordToData(o.toLocalCoord(i[t])):o.toGlobalCoord(o.dataToCoord(i[t]))}))),s=[];return s[t]=a,s[1-t]=[NaN,NaN],{values:a,xyMinMax:s}}var x={lineX:c(w,0),lineY:c(w,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return r.map(t,(function(t,r){return[t[0]-n[0]*e[r][0],t[1]-n[1]*e[r][1]]}))}};function w(t,e,n,r){return[e[0]-r[t]*n[0],e[1]-r[t]*n[1]]}function S(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}t.exports=d},vZI5:function(t,e,n){var r=n("bYtY"),i=n("T4UG"),o=n("5GhG").seriesModelMixin,a=i.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(t,e,n){var r=e.getItemLayout(t);return r&&n.rect(r.brushRect)}});r.mixin(a,o,!0),t.exports=a},vafp:function(t,e,n){var r=n("bYtY"),i=n("8nly");function o(t,e,n){for(var r=[],i=e[0],o=e[1],a=0;a>1^-(1&s),l=l>>1^-(1&l),i=s+=i,o=l+=o,r.push([s/n,l/n])}return r}t.exports=function(t){return function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var n=t.features,r=0;r0})),(function(t){var e=t.properties,n=t.geometry,o=n.coordinates,a=[];"Polygon"===n.type&&a.push({type:"polygon",exterior:o[0],interiors:o.slice(1)}),"MultiPolygon"===n.type&&r.each(o,(function(t){t[0]&&a.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var s=new i(e.name,a,e.cp);return s.properties=e,s}))}},vcCh:function(t,e,n){var r=n("ProS");n("0qV/"),r.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},vkgz:function(t,e,n){"use strict";var r=n("7o/Q");function i(){}var o=n("n6bG");function a(t,e,n){return function(r){return r.lift(new s(t,e,n))}}n.d(e,"a",(function(){return a}));class s{constructor(t,e,n){this.nextOrObserver=t,this.error=e,this.complete=n}call(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}class l extends r.a{constructor(t,e,n,r){super(t),this._tapNext=i,this._tapError=i,this._tapComplete=i,this._tapError=n||i,this._tapComplete=r||i,Object(o.a)(e)?(this._context=this,this._tapNext=e):e&&(this._context=e,this._tapNext=e.next||i,this._tapError=e.error||i,this._tapComplete=e.complete||i)}_next(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}_error(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}_complete(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}},"w/wX":function(t,e,n){var r=n("QqLw"),i=n("ExA7");t.exports=function(t){return i(t)&&"[object Set]"==r(t)}},w802:function(t,e){t.exports="2.1.8"},wCDk:function(t,e){},wDdD:function(t,e,n){var r=n("ProS"),i=n("bYtY");n("98bh"),n("GrNh");var o=n("d4KN"),a=n("mOdp"),s=n("KS52"),l=n("0/Rx");o("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),r.registerVisual(a("pie")),r.registerLayout(i.curry(s,"pie")),r.registerProcessor(l("pie"))},"wF/u":function(t,e,n){var r=n("e5cp"),i=n("ExA7");t.exports=function t(e,n,o,a,s){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,o,a,t,s))}},wJg7:function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&te.length)return;if(!(k instanceof i)){var C=1;if(y&&w!=n.tail.prev){if(g.lastIndex=S,!(D=g.exec(e)))break;var A=D.index+(v&&D[1]?D[1].length:0),T=D.index+D[0].length,E=S;for(E+=w.value.length;A>=E;)E+=(w=w.next).value.length;if(S=E-=w.value.length,w.value instanceof i)continue;for(var M=w;M!==n.tail&&(E1&&t(e,n,o,w.prev,S,!0,d+","+p),u)break}else if(u)break}}}}}(t,c,e,c.head,0),function(t){for(var e=[],n=t.head.next;n!==t.tail;)e.push(n.value),n=n.next;return e}(c)},hooks:{all:{},add:function(t,e){var n=r.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=r.hooks.all[t];if(n&&n.length)for(var i,o=0;i=n[o++];)i(e)}},Token:i};function i(t,e,n,r,i){this.type=t,this.content=e,this.alias=n,this.length=0|(r||"").length,this.greedy=!!i}function o(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function a(t,e,n){var r=e.next,i={value:n,prev:e,next:r};return e.next=i,r.prev=i,t.length++,i}function s(t,e,n){for(var r=e.next,i=0;i"+o.content+""},!t.document)return t.addEventListener?(r.disableWorkerMessageHandler||t.addEventListener("message",(function(e){var n=JSON.parse(e.data),i=n.language,o=n.immediateClose;t.postMessage(r.highlight(n.code,r.languages[i],i)),o&&t.close()}),!1),r):r;var l=r.util.currentScript();function c(){r.manual||r.highlightAll()}if(l&&(r.filename=l.src,l.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var u=document.readyState;"loading"===u||"interactive"===u&&l&&l.defer?document.addEventListener("DOMContentLoaded",c):window.requestAnimationFrame?window.requestAnimationFrame(c):window.setTimeout(c,16)}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});t.exports&&(t.exports=r),"undefined"!=typeof global&&(global.Prism=r),r.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:(?!)*\]\s*)?>/i,greedy:!0},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.hooks.add("wrap",(function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))})),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(t,e){var n={};n["language-"+e]={pattern:/(^$)/i,lookbehind:!0,inside:r.languages[e]},n.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:n}};i["language-"+e]={pattern:/[\s\S]+/,inside:r.languages[e]};var o={};o[t]={pattern:RegExp(/(<__[\s\S]*?>)(?:\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:i},r.languages.insertBefore("markup","cdata",o)}}),r.languages.xml=r.languages.extend("markup",{}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,function(t){var e=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\((?!\s*\))\s*)(?:[^()]|\((?:[^()]|\([^()]*\))*\))+?(?=\s*\))/,lookbehind:!0,alias:"selector"}}},url:{pattern:RegExp("url\\((?:"+e.source+"|[^\n\r()]*)\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+e.source+")*?(?=\\s*\\{)"),string:{pattern:e,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var n=t.languages.markup;n&&(n.tag.addInlined("style","css"),t.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:t.languages.css}},alias:"language-css"}},n.tag))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/--|\+\+|\*\*=?|=>|&&|\|\||[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?[.?]?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*[\s\S]*?\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}}}),r.languages.markup&&r.languages.markup.tag.addInlined("script","javascript"),r.languages.js=r.languages.javascript,"undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(t){t=t||document;var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.slice.call(t.querySelectorAll("pre[data-src]")).forEach((function(t){if(!t.hasAttribute("data-src-loaded")){for(var n,i=t.getAttribute("data-src"),o=t,a=/\blang(?:uage)?-([\w-]+)\b/i;o&&!a.test(o.className);)o=o.parentNode;if(o&&(n=(t.className.match(a)||[,""])[1]),!n){var s=(i.match(/\.(\w+)$/)||[,""])[1];n=e[s]||s}var l=document.createElement("code");l.className="language-"+n,t.textContent="",l.textContent="Loading\u2026",t.appendChild(l);var c=new XMLHttpRequest;c.open("GET",i,!0),c.onreadystatechange=function(){4==c.readyState&&(c.status<400&&c.responseText?(l.textContent=c.responseText,r.highlightElement(l),t.setAttribute("data-src-loaded","")):l.textContent=c.status>=400?"\u2716 Error "+c.status+" while fetching file: "+c.statusText:"\u2716 Error: File does not exist or is empty")},c.send(null)}}))},document.addEventListener("DOMContentLoaded",(function(){self.Prism.fileHighlight()})))},wclG:function(t,e,n){var r=n("pFRH"),i=n("88Gu")(r);t.exports=i},wr5s:function(t,e,n){var r=(0,n("IwbS").extendShape)({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-i),s=i+a,l=e.startAngle,c=e.endAngle,u=e.clockwise,h=Math.cos(l),d=Math.sin(l),f=Math.cos(c),p=Math.sin(c);(u?c-l<2*Math.PI:l-c<2*Math.PI)&&(t.moveTo(h*i+n,d*i+r),t.arc(h*s+n,d*s+r,a,-Math.PI+l,l,!u)),t.arc(n,r,o,l,c,!u),t.moveTo(f*o+n,p*o+r),t.arc(f*s+n,p*s+r,a,c-2*Math.PI,c-Math.PI,!u),0!==i&&(t.arc(n,r,i,c,l,u),t.moveTo(h*i+n,p*i+r)),t.closePath()}});t.exports=r},wrZu:function(t,e,n){var r=n("+K+b"),i=n("XYm9"),o=n("b2z7"),a=n("otv/"),s=n("yP5f");t.exports=function(t,e,n){var l=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new l(+t);case"[object DataView]":return i(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,n);case"[object Map]":return new l;case"[object Number]":case"[object String]":return new l(t);case"[object RegExp]":return o(t);case"[object Set]":return new l;case"[object Symbol]":return a(t)}}},wt3j:function(t,e,n){var r=n("ProS"),i=n("bYtY"),o=n("/IIm"),a=n("EMyp").layoutCovers,s=r.extendComponentView({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,(this._brushController=new o(e.getZr())).on("brush",i.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,l.apply(this,arguments)},updateTransform:function(t,e){return a(e),l.apply(this,arguments)},updateView:l,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:i.clone(t),$from:n}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:i.clone(t),$from:n})}});function l(t,e,n,r){(!r||r.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}t.exports=s},x3X8:function(t,e,n){var r=n("KxfA").retrieveRawValue;e.getDefaultLabel=function(t,e){var n=t.mapDimension("defaultedLabel",!0),i=n.length;if(1===i)return r(t,e,n[0]);if(i){for(var o=[],a=0;a=0},this.indexOfName=function(e){return t().indexOfName(e)},this.getItemVisual=function(e,n){return t().getItemVisual(e,n)}}},xRUu:function(t,e,n){n("hJvP"),n("hFmY"),n("sAZ8")},xSat:function(t,e){var n={axisPointer:1,tooltip:1,brush:1};e.onIrrelevantElement=function(t,e,r){var i=e.getComponentByElement(t.topTarget),o=i&&i.coordinateSystem;return i&&i!==r&&!n[i.mainType]&&o&&o.model!==r}},xTNl:function(t,e){var n=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];t.exports={color:n,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],n]}},xYSL:function(t,e){t.exports=function(t,e){return t.has(e)}},xaJk:function(t,e,n){var r=n("asDA"),i=n("SKAX"),o=n("ut/Y"),a=n("WPeF"),s=n("Z0cm");t.exports=function(t,e,n){var l=s(t)?r:a,c=arguments.length<3;return l(t,o(e,4),n,c,i)}},xiyX:function(t,e,n){var r=n("bYtY"),i=n("bLfw"),o=n("nkfE"),a=n("ICMv"),s=i.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}});r.merge(s.prototype,a),o("single",s,(function(t,e){return e.type||(e.data?"category":"value")}),{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}}}),t.exports=s},xkGU:function(t,e,n){t.exports=n("bNQv")},"xs/l":function(t,e,n){var r=n("TYy9"),i=n("Ioao"),o=n("wclG");t.exports=function(t){return o(i(t,void 0,r),t+"")}},xweI:function(t,e,n){var r=n("XGnz"),i=n("alwl"),o=n("EA7m"),a=n("mv/X"),s=o((function(t,e){if(null==t)return[];var n=e.length;return n>1&&a(t,e[0],e[1])?e=[]:n>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])}));t.exports=s},"y+Vt":function(t,e,n){var r=n("Gev7"),i=n("bYtY"),o=n("IMiH"),a=n("2DNl"),s=n("3C/r").prototype.getCanvasPattern,l=Math.abs,c=new o(!0);function u(t){r.call(this,t),this.path=null}u.prototype={constructor:u,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var n,r=this.style,i=this.path||c,o=r.hasStroke(),a=r.hasFill(),l=r.fill,u=r.stroke,h=a&&!!l.colorStops,d=o&&!!u.colorStops,f=a&&!!l.image,p=o&&!!u.image;r.bind(t,this,e),this.setTransform(t),this.__dirty&&(h&&(n=n||this.getBoundingRect(),this._fillGradient=r.getGradient(t,l,n)),d&&(n=n||this.getBoundingRect(),this._strokeGradient=r.getGradient(t,u,n))),h?t.fillStyle=this._fillGradient:f&&(t.fillStyle=s.call(l,t)),d?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=s.call(u,t));var g=r.lineDash,m=r.lineDashOffset,v=!!t.setLineDash,y=this.getGlobalScale();if(i.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!v&&o?(i.beginPath(t),g&&!v&&(i.setLineDash(g),i.setLineDashOffset(m)),this.buildPath(i,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),a)if(null!=r.fillOpacity){var b=t.globalAlpha;t.globalAlpha=r.fillOpacity*r.opacity,i.fill(t),t.globalAlpha=b}else i.fill(t);g&&v&&(t.setLineDash(g),t.lineDashOffset=m),o&&(null!=r.strokeOpacity?(b=t.globalAlpha,t.globalAlpha=r.strokeOpacity*r.opacity,i.stroke(t),t.globalAlpha=b):i.stroke(t)),g&&v&&t.setLineDash([]),null!=r.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new o},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var r=this.path;r||(r=this.path=new o),this.__dirtyPath&&(r.beginPath(),this.buildPath(r,this.shape,!1)),t=r.getBoundingRect()}if(this._rect=t,e.hasStroke()){var i=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){i.copy(t);var a=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(a=Math.max(a,this.strokeContainThreshold||4)),s>1e-10&&(i.width+=a/s,i.height+=a/s,i.x-=a/s/2,i.y-=a/s/2)}return i}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),i=this.style;if(r.contain(t=n[0],e=n[1])){var o=this.path.data;if(i.hasStroke()){var s=i.lineWidth,l=i.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(i.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),a.containStroke(o,s/l,t,e)))return!0}if(i.hasFill())return a.contain(o,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):r.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(i.isObject(t))for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},u.extend=function(t){var e=function(e){u.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var r=this.shape;for(var i in n)!r.hasOwnProperty(i)&&n.hasOwnProperty(i)&&(r[i]=n[i])}t.init&&t.init.call(this,e)};for(var n in i.inherits(e,u),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},i.inherits(u,r),t.exports=u},"y+lR":function(t,e,n){var r=n("bYtY"),i=n("mFDi"),o=n("z35g");function a(t){o.call(this,t)}a.prototype={constructor:a,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,n){var r=this.getAxis("x"),i=this.getAxis("y");return(n=n||[])[0]=r.toGlobalCoord(r.dataToCoord(t[0])),n[1]=i.toGlobalCoord(i.dataToCoord(t[1])),n},clampData:function(t,e){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),o=r.getExtent(),a=n.parse(t[0]),s=r.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),a),Math.max(i[0],i[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},pointToData:function(t,e){var n=this.getAxis("x"),r=this.getAxis("y");return(e=e||[])[0]=n.coordToData(n.toLocalCoord(t[0])),e[1]=r.coordToData(r.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),r=Math.min(e[0],e[1]),o=Math.max(t[0],t[1])-n,a=Math.max(e[0],e[1])-r;return new i(n,r,o,a)}},r.inherits(a,o),t.exports=a},y1pI:function(t,e,n){var r=n("ljhN");t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},y23F:function(t,e){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function r(t,e){return{target:t,topTarget:e&&e.topTarget}}n.prototype={constructor:n,_dragStart:function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(r(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,o=n-this._x,a=i-this._y;this._x=n,this._y=i,e.drift(o,a,t),this.dispatchToElement(r(e,t),"drag",t.event);var s=this.findHover(n,i,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.dispatchToElement(r(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(r(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(r(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(r(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}},t.exports=n},y2l5:function(t,e,n){var r=n("MwEJ"),i=n("T4UG").extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return r(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});t.exports=i},y3NT:function(t,e,n){var r=n("OELB").parsePercent,i=n("bYtY"),o=Math.PI/180;t.exports=function(t,e,n,a){e.eachSeriesByType(t,(function(t){var e=t.get("center"),a=t.get("radius");i.isArray(a)||(a=[0,a]),i.isArray(e)||(e=[e,e]);var s=n.getWidth(),l=n.getHeight(),c=Math.min(s,l),u=r(e[0],s),h=r(e[1],l),d=r(a[0],c/2),f=r(a[1],c/2),p=-t.get("startAngle")*o,g=t.get("minAngle")*o,m=t.getData().tree.root,v=t.getViewRoot(),y=v.depth,b=t.get("sort");null!=b&&function t(e,n){var r=e.children||[];e.children=function(t,e){if("function"==typeof e)return t.sort(e);var n="asc"===e;return t.sort((function(t,e){var r=(t.getValue()-e.getValue())*(n?1:-1);return 0===r?(t.dataIndex-e.dataIndex)*(n?-1:1):r}))}(r,n),r.length&&i.each(e.children,(function(e){t(e,n)}))}(v,b);var _=0;i.each(v.children,(function(t){!isNaN(t.getValue())&&_++}));var x=v.getValue(),w=Math.PI/(x||_)*2,S=v.depth>0,k=(f-d)/(v.height-(S?-1:1)||1),C=t.get("clockwise"),A=t.get("stillShowZeroSum"),T=C?1:-1,E=function(t,e){if(t){var n=e;if(t!==m){var o=t.getValue(),a=0===x&&A?w:o*w;a=0;s--){var l=2*s,c=r[l]-o/2,u=r[l+1]-a/2;if(t>=c&&e>=u&&t<=c+o&&e<=u+a)return s}return-1}});function s(){this.group=new r.Group}var l=s.prototype;l.isPersistent=function(){return!this._incremental},l.updateData=function(t,e){this.group.removeAll();var n=new a({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},l.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild((function(t){null!=t.startIndex&&(e=new Float32Array(e.buffer,4*t.startIndex*2,2*(t.endIndex-t.startIndex))),t.setShape("points",e)}))}},l.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new o({silent:!0})),this.group.add(this._incremental)):this._incremental=null},l.incrementalUpdate=function(t,e,n){var r;this._incremental?(r=new a,this._incremental.addDisplayable(r,!0)):((r=new a({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end})).incremental=!0,this.group.add(r)),r.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(r,e,!!this._incremental,n)},l._setCommon=function(t,e,n,r){var o=e.hostModel;r=r||{};var a=e.getVisual("symbolSize");t.setShape("size",a instanceof Array?a:[a,a]),t.softClipShape=r.clipShape||null,t.symbolProxy=i(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var s=t.shape.size[0]<4;t.useStyle(o.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var l=e.getVisual("color");l&&t.setColor(l),n||(t.seriesIndex=o.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>=0&&(t.dataIndex=n+(t.startIndex||0))})))},l.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},l._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t.exports=s},ycre:function(t,e,n){var r=n("711d")("length");t.exports=r},yik8:function(t,e,n){var r=n("bZqE"),i=r.eachAfter,o=r.eachBefore,a=n("Itpr"),s=a.init,l=a.firstWalk,c=a.secondWalk,u=a.separation,h=a.radialCoordinate,d=a.getViewRect;t.exports=function(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=d(t,e);t.layoutInfo=n;var r=t.get("layout"),a=0,f=0,p=null;"radial"===r?(a=2*Math.PI,f=Math.min(n.height,n.width)/2,p=u((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(a=n.width,f=n.height,p=u());var g=t.getData().tree.root,m=g.children[0];if(m){s(g),i(m,l,p),g.hierNode.modifier=-m.hierNode.prelim,o(m,c);var v=m,y=m,b=m;o(m,(function(t){var e=t.getLayout().x;ey.getLayout().x&&(y=t),t.depth>b.depth&&(b=t)}));var _=v===y?1:p(v,y)/2,x=_-v.getLayout().x,w=0,S=0,k=0,C=0;if("radial"===r)w=a/(y.getLayout().x+_+x),S=f/(b.depth-1||1),o(m,(function(t){k=(t.getLayout().x+x)*w;var e=h(k,C=(t.depth-1)*S);t.setLayout({x:e.x,y:e.y,rawX:k,rawY:C},!0)}));else{var A=t.getOrient();"RL"===A||"LR"===A?(S=f/(y.getLayout().x+_+x),w=a/(b.depth-1||1),o(m,(function(t){C=(t.getLayout().x+x)*S,t.setLayout({x:k="LR"===A?(t.depth-1)*w:a-(t.depth-1)*w,y:C},!0)}))):"TB"!==A&&"BT"!==A||(w=a/(y.getLayout().x+_+x),S=f/(b.depth-1||1),o(m,(function(t){k=(t.getLayout().x+x)*w,t.setLayout({x:k,y:C="TB"===A?(t.depth-1)*S:f-(t.depth-1)*S},!0)})))}}}(t,e)}))}},ypgQ:function(t,e,n){var r=n("bYtY"),i=n("4NO4"),o=n("bLfw"),a=r.each,s=r.clone,l=r.map,c=r.merge,u=/^(min|max)?(.+)$/;function h(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[]}function d(t,e,n){var i,o,s=[],l=[],c=t.timeline;return t.baseOption&&(o=t.baseOption),(c||t.options)&&(o=o||{},s=(t.options||[]).slice()),t.media&&(o=o||{},a(t.media,(function(t){t&&t.option&&(t.query?l.push(t):i||(i=t))}))),o||(o=t),o.timeline||(o.timeline=c),a([o].concat(s).concat(r.map(l,(function(t){return t.option}))),(function(t){a(e,(function(e){e(t,n)}))})),{baseOption:o,timelineOptions:s,mediaDefault:i,mediaList:l}}function f(t,e,n){var i={width:e,height:n,aspectratio:e/n},o=!0;return r.each(t,(function(t,e){var n=e.match(u);if(n&&n[1]&&n[2]){var r=n[1],a=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(i[a],t,r)||(o=!1)}})),o}h.prototype={constructor:h,setOption:function(t,e){t&&r.each(i.normalizeToArray(t.series),(function(t){t&&t.data&&r.isTypedArray(t.data)&&r.setAsPrimitive(t.data)})),t=s(t);var n,u=this._optionBackup,h=d.call(this,t,e,!u);this._newBaseOption=h.baseOption,u?(n=u.baseOption,a(h.baseOption||{},(function(t,e){if(null!=t){var r=n[e];if(o.hasClass(e)){t=i.normalizeToArray(t),r=i.normalizeToArray(r);var a=i.mappingToExists(r,t);n[e]=l(a,(function(t){return t.option&&t.exist?c(t.exist,t.option,!0):t.exist||t.option}))}else n[e]=c(r,t,!0)}})),h.timelineOptions.length&&(u.timelineOptions=h.timelineOptions),h.mediaList.length&&(u.mediaList=h.mediaList),h.mediaDefault&&(u.mediaDefault=h.mediaDefault)):this._optionBackup=h},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;if(n.length){var r=t.getComponent("timeline");r&&(e=s(n[r.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e,n=this._api.getWidth(),r=this._api.getHeight(),i=this._mediaList,o=this._mediaDefault,a=[],c=[];if(!i.length&&!o)return c;for(var u=0,h=i.length;u-1}(n)?n:(e=n.match(o))?r.test(e[0])?"about:blank":n:"about:blank"}}},yue5:function(t,e,n){var r=n("/9aa");t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,o=t==t,a=r(t),s=void 0!==e,l=null===e,c=e==e,u=r(e);if(!l&&!u&&!a&&t>e||a&&s&&c&&!l&&!u||i&&s&&c||!n&&c||!o)return 1;if(!i&&!a&&!u&&to[1]&&(o[1]=n[1])}))})),o[1]0?0:NaN);var a=n.getMax(!0);null!=a&&"dataMax"!==a&&"function"!=typeof a?e[1]=a:i&&(e[1]=o>0?o-1:NaN),n.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0))}(this,o),o),function(t){var e=t._minMaxSpan={},n=t._dataZoomModel,r=t._dataExtent;s(["min","max"],(function(o){var a=n.get(o+"Span"),s=n.get(o+"ValueSpan");null!=s&&(s=t.getAxisModel().axis.scale.parse(s)),null!=s?a=i.linearMap(r[0]+s,r,[0,100],!0):null!=a&&(s=i.linearMap(a,[0,100],r,!0)-r[0]),e[o+"Span"]=a,e[o+"ValueSpan"]=s}))}(this);var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,u(this)}var r,o},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,u(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),i=t.get("filterMode"),o=this._valueWindow;"none"!==i&&s(r,(function(t){var e=t.getData(),r=e.mapDimension(n,!0);r.length&&("weakFilter"===i?e.filterSelf((function(t){for(var n,i,a,s=0;so[1];if(c&&!u&&!h)return!0;c&&(a=!0),u&&(n=!0),h&&(i=!0)}return a&&n&&i})):s(r,(function(n){if("empty"===i)t.setData(e=e.map(n,(function(t){return function(t){return t>=o[0]&&t<=o[1]}(t)?t:NaN})));else{var r={};r[n]=o,e.selectRange(r)}})),s(r,(function(t){e.setApproximateExtent(o,t)})))}))}}},t.exports=c},zEVN:function(t,e,n){var r=n("Gi0A"),i=n("sEf8"),o=n("mdPL"),a=o&&o.isMap,s=a?i(a):r;t.exports=s},zM3Q:function(t,e,n){var r=n("4NO4").makeInner;t.exports=function(){var t=r();return function(e){var n=t(e),r=e.pipelineContext,i=n.large,o=n.progressiveRender,a=n.large=r&&r.large,s=n.progressiveRender=r&&r.progressiveRender;return!!(i^a||o^s)&&"reset"}}},zRKj:function(t,e,n){n("Ae16"),n("Sp2Z"),n("y4/Y")},zTMp:function(t,e,n){var r=n("bYtY"),i=n("Qxkt"),o=r.each,a=r.curry;function s(t,e){return"all"===t||r.isArray(t)&&r.indexOf(t,e)>=0||t===e}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[u(t)]}function c(t){return!!t.get("handle.show")}function u(t){return t.type+"||"+t.id}e.collect=function(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var l=e.getComponent("tooltip"),h=e.getComponent("axisPointer"),d=h.get("link",!0)||[],f=[];o(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var p=u(n.model),g=t.coordSysAxesInfo[p]={};t.coordSysMap[p]=n;var m=n.model.getModel("tooltip",l);if(o(n.getAxes(),a(_,!1,null)),n.getTooltipAxes&&l&&m.get("show")){var v="axis"===m.get("trigger"),y="cross"===m.get("axisPointer.type"),b=n.getTooltipAxes(m.get("axisPointer.axis"));(v||y)&&o(b.baseAxes,a(_,!y||"cross",v)),y&&o(b.otherAxes,a(_,"cross",!1))}}function _(a,l,p){var v=p.model.getModel("axisPointer",h),y=v.get("show");if(y&&("auto"!==y||a||c(v))){null==l&&(l=v.get("triggerTooltip"));var b=(v=a?function(t,e,n,a,s,l){var c=e.getModel("axisPointer"),u={};o(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){u[t]=r.clone(c.get(t))})),u.snap="category"!==t.type&&!!l,"cross"===c.get("type")&&(u.type="line");var h=u.label||(u.label={});if(null==h.show&&(h.show=!1),"cross"===s){var d=c.get("label.show");if(h.show=null==d||d,!l){var f=u.lineStyle=c.get("crossStyle");f&&r.defaults(h,f.textStyle)}}return t.model.getModel("axisPointer",new i(u,n,a))}(p,m,h,e,a,l):v).get("snap"),_=u(p.model),x=l||b||"category"===p.type,w=t.axesInfo[_]={key:_,axis:p,coordSys:n,axisPointerModel:v,triggerTooltip:l,involveSeries:x,snap:b,useHandle:c(v),seriesModels:[]};g[_]=w,t.seriesInvolved|=x;var S=function(t,e){for(var n=e.model,r=e.dim,i=0;iu[1]&&u.reverse(),(null==a||a>u[1])&&(a=u[1]),an.e(5).then(n.bind(null,"5th3")).then(t=>t.LedgeEditorModule)}];let l=(()=>{class t{}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[a.a.forRoot(s)],a.a]}),t})();var c=n("VRyK"),u=n("lJxs");const h=(()=>{const t=Element.prototype;return t.matches||t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector})(),d={schedule(t,e){const n=setTimeout(t,e);return()=>clearTimeout(n)},scheduleBeforeRender(t){if("undefined"==typeof window)return d.schedule(t,0);if(void 0===window.requestAnimationFrame)return d.schedule(t,16);const e=window.requestAnimationFrame(t);return()=>window.cancelAnimationFrame(e)}};function f(t,e,n){let r=n;return function(t){return!!t&&t.nodeType===Node.ELEMENT_NODE}(t)&&e.some((e,n)=>!("*"===e||!function(t,e){return h.call(t,e)}(t,e)||(r=n,0))),r}class p{constructor(t,e){this.component=t,this.injector=e,this.componentFactory=e.get(r.j).resolveComponentFactory(t)}create(t){return new g(this.componentFactory,t)}}class g{constructor(t,e){this.componentFactory=t,this.injector=e,this.inputChanges=null,this.implementsOnChanges=!1,this.scheduledChangeDetectionFn=null,this.scheduledDestroyFn=null,this.initialInputValues=new Map,this.uninitializedInputs=new Set}connect(t){if(null!==this.scheduledDestroyFn)return this.scheduledDestroyFn(),void(this.scheduledDestroyFn=null);this.componentRef||this.initializeComponent(t)}disconnect(){this.componentRef&&null===this.scheduledDestroyFn&&(this.scheduledDestroyFn=d.schedule(()=>{this.componentRef&&(this.componentRef.destroy(),this.componentRef=null)},10))}getInputValue(t){return this.componentRef?this.componentRef.instance[t]:this.initialInputValues.get(t)}setInputValue(t,e){var n,r;this.componentRef?(n=e)===(r=this.getInputValue(t))||n!=n&&r!=r||(this.recordInputChange(t,e),this.componentRef.instance[t]=e,this.scheduleDetectChanges()):this.initialInputValues.set(t,e)}initializeComponent(t){const e=r.r.create({providers:[],parent:this.injector}),n=function(t,e){const n=t.childNodes,r=e.map(()=>[]);let i=-1;e.some((t,e)=>"*"===t&&(i=e,!0));for(let o=0,a=n.length;o{this.initialInputValues.has(t)?this.setInputValue(t,this.initialInputValues.get(t)):this.uninitializedInputs.add(t)}),this.initialInputValues.clear()}initializeOutputs(){const t=this.componentFactory.outputs.map(({propName:t,templateName:e})=>this.componentRef.instance[t].pipe(Object(u.a)(t=>({name:e,value:t}))));this.events=Object(c.a)(...t)}callNgOnChanges(){if(!this.implementsOnChanges||null===this.inputChanges)return;const t=this.inputChanges;this.inputChanges=null,this.componentRef.instance.ngOnChanges(t)}scheduleDetectChanges(){this.scheduledChangeDetectionFn||(this.scheduledChangeDetectionFn=d.scheduleBeforeRender(()=>{this.scheduledChangeDetectionFn=null,this.detectChanges()}))}recordInputChange(t,e){if(this.componentRef&&!this.implementsOnChanges)return;null===this.inputChanges&&(this.inputChanges={});const n=this.inputChanges[t];if(n)return void(n.currentValue=e);const i=this.uninitializedInputs.has(t);this.uninitializedInputs.delete(t);const o=i?void 0:this.getInputValue(t);this.inputChanges[t]=new r.J(o,e,i)}detectChanges(){this.componentRef&&(this.callNgOnChanges(),this.componentRef.changeDetectorRef.detectChanges())}}class m extends HTMLElement{constructor(){super(...arguments),this.ngElementEventsSubscription=null}}var v=n("ofXK"),y=n("Nj8z");function b(t,e){if(1&t&&r.Pb(0,"ledge-render",1),2&t){const t=r.gc();r.lc("content",t.content)}}let _=(()=>{class t{constructor(){}ngOnInit(){}ngOnChanges(t){var e;if(t){const{content:n=null}=t;this.content=(null===(e=n)||void 0===e?void 0:e.currentValue)||null}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=r.Ib({type:t,selectors:[["ledge-theme"]],inputs:{content:"content"},features:[r.Ab],decls:1,vars:1,consts:[[3,"content",4,"ngIf"],[3,"content"]],template:function(t,e){1&t&&r.yc(0,b,1,1,"ledge-render",0),2&t&&r.lc("ngIf",e.content)},directives:[v.j,y.a],styles:[""]}),t})(),x=(()=>{class t{constructor(t){if(this.injector=t,customElements.get("ledge"))return;const e=function(t,e){const n=function(t,e){return e.get(r.j).resolveComponentFactory(t).inputs}(t,e.injector),i=e.strategyFactory||new p(t,e.injector),o=function(t){const e={};return t.forEach(({propName:t,templateName:n})=>{var r;e[(r=n,r.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()))]=t}),e}(n);class a extends m{constructor(t){super(),this.ngElementStrategy=i.create(t||e.injector)}attributeChangedCallback(t,n,r,a){this.ngElementStrategy||(this.ngElementStrategy=i.create(e.injector)),this.ngElementStrategy.setInputValue(o[t],r)}connectedCallback(){this.ngElementStrategy||(this.ngElementStrategy=i.create(e.injector)),this.ngElementStrategy.connect(this),this.ngElementEventsSubscription=this.ngElementStrategy.events.subscribe(t=>{const e=function(t,e,n){if("function"!=typeof CustomEvent){const r=t.createEvent("CustomEvent");return r.initCustomEvent(e,!1,!1,n),r}return new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:n})}(this.ownerDocument,t.name,t.value);this.dispatchEvent(e)})}disconnectedCallback(){this.ngElementStrategy&&this.ngElementStrategy.disconnect(),this.ngElementEventsSubscription&&(this.ngElementEventsSubscription.unsubscribe(),this.ngElementEventsSubscription=null)}}return a.observedAttributes=Object.keys(o),n.map(({propName:t})=>t).forEach(t=>{Object.defineProperty(a.prototype,t,{get:function(){return this.ngElementStrategy.getInputValue(t)},set:function(e){this.ngElementStrategy.setInputValue(t,e)},configurable:!0,enumerable:!0})}),a}(_,{injector:this.injector});customElements.define("ledge-theme",e)}ngDoBootstrap(){}}return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)(r.Yb(r.r))},providers:[],imports:[[i.a,o.a.forRoot(),y.b,l]]}),t})();Object(r.T)(),i.d().bootstrapModule(x).catch(t=>console.error(t))},zYTA:function(t,e,n){var r=n("bYtY");function i(){var t=r.createCanvas();this.canvas=t,this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={}}i.prototype={update:function(t,e,n,r,i,o){var a=this._getBrush(),s=this._getGradient(t,i,"inRange"),l=this._getGradient(t,i,"outOfRange"),c=this.pointSize+this.blurSize,u=this.canvas,h=u.getContext("2d"),d=t.length;u.width=e,u.height=n;for(var f=0;f0){var C=o(v)?s:l;v>0&&(v=v*S+w),b[_++]=C[k],b[_++]=C[k+1],b[_++]=C[k+2],b[_++]=C[k+3]*v*256}else _+=4}return h.putImageData(y,0,0),u},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=r.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},_getGradient:function(t,e,n){for(var r=this._gradientPixels,i=r[n]||(r[n]=new Uint8ClampedArray(1024)),o=[0,0,0,0],a=0,s=0;s<256;s++)e[n](s/255,!0,o),i[a++]=o[0],i[a++]=o[1],i[a++]=o[2],i[a++]=o[3];return i}},t.exports=i},zZ0H:function(t,e){t.exports=function(t){return t}},zarK:function(t,e,n){var r,i,o=n("YH21"),a=o.addEventListener,s=o.removeEventListener,l=o.normalizeEvent,c=o.getNativeEvent,u=n("bYtY"),h=n("H6uX"),d=n("ItGF"),f=d.domSupported,p=(i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:r=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:u.map(r,(function(t){var e=t.replace("mouse","pointer");return i.hasOwnProperty(e)?e:t}))}),g=["mousemove","mouseup"],m=["pointermove","pointerup"];function v(t){return"mousewheel"===t&&d.browser.firefox?"DOMMouseScroll":t}function y(t){var e=t.pointerType;return"pen"===e||"touch"===e}function b(t){t&&(t.zrByTouch=!0)}function _(t,e){for(var n=e,r=!1;n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return r}function x(t,e){this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}var w=x.prototype;w.stopPropagation=w.stopImmediatePropagation=w.preventDefault=u.noop;var S={mousedown:function(t){t=l(this.dom,t),this._mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=l(this.dom,t);var e=this._mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||T(this,!0),this.trigger("mousemove",t)},mouseup:function(t){t=l(this.dom,t),T(this,!1),this.trigger("mouseup",t)},mouseout:function(t){t=l(this.dom,t),this._pointerCapturing&&(t.zrEventControl="no_globalout"),t.zrIsToLocalDOM=_(this,t.toElement||t.relatedTarget),this.trigger("mouseout",t)},touchstart:function(t){b(t=l(this.dom,t)),this._lastTouchMoment=new Date,this.handler.processGesture(t,"start"),S.mousemove.call(this,t),S.mousedown.call(this,t)},touchmove:function(t){b(t=l(this.dom,t)),this.handler.processGesture(t,"change"),S.mousemove.call(this,t)},touchend:function(t){b(t=l(this.dom,t)),this.handler.processGesture(t,"end"),S.mouseup.call(this,t),+new Date-this._lastTouchMoment<300&&S.click.call(this,t)},pointerdown:function(t){S.mousedown.call(this,t)},pointermove:function(t){y(t)||S.mousemove.call(this,t)},pointerup:function(t){S.mouseup.call(this,t)},pointerout:function(t){y(t)||S.mouseout.call(this,t)}};u.each(["click","mousewheel","dblclick","contextmenu"],(function(t){S[t]=function(e){e=l(this.dom,e),this.trigger(t,e)}}));var k={pointermove:function(t){y(t)||k.mousemove.call(this,t)},pointerup:function(t){k.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this._pointerCapturing;T(this,!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function C(t,e,n,r){t.mounted[e]=n,t.listenerOpts[e]=r,a(t.domTarget,v(e),n,r)}function A(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&s(t.domTarget,v(n),e[n],t.listenerOpts[n]);t.mounted={}}function T(t,e){if(t._mayPointerCapture=null,f&&t._pointerCapturing^e){t._pointerCapturing=e;var n=t._globalHandlerScope;e?function(t,e){function n(n){C(e,n,(function(r){r=c(r),_(t,r.target)||(r=function(t,e){return l(t.dom,new x(t,e),!0)}(t,r),e.domHandlers[n].call(t,r))}),{capture:!0})}d.pointerEventsSupported?u.each(m,n):d.touchEventsSupported||u.each(g,n)}(t,n):A(n)}}function E(t,e){this.domTarget=t,this.domHandlers=e,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function M(t,e){var n,r,i;h.call(this),this.dom=t,this.painterRoot=e,this._localHandlerScope=new E(t,S),f&&(this._globalHandlerScope=new E(document,k)),this._pointerCapturing=!1,this._mayPointerCapture=null,n=this,i=(r=this._localHandlerScope).domHandlers,d.pointerEventsSupported?u.each(p.pointer,(function(t){C(r,t,(function(e){i[t].call(n,e)}))})):(d.touchEventsSupported&&u.each(p.touch,(function(t){C(r,t,(function(e){i[t].call(n,e),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(r)}))})),u.each(p.mouse,(function(t){C(r,t,(function(e){e=c(e),r.touching||i[t].call(n,e)}))})))}var D=M.prototype;D.dispose=function(){A(this._localHandlerScope),f&&A(this._globalHandlerScope)},D.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},u.mixin(M,h),t.exports=M},zdSs:function(t,e,n){var r=n("S0uN"),i=n("nQNo"),o=n("CKtW"),a=n("DqMY");t.exports={graphlib:n("5VIG"),read:r,readMany:i,write:o,version:a,type:"dot",buffer:!1}},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"},zoYe:function(t,e,n){var r=n("nmnc"),i=n("eUgh"),o=n("Z0cm"),a=n("/9aa"),s=r?r.prototype:void 0,l=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(o(e))return i(e,t)+"";if(a(e))return l?l.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},zuHt:function(t,e,n){var r=n("bYtY");t.exports=function(t){var e={};t.eachSeriesByType("map",(function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!e[i]){var o={};r.each(n.seriesGroup,(function(e){var n=e.coordinateSystem,r=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&r.each(r.mapDimension("value"),(function(t,e){var i=r.getName(e),a=n.getRegion(i);if(a&&!isNaN(t)){var s=o[i]||0,l=n.dataToPoint(a.center);o[i]=s+1,r.setItemLayout(e,{point:l,offset:s})}}))}));var a=n.getData();a.each((function(t){var e=a.getName(t),n=a.getItemLayout(t)||{};n.showLabel=!o[e],a.setItemLayout(t,n)})),e[i]=!0}}))}}},[[0,0]]]); \ No newline at end of file diff --git a/main-es5.js b/main-es5.js deleted file mode 100644 index a9aaa3a..0000000 --- a/main-es5.js +++ /dev/null @@ -1 +0,0 @@ -function _wrapNativeSuper(t){var e="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return _construct(t,arguments,_getPrototypeOf(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(n,t)})(t)}function _isNativeFunction(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function _defineProperty(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _construct(t,e,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&_setPrototypeOf(i,n.prototype),i}).apply(null,arguments)}function _toArray(t){return _arrayWithHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableRest()}function _slicedToArray(t,e){return _arrayWithHoles(t)||_iterableToArrayLimit(t,e)||_unsupportedIterableToArray(t,e)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(l){i=!0,a=l}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}}function _arrayWithHoles(t){if(Array.isArray(t))return t}function _get(t,e,n){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var r=_superPropBase(t,e);if(r){var i=Object.getOwnPropertyDescriptor(r,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function _superPropBase(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_getPrototypeOf(t)););return t}function _createForOfIteratorHelper(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=_unsupportedIterableToArray(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,i,a=!0,o=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0}}function _iterableToArray(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n-1}},"+9vr":function(t,e,n){"undefined"!=typeof self&&self,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,(function(e){return t[e]}).bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=35)}([function(t,e){t.exports=n("VphZ")},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,3],r=[1,4],i=[2,4],a=[1,9],o=[1,11],s=[1,12],l=[1,14],u=[1,15],c=[1,16],h=[1,18],f=[1,19],d=[1,20],p=[1,21],g=[1,22],v=[1,23],m=[1,25],y=[1,26],_=[1,4,5,10,15,16,17,19,21,22,23,24,25,27,29,30,31,42],b=[1,34],x=[4,5,10,15,16,17,19,21,22,23,24,25,27,31,42],w=[4,5,10,15,16,17,19,21,22,23,24,25,27,30,31,42],k=[4,5,10,15,16,17,19,21,22,23,24,25,27,29,31,42],S=[40,41,42],C={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,participant:10,actor:11,AS:12,restOfLine:13,signal:14,autonumber:15,activate:16,deactivate:17,note_statement:18,title:19,text2:20,loop:21,end:22,rect:23,opt:24,alt:25,else_sections:26,par:27,par_sections:28,and:29,else:30,note:31,placement:32,over:33,actor_pair:34,spaceList:35,",":36,left_of:37,right_of:38,signaltype:39,"+":40,"-":41,ACTOR:42,SOLID_OPEN_ARROW:43,DOTTED_OPEN_ARROW:44,SOLID_ARROW:45,DOTTED_ARROW:46,SOLID_CROSS:47,DOTTED_CROSS:48,TXT:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",10:"participant",12:"AS",13:"restOfLine",15:"autonumber",16:"activate",17:"deactivate",19:"title",21:"loop",22:"end",23:"rect",24:"opt",25:"alt",27:"par",29:"and",30:"else",31:"note",33:"over",36:",",37:"left_of",38:"right_of",40:"+",41:"-",42:"ACTOR",43:"SOLID_OPEN_ARROW",44:"DOTTED_OPEN_ARROW",45:"SOLID_ARROW",46:"DOTTED_ARROW",47:"SOLID_CROSS",48:"DOTTED_CROSS",49:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,5],[9,3],[9,2],[9,1],[9,3],[9,3],[9,2],[9,3],[9,4],[9,4],[9,4],[9,4],[9,4],[28,1],[28,4],[26,1],[26,4],[18,4],[18,4],[35,2],[35,1],[34,3],[34,1],[32,1],[32,1],[14,5],[14,5],[14,4],[11,1],[39,1],[39,1],[39,1],[39,1],[39,1],[39,1],[20,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 3:return r.apply(a[s]),a[s];case 4:this.$=[];break;case 5:a[s-1].push(a[s]),this.$=a[s-1];break;case 6:case 7:this.$=a[s];break;case 8:this.$=[];break;case 9:a[s-3].description=a[s-1],this.$=a[s-3];break;case 10:this.$=a[s-1];break;case 12:r.enableSequenceNumbers();break;case 13:this.$={type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1]};break;case 14:this.$={type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[s-1]};break;case 16:this.$=[{type:"setTitle",text:a[s-1]}];break;case 17:a[s-1].unshift({type:"loopStart",loopText:a[s-2],signalType:r.LINETYPE.LOOP_START}),a[s-1].push({type:"loopEnd",loopText:a[s-2],signalType:r.LINETYPE.LOOP_END}),this.$=a[s-1];break;case 18:a[s-1].unshift({type:"rectStart",color:a[s-2],signalType:r.LINETYPE.RECT_START}),a[s-1].push({type:"rectEnd",color:a[s-2],signalType:r.LINETYPE.RECT_END}),this.$=a[s-1];break;case 19:a[s-1].unshift({type:"optStart",optText:a[s-2],signalType:r.LINETYPE.OPT_START}),a[s-1].push({type:"optEnd",optText:a[s-2],signalType:r.LINETYPE.OPT_END}),this.$=a[s-1];break;case 20:a[s-1].unshift({type:"altStart",altText:a[s-2],signalType:r.LINETYPE.ALT_START}),a[s-1].push({type:"altEnd",signalType:r.LINETYPE.ALT_END}),this.$=a[s-1];break;case 21:a[s-1].unshift({type:"parStart",parText:a[s-2],signalType:r.LINETYPE.PAR_START}),a[s-1].push({type:"parEnd",signalType:r.LINETYPE.PAR_END}),this.$=a[s-1];break;case 23:this.$=a[s-3].concat([{type:"and",parText:a[s-1],signalType:r.LINETYPE.PAR_AND},a[s]]);break;case 25:this.$=a[s-3].concat([{type:"else",altText:a[s-1],signalType:r.LINETYPE.ALT_ELSE},a[s]]);break;case 26:this.$=[a[s-1],{type:"addNote",placement:a[s-2],actor:a[s-1].actor,text:a[s]}];break;case 27:a[s-2]=[].concat(a[s-1],a[s-1]).slice(0,2),a[s-2][0]=a[s-2][0].actor,a[s-2][1]=a[s-2][1].actor,this.$=[a[s-1],{type:"addNote",placement:r.PLACEMENT.OVER,actor:a[s-2].slice(0,2),text:a[s]}];break;case 30:this.$=[a[s-2],a[s]];break;case 31:this.$=a[s];break;case 32:this.$=r.PLACEMENT.LEFTOF;break;case 33:this.$=r.PLACEMENT.RIGHTOF;break;case 34:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeStart",signalType:r.LINETYPE.ACTIVE_START,actor:a[s-1]}];break;case 35:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeEnd",signalType:r.LINETYPE.ACTIVE_END,actor:a[s-4]}];break;case 36:this.$=[a[s-3],a[s-1],{type:"addMessage",from:a[s-3].actor,to:a[s-1].actor,signalType:a[s-2],msg:a[s]}];break;case 37:this.$={type:"addActor",actor:a[s]};break;case 38:this.$=r.LINETYPE.SOLID_OPEN;break;case 39:this.$=r.LINETYPE.DOTTED_OPEN;break;case 40:this.$=r.LINETYPE.SOLID;break;case 41:this.$=r.LINETYPE.DOTTED;break;case 42:this.$=r.LINETYPE.SOLID_CROSS;break;case 43:this.$=r.LINETYPE.DOTTED_CROSS;break;case 44:this.$=a[s].substring(1).trim().replace(/\\n/gm,"\n")}},table:[{3:1,4:e,5:n,6:r},{1:[3]},{3:5,4:e,5:n,6:r},{3:6,4:e,5:n,6:r},t([1,4,5,10,15,16,17,19,21,23,24,25,27,31,42],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:o,8:8,9:10,10:s,11:24,14:13,15:l,16:u,17:c,18:17,19:h,21:f,23:d,24:p,25:g,27:v,31:m,42:y},t(_,[2,5]),{9:27,10:s,11:24,14:13,15:l,16:u,17:c,18:17,19:h,21:f,23:d,24:p,25:g,27:v,31:m,42:y},t(_,[2,7]),t(_,[2,8]),{11:28,42:y},{5:[1,29]},t(_,[2,12]),{11:30,42:y},{11:31,42:y},{5:[1,32]},{20:33,49:b},{13:[1,35]},{13:[1,36]},{13:[1,37]},{13:[1,38]},{13:[1,39]},{39:40,43:[1,41],44:[1,42],45:[1,43],46:[1,44],47:[1,45],48:[1,46]},{32:47,33:[1,48],37:[1,49],38:[1,50]},t([5,12,36,43,44,45,46,47,48,49],[2,37]),t(_,[2,6]),{5:[1,52],12:[1,51]},t(_,[2,11]),{5:[1,53]},{5:[1,54]},t(_,[2,15]),{5:[1,55]},{5:[2,44]},t(x,i,{7:56}),t(x,i,{7:57}),t(x,i,{7:58}),t(w,i,{26:59,7:60}),t(k,i,{28:61,7:62}),{11:65,40:[1,63],41:[1,64],42:y},t(S,[2,38]),t(S,[2,39]),t(S,[2,40]),t(S,[2,41]),t(S,[2,42]),t(S,[2,43]),{11:66,42:y},{11:68,34:67,42:y},{42:[2,32]},{42:[2,33]},{13:[1,69]},t(_,[2,10]),t(_,[2,13]),t(_,[2,14]),t(_,[2,16]),{4:a,5:o,8:8,9:10,10:s,11:24,14:13,15:l,16:u,17:c,18:17,19:h,21:f,22:[1,70],23:d,24:p,25:g,27:v,31:m,42:y},{4:a,5:o,8:8,9:10,10:s,11:24,14:13,15:l,16:u,17:c,18:17,19:h,21:f,22:[1,71],23:d,24:p,25:g,27:v,31:m,42:y},{4:a,5:o,8:8,9:10,10:s,11:24,14:13,15:l,16:u,17:c,18:17,19:h,21:f,22:[1,72],23:d,24:p,25:g,27:v,31:m,42:y},{22:[1,73]},{4:a,5:o,8:8,9:10,10:s,11:24,14:13,15:l,16:u,17:c,18:17,19:h,21:f,22:[2,24],23:d,24:p,25:g,27:v,30:[1,74],31:m,42:y},{22:[1,75]},{4:a,5:o,8:8,9:10,10:s,11:24,14:13,15:l,16:u,17:c,18:17,19:h,21:f,22:[2,22],23:d,24:p,25:g,27:v,29:[1,76],31:m,42:y},{11:77,42:y},{11:78,42:y},{20:79,49:b},{20:80,49:b},{20:81,49:b},{36:[1,82],49:[2,31]},{5:[1,83]},t(_,[2,17]),t(_,[2,18]),t(_,[2,19]),t(_,[2,20]),{13:[1,84]},t(_,[2,21]),{13:[1,85]},{20:86,49:b},{20:87,49:b},{5:[2,36]},{5:[2,26]},{5:[2,27]},{11:88,42:y},t(_,[2,9]),t(w,i,{7:60,26:89}),t(k,i,{7:62,28:90}),{5:[2,34]},{5:[2,35]},{49:[2,30]},{22:[2,25]},{22:[2,23]}],defaultActions:{5:[2,1],6:[2,2],34:[2,44],49:[2,32],50:[2,33],79:[2,36],80:[2,26],81:[2,27],86:[2,34],87:[2,35],88:[2,30],89:[2,25],90:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,u=0,c=0,h=2,f=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(g.yy[v]=this.yy[v]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var m=p.yylloc;a.push(m);var y=p.options&&p.options.ranges;function _(){var t;return"number"!=typeof(t=r.pop()||p.lex()||f)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var b,x,w,k,S,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?k=this.defaultActions[w]:(null==b&&(b=_()),k=o[w]&&o[w][b]),void 0===k||!k.length||!k[0]){var M="";for(C in T=[],o[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==f?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:m,expected:T})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+b);switch(k[0]){case 1:n.push(b),i.push(p.yytext),a.push(p.yylloc),n.push(k[1]),b=null,x?(b=x,x=null):(u=p.yyleng,s=p.yytext,l=p.yylineno,m=p.yylloc,c>0&&c--);break;case 2:if(E.$=i[i.length-(A=this.productions_[k[1]][1])],E._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},y&&(E._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(S=this.performAction.apply(E,[s,u,l,g.yy,k[1],i,a].concat(d))))return S;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[k[1]][0]),i.push(E.$),a.push(E._$),n.push(o[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function A(){this.yy={}}return C.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 5;case 1:case 2:case 3:case 4:break;case 5:return this.begin("ID"),10;case 6:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),42;case 7:return this.popState(),this.popState(),this.begin("LINE"),12;case 8:return this.popState(),this.popState(),5;case 9:return this.begin("LINE"),21;case 10:return this.begin("LINE"),23;case 11:return this.begin("LINE"),24;case 12:return this.begin("LINE"),25;case 13:return this.begin("LINE"),30;case 14:return this.begin("LINE"),27;case 15:return this.begin("LINE"),29;case 16:return this.popState(),13;case 17:return 22;case 18:return 37;case 19:return 38;case 20:return 33;case 21:return 31;case 22:return this.begin("ID"),16;case 23:return this.begin("ID"),17;case 24:return 19;case 25:return 6;case 26:return 15;case 27:return 36;case 28:return 5;case 29:return e.yytext=e.yytext.trim(),42;case 30:return 45;case 31:return 46;case 32:return 43;case 33:return 44;case 34:return 47;case 35:return 48;case 36:return 49;case 37:return 40;case 38:return 41;case 39:return 5;case 40:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:participant\b)/i,/^(?:[^\->:\n,;]+?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\b)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?::[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[2,3,16],inclusive:!1},ALIAS:{rules:[2,3,7,8],inclusive:!1},ID:{rules:[2,3,6],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,9,10,11,12,13,14,15,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],inclusive:!0}}},A.prototype=C,C.Parser=A,new A}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e){t.exports=n("EiaH")},function(t,e){t.exports=n("4Ai+")},function(t,e){var n,r,i=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(t){n=a}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(t){r=o}}();var l,u=[],c=!1,h=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):h=-1,u.length&&d())}function d(){if(!c){var t=s(f);c=!0;for(var e=u.length;e;){for(l=u,u=[];++h1)for(var n=1;n=0;r--){var i=t[r];"."===i?t.splice(r,1):".."===i?(t.splice(r,1),n++):n&&(t.splice(r,1),n--)}if(e)for(;n--;n)t.unshift("..");return t}function r(t,e){if(t.filter)return t.filter(e);for(var n=[],r=0;r=-1&&!i;a--){var o=a>=0?arguments[a]:t.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(e=o+"/"+e,i="/"===o.charAt(0))}return(i?"/":"")+(e=n(r(e.split("/"),(function(t){return!!t})),!i).join("/"))||"."},e.normalize=function(t){var a=e.isAbsolute(t),o="/"===i(t,-1);return(t=n(r(t.split("/"),(function(t){return!!t})),!a).join("/"))||a||(t="."),t&&o&&(t+="/"),(a?"/":"")+t},e.isAbsolute=function(t){return"/"===t.charAt(0)},e.join=function(){var t=Array.prototype.slice.call(arguments,0);return e.normalize(r(t,(function(t,e){if("string"!=typeof t)throw new TypeError("Arguments to path.join must be strings");return t})).join("/"))},e.relative=function(t,n){function r(t){for(var e=0;e=0&&""===t[n];n--);return e>n?[]:t.slice(e,n-e+1)}t=e.resolve(t).substr(1),n=e.resolve(n).substr(1);for(var i=r(t.split("/")),a=r(n.split("/")),o=Math.min(i.length,a.length),s=o,l=0;l=1;--a)if(47===(e=t.charCodeAt(a))){if(!i){r=a;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":t.slice(0,r)},e.basename=function(t,e){var n=function(t){"string"!=typeof t&&(t+="");var e,n=0,r=-1,i=!0;for(e=t.length-1;e>=0;--e)if(47===t.charCodeAt(e)){if(!i){n=e+1;break}}else-1===r&&(i=!1,r=e+1);return-1===r?"":t.slice(n,r)}(t);return e&&n.substr(-1*e.length)===e&&(n=n.substr(0,n.length-e.length)),n},e.extname=function(t){"string"!=typeof t&&(t+="");for(var e=-1,n=0,r=-1,i=!0,a=0,o=t.length-1;o>=0;--o){var s=t.charCodeAt(o);if(47!==s)-1===r&&(i=!1,r=o+1),46===s?-1===e?e=o:1!==a&&(a=1):-1!==e&&(a=-1);else if(!i){n=o+1;break}}return-1===e||-1===r||0===a||1===a&&e===r-1&&e===n+1?"":t.slice(e,r)};var i="b"==="ab".substr(-1)?function(t,e,n){return t.substr(e,n)}:function(t,e,n){return e<0&&(e=t.length+e),t.substr(e,n)}}).call(this,n(4))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,8,10,11,12,13,14,15,16,18,20],n=[1,9],r=[1,10],i=[1,11],a=[1,12],o=[1,13],s=[1,14],l=[1,16],u=[1,17],c={trace:function(){},yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,dateFormat:11,inclusiveEndDates:12,axisFormat:13,excludes:14,title:15,section:16,clickStatement:17,taskTxt:18,taskData:19,click:20,callbackname:21,callbackargs:22,href:23,clickStatementDebug:24,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",11:"dateFormat",12:"inclusiveEndDates",13:"axisFormat",14:"excludes",15:"title",16:"section",18:"taskTxt",19:"taskData",20:"click",21:"callbackname",22:"callbackargs",23:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[17,2],[17,3],[17,3],[17,4],[17,3],[17,4],[17,2],[24,2],[24,3],[24,3],[24,4],[24,3],[24,4],[24,2]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 9:r.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 10:r.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 11:r.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 12:r.setTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 13:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 15:r.addTask(a[s-1],a[s]),this.$="task";break;case 16:this.$=a[s-1],r.setClickEvent(a[s-1],a[s],null);break;case 17:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 18:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],null),r.setLink(a[s-2],a[s]);break;case 19:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setLink(a[s-3],a[s]);break;case 20:this.$=a[s-2],r.setClickEvent(a[s-2],a[s],null),r.setLink(a[s-2],a[s-1]);break;case 21:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-1],a[s]),r.setLink(a[s-3],a[s-2]);break;case 22:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 23:case 29:this.$=a[s-1]+" "+a[s];break;case 24:case 25:case 27:this.$=a[s-2]+" "+a[s-1]+" "+a[s];break;case 26:case 28:this.$=a[s-3]+" "+a[s-2]+" "+a[s-1]+" "+a[s]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:r,13:i,14:a,15:o,16:s,17:15,18:l,20:u},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:n,12:r,13:i,14:a,15:o,16:s,17:15,18:l,20:u},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),{19:[1,19]},{21:[1,20],23:[1,21]},t(e,[2,4]),t(e,[2,15]),t(e,[2,16],{22:[1,22],23:[1,23]}),t(e,[2,22],{21:[1,24]}),t(e,[2,17],{23:[1,25]}),t(e,[2,18]),t(e,[2,20],{22:[1,26]}),t(e,[2,19]),t(e,[2,21])],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,u=0,c=0,h=2,f=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(g.yy[v]=this.yy[v]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var m=p.yylloc;a.push(m);var y=p.options&&p.options.ranges;function _(){var t;return"number"!=typeof(t=r.pop()||p.lex()||f)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var b,x,w,k,S,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?k=this.defaultActions[w]:(null==b&&(b=_()),k=o[w]&&o[w][b]),void 0===k||!k.length||!k[0]){var M="";for(C in T=[],o[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==f?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:m,expected:T})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+b);switch(k[0]){case 1:n.push(b),i.push(p.yytext),a.push(p.yylloc),n.push(k[1]),b=null,x?(b=x,x=null):(u=p.yyleng,s=p.yytext,l=p.yylineno,m=p.yylloc,c>0&&c--);break;case 2:if(E.$=i[i.length-(A=this.productions_[k[1]][1])],E._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},y&&(E._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(S=this.performAction.apply(E,[s,u,l,g.yy,k[1],i,a].concat(d))))return S;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[k[1]][0]),i.push(E.$),a.push(E._$),n.push(o[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function h(){this.yy={}}return c.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 10;case 1:case 2:case 3:break;case 4:this.begin("href");break;case 5:this.popState();break;case 6:return 23;case 7:this.begin("callbackname");break;case 8:this.popState();break;case 9:this.popState(),this.begin("callbackargs");break;case 10:return 21;case 11:this.popState();break;case 12:return 22;case 13:this.begin("click");break;case 14:this.popState();break;case 15:return 20;case 16:return 4;case 17:return 11;case 18:return 12;case 19:return 13;case 20:return 14;case 21:return"date";case 22:return 15;case 23:return 16;case 24:return 18;case 25:return 19;case 26:return":";case 27:return 6;case 28:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{callbackargs:{rules:[11,12],inclusive:!1},callbackname:{rules:[8,9,10],inclusive:!1},href:{rules:[5,6],inclusive:!1},click:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,7,13,16,17,18,19,20,21,22,23,24,25,26,27,28],inclusive:!0}}},h.prototype=c,c.Parser=h,new h}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,4],n=[1,3],r=[1,5],i=[1,8,9,10,11,26,34,61,62,63,64,65,66,76,77,80,81,82,84,85,91,92,93,94,95,96],a=[2,2],o=[1,12],s=[1,13],l=[1,14],u=[1,15],c=[1,22],h=[1,46],f=[1,24],d=[1,25],p=[1,26],g=[1,27],v=[1,28],m=[1,40],y=[1,35],_=[1,37],b=[1,32],x=[1,36],w=[1,39],k=[1,43],S=[1,44],C=[1,45],A=[1,34],T=[1,38],E=[1,41],M=[1,42],I=[1,33],D=[1,51],O=[1,8,9,10,11,26,30,34,61,62,63,64,65,66,76,77,80,81,82,84,85,91,92,93,94,95,96],P=[1,55],L=[1,54],R=[1,56],N=[8,9,11,55,56],z=[8,9,10,11,55,56],F=[8,9,10,11,35,55,56],B=[8,9,10,11,28,34,35,37,39,41,43,45,47,48,50,55,56,66,76,77,80,81,82,84,85,91,92,93,94,95,96],V=[8,9,11,34,55,56,66,76,77,80,81,82,84,85,91,92,93,94,95,96],j=[34,66,76,77,80,81,82,84,85,91,92,93,94,95,96],Y=[1,100],H=[1,121],U=[1,122],G=[1,123],q=[1,124],W=[1,104],Z=[1,95],$=[1,96],X=[1,92],K=[1,116],Q=[1,117],J=[1,118],tt=[1,119],et=[1,120],nt=[1,125],rt=[1,126],it=[1,98],at=[1,106],ot=[1,109],st=[1,107],lt=[1,108],ut=[1,101],ct=[1,114],ht=[1,113],ft=[1,97],dt=[1,94],pt=[1,103],gt=[1,105],vt=[1,110],mt=[1,111],yt=[1,112],_t=[1,115],bt=[8,9,10,11,26,30,34,61,62,63,64,65,66,76,77,80,81,82,84,85,91,92,93,94,95,96],xt=[1,129],wt=[1,133],kt=[1,135],St=[1,136],Ct=[8,9,10,11,12,13,26,28,29,30,34,38,40,42,44,46,47,49,51,55,56,57,61,62,63,64,65,66,67,70,76,77,80,81,82,84,85,86,87,91,92,93,94,95,96],At=[8,9,10,11,13,34,66,76,77,80,81,82,84,85,91,92,93,94,95,96],Tt=[10,77],Et=[1,201],Mt=[1,205],It=[1,202],Dt=[1,199],Ot=[1,196],Pt=[1,197],Lt=[1,198],Rt=[1,200],Nt=[1,203],zt=[1,204],Ft=[1,206],Bt=[8,9,11],Vt=[1,222],jt=[8,9,11,77],Yt=[8,9,10,11,61,73,76,77,80,81,82,83,84,85,86],Ht={trace:function(){},yy:{},symbols_:{error:2,mermaidDoc:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,DIR:13,FirstStmtSeperator:14,ending:15,endToken:16,spaceList:17,spaceListNewline:18,verticeStatement:19,separator:20,styleStatement:21,linkStyleStatement:22,classDefStatement:23,classStatement:24,clickStatement:25,subgraph:26,text:27,SQS:28,SQE:29,end:30,link:31,node:32,vertex:33,AMP:34,STYLE_SEPARATOR:35,idString:36,PS:37,PE:38,"(-":39,"-)":40,STADIUMSTART:41,STADIUMEND:42,CYLINDERSTART:43,CYLINDEREND:44,DIAMOND_START:45,DIAMOND_STOP:46,TAGEND:47,TRAPSTART:48,TRAPEND:49,INVTRAPSTART:50,INVTRAPEND:51,linkStatement:52,arrowText:53,TESTSTR:54,START_LINK:55,LINK:56,PIPE:57,textToken:58,STR:59,keywords:60,STYLE:61,LINKSTYLE:62,CLASSDEF:63,CLASS:64,CLICK:65,DOWN:66,UP:67,textNoTags:68,textNoTagsToken:69,DEFAULT:70,stylesOpt:71,alphaNum:72,HEX:73,numList:74,INTERPOLATE:75,NUM:76,COMMA:77,style:78,styleComponent:79,ALPHA:80,COLON:81,MINUS:82,UNIT:83,BRKT:84,DOT:85,PCT:86,TAGSTART:87,alphaNumToken:88,idStringToken:89,alphaNumStatement:90,PUNCTUATION:91,UNICODE_TEXT:92,PLUS:93,EQUALS:94,MULT:95,UNDERSCORE:96,graphCodeTokens:97,ARROW_CROSS:98,ARROW_POINT:99,ARROW_CIRCLE:100,ARROW_OPEN:101,QUOTE:102,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"DIR",26:"subgraph",28:"SQS",29:"SQE",30:"end",34:"AMP",35:"STYLE_SEPARATOR",37:"PS",38:"PE",39:"(-",40:"-)",41:"STADIUMSTART",42:"STADIUMEND",43:"CYLINDERSTART",44:"CYLINDEREND",45:"DIAMOND_START",46:"DIAMOND_STOP",47:"TAGEND",48:"TRAPSTART",49:"TRAPEND",50:"INVTRAPSTART",51:"INVTRAPEND",54:"TESTSTR",55:"START_LINK",56:"LINK",57:"PIPE",59:"STR",61:"STYLE",62:"LINKSTYLE",63:"CLASSDEF",64:"CLASS",65:"CLICK",66:"DOWN",67:"UP",70:"DEFAULT",73:"HEX",75:"INTERPOLATE",76:"NUM",77:"COMMA",80:"ALPHA",81:"COLON",82:"MINUS",83:"UNIT",84:"BRKT",85:"DOT",86:"PCT",87:"TAGSTART",91:"PUNCTUATION",92:"UNICODE_TEXT",93:"PLUS",94:"EQUALS",95:"MULT",96:"UNDERSCORE",98:"ARROW_CROSS",99:"ARROW_POINT",100:"ARROW_CIRCLE",101:"ARROW_OPEN",102:"QUOTE"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,3],[15,2],[15,1],[16,1],[16,1],[16,1],[14,1],[14,1],[14,2],[18,2],[18,2],[18,1],[18,1],[17,2],[17,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[20,1],[20,1],[20,1],[19,3],[19,4],[19,2],[19,1],[32,1],[32,5],[32,3],[33,4],[33,6],[33,4],[33,4],[33,4],[33,4],[33,4],[33,6],[33,4],[33,4],[33,4],[33,4],[33,4],[33,1],[31,2],[31,3],[31,3],[31,1],[31,3],[52,1],[53,3],[27,1],[27,2],[27,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[60,1],[68,1],[68,2],[23,5],[23,5],[24,5],[25,5],[25,7],[25,5],[25,7],[21,5],[21,5],[22,5],[22,5],[22,9],[22,9],[22,7],[22,7],[74,1],[74,3],[71,1],[71,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[69,1],[69,1],[69,1],[69,1],[36,1],[36,2],[72,1],[72,2],[90,1],[90,1],[90,1],[90,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[89,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1],[97,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 2:this.$=[];break;case 3:a[s]!==[]&&a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 66:case 68:case 80:case 126:case 128:case 129:this.$=a[s];break;case 11:r.setDirection(a[s-1]),this.$=a[s-1];break;case 26:this.$=a[s-1].nodes;break;case 27:case 28:case 29:case 30:case 31:this.$=[];break;case 32:this.$=r.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 33:this.$=r.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 34:this.$=r.addSubGraph(void 0,a[s-1],void 0);break;case 38:r.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 39:r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 40:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 41:this.$={stmt:a[s],nodes:a[s]};break;case 42:this.$=[a[s]];break;case 43:this.$=a[s-4].concat(a[s]);break;case 44:this.$=[a[s-2]],r.setClass(a[s-2],a[s]);break;case 45:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"square");break;case 46:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],"circle");break;case 47:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"ellipse");break;case 48:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"stadium");break;case 49:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"cylinder");break;case 50:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"round");break;case 51:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"diamond");break;case 52:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],"hexagon");break;case 53:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"odd");break;case 54:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"trapezoid");break;case 55:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"inv_trapezoid");break;case 56:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"lean_right");break;case 57:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],"lean_left");break;case 58:this.$=a[s],r.addVertex(a[s]);break;case 59:a[s-1].text=a[s],this.$=a[s-1];break;case 60:case 61:a[s-2].text=a[s-1],this.$=a[s-2];break;case 62:this.$=a[s];break;case 63:var l=r.destructLink(a[s],a[s-2]);this.$={type:l.type,stroke:l.stroke,text:a[s-1]};break;case 64:l=r.destructLink(a[s]),this.$={type:l.type,stroke:l.stroke};break;case 65:this.$=a[s-1];break;case 67:case 81:case 127:this.$=a[s-1]+""+a[s];break;case 82:case 83:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 84:this.$=a[s-4],r.setClass(a[s-2],a[s]);break;case 85:this.$=a[s-4],r.setClickEvent(a[s-2],a[s],void 0);break;case 86:this.$=a[s-6],r.setClickEvent(a[s-4],a[s-2],a[s]);break;case 87:this.$=a[s-4],r.setLink(a[s-2],a[s],void 0);break;case 88:this.$=a[s-6],r.setLink(a[s-4],a[s-2],a[s]);break;case 89:this.$=a[s-4],r.addVertex(a[s-2],void 0,void 0,a[s]);break;case 90:case 92:this.$=a[s-4],r.updateLink(a[s-2],a[s]);break;case 91:this.$=a[s-4],r.updateLink([a[s-2]],a[s]);break;case 93:this.$=a[s-8],r.updateLinkInterpolate([a[s-6]],a[s-2]),r.updateLink([a[s-6]],a[s]);break;case 94:this.$=a[s-8],r.updateLinkInterpolate(a[s-6],a[s-2]),r.updateLink(a[s-6],a[s]);break;case 95:this.$=a[s-6],r.updateLinkInterpolate([a[s-4]],a[s]);break;case 96:this.$=a[s-6],r.updateLinkInterpolate(a[s-4],a[s]);break;case 97:case 99:this.$=[a[s]];break;case 98:case 100:a[s-2].push(a[s]),this.$=a[s-2];break;case 102:this.$=a[s-1]+a[s];break;case 124:this.$=a[s];break;case 125:this.$=a[s-1]+""+a[s];break;case 130:this.$="v";break;case 131:this.$="-"}},table:[{3:1,4:2,9:e,10:n,12:r},{1:[3]},t(i,a,{5:6}),{4:7,9:e,10:n,12:r},{4:8,9:e,10:n,12:r},{13:[1,9]},{1:[2,1],6:10,7:11,8:o,9:s,10:l,11:u,19:16,21:17,22:18,23:19,24:20,25:21,26:c,32:23,33:29,34:h,36:30,61:f,62:d,63:p,64:g,65:v,66:m,76:y,77:_,80:b,81:x,82:w,84:k,85:S,89:31,91:C,92:A,93:T,94:E,95:M,96:I},t(i,[2,9]),t(i,[2,10]),{8:[1,48],9:[1,49],10:D,14:47,17:50},t(O,[2,3]),t(O,[2,4]),t(O,[2,5]),t(O,[2,6]),t(O,[2,7]),t(O,[2,8]),{8:P,9:L,11:R,20:52,31:53,52:57,55:[1,58],56:[1,59]},{8:P,9:L,11:R,20:60},{8:P,9:L,11:R,20:61},{8:P,9:L,11:R,20:62},{8:P,9:L,11:R,20:63},{8:P,9:L,11:R,20:64},{8:P,9:L,10:[1,65],11:R,20:66},t(N,[2,41],{17:67,10:D}),{10:[1,68]},{10:[1,69]},{10:[1,70]},{10:[1,71]},{10:[1,72]},t(z,[2,42],{35:[1,73]}),t(F,[2,58],{89:83,28:[1,74],34:h,37:[1,75],39:[1,76],41:[1,77],43:[1,78],45:[1,79],47:[1,80],48:[1,81],50:[1,82],66:m,76:y,77:_,80:b,81:x,82:w,84:k,85:S,91:C,92:A,93:T,94:E,95:M,96:I}),t(B,[2,124]),t(B,[2,145]),t(B,[2,146]),t(B,[2,147]),t(B,[2,148]),t(B,[2,149]),t(B,[2,150]),t(B,[2,151]),t(B,[2,152]),t(B,[2,153]),t(B,[2,154]),t(B,[2,155]),t(B,[2,156]),t(B,[2,157]),t(B,[2,158]),t(B,[2,159]),t(i,[2,11]),t(i,[2,17]),t(i,[2,18]),{9:[1,84]},t(V,[2,25],{17:85,10:D}),t(O,[2,26]),{32:86,33:29,34:h,36:30,66:m,76:y,77:_,80:b,81:x,82:w,84:k,85:S,89:31,91:C,92:A,93:T,94:E,95:M,96:I},t(O,[2,35]),t(O,[2,36]),t(O,[2,37]),t(j,[2,62],{53:87,54:[1,88],57:[1,89]}),{10:Y,12:H,13:U,26:G,27:90,30:q,34:W,47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},t([34,54,57,66,76,77,80,81,82,84,85,91,92,93,94,95,96],[2,64]),t(O,[2,27]),t(O,[2,28]),t(O,[2,29]),t(O,[2,30]),t(O,[2,31]),{10:Y,12:H,13:U,26:G,27:127,30:q,34:W,47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},t(bt,a,{5:128}),t(N,[2,40],{34:xt}),{13:wt,34:W,66:kt,72:130,73:[1,131],76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,88:134,90:132,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{70:[1,137],74:138,76:[1,139]},{13:wt,34:W,66:kt,70:[1,140],72:141,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,88:134,90:132,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{13:wt,34:W,66:kt,72:142,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,88:134,90:132,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{13:wt,34:W,66:kt,72:143,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,88:134,90:132,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{34:h,36:144,66:m,76:y,77:_,80:b,81:x,82:w,84:k,85:S,89:31,91:C,92:A,93:T,94:E,95:M,96:I},{10:Y,12:H,13:U,26:G,27:145,30:q,34:W,47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,27:147,30:q,34:W,37:[1,146],47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,27:148,30:q,34:W,47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,27:149,30:q,34:W,47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,27:150,30:q,34:W,47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,27:151,30:q,34:W,45:[1,152],47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,27:153,30:q,34:W,47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,27:154,30:q,34:W,47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,27:155,30:q,34:W,47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},t(B,[2,125]),t(i,[2,19]),t(V,[2,24]),t(N,[2,38],{17:156,10:D}),t(j,[2,59],{10:[1,157]}),{10:[1,158]},{10:Y,12:H,13:U,26:G,27:159,30:q,34:W,47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,30:q,34:W,47:Z,55:$,56:[1,160],58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},t(Ct,[2,66]),t(Ct,[2,68]),t(Ct,[2,114]),t(Ct,[2,115]),t(Ct,[2,116]),t(Ct,[2,117]),t(Ct,[2,118]),t(Ct,[2,119]),t(Ct,[2,120]),t(Ct,[2,121]),t(Ct,[2,122]),t(Ct,[2,123]),t(Ct,[2,132]),t(Ct,[2,133]),t(Ct,[2,134]),t(Ct,[2,135]),t(Ct,[2,136]),t(Ct,[2,137]),t(Ct,[2,138]),t(Ct,[2,139]),t(Ct,[2,140]),t(Ct,[2,141]),t(Ct,[2,142]),t(Ct,[2,143]),t(Ct,[2,144]),t(Ct,[2,69]),t(Ct,[2,70]),t(Ct,[2,71]),t(Ct,[2,72]),t(Ct,[2,73]),t(Ct,[2,74]),t(Ct,[2,75]),t(Ct,[2,76]),t(Ct,[2,77]),t(Ct,[2,78]),t(Ct,[2,79]),{8:P,9:L,10:Y,11:R,12:H,13:U,20:163,26:G,28:[1,162],30:q,34:W,47:Z,55:$,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{6:10,7:11,8:o,9:s,10:l,11:u,19:16,21:17,22:18,23:19,24:20,25:21,26:c,30:[1,164],32:23,33:29,34:h,36:30,61:f,62:d,63:p,64:g,65:v,66:m,76:y,77:_,80:b,81:x,82:w,84:k,85:S,89:31,91:C,92:A,93:T,94:E,95:M,96:I},{10:D,17:165},{10:[1,166],13:wt,34:W,66:kt,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,88:134,90:167,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:[1,168]},t(At,[2,126]),t(At,[2,128]),t(At,[2,129]),t(At,[2,130]),t(At,[2,131]),{10:[1,169]},{10:[1,170],77:[1,171]},t(Tt,[2,97]),{10:[1,172]},{10:[1,173],13:wt,34:W,66:kt,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,88:134,90:167,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:[1,174],13:wt,34:W,66:kt,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,88:134,90:167,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:[1,175],13:wt,34:W,66:kt,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,88:134,90:167,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},t(z,[2,44],{89:83,34:h,66:m,76:y,77:_,80:b,81:x,82:w,84:k,85:S,91:C,92:A,93:T,94:E,95:M,96:I}),{10:Y,12:H,13:U,26:G,29:[1,176],30:q,34:W,47:Z,55:$,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,27:177,30:q,34:W,47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,30:q,34:W,38:[1,178],47:Z,55:$,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,30:q,34:W,40:[1,179],47:Z,55:$,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,30:q,34:W,42:[1,180],47:Z,55:$,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,30:q,34:W,44:[1,181],47:Z,55:$,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,30:q,34:W,46:[1,182],47:Z,55:$,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,27:183,30:q,34:W,47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,29:[1,184],30:q,34:W,47:Z,55:$,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,30:q,34:W,47:Z,49:[1,185],51:[1,186],55:$,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{10:Y,12:H,13:U,26:G,30:q,34:W,47:Z,49:[1,188],51:[1,187],55:$,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},t(N,[2,39],{34:xt}),t(j,[2,61]),t(j,[2,60]),{10:Y,12:H,13:U,26:G,30:q,34:W,47:Z,55:$,57:[1,189],58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},t(j,[2,63]),t(Ct,[2,67]),{10:Y,12:H,13:U,26:G,27:190,30:q,34:W,47:Z,55:$,58:91,59:X,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},t(bt,a,{5:191}),t(O,[2,34]),{33:192,34:h,36:30,66:m,76:y,77:_,80:b,81:x,82:w,84:k,85:S,89:31,91:C,92:A,93:T,94:E,95:M,96:I},{10:Et,61:Mt,71:193,73:It,76:Dt,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},t(At,[2,127]),{10:Et,61:Mt,71:207,73:It,76:Dt,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},{10:Et,61:Mt,71:208,73:It,75:[1,209],76:Dt,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},{10:Et,61:Mt,71:210,73:It,75:[1,211],76:Dt,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},{76:[1,212]},{10:Et,61:Mt,71:213,73:It,76:Dt,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},{10:Et,61:Mt,71:214,73:It,76:Dt,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},{13:wt,34:W,66:kt,72:215,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,88:134,90:132,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{13:wt,34:W,59:[1,217],66:kt,72:216,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,88:134,90:132,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},t(F,[2,45]),{10:Y,12:H,13:U,26:G,30:q,34:W,38:[1,218],47:Z,55:$,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},t(F,[2,50]),t(F,[2,47]),t(F,[2,48]),t(F,[2,49]),t(F,[2,51]),{10:Y,12:H,13:U,26:G,30:q,34:W,46:[1,219],47:Z,55:$,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},t(F,[2,53]),t(F,[2,54]),t(F,[2,56]),t(F,[2,55]),t(F,[2,57]),t([10,34,66,76,77,80,81,82,84,85,91,92,93,94,95,96],[2,65]),{10:Y,12:H,13:U,26:G,29:[1,220],30:q,34:W,47:Z,55:$,58:161,60:102,61:K,62:Q,63:J,64:tt,65:et,66:nt,67:rt,69:93,70:it,76:at,77:ot,80:st,81:lt,82:ut,84:ct,85:ht,86:ft,87:dt,88:99,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{6:10,7:11,8:o,9:s,10:l,11:u,19:16,21:17,22:18,23:19,24:20,25:21,26:c,30:[1,221],32:23,33:29,34:h,36:30,61:f,62:d,63:p,64:g,65:v,66:m,76:y,77:_,80:b,81:x,82:w,84:k,85:S,89:31,91:C,92:A,93:T,94:E,95:M,96:I},t(z,[2,43]),t(Bt,[2,89],{77:Vt}),t(jt,[2,99],{79:223,10:Et,61:Mt,73:It,76:Dt,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft}),t(Yt,[2,101]),t(Yt,[2,103]),t(Yt,[2,104]),t(Yt,[2,105]),t(Yt,[2,106]),t(Yt,[2,107]),t(Yt,[2,108]),t(Yt,[2,109]),t(Yt,[2,110]),t(Yt,[2,111]),t(Yt,[2,112]),t(Yt,[2,113]),t(Bt,[2,90],{77:Vt}),t(Bt,[2,91],{77:Vt}),{10:[1,224]},t(Bt,[2,92],{77:Vt}),{10:[1,225]},t(Tt,[2,98]),t(Bt,[2,82],{77:Vt}),t(Bt,[2,83],{77:Vt}),t(Bt,[2,84],{88:134,90:167,13:wt,34:W,66:kt,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t}),t(Bt,[2,85],{88:134,90:167,10:[1,226],13:wt,34:W,66:kt,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t}),t(Bt,[2,87],{10:[1,227]}),{38:[1,228]},{46:[1,229]},{8:P,9:L,11:R,20:230},t(O,[2,33]),{10:Et,61:Mt,73:It,76:Dt,78:231,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},t(Yt,[2,102]),{13:wt,34:W,66:kt,72:232,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,88:134,90:132,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{13:wt,34:W,66:kt,72:233,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,88:134,90:132,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t},{59:[1,234]},{59:[1,235]},t(F,[2,46]),t(F,[2,52]),t(bt,a,{5:236}),t(jt,[2,100],{79:223,10:Et,61:Mt,73:It,76:Dt,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft}),t(Bt,[2,95],{88:134,90:167,10:[1,237],13:wt,34:W,66:kt,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t}),t(Bt,[2,96],{88:134,90:167,10:[1,238],13:wt,34:W,66:kt,76:at,77:ot,80:st,81:lt,82:St,84:ct,85:ht,91:pt,92:gt,93:vt,94:mt,95:yt,96:_t}),t(Bt,[2,86]),t(Bt,[2,88]),{6:10,7:11,8:o,9:s,10:l,11:u,19:16,21:17,22:18,23:19,24:20,25:21,26:c,30:[1,239],32:23,33:29,34:h,36:30,61:f,62:d,63:p,64:g,65:v,66:m,76:y,77:_,80:b,81:x,82:w,84:k,85:S,89:31,91:C,92:A,93:T,94:E,95:M,96:I},{10:Et,61:Mt,71:240,73:It,76:Dt,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},{10:Et,61:Mt,71:241,73:It,76:Dt,78:194,79:195,80:Ot,81:Pt,82:Lt,83:Rt,84:Nt,85:zt,86:Ft},t(O,[2,32]),t(Bt,[2,93],{77:Vt}),t(Bt,[2,94],{77:Vt})],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,u=0,c=0,h=2,f=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(g.yy[v]=this.yy[v]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var m=p.yylloc;a.push(m);var y=p.options&&p.options.ranges;function _(){var t;return"number"!=typeof(t=r.pop()||p.lex()||f)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var b,x,w,k,S,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?k=this.defaultActions[w]:(null==b&&(b=_()),k=o[w]&&o[w][b]),void 0===k||!k.length||!k[0]){var M="";for(C in T=[],o[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==f?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:m,expected:T})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+b);switch(k[0]){case 1:n.push(b),i.push(p.yytext),a.push(p.yylloc),n.push(k[1]),b=null,x?(b=x,x=null):(u=p.yyleng,s=p.yytext,l=p.yylineno,m=p.yylloc,c>0&&c--);break;case 2:if(E.$=i[i.length-(A=this.productions_[k[1]][1])],E._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},y&&(E._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(S=this.performAction.apply(E,[s,u,l,g.yy,k[1],i,a].concat(d))))return S;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[k[1]][0]),i.push(E.$),a.push(E._$),n.push(o[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function Ut(){this.yy={}}return Ht.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:break;case 1:this.begin("string");break;case 2:this.popState();break;case 3:return"STR";case 4:return 61;case 5:return 70;case 6:return 62;case 7:return 75;case 8:return 63;case 9:return 64;case 10:return 65;case 11:case 12:return t.lex.firstGraph()&&this.begin("dir"),12;case 13:return 26;case 14:return 30;case 15:case 16:case 17:case 18:case 19:case 20:case 21:case 22:case 23:case 24:return this.popState(),13;case 25:return 76;case 26:return 84;case 27:return 35;case 28:return 81;case 29:return 34;case 30:return 8;case 31:return 77;case 32:return 95;case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 58:case 59:case 60:return 56;case 61:case 62:case 63:case 64:case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:return 55;case 73:return 39;case 74:return 40;case 75:return 41;case 76:return 42;case 77:return 43;case 78:return 44;case 79:return 82;case 80:return 85;case 81:return 96;case 82:return 93;case 83:return 86;case 84:case 85:return 94;case 86:return 87;case 87:return 47;case 88:return 67;case 89:return"SEP";case 90:return 66;case 91:return 80;case 92:return 49;case 93:return 48;case 94:return 51;case 95:return 50;case 96:return 91;case 97:return 92;case 98:return 57;case 99:return 37;case 100:return 38;case 101:return 28;case 102:return 29;case 103:return 45;case 104:return 46;case 105:return 102;case 106:return 9;case 107:return 10;case 108:return 11}},rules:[/^(?:%%[^\n]*\n*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:click\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*--[x]\s*)/,/^(?:\s*-->\s*)/,/^(?:\s*<-->\s*)/,/^(?:\s*[x]--[x]\s*)/,/^(?:\s*[o]--[o]\s*)/,/^(?:\s*[o]\.-[o]\s*)/,/^(?:\s*<==>\s*)/,/^(?:\s*[o]==[o]\s*)/,/^(?:\s*[x]==[x]\s*)/,/^(?:\s*[x].-[x]\s*)/,/^(?:\s*[x]-\.-[x]\s*)/,/^(?:\s*<\.->\s*)/,/^(?:\s*<-\.->\s*)/,/^(?:\s*[o]-\.-[o]\s*)/,/^(?:\s*--[o]\s*)/,/^(?:\s*---\s*)/,/^(?:\s*-\.-[x]\s*)/,/^(?:\s*-\.->\s*)/,/^(?:\s*-\.-[o]\s*)/,/^(?:\s*-\.-\s*)/,/^(?:\s*.-[x]\s*)/,/^(?:\s*\.->\s*)/,/^(?:\s*\.-[o]\s*)/,/^(?:\s*\.-\s*)/,/^(?:\s*==[x]\s*)/,/^(?:\s*==>\s*)/,/^(?:\s*==[o]\s*)/,/^(?:\s*==[\=]\s*)/,/^(?:\s*<--\s*)/,/^(?:\s*[x]--\s*)/,/^(?:\s*[o]--\s*)/,/^(?:\s*<-\.\s*)/,/^(?:\s*[x]-\.\s*)/,/^(?:\s*[o]-\.\s*)/,/^(?:\s*<==\s*)/,/^(?:\s*[x]==\s*)/,/^(?:\s*[o]==\s*)/,/^(?:\s*--\s*)/,/^(?:\s*-\.\s*)/,/^(?:\s*==\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\()/,/^(?:\)\])/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r|\n|\r\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{vertex:{rules:[],inclusive:!1},dir:{rules:[15,16,17,18,19,20,21,22,23,24],inclusive:!1},string:{rules:[2,3],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,8,9,10,11,12,13,14,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,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108],inclusive:!0}}},Ut.prototype=Ht,Ht.Parser=Ut,new Ut}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e){t.exports=n("409L")},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,13],n=[1,16],r=[1,14],i=[1,15],a=[1,17],o=[1,18],s=[1,20],l=[1,21],u=[1,22],c=[6,8],h=[1,31],f=[1,32],d=[1,33],p=[1,34],g=[1,35],v=[1,36],m=[6,8,14,20,28,31,32,33,34,35,36],y=[6,8,12,14,20,24,28,31,32,33,34,35,36,52,53,54],_=[28,52,53,54],b=[28,35,36,52,53,54],x=[28,31,32,33,34,52,53,54],w=[6,8,14],k=[1,59],S={trace:function(){},yy:{},symbols_:{error:2,mermaidDoc:3,graphConfig:4,CLASS_DIAGRAM:5,NEWLINE:6,statements:7,EOF:8,statement:9,className:10,alphaNumToken:11,GENERICTYPE:12,relationStatement:13,LABEL:14,classStatement:15,methodStatement:16,annotationStatement:17,clickStatement:18,CLASS:19,STRUCT_START:20,members:21,STRUCT_STOP:22,ANNOTATION_START:23,ANNOTATION_END:24,MEMBER:25,SEPARATOR:26,relation:27,STR:28,relationType:29,lineType:30,AGGREGATION:31,EXTENSION:32,COMPOSITION:33,DEPENDENCY:34,LINE:35,DOTTED_LINE:36,CALLBACK:37,LINK:38,commentToken:39,textToken:40,graphCodeTokens:41,textNoTagsToken:42,TAGSTART:43,TAGEND:44,"==":45,"--":46,PCT:47,DEFAULT:48,SPACE:49,MINUS:50,keywords:51,UNICODE_TEXT:52,NUM:53,ALPHA:54,$accept:0,$end:1},terminals_:{2:"error",5:"CLASS_DIAGRAM",6:"NEWLINE",8:"EOF",12:"GENERICTYPE",14:"LABEL",19:"CLASS",20:"STRUCT_START",22:"STRUCT_STOP",23:"ANNOTATION_START",24:"ANNOTATION_END",25:"MEMBER",26:"SEPARATOR",28:"STR",31:"AGGREGATION",32:"EXTENSION",33:"COMPOSITION",34:"DEPENDENCY",35:"LINE",36:"DOTTED_LINE",37:"CALLBACK",38:"LINK",41:"graphCodeTokens",43:"TAGSTART",44:"TAGEND",45:"==",46:"--",47:"PCT",48:"DEFAULT",49:"SPACE",50:"MINUS",51:"keywords",52:"UNICODE_TEXT",53:"NUM",54:"ALPHA"},productions_:[0,[3,1],[4,4],[7,1],[7,2],[7,3],[10,2],[10,1],[10,3],[10,2],[9,1],[9,2],[9,1],[9,1],[9,1],[9,1],[15,2],[15,5],[17,4],[21,1],[21,2],[16,1],[16,2],[16,1],[16,1],[13,3],[13,4],[13,4],[13,5],[27,3],[27,2],[27,2],[27,1],[29,1],[29,1],[29,1],[29,1],[30,1],[30,1],[18,3],[18,4],[18,3],[18,4],[39,1],[39,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[42,1],[42,1],[42,1],[42,1],[11,1],[11,1],[11,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 6:this.$=a[s-1]+a[s];break;case 7:this.$=a[s];break;case 8:this.$=a[s-2]+"~"+a[s-1]+a[s];break;case 9:this.$=a[s-1]+"~"+a[s];break;case 10:r.addRelation(a[s]);break;case 11:a[s-1].title=r.cleanupLabel(a[s]),r.addRelation(a[s-1]);break;case 16:r.addClass(a[s]);break;case 17:r.addClass(a[s-3]),r.addMembers(a[s-3],a[s-1]);break;case 18:r.addAnnotation(a[s],a[s-2]);break;case 19:this.$=[a[s]];break;case 20:a[s].push(a[s-1]),this.$=a[s];break;case 21:break;case 22:r.addMember(a[s-1],r.cleanupLabel(a[s]));break;case 23:case 24:break;case 25:this.$={id1:a[s-2],id2:a[s],relation:a[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 26:this.$={id1:a[s-3],id2:a[s],relation:a[s-1],relationTitle1:a[s-2],relationTitle2:"none"};break;case 27:this.$={id1:a[s-3],id2:a[s],relation:a[s-2],relationTitle1:"none",relationTitle2:a[s-1]};break;case 28:this.$={id1:a[s-4],id2:a[s],relation:a[s-2],relationTitle1:a[s-3],relationTitle2:a[s-1]};break;case 29:this.$={type1:a[s-2],type2:a[s],lineType:a[s-1]};break;case 30:this.$={type1:"none",type2:a[s],lineType:a[s-1]};break;case 31:this.$={type1:a[s-1],type2:"none",lineType:a[s]};break;case 32:this.$={type1:"none",type2:"none",lineType:a[s]};break;case 33:this.$=r.relationType.AGGREGATION;break;case 34:this.$=r.relationType.EXTENSION;break;case 35:this.$=r.relationType.COMPOSITION;break;case 36:this.$=r.relationType.DEPENDENCY;break;case 37:this.$=r.lineType.LINE;break;case 38:this.$=r.lineType.DOTTED_LINE;break;case 39:this.$=a[s-2],r.setClickEvent(a[s-1],a[s],void 0);break;case 40:this.$=a[s-3],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 41:this.$=a[s-2],r.setLink(a[s-1],a[s],void 0);break;case 42:this.$=a[s-3],r.setLink(a[s-2],a[s-1],a[s])}},table:[{3:1,4:2,5:[1,3]},{1:[3]},{1:[2,1]},{6:[1,4]},{7:5,9:6,10:12,11:19,13:7,15:8,16:9,17:10,18:11,19:e,23:n,25:r,26:i,37:a,38:o,52:s,53:l,54:u},{8:[1,23]},{6:[1,24],8:[2,3]},t(c,[2,10],{14:[1,25]}),t(c,[2,12]),t(c,[2,13]),t(c,[2,14]),t(c,[2,15]),t(c,[2,21],{27:26,29:29,30:30,14:[1,28],28:[1,27],31:h,32:f,33:d,34:p,35:g,36:v}),{10:37,11:19,52:s,53:l,54:u},t(c,[2,23]),t(c,[2,24]),{11:38,52:s,53:l,54:u},{10:39,11:19,52:s,53:l,54:u},{10:40,11:19,52:s,53:l,54:u},t(m,[2,7],{11:19,10:41,12:[1,42],52:s,53:l,54:u}),t(y,[2,56]),t(y,[2,57]),t(y,[2,58]),{1:[2,2]},{7:43,8:[2,4],9:6,10:12,11:19,13:7,15:8,16:9,17:10,18:11,19:e,23:n,25:r,26:i,37:a,38:o,52:s,53:l,54:u},t(c,[2,11]),{10:44,11:19,28:[1,45],52:s,53:l,54:u},{27:46,29:29,30:30,31:h,32:f,33:d,34:p,35:g,36:v},t(c,[2,22]),{30:47,35:g,36:v},t(_,[2,32],{29:48,31:h,32:f,33:d,34:p}),t(b,[2,33]),t(b,[2,34]),t(b,[2,35]),t(b,[2,36]),t(x,[2,37]),t(x,[2,38]),t(c,[2,16],{20:[1,49]}),{24:[1,50]},{28:[1,51]},{28:[1,52]},t(m,[2,6]),t(m,[2,9],{11:19,10:53,52:s,53:l,54:u}),{8:[2,5]},t(w,[2,25]),{10:54,11:19,52:s,53:l,54:u},{10:55,11:19,28:[1,56],52:s,53:l,54:u},t(_,[2,31],{29:57,31:h,32:f,33:d,34:p}),t(_,[2,30]),{21:58,25:k},{10:60,11:19,52:s,53:l,54:u},t(c,[2,39],{28:[1,61]}),t(c,[2,41],{28:[1,62]}),t(m,[2,8]),t(w,[2,27]),t(w,[2,26]),{10:63,11:19,52:s,53:l,54:u},t(_,[2,29]),{22:[1,64]},{21:65,22:[2,19],25:k},t(c,[2,18]),t(c,[2,40]),t(c,[2,42]),t(w,[2,28]),t(c,[2,17]),{22:[2,20]}],defaultActions:{2:[2,1],23:[2,2],43:[2,5],65:[2,20]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,u=0,c=0,h=2,f=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(g.yy[v]=this.yy[v]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var m=p.yylloc;a.push(m);var y=p.options&&p.options.ranges;function _(){var t;return"number"!=typeof(t=r.pop()||p.lex()||f)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var b,x,w,k,S,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?k=this.defaultActions[w]:(null==b&&(b=_()),k=o[w]&&o[w][b]),void 0===k||!k.length||!k[0]){var M="";for(C in T=[],o[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==f?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:m,expected:T})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+b);switch(k[0]){case 1:n.push(b),i.push(p.yytext),a.push(p.yylloc),n.push(k[1]),b=null,x?(b=x,x=null):(u=p.yyleng,s=p.yytext,l=p.yylineno,m=p.yylloc,c>0&&c--);break;case 2:if(E.$=i[i.length-(A=this.productions_[k[1]][1])],E._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},y&&(E._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(S=this.performAction.apply(E,[s,u,l,g.yy,k[1],i,a].concat(d))))return S;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[k[1]][0]),i.push(E.$),a.push(E._$),n.push(o[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function C(){this.yy={}}return S.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,r){switch(n){case 0:break;case 1:return 6;case 2:break;case 3:return 5;case 4:return this.begin("struct"),20;case 5:return"EOF_IN_STRUCT";case 6:return"OPEN_IN_STRUCT";case 7:return this.popState(),22;case 8:break;case 9:return"MEMBER";case 10:return 19;case 11:return 37;case 12:return 38;case 13:return 23;case 14:return 24;case 15:this.begin("generic");break;case 16:this.popState();break;case 17:return"GENERICTYPE";case 18:this.begin("string");break;case 19:this.popState();break;case 20:return"STR";case 21:case 22:return 32;case 23:case 24:return 34;case 25:return 33;case 26:return 31;case 27:return 35;case 28:return 36;case 29:return 14;case 30:return 50;case 31:return"DOT";case 32:return"PLUS";case 33:return 47;case 34:case 35:return"EQUALS";case 36:return 54;case 37:return"PUNCTUATION";case 38:return 53;case 39:return 52;case 40:return 49;case 41:return 8}},rules:[/^(?:%%[^\n]*\n*)/,/^(?:\n+)/,/^(?:\s+)/,/^(?:classDiagram\b)/,/^(?:[\{])/,/^(?:$)/,/^(?:[\{])/,/^(?:\})/,/^(?:[\n])/,/^(?:[^\{\}\n]*)/,/^(?:class\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:--)/,/^(?:\.\.)/,/^(?::[^\n;]+)/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{string:{rules:[19,20],inclusive:!1},generic:{rules:[16,17],inclusive:!1},struct:{rules:[5,6,7,8,9],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,10,11,12,13,14,15,18,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],inclusive:!0}}},C.prototype=S,S.Parser=C,new C}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[1,2],n=[1,3],r=[1,4],i=[2,4],a=[1,9],o=[1,11],s=[1,13],l=[1,14],u=[1,15],c=[1,16],h=[1,21],f=[1,17],d=[1,18],p=[1,19],g=[1,20],v=[1,22],m=[1,4,5,13,14,16,18,19,21,22,23,24,25,28],y=[1,4,5,11,12,13,14,16,18,19,21,22,23,24,25,28],_=[4,5,13,14,16,18,19,21,22,23,24,25,28],b={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,idStatement:10,DESCR:11,"--\x3e":12,HIDE_EMPTY:13,scale:14,WIDTH:15,COMPOSIT_STATE:16,STRUCT_START:17,STRUCT_STOP:18,STATE_DESCR:19,AS:20,ID:21,FORK:22,JOIN:23,CONCURRENT:24,note:25,notePosition:26,NOTE_TEXT:27,EDGE_STATE:28,left_of:29,right_of:30,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",11:"DESCR",12:"--\x3e",13:"HIDE_EMPTY",14:"scale",15:"WIDTH",16:"COMPOSIT_STATE",17:"STRUCT_START",18:"STRUCT_STOP",19:"STATE_DESCR",20:"AS",21:"ID",22:"FORK",23:"JOIN",24:"CONCURRENT",25:"note",27:"NOTE_TEXT",28:"EDGE_STATE",29:"left_of",30:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,4],[9,4],[10,1],[10,1],[26,1],[26,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 3:return r.setRootDoc(a[s]),a[s];case 4:this.$=[];break;case 5:"nl"!=a[s]&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 6:case 7:this.$=a[s];break;case 8:this.$="nl";break;case 9:this.$={stmt:"state",id:a[s],type:"default",description:""};break;case 10:this.$={stmt:"state",id:a[s-1],type:"default",description:a[s].trim()};break;case 11:this.$={stmt:"relation",state1:{stmt:"state",id:a[s-2],type:"default",description:""},state2:{stmt:"state",id:a[s],type:"default",description:""}};break;case 12:this.$={stmt:"relation",state1:{stmt:"state",id:a[s-3],type:"default",description:""},state2:{stmt:"state",id:a[s-1],type:"default",description:""},description:a[s].substr(1).trim()};break;case 16:this.$={stmt:"state",id:a[s-3],type:"default",description:"",doc:a[s-1]};break;case 17:var l=a[s],u=a[s-2].trim();if(a[s].match(":")){var c=a[s].split(":");l=c[0],u=[u,c[1]]}this.$={stmt:"state",id:l,type:"default",description:u};break;case 18:this.$={stmt:"state",id:a[s-3],type:"default",description:a[s-5],doc:a[s-1]};break;case 19:this.$={stmt:"state",id:a[s],type:"fork"};break;case 20:this.$={stmt:"state",id:a[s],type:"join"};break;case 21:this.$={stmt:"state",id:r.getDividerId(),type:"divider"};break;case 22:this.$={stmt:"state",id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 24:case 25:this.$=a[s]}},table:[{3:1,4:e,5:n,6:r},{1:[3]},{3:5,4:e,5:n,6:r},{3:6,4:e,5:n,6:r},t([1,4,5,13,14,16,19,21,22,23,24,25,28],i,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:o,8:8,9:10,10:12,13:s,14:l,16:u,19:c,21:h,22:f,23:d,24:p,25:g,28:v},t(m,[2,5]),{9:23,10:12,13:s,14:l,16:u,19:c,21:h,22:f,23:d,24:p,25:g,28:v},t(m,[2,7]),t(m,[2,8]),t(m,[2,9],{11:[1,24],12:[1,25]}),t(m,[2,13]),{15:[1,26]},t(m,[2,15],{17:[1,27]}),{20:[1,28]},t(m,[2,19]),t(m,[2,20]),t(m,[2,21]),{26:29,27:[1,30],29:[1,31],30:[1,32]},t(y,[2,24]),t(y,[2,25]),t(m,[2,6]),t(m,[2,10]),{10:33,21:h,28:v},t(m,[2,14]),t(_,i,{7:34}),{21:[1,35]},{21:[1,36]},{20:[1,37]},{21:[2,26]},{21:[2,27]},t(m,[2,11],{11:[1,38]}),{4:a,5:o,8:8,9:10,10:12,13:s,14:l,16:u,18:[1,39],19:c,21:h,22:f,23:d,24:p,25:g,28:v},t(m,[2,17],{17:[1,40]}),{27:[1,41]},{21:[1,42]},t(m,[2,12]),t(m,[2,16]),t(_,i,{7:43}),t(m,[2,22]),t(m,[2,23]),{4:a,5:o,8:8,9:10,10:12,13:s,14:l,16:u,18:[1,44],19:c,21:h,22:f,23:d,24:p,25:g,28:v},t(m,[2,18])],defaultActions:{5:[2,1],6:[2,2],31:[2,26],32:[2,27]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,u=0,c=0,h=2,f=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(g.yy[v]=this.yy[v]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var m=p.yylloc;a.push(m);var y=p.options&&p.options.ranges;function _(){var t;return"number"!=typeof(t=r.pop()||p.lex()||f)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var b,x,w,k,S,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?k=this.defaultActions[w]:(null==b&&(b=_()),k=o[w]&&o[w][b]),void 0===k||!k.length||!k[0]){var M="";for(C in T=[],o[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==f?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:m,expected:T})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+b);switch(k[0]){case 1:n.push(b),i.push(p.yytext),a.push(p.yylloc),n.push(k[1]),b=null,x?(b=x,x=null):(u=p.yyleng,s=p.yytext,l=p.yylineno,m=p.yylloc,c>0&&c--);break;case 2:if(E.$=i[i.length-(A=this.productions_[k[1]][1])],E._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},y&&(E._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(S=this.performAction.apply(E,[s,u,l,g.yy,k[1],i,a].concat(d))))return S;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[k[1]][0]),i.push(E.$),a.push(E._$),n.push(o[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function x(){this.yy={}}return b.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 5;case 1:case 2:case 3:case 4:break;case 5:return this.pushState("SCALE"),14;case 6:return 15;case 7:this.popState();break;case 8:this.pushState("STATE");break;case 9:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),22;case 10:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),23;case 11:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),22;case 12:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),23;case 13:this.begin("STATE_STRING");break;case 14:return this.popState(),this.pushState("STATE_ID"),"AS";case 15:return this.popState(),"ID";case 16:this.popState();break;case 17:return"STATE_DESCR";case 18:return 16;case 19:this.popState();break;case 20:return this.popState(),this.pushState("struct"),17;case 21:return this.popState(),18;case 22:break;case 23:return this.begin("NOTE"),25;case 24:return this.popState(),this.pushState("NOTE_ID"),29;case 25:return this.popState(),this.pushState("NOTE_ID"),30;case 26:this.popState(),this.pushState("FLOATING_NOTE");break;case 27:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 28:break;case 29:return"NOTE_TEXT";case 30:return this.popState(),"ID";case 31:return this.popState(),this.pushState("NOTE_TEXT"),21;case 32:return this.popState(),e.yytext=e.yytext.substr(2).trim(),27;case 33:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),27;case 34:return 6;case 35:return 13;case 36:return 28;case 37:return 21;case 38:return e.yytext=e.yytext.trim(),11;case 39:return 12;case 40:return 24;case 41:return 5;case 42:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:\s*[^:;]+end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[2,3],inclusive:!1},struct:{rules:[2,3,8,21,22,23,36,37,38,39,40],inclusive:!1},FLOATING_NOTE_ID:{rules:[30],inclusive:!1},FLOATING_NOTE:{rules:[27,28,29],inclusive:!1},NOTE_TEXT:{rules:[32,33],inclusive:!1},NOTE_ID:{rules:[31],inclusive:!1},NOTE:{rules:[24,25,26],inclusive:!1},SCALE:{rules:[6,7],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[15],inclusive:!1},STATE_STRING:{rules:[16,17],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[2,3,9,10,11,12,13,14,18,19,20],inclusive:!1},ID:{rules:[2,3],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,8,20,23,34,35,36,37,38,39,41,42],inclusive:!0}}},x.prototype=b,b.Parser=x,new x}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e){t.exports=n("LvDl")},function(t){t.exports=JSON.parse('{"name":"mermaid","version":"8.5.0","description":"Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.","main":"dist/mermaid.core.js","keywords":["diagram","markdown","flowchart","sequence diagram","gantt","class diagram","git graph"],"scripts":{"build":"webpack --progress --colors -p","postbuild":"documentation build src/mermaidAPI.js --shallow -f md --markdown-toc false -o docs/mermaidAPI.md","build:watch":"yarn build --watch","minify":"minify ./dist/mermaid.js > ./dist/mermaid.min.js","release":"yarn build -p --config webpack.config.prod.babel.js","lint":"eslint src","e2e:depr":"yarn lint && jest e2e --config e2e/jest.config.js","cypress":"percy exec -- cypress run","e2e":"start-server-and-test dev http://localhost:9000/ cypress","e2e-upd":"yarn lint && jest e2e -u --config e2e/jest.config.js","dev":"webpack-dev-server --config webpack.config.e2e.js","test":"yarn lint && jest src/.*","test:watch":"jest --watch src","prepublishOnly":"yarn build && yarn release && yarn test && yarn e2e","prepush":"yarn test"},"repository":{"type":"git","url":"https://github.com/knsv/mermaid"},"author":"Knut Sveidqvist","license":"MIT","standard":{"ignore":["**/parser/*.js","dist/**/*.js","cypress/**/*.js"],"globals":["page"]},"dependencies":{"@braintree/sanitize-url":"^3.1.0","crypto-random-string":"^3.0.1","d3":"^5.7.0","dagre":"^0.8.4","dagre-d3":"^0.6.4","graphlib":"^2.1.7","he":"^1.2.0","lodash":"^4.17.11","minify":"^4.1.1","moment-mini":"^2.22.1","scope-css":"^1.2.1"},"devDependencies":{"@babel/core":"^7.2.2","@babel/preset-env":"^7.8.4","@babel/register":"^7.0.0","@percy/cypress":"*","babel-core":"7.0.0-bridge.0","babel-jest":"^24.9.0","babel-loader":"^8.0.4","coveralls":"^3.0.2","css-loader":"^2.0.1","css-to-string-loader":"^0.1.3","cypress":"4.0.1","documentation":"^12.0.1","eslint":"^6.3.0","eslint-config-prettier":"^6.3.0","eslint-plugin-prettier":"^3.1.0","husky":"^1.2.1","identity-obj-proxy":"^3.0.0","jest":"^24.9.0","jison":"^0.4.18","moment":"^2.23.0","node-sass":"^4.12.0","prettier":"^1.18.2","puppeteer":"^1.17.0","sass-loader":"^7.1.0","start-server-and-test":"^1.10.6","terser-webpack-plugin":"^2.2.2","webpack":"^4.41.2","webpack-cli":"^3.1.2","webpack-dev-server":"^3.4.1","webpack-node-externals":"^1.7.2","yarn-upgrade-all":"^0.5.0"},"files":["dist"],"yarn-upgrade-all":{"ignore":["babel-core"]}}')},function(t,e,n){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */",a=r.sources.map((function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"}));return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;ih&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==f?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:m,expected:T})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+b);switch(k[0]){case 1:n.push(b),i.push(p.yytext),a.push(p.yylloc),n.push(k[1]),b=null,x?(b=x,x=null):(u=p.yyleng,s=p.yytext,l=p.yylineno,m=p.yylloc,c>0&&c--);break;case 2:if(E.$=i[i.length-(A=this.productions_[k[1]][1])],E._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},y&&(E._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(S=this.performAction.apply(E,[s,u,l,g.yy,k[1],i,a].concat(d))))return S;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[k[1]][0]),i.push(E.$),a.push(E._$),n.push(o[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function l(){this.yy={}}return s.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 12;case 1:case 2:case 3:break;case 4:return 4;case 5:return 15;case 6:return 17;case 7:return 20;case 8:return 21;case 9:return 19;case 10:case 11:return 8;case 12:return 5;case 13:return 26;case 14:this.begin("options");break;case 15:this.popState();break;case 16:return 11;case 17:this.begin("string");break;case 18:this.popState();break;case 19:return 23;case 20:return 18;case 21:return 7}},rules:[/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit\b)/i,/^(?:branch\b)/i,/^(?:merge\b)/i,/^(?:reset\b)/i,/^(?:checkout\b)/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:end\r?\n)/i,/^(?:[^\n]+\r?\n)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[a-zA-Z][a-zA-Z0-9_]+)/i,/^(?:$)/i],conditions:{options:{rules:[15,16],inclusive:!1},string:{rules:[18,19],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,17,20,21],inclusive:!0}}},l.prototype=s,s.Parser=l,new l}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,r,i,a,o){switch(i){case 1:return r;case 4:break;case 6:r.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,u=0,c=0,h=2,f=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(g.yy[v]=this.yy[v]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var m=p.yylloc;a.push(m);var y=p.options&&p.options.ranges;function _(){var t;return"number"!=typeof(t=r.pop()||p.lex()||f)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var b,x,w,k,S,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?k=this.defaultActions[w]:(null==b&&(b=_()),k=o[w]&&o[w][b]),void 0===k||!k.length||!k[0]){var M="";for(C in T=[],o[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==f?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:m,expected:T})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+b);switch(k[0]){case 1:n.push(b),i.push(p.yytext),a.push(p.yylloc),n.push(k[1]),b=null,x?(b=x,x=null):(u=p.yyleng,s=p.yytext,l=p.yylineno,m=p.yylloc,c>0&&c--);break;case 2:if(E.$=i[i.length-(A=this.productions_[k[1]][1])],E._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},y&&(E._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(S=this.performAction.apply(E,[s,u,l,g.yy,k[1],i,a].concat(d))))return S;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[k[1]][0]),i.push(E.$),a.push(E._$),n.push(o[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}},r={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function i(){this.yy={}}return n.lexer=r,i.prototype=n,n.Parser=i,new i}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,9,10,12],n={trace:function(){},yy:{},symbols_:{error:2,start:3,pie:4,document:5,EOF:6,line:7,statement:8,NL:9,STR:10,VALUE:11,title:12,$accept:0,$end:1},terminals_:{2:"error",4:"pie",6:"EOF",9:"NL",10:"STR",11:"VALUE",12:"title"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,2],[8,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 4:break;case 6:r.addSection(a[s-1],r.cleanupValue(a[s]));break;case 7:r.setTitle(a[s].substr(6)),this.$=a[s].substr(6)}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8],12:[1,9]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),{11:[1,10]},t(e,[2,7]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,u=0,c=0,h=2,f=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(g.yy[v]=this.yy[v]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var m=p.yylloc;a.push(m);var y=p.options&&p.options.ranges;function _(){var t;return"number"!=typeof(t=r.pop()||p.lex()||f)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var b,x,w,k,S,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?k=this.defaultActions[w]:(null==b&&(b=_()),k=o[w]&&o[w][b]),void 0===k||!k.length||!k[0]){var M="";for(C in T=[],o[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==f?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:m,expected:T})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+b);switch(k[0]){case 1:n.push(b),i.push(p.yytext),a.push(p.yylloc),n.push(k[1]),b=null,x?(b=x,x=null):(u=p.yyleng,s=p.yytext,l=p.yylineno,m=p.yylloc,c>0&&c--);break;case 2:if(E.$=i[i.length-(A=this.productions_[k[1]][1])],E._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},y&&(E._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(S=this.performAction.apply(E,[s,u,l,g.yy,k[1],i,a].concat(d))))return S;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[k[1]][0]),i.push(E.$),a.push(E._$),n.push(o[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}},r={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:case 1:break;case 2:return 4;case 3:return 9;case 4:return"space";case 5:return 12;case 6:this.begin("string");break;case 7:this.popState();break;case 8:return"STR";case 9:return"VALUE";case 10:return 6}},rules:[/^(?:%%[^\n]*)/i,/^(?:\s+)/i,/^(?:pie\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:title\s[^#\n;]+)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{string:{rules:[7,8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,9,10],inclusive:!0}}};function i(){this.yy={}}return n.lexer=r,i.prototype=n,n.Parser=i,new i}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e,n){(function(t,r){var i=function(){var t=function(t,e,n,r){for(n=n||{},r=t.length;r--;n[t[r]]=e);return n},e=[6,12],n=[1,7],r=[1,10],i=[1,11],a=[1,12],o=[1,13],s=[12,19,20],l=[15,16,17,18],u={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,statement:7,entityName:8,relSpec:9,":":10,role:11,ALPHANUM:12,cardinality:13,relType:14,ZERO_OR_ONE:15,ZERO_OR_MORE:16,ONE_OR_MORE:17,ONLY_ONE:18,NON_IDENTIFYING:19,IDENTIFYING:20,STR:21,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",10:":",12:"ALPHANUM",15:"ZERO_OR_ONE",16:"ZERO_OR_MORE",17:"ONE_OR_MORE",18:"ONLY_ONE",19:"NON_IDENTIFYING",20:"IDENTIFYING",21:"STR"},productions_:[0,[3,3],[5,0],[5,2],[7,5],[8,1],[9,3],[13,1],[13,1],[13,1],[13,1],[14,1],[14,1],[11,1],[11,1]],performAction:function(t,e,n,r,i,a,o){var s=a.length-1;switch(i){case 1:break;case 4:r.addEntity(a[s-4]),r.addEntity(a[s-2]),r.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 5:this.$=a[s];break;case 6:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 7:this.$=r.Cardinality.ZERO_OR_ONE;break;case 8:this.$=r.Cardinality.ZERO_OR_MORE;break;case 9:this.$=r.Cardinality.ONE_OR_MORE;break;case 10:this.$=r.Cardinality.ONLY_ONE;break;case 11:this.$=r.Identification.NON_IDENTIFYING;break;case 12:this.$=r.Identification.IDENTIFYING;break;case 13:case 14:this.$=a[s]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,12:n},{1:[2,1]},t(e,[2,3]),{9:8,13:9,15:r,16:i,17:a,18:o},t([10,15,16,17,18],[2,5]),{8:14,12:n},{14:15,19:[1,16],20:[1,17]},t(s,[2,7]),t(s,[2,8]),t(s,[2,9]),t(s,[2,10]),{10:[1,18]},{13:19,15:r,16:i,17:a,18:o},t(l,[2,11]),t(l,[2,12]),{11:20,12:[1,22],21:[1,21]},{12:[2,6]},t(e,[2,4]),t(e,[2,13]),t(e,[2,14])],defaultActions:{4:[2,1],19:[2,6]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=this,n=[0],r=[],i=[null],a=[],o=this.table,s="",l=0,u=0,c=0,h=2,f=1,d=a.slice.call(arguments,1),p=Object.create(this.lexer),g={yy:{}};for(var v in this.yy)Object.prototype.hasOwnProperty.call(this.yy,v)&&(g.yy[v]=this.yy[v]);p.setInput(t,g.yy),g.yy.lexer=p,g.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var m=p.yylloc;a.push(m);var y=p.options&&p.options.ranges;function _(){var t;return"number"!=typeof(t=r.pop()||p.lex()||f)&&(t instanceof Array&&(t=(r=t).pop()),t=e.symbols_[t]||t),t}this.parseError="function"==typeof g.yy.parseError?g.yy.parseError:Object.getPrototypeOf(this).parseError;for(var b,x,w,k,S,C,A,T,E={};;){if(this.defaultActions[w=n[n.length-1]]?k=this.defaultActions[w]:(null==b&&(b=_()),k=o[w]&&o[w][b]),void 0===k||!k.length||!k[0]){var M="";for(C in T=[],o[w])this.terminals_[C]&&C>h&&T.push("'"+this.terminals_[C]+"'");M=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[b]||b)+"'":"Parse error on line "+(l+1)+": Unexpected "+(b==f?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(M,{text:p.match,token:this.terminals_[b]||b,line:p.yylineno,loc:m,expected:T})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+b);switch(k[0]){case 1:n.push(b),i.push(p.yytext),a.push(p.yylloc),n.push(k[1]),b=null,x?(b=x,x=null):(u=p.yyleng,s=p.yytext,l=p.yylineno,m=p.yylloc,c>0&&c--);break;case 2:if(E.$=i[i.length-(A=this.productions_[k[1]][1])],E._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},y&&(E._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(S=this.performAction.apply(E,[s,u,l,g.yy,k[1],i,a].concat(d))))return S;A&&(n=n.slice(0,-1*A*2),i=i.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[k[1]][0]),i.push(E.$),a.push(E._$),n.push(o[n[n.length-2]][n[n.length-1]]);break;case 3:return!0}}return!0}};function c(){this.yy={}}return u.lexer={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var i=this._currentRules(),a=0;ae[0].length)){if(e=n,r=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,i[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,i[r]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,r){switch(n){case 0:break;case 1:return"SPACE";case 2:this.begin("string");break;case 3:this.popState();break;case 4:return 21;case 5:return 4;case 6:return 15;case 7:return 16;case 8:return 17;case 9:return 18;case 10:return 15;case 11:return 16;case 12:return 17;case 13:return 19;case 14:return 20;case 15:case 16:return 19;case 17:return 12;case 18:return e.yytext[0];case 19:return 6}},rules:[/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:erDiagram\b)/i,/^(?:\|o\b)/i,/^(?:\}o\b)/i,/^(?:\}\|)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{string:{rules:[3,4],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],inclusive:!0}}},c.prototype=u,u.Parser=c,new c}();e.parser=i,e.Parser=i.Parser,e.parse=function(){return i.parse.apply(i,arguments)},e.main=function(r){r[1]||(console.log("Usage: "+r[0]+" FILE"),t.exit(1));var i=n(7).readFileSync(n(8).normalize(r[1]),"utf8");return e.parser.parse(i)},n.c[n.s]===r&&e.main(t.argv.slice(1))}).call(this,n(4),n(6)(t))},function(t,e){t.exports=n("ktc5")},function(t,e){t.exports=n("ZJr7")},function(t,e){t.exports=n("RVb6")},function(t,e,n){var r={"./dark/index.scss":27,"./default/index.scss":29,"./forest/index.scss":31,"./neutral/index.scss":33};function i(t){var e=a(t);return n(e)}function a(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=a,t.exports=i,i.id=26},function(t,e,n){var r=n(28);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(16)(!1)).push([t.i,".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#BDD5EA;stroke:purple;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#d3d3d3}.edgePath .path{stroke:#d3d3d3;stroke-width:1.5px}.edgeLabel{background-color:#e8e8e8;text-align:center}.cluster rect{fill:#6D6D65;stroke:rgba(255,255,255,0.25);stroke-width:1px}.cluster text{fill:#F9FFFE}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#6D6D65;border:1px solid rgba(255,255,255,0.25);border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#81B1DB;fill:#BDD5EA}text.actor{fill:#000;stroke:none}.actor-line{stroke:#d3d3d3}.messageLine0{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#d3d3d3}.messageLine1{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#d3d3d3}#arrowhead{fill:#d3d3d3}.sequenceNumber{fill:#fff}#sequencenumber{fill:#d3d3d3}#crosshead path{fill:#d3d3d3 !important;stroke:#d3d3d3 !important}.messageText{fill:#d3d3d3;stroke:none}.labelBox{stroke:#81B1DB;fill:#BDD5EA}.labelText{fill:#323D47;stroke:none}.loopText{fill:#d3d3d3;stroke:none}.loopLine{stroke-width:2;stroke-dasharray:'2 2';stroke:#81B1DB}.note{stroke:rgba(255,255,255,0.25);fill:#fff5ad}.noteText{fill:black;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:14px}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\"trebuchet ms\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:rgba(255,255,255,0.3)}.section2{fill:#EAE8B9}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#F9FFFE}.sectionTitle1{fill:#F9FFFE}.sectionTitle2{fill:#F9FFFE}.sectionTitle3{fill:#F9FFFE}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:#DB5757;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#323D47;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#323D47;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#323D47}.task0,.task1,.task2,.task3{fill:#BDD5EA;stroke:rgba(255,255,255,0.5)}.taskTextOutside0,.taskTextOutside2{fill:#d3d3d3}.taskTextOutside1,.taskTextOutside3{fill:#d3d3d3}.active0,.active1,.active2,.active3{fill:#81B1DB;stroke:rgba(255,255,255,0.5)}.activeText0,.activeText1,.activeText2,.activeText3{fill:#323D47 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#323D47 !important}.crit0,.crit1,.crit2,.crit3{stroke:#E83737;fill:#E83737;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#E83737;fill:#81B1DB;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#E83737;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#323D47 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#323D47 !important}.titleText{text-anchor:middle;font-size:18px;fill:#323D47;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:purple;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#BDD5EA;stroke:purple}g.classGroup line{stroke:purple;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#BDD5EA;opacity:0.5}.classLabel .label{fill:purple;font-size:10px}.relation{stroke:purple;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:purple;stroke:purple;stroke-width:1}#compositionEnd{fill:purple;stroke:purple;stroke-width:1}#aggregationStart{fill:#BDD5EA;stroke:purple;stroke-width:1}#aggregationEnd{fill:#BDD5EA;stroke:purple;stroke-width:1}#dependencyStart{fill:purple;stroke:purple;stroke-width:1}#dependencyEnd{fill:purple;stroke:purple;stroke-width:1}#extensionStart{fill:purple;stroke:purple;stroke-width:1}#extensionEnd{fill:purple;stroke:purple;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#323D47;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:purple;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:purple;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#BDD5EA;stroke:purple}g.stateGroup line{stroke:purple;stroke-width:1}.transition{stroke:purple;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:rgba(255,255,255,0.25);fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#BDD5EA;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}:root{--mermaid-font-family: '\"trebuchet ms\", verdana, arial';--mermaid-font-family: \"Comic Sans MS\", \"Comic Sans\", cursive}\n",""])},function(t,e,n){var r=n(30);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(16)(!1)).push([t.i,".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#ECECFF;stroke:#9370db;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#333}.edgePath .path{stroke:#333;stroke-width:1.5px}.edgeLabel{background-color:#e8e8e8;text-align:center}.cluster rect{fill:#ffffde;stroke:#aa3;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#ffffde;border:1px solid #aa3;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#ccf;fill:#ECECFF}text.actor{fill:#000;stroke:none}.actor-line{stroke:grey}.messageLine0{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}#arrowhead{fill:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333 !important;stroke:#333 !important}.messageText{fill:#333;stroke:none}.labelBox{stroke:#ccf;fill:#ECECFF}.labelText{fill:#000;stroke:none}.loopText{fill:#000;stroke:none}.loopLine{stroke-width:2;stroke-dasharray:'2 2';stroke:#ccf}.note{stroke:#aa3;fill:#fff5ad}.noteText{fill:black;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:14px}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\"trebuchet ms\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:rgba(102,102,255,0.49)}.section2{fill:#fff400}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:red;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#8a90dd;stroke:#534fbc}.taskTextOutside0,.taskTextOutside2{fill:#000}.taskTextOutside1,.taskTextOutside3{fill:#000}.active0,.active1,.active2,.active3{fill:#bfc7ff;stroke:#534fbc}.activeText0,.activeText1,.activeText2,.activeText3{fill:#000 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#000 !important}.crit0,.crit1,.crit2,.crit3{stroke:#f88;fill:red;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#f88;fill:#bfc7ff;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#000 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#000 !important}.titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#9370db;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#ECECFF;stroke:#9370db}g.classGroup line{stroke:#9370db;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}.classLabel .label{fill:#9370db;font-size:10px}.relation{stroke:#9370db;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#compositionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#aggregationStart{fill:#ECECFF;stroke:#9370db;stroke-width:1}#aggregationEnd{fill:#ECECFF;stroke:#9370db;stroke-width:1}#dependencyStart{fill:#9370db;stroke:#9370db;stroke-width:1}#dependencyEnd{fill:#9370db;stroke:#9370db;stroke-width:1}#extensionStart{fill:#9370db;stroke:#9370db;stroke-width:1}#extensionEnd{fill:#9370db;stroke:#9370db;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#9370db;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#9370db;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#ECECFF;stroke:#9370db}g.stateGroup line{stroke:#9370db;stroke-width:1}.transition{stroke:#9370db;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#aa3;fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#ECECFF;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}:root{--mermaid-font-family: '\"trebuchet ms\", verdana, arial';--mermaid-font-family: \"Comic Sans MS\", \"Comic Sans\", cursive}\n",""])},function(t,e,n){var r=n(32);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(16)(!1)).push([t.i,".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#cde498;stroke:#13540c;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:green}.edgePath .path{stroke:green;stroke-width:1.5px}.edgeLabel{background-color:#e8e8e8;text-align:center}.cluster rect{fill:#cdffb2;stroke:#6eaa49;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#cdffb2;border:1px solid #6eaa49;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#13540c;fill:#cde498}text.actor{fill:#000;stroke:none}.actor-line{stroke:grey}.messageLine0{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}#arrowhead{fill:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333 !important;stroke:#333 !important}.messageText{fill:#333;stroke:none}.labelBox{stroke:#326932;fill:#cde498}.labelText{fill:#000;stroke:none}.loopText{fill:#000;stroke:none}.loopLine{stroke-width:2;stroke-dasharray:'2 2';stroke:#326932}.note{stroke:#6eaa49;fill:#fff5ad}.noteText{fill:black;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:14px}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\"trebuchet ms\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:#6eaa49}.section2{fill:#6eaa49}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#d3d3d3;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:red;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#000;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#000;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#487e3a;stroke:#13540c}.taskTextOutside0,.taskTextOutside2{fill:#000}.taskTextOutside1,.taskTextOutside3{fill:#000}.active0,.active1,.active2,.active3{fill:#cde498;stroke:#13540c}.activeText0,.activeText1,.activeText2,.activeText3{fill:#000 !important}.done0,.done1,.done2,.done3{stroke:grey;fill:#d3d3d3;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#000 !important}.crit0,.crit1,.crit2,.crit3{stroke:#f88;fill:red;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#f88;fill:#cde498;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#f88;fill:#d3d3d3;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#000 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#000 !important}.titleText{text-anchor:middle;font-size:18px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#13540c;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#cde498;stroke:#13540c}g.classGroup line{stroke:#13540c;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#cde498;opacity:0.5}.classLabel .label{fill:#13540c;font-size:10px}.relation{stroke:#13540c;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#13540c;stroke:#13540c;stroke-width:1}#compositionEnd{fill:#13540c;stroke:#13540c;stroke-width:1}#aggregationStart{fill:#cde498;stroke:#13540c;stroke-width:1}#aggregationEnd{fill:#cde498;stroke:#13540c;stroke-width:1}#dependencyStart{fill:#13540c;stroke:#13540c;stroke-width:1}#dependencyEnd{fill:#13540c;stroke:#13540c;stroke-width:1}#extensionStart{fill:#13540c;stroke:#13540c;stroke-width:1}#extensionEnd{fill:#13540c;stroke:#13540c;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#000;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#13540c;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#13540c;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#cde498;stroke:#13540c}g.stateGroup line{stroke:#13540c;stroke-width:1}.transition{stroke:#13540c;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#6eaa49;fill:#fff5ad}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#cde498;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}:root{--mermaid-font-family: '\"trebuchet ms\", verdana, arial';--mermaid-font-family: \"Comic Sans MS\", \"Comic Sans\", cursive}\n",""])},function(t,e,n){var r=n(34);t.exports="string"==typeof r?r:r.toString()},function(t,e,n){(t.exports=n(16)(!1)).push([t.i,".label{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);color:#333}.label text{fill:#333}.node rect,.node circle,.node ellipse,.node polygon,.node path{fill:#eee;stroke:#999;stroke-width:1px}.node .label{text-align:center}.node.clickable{cursor:pointer}.arrowheadPath{fill:#333}.edgePath .path{stroke:#666;stroke-width:1.5px}.edgeLabel{background-color:#fff;text-align:center}.cluster rect{fill:#eaf2fb;stroke:#26a;stroke-width:1px}.cluster text{fill:#333}div.mermaidTooltip{position:absolute;text-align:center;max-width:200px;padding:2px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:12px;background:#eaf2fb;border:1px solid #26a;border-radius:2px;pointer-events:none;z-index:100}.actor{stroke:#999;fill:#eee}text.actor{fill:#333;stroke:none}.actor-line{stroke:#666}.messageLine0{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}.messageLine1{stroke-width:1.5;stroke-dasharray:'2 2';stroke:#333}#arrowhead{fill:#333}.sequenceNumber{fill:#fff}#sequencenumber{fill:#333}#crosshead path{fill:#333 !important;stroke:#333 !important}.messageText{fill:#333;stroke:none}.labelBox{stroke:#999;fill:#eee}.labelText{fill:#333;stroke:none}.loopText{fill:#333;stroke:none}.loopLine{stroke-width:2;stroke-dasharray:'2 2';stroke:#999}.note{stroke:#770;fill:#ffa}.noteText{fill:black;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:14px}.activation0{fill:#f4f4f4;stroke:#666}.activation1{fill:#f4f4f4;stroke:#666}.activation2{fill:#f4f4f4;stroke:#666}.mermaid-main-font{font-family:\"trebuchet ms\", verdana, arial;font-family:var(--mermaid-font-family)}.section{stroke:none;opacity:0.2}.section0{fill:#80b3e6}.section2{fill:#80b3e6}.section1,.section3{fill:#fff;opacity:0.2}.sectionTitle0{fill:#333}.sectionTitle1{fill:#333}.sectionTitle2{fill:#333}.sectionTitle3{fill:#333}.sectionTitle{text-anchor:start;font-size:11px;text-height:14px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid .tick{stroke:#e6e6e6;opacity:0.8;shape-rendering:crispEdges}.grid .tick text{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.grid path{stroke-width:0}.today{fill:none;stroke:#d42;stroke-width:2px}.task{stroke-width:2}.taskText{text-anchor:middle;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskText:not([font-size]){font-size:11px}.taskTextOutsideRight{fill:#333;text-anchor:start;font-size:11px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.taskTextOutsideLeft{fill:#333;text-anchor:end;font-size:11px}.task.clickable{cursor:pointer}.taskText.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideLeft.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskTextOutsideRight.clickable{cursor:pointer;fill:#003163 !important;font-weight:bold}.taskText0,.taskText1,.taskText2,.taskText3{fill:#fff}.task0,.task1,.task2,.task3{fill:#26a;stroke:#1a4d80}.taskTextOutside0,.taskTextOutside2{fill:#333}.taskTextOutside1,.taskTextOutside3{fill:#333}.active0,.active1,.active2,.active3{fill:#eee;stroke:#1a4d80}.activeText0,.activeText1,.activeText2,.activeText3{fill:#333 !important}.done0,.done1,.done2,.done3{stroke:#666;fill:#bbb;stroke-width:2}.doneText0,.doneText1,.doneText2,.doneText3{fill:#333 !important}.crit0,.crit1,.crit2,.crit3{stroke:#b1361b;fill:#d42;stroke-width:2}.activeCrit0,.activeCrit1,.activeCrit2,.activeCrit3{stroke:#b1361b;fill:#eee;stroke-width:2}.doneCrit0,.doneCrit1,.doneCrit2,.doneCrit3{stroke:#b1361b;fill:#bbb;stroke-width:2;cursor:pointer;shape-rendering:crispEdges}.milestone{transform:rotate(45deg) scale(0.8, 0.8)}.milestoneText{font-style:italic}.doneCritText0,.doneCritText1,.doneCritText2,.doneCritText3{fill:#333 !important}.activeCritText0,.activeCritText1,.activeCritText2,.activeCritText3{fill:#333 !important}.titleText{text-anchor:middle;font-size:18px;fill:#333;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.classGroup text{fill:#999;stroke:none;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family);font-size:10px}g.classGroup text .title{font-weight:bolder}g.clickable{cursor:pointer}g.classGroup rect{fill:#eee;stroke:#999}g.classGroup line{stroke:#999;stroke-width:1}.classLabel .box{stroke:none;stroke-width:0;fill:#eee;opacity:0.5}.classLabel .label{fill:#999;font-size:10px}.relation{stroke:#999;stroke-width:1;fill:none}.dashed-line{stroke-dasharray:3}#compositionStart{fill:#999;stroke:#999;stroke-width:1}#compositionEnd{fill:#999;stroke:#999;stroke-width:1}#aggregationStart{fill:#eee;stroke:#999;stroke-width:1}#aggregationEnd{fill:#eee;stroke:#999;stroke-width:1}#dependencyStart{fill:#999;stroke:#999;stroke-width:1}#dependencyEnd{fill:#999;stroke:#999;stroke-width:1}#extensionStart{fill:#999;stroke:#999;stroke-width:1}#extensionEnd{fill:#999;stroke:#999;stroke-width:1}.commit-id,.commit-msg,.branch-label{fill:lightgrey;color:lightgrey;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.pieTitleText{text-anchor:middle;font-size:25px;fill:#333;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}.slice{font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#999;stroke:none;font-size:10px;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}g.stateGroup text{fill:#999;stroke:none;font-size:10px}g.stateGroup .state-title{font-weight:bolder;fill:#000}g.stateGroup rect{fill:#eee;stroke:#999}g.stateGroup line{stroke:#999;stroke-width:1}.transition{stroke:#999;stroke-width:1;fill:none}.stateGroup .composit{fill:white;border-bottom:1px}.stateGroup .alt-composit{fill:#e0e0e0;border-bottom:1px}.state-note{stroke:#770;fill:#ffa}.state-note text{fill:black;stroke:none;font-size:10px}.stateLabel .box{stroke:none;stroke-width:0;fill:#eee;opacity:0.5}.stateLabel text{fill:#000;font-size:10px;font-weight:bold;font-family:'trebuchet ms', verdana, arial;font-family:var(--mermaid-font-family)}:root{--mermaid-font-family: '\"trebuchet ms\", verdana, arial';--mermaid-font-family: \"Comic Sans MS\", \"Comic Sans\", cursive}\n",""])},function(t,e,n){"use strict";n.r(e);var r=n(23),i=n.n(r),a=n(0),o=n(24),s=n.n(o),l=n(15);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var c={},h=function(t){!function(t){for(var e=Object.keys(t),n=0;n=1&&(r={x:t.x,y:t.y}),a>0&&a<1&&(r={x:(1-a)*e.x+a*t.x,y:(1-a)*e.y+a*t.y})}}e=t})),r}(t)},S=function(t,e,n){var r;e[0]!==n&&(e=e.reverse()),e.forEach((function(t){b(t,r),r=t}));var i,a=25;r=void 0,e.forEach((function(t){if(r&&!i){var e=b(t,r);if(e=1&&(i={x:t.x,y:t.y}),n>0&&n<1&&(i={x:(1-n)*r.x+n*t.x,y:(1-n)*r.y+n*t.y})}}r=t}));var o=t?10:5,s=Math.atan2(e[0].y-i.y,e[0].x-i.x),l={x:0,y:0};return l.x=Math.sin(s)*o+(e[0].x+i.x)/2,l.y=-Math.cos(s)*o+(e[0].y+i.y)/2,l},C=function(t,e){var n=t.trim();if(n)return"loose"!==e.securityLevel?Object(y.sanitizeUrl)(n):n},A=n(3),T=n.n(A),E=function(t){return t.replace(//gi,"#br#")},M=function(t){if(!t)return 1;var e=E(t);return(e=e.replace(/\\n/g,"#br#")).split("#br#")},I=function(t,e){var n=t,r=!0;return!e.flowchart||!1!==e.flowchart.htmlLabels&&"false"!==e.flowchart.htmlLabels||(r=!1),"loose"!==e.securityLevel&&r&&(n=function(t){return t.replace(/#br#/g,"
    ")}(n=(n=(n=E(n)).replace(//g,">")).replace(/=/g,"="))),n};function D(t){return(D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var O,P=f(),L={},R=[],N=[],z=[],F={},B={},V=0,j=!0,Y=[],H=function(t,e,n,r){var i=t,a=e;i[0].match(/\d/)&&(i=""+i),a[0].match(/\d/)&&(a=""+a),g.info("Got edge...",i,a);var o={start:i,end:a,type:void 0,text:""};void 0!==(r=n.text)&&(o.text=I(r.trim(),P),'"'===o.text[0]&&'"'===o.text[o.text.length-1]&&(o.text=o.text.substring(1,o.text.length-1))),void 0!==n&&(o.type=n.type,o.stroke=n.stroke),R.push(o)},U=function(t,e){t.split(",").forEach((function(t){var n=t;t[0].match(/\d/)&&(n=""+n),void 0!==L[n]&&L[n].classes.push(e),void 0!==F[n]&&F[n].classes.push(e)}))},G=function(t,e){t.split(",").forEach((function(t){void 0!==e&&(B[t]=I(e,P))}))},q=function(t){var e=a.select(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=a.select("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),a.select(t).select("svg").selectAll("g.node").on("mouseover",(function(){var t=a.select(this);if(null!==t.attr("title")){var n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.html(t.attr("title")).style("left",n.left+(n.right-n.left)/2+"px").style("top",n.top-14+document.body.scrollTop+"px"),t.classed("hover",!0)}})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),a.select(this).classed("hover",!1)}))};Y.push(q);var W=function(t){for(var e=0;e/)&&(O="LR"),O.match(/.*v/)&&(O="TB")},setClass:U,getTooltip:function(t){return B[t]},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){!function(t,e){var n=t;t[0].match(/\d/)&&(n=""+n),"loose"===P.securityLevel&&void 0!==e&&void 0!==L[n]&&Y.push((function(){var t=document.querySelector('[id="'.concat(n,'"]'));null!==t&&t.addEventListener("click",(function(){window[e](n)}),!1)}))}(t,e)})),G(t,n),U(t,"clickable")},setLink:function(t,e,n){t.split(",").forEach((function(t){var n=t;t[0].match(/\d/)&&(n=""+n),void 0!==L[n]&&(L[n].link=C(e,P))})),G(t,n),U(t,"clickable")},bindFunctions:function(t){Y.forEach((function(e){e(t)}))},getDirection:function(){return O.trim()},getVertices:function(){return L},getEdges:function(){return R},getClasses:function(){return N},clear:function(){L={},N={},R=[],(Y=[]).push(q),z=[],F={},V=0,B=[],j=!0},defaultStyle:function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},addSubGraph:function(t,e,n){var r=t.trim(),i=n;t===n&&n.match(/\s/)&&(r=void 0);var a,o,s,l=[];a=l.concat.apply(l,e),o={boolean:{},number:{},string:{}},s=[],l=a.filter((function(t){var e=D(t);return""!==t.trim()&&(e in o?!o[e].hasOwnProperty(t)&&(o[e][t]=!0):!(s.indexOf(t)>=0)&&s.push(t))}));for(var u=0;u0&&function t(e,n){var r=z[n].nodes;if(!((Z+=1)>2e3)){if($[Z]=n,z[n].id===e)return{result:!0,count:0};for(var i=0,a=1;i=0){var s=t(e,o);if(s.result)return{result:!0,count:a+s.count};a+=s.count}i+=1}return{result:!1,count:a}}}("none",z.length-1)},getSubGraphs:function(){return z},destructLink:function(t,e){var n,r=function(t){switch(t.trim()){case"--x":return{type:"arrow_cross",stroke:"normal"};case"--\x3e":return{type:"arrow",stroke:"normal"};case"<--\x3e":return{type:"double_arrow_point",stroke:"normal"};case"x--x":return{type:"double_arrow_cross",stroke:"normal"};case"o--o":return{type:"double_arrow_circle",stroke:"normal"};case"o.-o":return{type:"double_arrow_circle",stroke:"dotted"};case"<==>":return{type:"double_arrow_point",stroke:"thick"};case"o==o":return{type:"double_arrow_circle",stroke:"thick"};case"x==x":return{type:"double_arrow_cross",stroke:"thick"};case"x.-x":case"x-.-x":return{type:"double_arrow_cross",stroke:"dotted"};case"<.->":case"<-.->":return{type:"double_arrow_point",stroke:"dotted"};case"o-.-o":return{type:"double_arrow_circle",stroke:"dotted"};case"--o":return{type:"arrow_circle",stroke:"normal"};case"---":return{type:"arrow_open",stroke:"normal"};case"-.-x":return{type:"arrow_cross",stroke:"dotted"};case"-.->":return{type:"arrow",stroke:"dotted"};case"-.-o":return{type:"arrow_circle",stroke:"dotted"};case"-.-":return{type:"arrow_open",stroke:"dotted"};case".-x":return{type:"arrow_cross",stroke:"dotted"};case".->":return{type:"arrow",stroke:"dotted"};case".-o":return{type:"arrow_circle",stroke:"dotted"};case".-":return{type:"arrow_open",stroke:"dotted"};case"==x":return{type:"arrow_cross",stroke:"thick"};case"==>":return{type:"arrow",stroke:"thick"};case"==o":return{type:"arrow_circle",stroke:"thick"};case"===":return{type:"arrow_open",stroke:"thick"}}}(t);if(e){if((n=function(t){switch(t.trim()){case"<--":return{type:"arrow",stroke:"normal"};case"x--":return{type:"arrow_cross",stroke:"normal"};case"o--":return{type:"arrow_circle",stroke:"normal"};case"<-.":return{type:"arrow",stroke:"dotted"};case"x-.":return{type:"arrow_cross",stroke:"dotted"};case"o-.":return{type:"arrow_circle",stroke:"dotted"};case"<==":return{type:"arrow",stroke:"thick"};case"x==":return{type:"arrow_cross",stroke:"thick"};case"o==":return{type:"arrow_circle",stroke:"thick"};case"--":return{type:"arrow_open",stroke:"normal"};case"==":return{type:"arrow_open",stroke:"thick"};case"-.":return{type:"arrow_open",stroke:"dotted"}}}(e)).stroke!==r.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===n.type)n.type=r.type;else{if(n.type!==r.type)return{type:"INVALID",stroke:"INVALID"};n.type="double_"+n.type}return"double_arrow"===n.type&&(n.type="double_arrow_point"),n}return r},lex:{firstGraph:function(){return!!j&&(j=!1,!0)}}},K=n(10),Q=n.n(K),J=n(2),tt=n.n(J),et=n(18),nt=n.n(et);function rt(t,e,n){var r=.9*(e.width+e.height),i=[{x:r/2,y:0},{x:r,y:-r/2},{x:r/2,y:-r},{x:0,y:-r/2}],a=dt(t,r,r,i);return n.intersect=function(t){return tt.a.intersect.polygon(n,i,t)},a}function it(t,e,n){var r=e.height,i=r/4,a=e.width+2*i,o=[{x:i,y:0},{x:a-i,y:0},{x:a,y:-r/2},{x:a-i,y:-r},{x:i,y:-r},{x:0,y:-r/2}],s=dt(t,a,r,o);return n.intersect=function(t){return tt.a.intersect.polygon(n,o,t)},s}function at(t,e,n){var r=e.width,i=e.height,a=[{x:-i/2,y:0},{x:r,y:0},{x:r,y:-i},{x:-i/2,y:-i},{x:0,y:-i/2}],o=dt(t,r,i,a);return n.intersect=function(t){return tt.a.intersect.polygon(n,a,t)},o}function ot(t,e,n){var r=e.width,i=e.height,a=[{x:-2*i/6,y:0},{x:r-i/6,y:0},{x:r+2*i/6,y:-i},{x:i/6,y:-i}],o=dt(t,r,i,a);return n.intersect=function(t){return tt.a.intersect.polygon(n,a,t)},o}function st(t,e,n){var r=e.width,i=e.height,a=[{x:2*i/6,y:0},{x:r+i/6,y:0},{x:r-2*i/6,y:-i},{x:-i/6,y:-i}],o=dt(t,r,i,a);return n.intersect=function(t){return tt.a.intersect.polygon(n,a,t)},o}function lt(t,e,n){var r=e.width,i=e.height,a=[{x:-2*i/6,y:0},{x:r+2*i/6,y:0},{x:r-i/6,y:-i},{x:i/6,y:-i}],o=dt(t,r,i,a);return n.intersect=function(t){return tt.a.intersect.polygon(n,a,t)},o}function ut(t,e,n){var r=e.width,i=e.height,a=[{x:i/6,y:0},{x:r-i/6,y:0},{x:r+2*i/6,y:-i},{x:-2*i/6,y:-i}],o=dt(t,r,i,a);return n.intersect=function(t){return tt.a.intersect.polygon(n,a,t)},o}function ct(t,e,n){var r=e.width,i=e.height,a=[{x:0,y:0},{x:r+i/2,y:0},{x:r,y:-i/2},{x:r+i/2,y:-i},{x:0,y:-i}],o=dt(t,r,i,a);return n.intersect=function(t){return tt.a.intersect.polygon(n,a,t)},o}function ht(t,e,n){var r=e.height,i=e.width+r/4,a=t.insert("rect",":first-child").attr("rx",r/2).attr("ry",r/2).attr("x",-i/2).attr("y",-r/2).attr("width",i).attr("height",r);return n.intersect=function(t){return tt.a.intersect.rect(n,t)},a}function ft(t,e,n){var r=e.width,i=r/2,a=i/(2.5+r/50),o=e.height+a,s="M 0,"+a+" a "+i+","+a+" 0,0,0 "+r+" 0 a "+i+","+a+" 0,0,0 "+-r+" 0 l 0,"+o+" a "+i+","+a+" 0,0,0 "+r+" 0 l 0,"+-o,l=t.attr("label-offset-y",a).insert("path",":first-child").attr("d",s).attr("transform","translate("+-r/2+","+-(o/2+a)+")");return n.intersect=function(t){var e=tt.a.intersect.rect(n,t),r=e.x-n.x;if(0!=i&&(Math.abs(r)n.height/2-a)){var o=a*a*(1-r*r/(i*i));0!=o&&(o=Math.sqrt(o)),o=a-o,t.y-n.y>0&&(o=-o),e.y+=o}return e},l}function dt(t,e,n,r){return t.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("transform","translate("+-e/2+","+n/2+")")}var pt=function(t){t.shapes().question=rt,t.shapes().hexagon=it,t.shapes().stadium=ht,t.shapes().cylinder=ft,t.shapes().rect_left_inv_arrow=at,t.shapes().lean_right=ot,t.shapes().lean_left=st,t.shapes().trapezoid=lt,t.shapes().inv_trapezoid=ut,t.shapes().rect_right_inv_arrow=ct},gt={},vt=function(t,e,n){var r=a.select('[id="'.concat(n,'"]'));Object.keys(t).forEach((function(n){var i=t[n],a="default";i.classes.length>0&&(a=i.classes.join(" "));var o,s=x(i.styles),l=void 0!==i.text?i.text:i.id;if(f().flowchart.htmlLabels){var u={label:l.replace(/fa[lrsb]?:fa-[\w-]+/g,(function(t){return"")}))};(o=nt()(r,u).node()).parentNode.removeChild(o)}else{var c=document.createElementNS("http://www.w3.org/2000/svg","text");c.setAttribute("style",s.labelStyle.replace("color:","fill:"));for(var h=l.split(//gi),d=0;d"):(s.labelType="text",s.label=o.text.replace(//gi,"\n"),void 0===o.style&&(s.style=s.style||"stroke: #333; stroke-width: 1.5px;fill:none"),s.labelStyle=s.labelStyle.replace("color:","fill:"))),e.setEdge(o.start,o.end,s,i)}))},yt=function(t,e){g.info("Drawing flowchart"),X.clear();var n=Q.a.parser;n.yy=X;try{n.parse(t)}catch(t){g.debug("Parsing failed")}var r=X.getDirection();void 0===r&&(r="TD");for(var i,o=f().flowchart,s=o.nodeSpacing||50,l=o.rankSpacing||50,u=new T.a.Graph({multigraph:!0,compound:!0}).setGraph({rankdir:r,nodesep:s,ranksep:l,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),c=X.getSubGraphs(),h=c.length-1;h>=0;h--)X.addVertex((i=c[h]).id,i.title,"group",void 0,i.classes);var d=X.getVertices(),p=X.getEdges(),v=0;for(v=c.length-1;v>=0;v--){i=c[v],a.selectAll("cluster").append("text");for(var m=0;m0&&(a=i.classes.join(" "));var o,s=x(i.styles),l=void 0!==i.text?i.text:i.id;if(f().flowchart.htmlLabels){var u={label:l.replace(/fa[lrsb]?:fa-[\w-]+/g,(function(t){return"")}))};(o=nt()(r,u).node()).parentNode.removeChild(o)}else{var c=document.createElementNS("http://www.w3.org/2000/svg","text");c.setAttribute("style",s.labelStyle.replace("color:","fill:"));for(var h=l.split(//gi),d=0;d"):(s.labelType="text",s.label=o.text.replace(//gi,"\n"),void 0===o.style&&(s.style=s.style||"stroke: #333; stroke-width: 1.5px;fill:none"),s.labelStyle=s.labelStyle.replace("color:","fill:"))),e.setEdge(o.start,o.end,s,i)}))},wt={setConf:function(t){for(var e=Object.keys(t),n=0;n=0;h--)X.addVertex((i=c[h]).id,i.title,"group",void 0,i.classes);var d=X.getVertices(),p=X.getEdges(),v=0;for(v=c.length-1;v>=0;v--){i=c[v],a.selectAll("cluster").append("text");for(var m=0;m/gi," "),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.style("text-anchor",e.anchor),r.attr("fill",e.fill),void 0!==e.class&&r.attr("class",e.class);var i=r.append("tspan");return i.attr("x",e.x+2*e.textMargin),i.attr("fill",e.fill),i.text(n),r},Ct=-1,At=function(){function t(t,e,n,i,a,o,s){r(e.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("text-anchor","middle").text(t),s)}function e(t,e,n,i,a,o,s,l){for(var u=l.actorFontSize,c=l.actorFontFamily,h=t.split(//gi),f=0;f>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},a}}return Rt.push({from:t,to:e,message:n,type:r}),!0},jt={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23},Yt=function(t,e,n){var r={actor:t,placement:e,message:n},i=[].concat(t,t);Nt.push(r),Rt.push({from:i[0],to:i[1],message:n,type:jt.NOTE,placement:e})},Ht=function(t){zt=t},Ut={addActor:Bt,addMessage:function(t,e,n,r){Rt.push({from:t,to:e,message:n,answer:r})},addSignal:Vt,enableSequenceNumbers:function(){Ft=!0},showSequenceNumbers:function(){return Ft},getMessages:function(){return Rt},getActors:function(){return Lt},getActor:function(t){return Lt[t]},getActorKeys:function(){return Object.keys(Lt)},getTitle:function(){return zt},clear:function(){Lt={},Rt=[]},LINETYPE:jt,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:Yt,setTitle:Ht,apply:function t(e){if(e instanceof Array)e.forEach((function(e){t(e)}));else switch(e.type){case"addActor":Bt(e.actor,e.actor,e.description);break;case"activeStart":case"activeEnd":Vt(e.actor,void 0,void 0,e.signalType);break;case"addNote":Yt(e.actor,e.placement,e.text);break;case"addMessage":Vt(e.from,e.to,e.msg,e.signalType);break;case"loopStart":Vt(void 0,void 0,e.loopText,e.signalType);break;case"loopEnd":Vt(void 0,void 0,void 0,e.signalType);break;case"rectStart":Vt(void 0,void 0,e.color,e.signalType);break;case"rectEnd":Vt(void 0,void 0,void 0,e.signalType);break;case"optStart":Vt(void 0,void 0,e.optText,e.signalType);break;case"optEnd":Vt(void 0,void 0,void 0,e.signalType);break;case"altStart":case"else":Vt(void 0,void 0,e.altText,e.signalType);break;case"altEnd":Vt(void 0,void 0,void 0,e.signalType);break;case"setTitle":Ht(e.text);break;case"parStart":case"and":Vt(void 0,void 0,e.parText,e.signalType);break;case"parEnd":Vt(void 0,void 0,void 0,e.signalType)}}};Ot.parser.yy=Ut;var Gt,qt,Wt={diagramMarginX:50,diagramMarginY:30,actorMargin:50,width:150,height:65,actorFontSize:14,actorFontFamily:'"Open-Sans", "sans-serif"',boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!1,bottomMarginAdj:1,activationWidth:10,textPlacement:"tspan",showSequenceNumbers:!1},Zt={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],init:function(){this.sequenceItems=[],this.activations=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,n,r){t[e]=void 0===t[e]?n:r(n,t[e])},updateBounds:function(t,e,n,r){var i=this,a=0;function o(o){return function(s){a++;var l=i.sequenceItems.length-a+1;i.updateVal(s,"starty",e-l*Wt.boxMargin,Math.min),i.updateVal(s,"stopy",r+l*Wt.boxMargin,Math.max),i.updateVal(Zt.data,"startx",t-l*Wt.boxMargin,Math.min),i.updateVal(Zt.data,"stopx",n+l*Wt.boxMargin,Math.max),"activation"!==o&&(i.updateVal(s,"startx",t-l*Wt.boxMargin,Math.min),i.updateVal(s,"stopx",n+l*Wt.boxMargin,Math.max),i.updateVal(Zt.data,"starty",e-l*Wt.boxMargin,Math.min),i.updateVal(Zt.data,"stopy",r+l*Wt.boxMargin,Math.max))}}this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},insert:function(t,e,n,r){var i=Math.min(t,n),a=Math.max(t,n),o=Math.min(e,r),s=Math.max(e,r);this.updateVal(Zt.data,"startx",i,Math.min),this.updateVal(Zt.data,"starty",o,Math.min),this.updateVal(Zt.data,"stopx",a,Math.max),this.updateVal(Zt.data,"stopy",s,Math.max),this.updateBounds(i,o,a,s)},newActivation:function(t,e){var n=Ot.parser.yy.getActors()[t.from.actor],r=Kt(t.from.actor).length,i=n.x+Wt.width/2+(r-1)*Wt.activationWidth/2;this.activations.push({startx:i,starty:this.verticalPos+2,stopx:i+Wt.activationWidth,stopy:void 0,actor:t.from.actor,anchored:It(e)})},endActivation:function(t){var e=this.activations.map((function(t){return t.actor})).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},newLoop:function(t,e){this.sequenceItems.push({startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t,fill:e})},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(t){var e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push(Zt.getVerticalPos()),e.sectionTitles.push(t),this.sequenceItems.push(e)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},$t=function(t,e,n,r,i){var a={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0};a.x=e,a.y=n,a.width=i||Wt.width,a.class="note";var o=t.append("g"),s=Tt(o,a),l=function(t,e,n,r,i){var a=0,o=t.split(//gi),s=!0,l=!1,u=void 0;try{for(var c,h=o[Symbol.iterator]();!(s=(c=h.next()).done);s=!0){var f=c.value,d={x:0,y:0,fill:void 0,"text-anchor":"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0};d.x=e,d.y=n+a,d.textMargin=Wt.noteMargin,d.dy="1em",d.text=f,d.class="noteText";var p=Et(r,d,i);a+=(p._groups||p)[0][0].getBBox().height}}catch(t){l=!0,u=t}finally{try{s||null==h.return||h.return()}finally{if(l)throw u}}return a}(r.message,e-4,n+24,o,a.width-Wt.noteMargin);Zt.insert(e,n,e+a.width,n+2*Wt.noteMargin+l),s.attr("height",l+2*Wt.noteMargin),Zt.bumpVerticalPos(l+2*Wt.noteMargin)},Xt=function(t,e,n,r){for(var i=0;i=6&&n.indexOf("weekends")>=0||n.indexOf(t.format("dddd").toLowerCase())>=0||n.indexOf(t.format(e.trim()))>=0},pe=function(t,e,n){if(n.length&&!t.manualEndTime){var r=p()(t.startTime,e,!0);r.add(1,"d");var i=p()(t.endTime,e,!0),a=ge(r,i,e,n);t.endTime=i.toDate(),t.renderEndTime=a}},ge=function(t,e,n,r){for(var i=!1,a=null;t<=e;)i||(a=e.toDate()),(i=de(t,n,r))&&e.add(1,"d"),t.add(1,"d");return a},ve=function(t,e,n){n=n.trim();var r=/^after\s+([\d\w- ]+)/.exec(n.trim());if(null!==r){var i=null;if(r[1].split(" ").forEach((function(t){var e=ke(t);void 0!==e&&(i?e.endTime>i.endTime&&(i=e):i=e)})),i)return i.endTime;var a=new Date;return a.setHours(0,0,0,0),a}var o=p()(n,e.trim(),!0);return o.isValid()?o.toDate():(g.debug("Invalid date:"+n),g.debug("With date format:"+e.trim()),new Date)},me=function(t,e){if(null!==t)switch(t[2]){case"s":e.add(t[1],"seconds");break;case"m":e.add(t[1],"minutes");break;case"h":e.add(t[1],"hours");break;case"d":e.add(t[1],"days");break;case"w":e.add(t[1],"weeks")}return e.toDate()},ye=function(t,e,n,r){r=r||!1,n=n.trim();var i=p()(n,e.trim(),!0);return i.isValid()?(r&&i.add(1,"d"),i.toDate()):me(/^([\d]+)([wdhms])/.exec(n.trim()),p()(t))},_e=0,be=function(t){return void 0===t?"task"+(_e+=1):t},xe=[],we={},ke=function(t){return xe[we[t]]},Se=function(){for(var t=function(t){var e=xe[t],n="";switch(xe[t].raw.startTime.type){case"prevTaskEnd":var r=ke(e.prevTaskId);e.startTime=r.endTime;break;case"getStartDate":(n=ve(0,re,xe[t].raw.startTime.startData))&&(xe[t].startTime=n)}return xe[t].startTime&&(xe[t].endTime=ye(xe[t].startTime,re,xe[t].raw.endTime.data,fe),xe[t].endTime&&(xe[t].processed=!0,xe[t].manualEndTime=p()(xe[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),pe(xe[t],re,ae))),xe[t].processed},e=!0,n=0;n0){var r=t.split("~");n=r[0],e=r[1]}return{className:n,type:e}},Be=function(t){var e=Fe(t);void 0===Re[e.className]&&(Re[e.className]={id:e.className,type:e.type,cssClasses:[],methods:[],members:[],annotations:[],domId:"classid-"+e.className+"-"+Ne},Ne++)},Ve=function(t){for(var e=Object.keys(Re),n=0;n>")?r.annotations.push(i.substring(2,i.length-2)):i.indexOf(")")>0?r.methods.push(i):i&&r.members.push(i)}},Ye=function(t,e){t.split(",").forEach((function(t){var n=t;t[0].match(/\d/)&&(n="classid-"+n),void 0!==Re[n]&&Re[n].cssClasses.push(e)}))},He=function(t){var e=a.select(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=a.select("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),a.select(t).select("svg").selectAll("g.node").on("mouseover",(function(){var t=a.select(this);if(null!==t.attr("title")){var n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.html(t.attr("title")).style("left",n.left+(n.right-n.left)/2+"px").style("top",n.top-14+document.body.scrollTop+"px"),t.classed("hover",!0)}})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),a.select(this).classed("hover",!1)}))};ze.push(He);var Ue={addClass:Be,bindFunctions:function(t){ze.forEach((function(e){e(t)}))},clear:function(){Le=[],Re={},(ze=[]).push(He)},getClass:function(t){return Re[t]},getClasses:function(){return Re},addAnnotation:function(t,e){var n=Fe(t).className;Re[n].annotations.push(e)},getRelations:function(){return Le},addRelation:function(t){g.debug("Adding relation: "+JSON.stringify(t)),Be(t.id1),Be(t.id2),t.id1=Fe(t.id1).className,t.id2=Fe(t.id2).className,Le.push(t)},addMember:je,addMembers:function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach((function(e){return je(t,e)})))},cleanupLabel:function(t){return":"===t.substring(0,1)?t.substr(1).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){!function(t,e,n){var r=t,i=Ve(r);"loose"===Pe.securityLevel&&void 0!==e&&void 0!==Re[r]&&(n&&(Re[r].tooltip=I(n,Pe)),ze.push((function(){var t=document.querySelector('[id="'.concat(i,'"]'));null!==t&&t.addEventListener("click",(function(){window[e](i)}),!1)})))}(t,e,n)})),Ye(t,"clickable")},setCssClass:Ye,setLink:function(t,e,n){t.split(",").forEach((function(t){var r=t;t[0].match(/\d/)&&(r="classid-"+r),void 0!==Re[r]&&(Re[r].link=C(e,Pe),n&&(Re[r].tooltip=I(n,Pe)))})),Ye(t,"clickable")},lookUpDomId:Ve},Ge=n(12),qe=n.n(Ge),We=0,Ze=function(t,e,n,r){var i=function(t){var e=t.match(/^(\+|-|~|#)?(\w+)(~\w+~|\[\])?\s+(\w+)$/),n=t.match(/^(\+|-|~|#)?(\w+)\s?\(\s*(\w+(~\w+~|\[\])?\s*(\w+)?)?\s*\)\s?([*|$])?\s?(\w+(~\w+~|\[\])?)?\s*$/);return e?function(t){return{displayText:(t[1]?t[1].trim():"")+(t[2]?t[2].trim():"")+(t[3]?$e(t[3]):"")+" "+(t[4]?t[4].trim():""),cssStyle:""}}(e):n?function(t){var e=t[1]?t[1].trim():"",n=t[2]?t[2].trim():"",r=t[3]?$e(t[3]):"",i=t[6]?t[6].trim():"";return{displayText:e+n+"("+r+")"+(t[7]?" : "+$e(t[7]).trim():""),cssStyle:Xe(i)}}(n):function(t){var e="",n="",r="",i=t.indexOf("("),a=t.indexOf(")");if(i>1&&a>i&&a<=t.length){var o=t.match(/(\+|-|~|#)?(\w+)/),s=o[1]?o[1].trim():"",l=o[2],u=t.substring(i+1,a),c=t.substring(a,a+1);n=Xe(c),a<(e=s+l+"("+$e(u.trim())+")").length&&""!==(r=t.substring(a+2).trim())&&(r=" : "+$e(r))}else e=$e(t);return{displayText:e+r,cssStyle:n}}(t)}(e),a=t.append("tspan").attr("x",r.padding).text(i.displayText);""!==i.cssStyle&&a.attr("style",i.cssStyle),n||a.attr("dy",r.textHeight)},$e=function t(e){var n=e;return-1!=e.indexOf("~")?t(n=(n=n.replace("~","<")).replace("~",">")):n},Xe=function(t){switch(t){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}},Ke=function(t,e,n){g.info("Rendering class "+e);var r="classGroup ";e.cssClasses.length>0&&(r+=e.cssClasses.join(" "));var i,a=e.id,o={id:a,label:e.id,width:0,height:0},s=t.append("g").attr("id",Ve(a)).attr("class",r);i=e.link?s.append("svg:a").attr("xlink:href",e.link).attr("target","_blank").append("text").attr("y",n.textHeight+n.padding).attr("x",0):s.append("text").attr("y",n.textHeight+n.padding).attr("x",0);var l=!0;e.annotations.forEach((function(t){var e=i.append("tspan").text("\xab"+t+"\xbb");l||e.attr("dy",n.textHeight),l=!1}));var u=e.id;void 0!==e.type&&""!==e.type&&(u+="<"+e.type+">");var c=i.append("tspan").text(u).attr("class","title");l||c.attr("dy",n.textHeight);var h=i.node().getBBox().height,f=s.append("line").attr("x1",0).attr("y1",n.padding+h+n.dividerMargin/2).attr("y2",n.padding+h+n.dividerMargin/2),d=s.append("text").attr("x",n.padding).attr("y",h+n.dividerMargin+n.textHeight).attr("fill","white").attr("class","classText");l=!0,e.members.forEach((function(t){Ze(d,t,l,n),l=!1}));var p=d.node().getBBox(),v=s.append("line").attr("x1",0).attr("y1",n.padding+h+n.dividerMargin+p.height).attr("y2",n.padding+h+n.dividerMargin+p.height),m=s.append("text").attr("x",n.padding).attr("y",h+2*n.dividerMargin+p.height+n.textHeight).attr("fill","white").attr("class","classText");l=!0,e.methods.forEach((function(t){Ze(m,t,l,n),l=!1}));var y=s.node().getBBox(),_=s.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",y.width+2*n.padding).attr("height",y.height+n.padding+.5*n.dividerMargin).node().getBBox().width;return i.node().childNodes.forEach((function(t){t.setAttribute("x",(_-t.getBBox().width)/2)})),e.tooltip&&i.insert("title").text(e.tooltip),f.attr("x2",_),v.attr("x2",_),o.width=_,o.height=y.height+n.padding+.5*n.dividerMargin,o};Ge.parser.yy=Ue;var Qe={},Je={dividerMargin:10,padding:5,textHeight:10},tn=function(t){for(var e=Object.keys(Qe),n=0;ns&&(r=(s-h)/2+i),Math.abs(l-d.x)s&&(r=l-(c-s)/2);var p=1-f().state.textHeight;return t.insert("rect",":first-child").attr("x",r).attr("y",p).attr("class",n?"alt-composit":"composit").attr("width",h).attr("height",d.height+f().state.textHeight+f().state.titleShift+1).attr("rx","0"),u.attr("x",r+i),c<=s&&u.attr("x",l+(h-a)/2-c/2+i),t.insert("rect",":first-child").attr("x",r).attr("y",f().state.titleShift-f().state.textHeight-f().state.padding).attr("width",h).attr("height",3*f().state.textHeight).attr("rx",f().state.radius),t.insert("rect",":first-child").attr("x",r).attr("y",f().state.titleShift-f().state.textHeight-f().state.padding).attr("width",h).attr("height",d.height+3+2*f().state.textHeight).attr("rx",f().state.radius),t},yn=function(t,e){var n=e.id,r={id:n,label:e.id,width:0,height:0},i=t.append("g").attr("id",n).attr("class","stateGroup");"start"===e.type&&function(t){t.append("circle").style("stroke","black").style("fill","black").attr("r",f().state.sizeUnit).attr("cx",f().state.padding+f().state.sizeUnit).attr("cy",f().state.padding+f().state.sizeUnit)}(i),"end"===e.type&&function(t){t.append("circle").style("stroke","black").style("fill","white").attr("r",f().state.sizeUnit+f().state.miniPadding).attr("cx",f().state.padding+f().state.sizeUnit+f().state.miniPadding).attr("cy",f().state.padding+f().state.sizeUnit+f().state.miniPadding),t.append("circle").style("stroke","black").style("fill","black").attr("r",f().state.sizeUnit).attr("cx",f().state.padding+f().state.sizeUnit+2).attr("cy",f().state.padding+f().state.sizeUnit+2)}(i),"fork"!==e.type&&"join"!==e.type||function(t,e){var n=f().state.forkWidth,r=f().state.forkHeight;if(e.parentId){var i=n;n=r,r=i}t.append("rect").style("stroke","black").style("fill","black").attr("width",n).attr("height",r).attr("x",f().state.padding).attr("y",f().state.padding)}(i,e),"note"===e.type&&function(t,e){e.attr("class","state-note");var n=e.append("rect").attr("x",0).attr("y",f().state.padding),r=function(t,e,n,r){var i=0,a=r.append("text");a.style("text-anchor","start"),a.attr("class","noteText");var o=t.replace(/\r\n/g,"
    "),s=(o=o.replace(/\n/g,"
    ")).split(//gi),l=1.25*f().state.noteMargin,u=!0,c=!1,h=void 0;try{for(var d,p=s[Symbol.iterator]();!(u=(d=p.next()).done);u=!0){var g=d.value.trim();if(g.length>0){var v=a.append("tspan");v.text(g),0===l&&(l+=v.node().getBBox().height),i+=l,v.attr("x",0+f().state.noteMargin),v.attr("y",0+i+1.25*f().state.noteMargin)}}}catch(t){c=!0,h=t}finally{try{u||null==p.return||p.return()}finally{if(c)throw h}}return{textWidth:a.node().getBBox().width,textHeight:i}}(t,0,0,e.append("g")),i=r.textWidth;n.attr("height",r.textHeight+2*f().state.noteMargin),n.attr("width",i+2*f().state.noteMargin)}(e.note.text,i),"divider"===e.type&&function(t){t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",f().state.textHeight).attr("class","divider").attr("x2",2*f().state.textHeight).attr("y1",0).attr("y2",0)}(i),"default"===e.type&&0===e.descriptions.length&&function(t,e){var n=t.append("text").attr("x",2*f().state.padding).attr("y",f().state.textHeight+2*f().state.padding).attr("font-size",f().state.fontSize).attr("class","state-title").text(e.id).node().getBBox();t.insert("rect",":first-child").attr("x",f().state.padding).attr("y",f().state.padding).attr("width",n.width+2*f().state.padding).attr("height",n.height+2*f().state.padding).attr("rx",f().state.radius)}(i,e),"default"===e.type&&e.descriptions.length>0&&function(t,e){var n=t.append("text").attr("x",2*f().state.padding).attr("y",f().state.textHeight+1.3*f().state.padding).attr("font-size",f().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),r=n.height,i=t.append("text").attr("x",f().state.padding).attr("y",r+.4*f().state.padding+f().state.dividerMargin+f().state.textHeight).attr("class","state-description"),a=!0,o=!0;e.descriptions.forEach((function(t){a||(function(t,e,n){var r=t.append("tspan").attr("x",2*f().state.padding).text(e);n||r.attr("dy",f().state.textHeight)}(i,t,o),o=!1),a=!1}));var s=t.append("line").attr("x1",f().state.padding).attr("y1",f().state.padding+r+f().state.dividerMargin/2).attr("y2",f().state.padding+r+f().state.dividerMargin/2).attr("class","descr-divider"),l=i.node().getBBox(),u=Math.max(l.width,n.width);s.attr("x2",u+3*f().state.padding),t.insert("rect",":first-child").attr("x",f().state.padding).attr("y",f().state.padding).attr("width",u+2*f().state.padding).attr("height",l.height+r+2*f().state.padding).attr("rx",f().state.radius)}(i,e);var a=i.node().getBBox();return r.width=a.width+2*f().state.padding,r.height=a.height+2*f().state.padding,function(t,e){vn[t]=e}(n,r),r},_n=0;pn.parser.yy=dn;var bn={},xn=function(t,e){nn=f().state,pn.parser.yy.clear(),pn.parser.parse(t),g.debug("Rendering diagram "+t);var n=a.select("[id='".concat(e,"']"));n.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z"),new T.a.Graph({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel((function(){return{}})),function t(e,n,r,i){var o,s=new T.a.Graph({compound:!0,multigraph:!0}),l=!0;for(o=0;o "+t.w+": "+JSON.stringify(s.edge(t))),function(t,e,n){e.points=e.points.filter((function(t){return!Number.isNaN(t.y)}));var r=e.points,i=a.line().x((function(t){return t.x})).y((function(t){return t.y})).curve(a.curveBasis),o=t.append("path").attr("d",i(r)).attr("id","edge"+_n).attr("class","transition"),s="";if(f().state.arrowMarkerAbsolute&&(s=(s=(s=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),o.attr("marker-end","url("+s+"#"+function(t){switch(t){case dn.relationType.AGGREGATION:return"aggregation";case dn.relationType.EXTENSION:return"extension";case dn.relationType.COMPOSITION:return"composition";case dn.relationType.DEPENDENCY:return"dependency"}}(dn.relationType.DEPENDENCY)+"End)"),void 0!==n.title){for(var l=t.append("g").attr("class","stateLabel"),u=k(e.points),c=u.x,h=u.y,d=M(n.title),p=0,v=[],m=0,y=0,_=0;_<=d.length;_++){var b=l.append("text").attr("text-anchor","middle").text(d[_]).attr("x",c).attr("y",h+p),x=b.node().getBBox();if(m=Math.max(m,x.width),y=Math.min(y,x.x),g.info(x.x,c,h+p),0===p){var w=b.node().getBBox();g.info("Title height",p=w.height,h)}v.push(b)}var S=p*d.length;if(d.length>1){var C=(d.length-1)*p*.5;v.forEach((function(t,e){return t.attr("y",h+e*p-C)})),S=p*d.length}var A=l.node().getBBox();l.insert("rect",":first-child").attr("class","box").attr("x",c-m/2-f().state.padding/2).attr("y",h-S/2-f().state.padding/2-3.5).attr("width",m+f().state.padding).attr("height",S+f().state.padding),g.info(A)}_n++}(n,s.edge(t),s.edge(t).relation))})),w=x.getBBox();var S={id:r||"root",label:r||"root",width:0,height:0};return S.width=w.width+2*nn.padding,S.height=w.height+2*nn.padding,g.debug("Doc rendered",S,s),S}(dn.getRootDoc(),n,void 0,!1);var r=nn.padding,i=n.node().getBBox(),o=i.width+2*r,s=i.height+2*r;n.attr("width",1.75*o),n.attr("viewBox","".concat(i.x-nn.padding," ").concat(i.y-nn.padding," ")+o+" "+s)},wn=n(14),kn=n.n(wn),Sn=n(25),Cn=n.n(Sn),An={},Tn=null,En={master:Tn},Mn="master",In="LR",Dn=0;function On(){return Cn()({length:7,characters:"0123456789abcdef"})}function Pn(t,e){for(g.debug("Entering isfastforwardable:",t.id,e.id);t.seq<=e.seq&&t!==e&&null!=e.parent;){if(Array.isArray(e.parent))return g.debug("In merge commit:",e.parent),Pn(t,An[e.parent[0]])||Pn(t,An[e.parent[1]]);e=An[e.parent]}return g.debug(t.id,e.id),t.id===e.id}var Ln={};function Rn(t,e,n){var r=t.indexOf(e);-1===r?t.push(n):t.splice(r,1,n)}var Nn,zn=function(){var t=Object.keys(An).map((function(t){return An[t]}));return t.forEach((function(t){g.debug(t.id)})),kn.a.orderBy(t,["seq"],["desc"])},Fn={setDirection:function(t){In=t},setOptions:function(t){g.debug("options str",t),t=(t=t&&t.trim())||"{}";try{Ln=JSON.parse(t)}catch(t){g.error("error while parsing gitGraph options",t.message)}},getOptions:function(){return Ln},commit:function(t){var e={id:On(),message:t,seq:Dn++,parent:null==Tn?null:Tn.id};Tn=e,An[e.id]=e,En[Mn]=e.id,g.debug("in pushCommit "+e.id)},branch:function(t){En[t]=null!=Tn?Tn.id:null,g.debug("in createBranch")},merge:function(t){var e=An[En[Mn]],n=An[En[t]];if(function(t,e){return t.seq>e.seq&&Pn(e,t)}(e,n))g.debug("Already merged");else{if(Pn(e,n))En[Mn]=En[t],Tn=An[En[Mn]];else{var r={id:On(),message:"merged branch "+t+" into "+Mn,seq:Dn++,parent:[null==Tn?null:Tn.id,En[t]]};Tn=r,An[r.id]=r,En[Mn]=r.id}g.debug(En),g.debug("in mergeBranch")}},checkout:function(t){g.debug("in checkout");var e=En[Mn=t];Tn=An[e]},reset:function(t){g.debug("in reset",t);var e=t.split(":")[0],n=parseInt(t.split(":")[1]),r="HEAD"===e?Tn:An[En[e]];for(g.debug(r,n);n>0;)if(n--,!(r=An[r.parent])){var i="Critical error - unique parent commit not found during reset";throw g.error(i),i}Tn=r,En[Mn]=r.id},prettyPrint:function(){g.debug(An),function t(e){var n=kn.a.maxBy(e,"seq"),r="";e.forEach((function(t){r+=t===n?"\t*":"\t|"}));var i=[r,n.id,n.seq];for(var a in En)En[a]===n.id&&i.push(a);if(g.debug(i.join(" ")),Array.isArray(n.parent))Rn(e,n,An[n.parent[0]]),e.push(An[n.parent[1]]);else{if(null==n.parent)return;Rn(e,n,An[n.parent])}t(e=kn.a.uniqBy(e,"id"))}([zn()[0]])},clear:function(){An={},En={master:Tn=null},Mn="master",Dn=0},getBranchesAsObjArray:function(){var t=[];for(var e in En)t.push({name:e,commit:An[En[e]]});return t},getBranches:function(){return En},getCommits:function(){return An},getCommitsArray:zn,getCurrentBranch:function(){return Mn},getDirection:function(){return In},getHead:function(){return Tn}},Bn=n(19),Vn=n.n(Bn),jn={},Yn={nodeSpacing:150,nodeFillColor:"yellow",nodeStrokeWidth:2,nodeStrokeColor:"grey",lineStrokeWidth:4,branchOffset:50,lineColor:"grey",leftMargin:50,branchColors:["#442f74","#983351","#609732","#AA9A39"],nodeRadius:10,nodeLabel:{width:75,height:100,x:-25,y:0}},Hn={};function Un(t,e,n,r){var i=_(r,a.curveBasis),o=Yn.branchColors[n%Yn.branchColors.length],s=a.line().x((function(t){return Math.round(t.x)})).y((function(t){return Math.round(t.y)})).curve(i);t.append("svg:path").attr("d",s(e)).style("stroke",o).style("stroke-width",Yn.lineStrokeWidth).style("fill","none")}function Gn(t,e){e=e||t.node().getBBox();var n=t.node().getCTM();return{left:n.e+e.x*n.a,top:n.f+e.y*n.d,width:e.width,height:e.height}}function qn(t,e,n,r,i){g.debug("svgDrawLineForCommits: ",e,n);var a=Gn(t.select("#node-"+e+" circle")),o=Gn(t.select("#node-"+n+" circle"));switch(r){case"LR":if(a.left-o.left>Yn.nodeSpacing){var s={x:a.left-Yn.nodeSpacing,y:o.top+o.height/2};Un(t,[s,{x:o.left+o.width,y:o.top+o.height/2}],i,"linear"),Un(t,[{x:a.left,y:a.top+a.height/2},{x:a.left-Yn.nodeSpacing/2,y:a.top+a.height/2},{x:a.left-Yn.nodeSpacing/2,y:s.y},s],i)}else Un(t,[{x:a.left,y:a.top+a.height/2},{x:a.left-Yn.nodeSpacing/2,y:a.top+a.height/2},{x:a.left-Yn.nodeSpacing/2,y:o.top+o.height/2},{x:o.left+o.width,y:o.top+o.height/2}],i);break;case"BT":if(o.top-a.top>Yn.nodeSpacing){var l={x:o.left+o.width/2,y:a.top+a.height+Yn.nodeSpacing};Un(t,[l,{x:o.left+o.width/2,y:o.top}],i,"linear"),Un(t,[{x:a.left+a.width/2,y:a.top+a.height},{x:a.left+a.width/2,y:a.top+a.height+Yn.nodeSpacing/2},{x:o.left+o.width/2,y:l.y-Yn.nodeSpacing/2},l],i)}else Un(t,[{x:a.left+a.width/2,y:a.top+a.height},{x:a.left+a.width/2,y:a.top+Yn.nodeSpacing/2},{x:o.left+o.width/2,y:o.top-Yn.nodeSpacing/2},{x:o.left+o.width/2,y:o.top}],i)}}function Wn(t,e){return t.select(e).node().cloneNode(!0)}function Zn(t,e,n,r){var i,a=Object.keys(jn).length;if("string"==typeof e)do{if(g.debug("in renderCommitHistory",(i=jn[e]).id,i.seq),t.select("#node-"+e).size()>0)return;t.append((function(){return Wn(t,"#def-commit")})).attr("class","commit").attr("id",(function(){return"node-"+i.id})).attr("transform",(function(){switch(r){case"LR":return"translate("+(i.seq*Yn.nodeSpacing+Yn.leftMargin)+", "+Nn*Yn.branchOffset+")";case"BT":return"translate("+(Nn*Yn.branchOffset+Yn.leftMargin)+", "+(a-i.seq)*Yn.nodeSpacing+")"}})).attr("fill",Yn.nodeFillColor).attr("stroke",Yn.nodeStrokeColor).attr("stroke-width",Yn.nodeStrokeWidth);var o=void 0;for(var s in n)if(n[s].commit===i){o=n[s];break}o&&(g.debug("found branch ",o.name),t.select("#node-"+i.id+" p").append("xhtml:span").attr("class","branch-label").text(o.name+", ")),t.select("#node-"+i.id+" p").append("xhtml:span").attr("class","commit-id").text(i.id),""!==i.message&&"BT"===r&&t.select("#node-"+i.id+" p").append("xhtml:span").attr("class","commit-msg").text(", "+i.message),e=i.parent}while(e&&jn[e]);Array.isArray(e)&&(g.debug("found merge commmit",e),Zn(t,e[0],n,r),Nn++,Zn(t,e[1],n,r),Nn--)}function $n(t,e,n,r){for(r=r||0;e.seq>0&&!e.lineDrawn;)"string"==typeof e.parent?(qn(t,e.id,e.parent,n,r),e.lineDrawn=!0,e=jn[e.parent]):Array.isArray(e.parent)&&(qn(t,e.id,e.parent[0],n,r),qn(t,e.id,e.parent[1],n,r+1),$n(t,jn[e.parent[1]],n,r+1),e.lineDrawn=!0,e=jn[e.parent[0]])}var Xn,Kn="",Qn=!1,Jn={setMessage:function(t){g.debug("Setting message to: "+t),Kn=t},getMessage:function(){return Kn},setInfo:function(t){Qn=t},getInfo:function(){return Qn}},tr=n(20),er=n.n(tr),nr={},rr={},ir="",ar={addSection:function(t,e){void 0===rr[t]&&(rr[t]=e,g.debug("Added new section :",t))},getSections:function(){return rr},cleanupValue:function(t){return":"===t.substring(0,1)?(t=t.substring(1).trim(),Number(t.trim())):Number(t.trim())},clear:function(){rr={},ir=""},setTitle:function(t){ir=t},getTitle:function(){return ir}},or=n(21),sr=n.n(or),lr={},ur={},cr=[],hr="",fr={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},addEntity:function(t){void 0===ur[t]&&(ur[t]=t,g.debug("Added new entity :",t))},getEntities:function(){return ur},addRelationship:function(t,e,n,r){var i={entityA:t,roleA:e,entityB:n,relSpec:r};cr.push(i),g.debug("Added new relationship :",i)},getRelationships:function(){return cr},clear:function(){ur={},cr=[],hr=""},setTitle:function(t){hr=t},getTitle:function(){return hr}},dr=n(22),pr=n.n(dr),gr={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END"},vr=gr,mr={},yr=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")},_r=0,br=function(t,e){g.info("Drawing ER diagram"),fr.clear();var n=pr.a.parser;n.yy=fr;try{n.parse(t)}catch(t){g.debug("Parsing failed")}var r,i=a.select("[id='".concat(e,"']"));(function(t,e){var n;t.append("defs").append("marker").attr("id",gr.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",gr.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),(n=t.append("defs").append("marker").attr("id",gr.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),(n=t.append("defs").append("marker").attr("id",gr.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",gr.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",gr.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),(n=t.append("defs").append("marker").attr("id",gr.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),(n=t.append("defs").append("marker").attr("id",gr.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto")).append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")})(i,mr),r=new T.a.Graph({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:mr.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));var o,s,l,u,c=(o=i,s=fr.getEntities(),l=r,Object.keys(s).forEach((function(t){var e=o.append("g").attr("id",t);u=void 0===u?t:u;var n="entity-"+t,r=e.append("text").attr("id",n).attr("x",0).attr("y",(mr.fontSize+2*mr.entityPadding)/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("style","font-family: "+f().fontFamily+"; font-size: "+mr.fontSize).text(t),i=r.node().getBBox(),a=Math.max(mr.minEntityWidth,i.width+2*mr.entityPadding),s=Math.max(mr.minEntityHeight,i.height+2*mr.entityPadding);r.attr("transform","translate("+a/2+","+s/2+")");var c=e.insert("rect","#"+n).attr("fill",mr.fill).attr("fill-opacity","100%").attr("stroke",mr.stroke).attr("x",0).attr("y",0).attr("width",a).attr("height",s).node().getBBox();l.setNode(t,{width:c.width,height:c.height,shape:"rect",id:t})})),u),h=function(t,e){return t.forEach((function(t){e.setEdge(t.entityA,t.entityB,{relationship:t},yr(t))})),t}(fr.getRelationships(),r);Oe.a.layout(r),function(t,e){e.nodes().forEach((function(n){void 0!==n&&void 0!==e.node(n)&&t.select("#"+n).attr("transform","translate("+(e.node(n).x-e.node(n).width/2)+","+(e.node(n).y-e.node(n).height/2)+" )")}))}(i,r),h.forEach((function(t){!function(t,e,n,r){_r++;var i=n.edge(e.entityA,e.entityB,yr(e)),o=a.line().x((function(t){return t.x})).y((function(t){return t.y})).curve(a.curveBasis),s=t.insert("path","#"+r).attr("d",o(i.points)).attr("stroke",mr.stroke).attr("fill","none");e.relSpec.relType===fr.Identification.NON_IDENTIFYING&&s.attr("stroke-dasharray","8,8");var l="";switch(mr.arrowMarkerAbsolute&&(l=(l=(l=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),e.relSpec.cardA){case fr.Cardinality.ZERO_OR_ONE:s.attr("marker-end","url("+l+"#"+vr.ZERO_OR_ONE_END+")");break;case fr.Cardinality.ZERO_OR_MORE:s.attr("marker-end","url("+l+"#"+vr.ZERO_OR_MORE_END+")");break;case fr.Cardinality.ONE_OR_MORE:s.attr("marker-end","url("+l+"#"+vr.ONE_OR_MORE_END+")");break;case fr.Cardinality.ONLY_ONE:s.attr("marker-end","url("+l+"#"+vr.ONLY_ONE_END+")")}switch(e.relSpec.cardB){case fr.Cardinality.ZERO_OR_ONE:s.attr("marker-start","url("+l+"#"+vr.ZERO_OR_ONE_START+")");break;case fr.Cardinality.ZERO_OR_MORE:s.attr("marker-start","url("+l+"#"+vr.ZERO_OR_MORE_START+")");break;case fr.Cardinality.ONE_OR_MORE:s.attr("marker-start","url("+l+"#"+vr.ONE_OR_MORE_START+")");break;case fr.Cardinality.ONLY_ONE:s.attr("marker-start","url("+l+"#"+vr.ONLY_ONE_START+")")}var u=s.node().getTotalLength(),c=s.node().getPointAtLength(.5*u),h="rel"+_r,d=t.append("text").attr("id",h).attr("x",c.x).attr("y",c.y).attr("text-anchor","middle").attr("dominant-baseline","middle").attr("style","font-family: "+f().fontFamily+"; font-size: "+mr.fontSize).text(e.roleA).node().getBBox();t.insert("rect","#"+h).attr("x",c.x-d.width/2).attr("y",c.y-d.height/2).attr("width",d.width).attr("height",d.height).attr("fill","white").attr("fill-opacity","85%")}(i,t,r,c)}));var d=mr.diagramPadding,p=i.node().getBBox(),v=p.width+2*d,m=p.height+2*d;i.attr("height",m),i.attr("width","100%"),i.attr("style","max-width: ".concat(v,"px;")),i.attr("viewBox","".concat(p.x-d," ").concat(p.y-d," ").concat(v," ").concat(m))};function xr(t){return(xr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}for(var wr={},kr=0,Sr=["default","forest","dark","neutral"];krAr.maxTextSize&&(i="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa"),void 0!==r)r.innerHTML="",a.select(r).append("div").attr("id","d"+t).attr("style","font-family: "+Ar.fontFamily).append("svg").attr("id",t).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg").append("g");else{var o=document.getElementById(t);o&&o.remove();var u=document.querySelector("#d"+t);u&&(u.innerHTML=""),a.select("body").append("div").attr("id","d"+t).append("svg").attr("id",t).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg").append("g")}window.txt=i,i=function(t){return t.replace(/style.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})).replace(/classDef.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})).replace(/#\w+;/g,(function(t){var e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"\ufb02\xb0\xb0"+e+"\xb6\xdf":"\ufb02\xb0"+e+"\xb6\xdf"}))}(i);var c=a.select("#d"+t).node(),h=w(i),f=c.firstChild,d=f.firstChild,p=wr[Ar.theme];if(void 0===p&&(p=""),void 0!==Ar.themeCSS&&(p+="\n".concat(Ar.themeCSS)),void 0!==Ar.fontFamily&&(p+="\n:root { --mermaid-font-family: ".concat(Ar.fontFamily,"}")),void 0!==Ar.altFontFamily&&(p+="\n:root { --mermaid-alt-font-family: ".concat(Ar.altFontFamily,"}")),"flowchart"===h){var v=function(t){g.info("Extracting classes"),X.clear();var e=Q.a.parser;return e.yy=X,e.parse(t),X.getClasses()}(i);for(var m in v)p+="\n.".concat(m," > * { ").concat(v[m].styles.join(" !important; ")," !important; }"),v[m].textStyles&&(p+="\n.".concat(m," tspan { ").concat(v[m].textStyles.join(" !important; ")," !important; }"))}var y=document.createElement("style");y.innerHTML=s()(p,"#".concat(t)),f.insertBefore(y,d);var _=document.createElement("style"),b=window.getComputedStyle(f);switch(_.innerHTML="#".concat(t," {\n color: ").concat(b.color,";\n font: ").concat(b.font,";\n }"),f.insertBefore(_,d),h){case"git":Ar.flowchart.arrowMarkerAbsolute=Ar.arrowMarkerAbsolute,function(t){Hn=t}(Ar.git),function(t,e,n){try{var r=Vn.a.parser;r.yy=Fn,r.yy.clear(),g.debug("in gitgraph renderer",t+"\n","id:",e,!1),r.parse(t+"\n"),Yn=kn.a.assign(Yn,Hn,Fn.getOptions()),g.debug("effective options",Yn);var i=Fn.getDirection();jn=Fn.getCommits();var o=Fn.getBranchesAsObjArray();"BT"===i&&(Yn.nodeLabel.x=o.length*Yn.branchOffset,Yn.nodeLabel.width="100%",Yn.nodeLabel.y=-2*Yn.nodeRadius);var s=a.select('[id="'.concat(e,'"]'));for(var l in function(t){t.append("defs").append("g").attr("id","def-commit").append("circle").attr("r",Yn.nodeRadius).attr("cx",0).attr("cy",0),t.select("#def-commit").append("foreignObject").attr("width",Yn.nodeLabel.width).attr("height",Yn.nodeLabel.height).attr("x",Yn.nodeLabel.x).attr("y",Yn.nodeLabel.y).attr("class","node-label").attr("requiredFeatures","http://www.w3.org/TR/SVG11/feature#Extensibility").append("p").html("")}(s),Nn=1,o){var u=o[l];Zn(s,u.commit.id,o,i),$n(s,u.commit,i),Nn++}s.attr("height",(function(){return"BT"===i?Object.keys(jn).length*Yn.nodeSpacing:(o.length+1)*Yn.branchOffset}))}catch(t){g.error("Error while rendering gitgraph"),g.error(t.message)}}(i,t);break;case"flowchart":Ar.flowchart.arrowMarkerAbsolute=Ar.arrowMarkerAbsolute,function(t){for(var e=Object.keys(t),n=0;ne&&(n.starty=e-6,e+=12),function(t,e,n,r,i){var a={x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0},o=e.anchored;a.x=e.startx,a.y=e.starty,a.class="activation"+i%3,a.width=e.stopx-e.startx,a.height=n-e.starty,kt(o,a)}(0,n,e,0,Kt(t.from.actor).length),Zt.insert(n.startx,e-10,n.stopx,e)}(t,Zt.getVerticalPos());break;case Ot.parser.yy.LINETYPE.LOOP_START:Zt.bumpVerticalPos(Wt.boxMargin),Zt.newLoop(t.message),Zt.bumpVerticalPos(Wt.boxMargin+Wt.boxTextMargin);break;case Ot.parser.yy.LINETYPE.LOOP_END:e=Zt.endLoop(),Dt(o,e,"loop",Wt),Zt.bumpVerticalPos(Wt.boxMargin);break;case Ot.parser.yy.LINETYPE.RECT_START:Zt.bumpVerticalPos(Wt.boxMargin),Zt.newLoop(void 0,t.message),Zt.bumpVerticalPos(Wt.boxMargin);break;case Ot.parser.yy.LINETYPE.RECT_END:var a=Zt.endLoop();(function(t,e){kt(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower()})(o,a),Zt.bumpVerticalPos(Wt.boxMargin);break;case Ot.parser.yy.LINETYPE.OPT_START:Zt.bumpVerticalPos(Wt.boxMargin),Zt.newLoop(t.message),Zt.bumpVerticalPos(Wt.boxMargin+Wt.boxTextMargin);break;case Ot.parser.yy.LINETYPE.OPT_END:e=Zt.endLoop(),Dt(o,e,"opt",Wt),Zt.bumpVerticalPos(Wt.boxMargin);break;case Ot.parser.yy.LINETYPE.ALT_START:Zt.bumpVerticalPos(Wt.boxMargin),Zt.newLoop(t.message),Zt.bumpVerticalPos(Wt.boxMargin+Wt.boxTextMargin);break;case Ot.parser.yy.LINETYPE.ALT_ELSE:Zt.bumpVerticalPos(Wt.boxMargin),e=Zt.addSectionToLoop(t.message),Zt.bumpVerticalPos(Wt.boxMargin);break;case Ot.parser.yy.LINETYPE.ALT_END:e=Zt.endLoop(),Dt(o,e,"alt",Wt),Zt.bumpVerticalPos(Wt.boxMargin);break;case Ot.parser.yy.LINETYPE.PAR_START:Zt.bumpVerticalPos(Wt.boxMargin),Zt.newLoop(t.message),Zt.bumpVerticalPos(Wt.boxMargin+Wt.boxTextMargin);break;case Ot.parser.yy.LINETYPE.PAR_AND:Zt.bumpVerticalPos(Wt.boxMargin),e=Zt.addSectionToLoop(t.message),Zt.bumpVerticalPos(Wt.boxMargin);break;case Ot.parser.yy.LINETYPE.PAR_END:e=Zt.endLoop(),Dt(o,e,"par",Wt),Zt.bumpVerticalPos(Wt.boxMargin);break;default:try{Zt.bumpVerticalPos(Wt.messageMargin);var l=Qt(t.from),u=Qt(t.to);n=l[l[0]<=u[0]?1:0],r=u[l[0]/gi),h=!0,f=!1,d=void 0;try{for(var p,g=c[Symbol.iterator]();!(h=(p=g.next()).done);h=!0){var v=p.value;l.push(o.append("text").attr("x",s).attr("y",r-7+17*u).style("text-anchor","middle").attr("class","messageText").text(v.trim())),u++}}catch(t){f=!0,d=t}finally{try{h||null==g.return||g.return()}finally{if(f)throw d}}for(var m,y=17*(u-1),_=l.map((function(t){return(t._groups||t)[0][0].getBBox().width})),b=Math.max.apply(Math,function(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e0&&(e=t.classes.join(" "));for(var n=0,r=0;rn-e?n+a+1.5*Ie.leftPadding>u?e+r-5:n+r+5:(n-e)/2+e+r})).attr("y",(function(t,r){return r*e+Ie.barHeight/2+(Ie.fontSize/2-2)+n})).attr("text-height",i).attr("class",(function(t){var e=s(t.startTime),n=s(t.endTime);t.milestone&&(n=e+i);var r=this.getBBox().width,a="";t.classes.length>0&&(a=t.classes.join(" "));for(var o=0,c=0;cn-e?n+r+1.5*Ie.leftPadding>u?a+" taskTextOutsideLeft taskTextOutside"+o+" "+h:a+" taskTextOutsideRight taskTextOutside"+o+" "+h+" width-"+r:a+" taskText taskText"+o+" "+h+" width-"+r}))}(t,i,u,f,r,0,e),function(t,e){for(var n=[],r=0,i=0;i/gi),n=-(e.length-1)/2,r=document.createElementNS("http://www.w3.org/2000/svg","text");r.setAttribute("dy",n+"em");for(var i=0;i0&&a.setAttribute("dy","1em"),a.textContent=e[i],r.appendChild(a)}return r})).attr("x",10).attr("y",(function(i,a){if(!(a>0))return i[1]*t/2+e;for(var o=0;o "+t.w+": "+JSON.stringify(i.edge(t))),function(t,e,n,r){var i=function(t){switch(t){case Ue.relationType.AGGREGATION:return"aggregation";case Ue.relationType.EXTENSION:return"extension";case Ue.relationType.COMPOSITION:return"composition";case Ue.relationType.DEPENDENCY:return"dependency"}};e.points=e.points.filter((function(t){return!Number.isNaN(t.y)}));var o,s,l=e.points,u=a.line().x((function(t){return t.x})).y((function(t){return t.y})).curve(a.curveBasis),c=t.append("path").attr("d",u(l)).attr("id","edge"+We).attr("class","relation"),h="";r.arrowMarkerAbsolute&&(h=(h=(h=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(")).replace(/\)/g,"\\)")),1==n.relation.lineType&&c.attr("class","relation dashed-line"),"none"!==n.relation.type1&&c.attr("marker-start","url("+h+"#"+i(n.relation.type1)+"Start)"),"none"!==n.relation.type2&&c.attr("marker-end","url("+h+"#"+i(n.relation.type2)+"End)");var f,d,p,v,m=e.points.length,y=k(e.points);if(o=y.x,s=y.y,m%2!=0&&m>1){var _=S("none"!==n.relation.type1,e.points,e.points[0]),b=S("none"!==n.relation.type2,e.points,e.points[m-1]);g.debug("cardinality_1_point "+JSON.stringify(_)),g.debug("cardinality_2_point "+JSON.stringify(b)),f=_.x,d=_.y,p=b.x,v=b.y}if(void 0!==n.title){var x=t.append("g").attr("class","classLabel"),w=x.append("text").attr("class","label").attr("x",o).attr("y",s).attr("fill","red").attr("text-anchor","middle").text(n.title);window.label=w;var C=w.node().getBBox();x.insert("rect",":first-child").attr("class","box").attr("x",C.x-r.padding/2).attr("y",C.y-r.padding/2).attr("width",C.width+r.padding).attr("height",C.height+r.padding)}g.info("Rendering relation "+JSON.stringify(n)),void 0!==n.relationTitle1&&"none"!==n.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",f).attr("y",d).attr("fill","black").attr("font-size","6").text(n.relationTitle1),void 0!==n.relationTitle2&&"none"!==n.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",p).attr("y",v).attr("fill","black").attr("font-size","6").text(n.relationTitle2),We++}(r,i.edge(t),i.edge(t).relation,Je))})),r.attr("height",i.graph().height+40),r.attr("width",1.5*i.graph().width+20),r.attr("viewBox","-10 -10 "+(i.graph().width+20)+" "+(i.graph().height+20))}(i,t);break;case"state":xn(i,t);break;case"info":Ar.class.arrowMarkerAbsolute=Ar.arrowMarkerAbsolute,function(t){Object.keys(t).forEach((function(e){nr[e]=t[e]}))}(Ar.class),function(t,e,n){try{var r=er.a.parser;r.yy=Jn,g.debug("Renering info diagram\n"+t),r.parse(t),g.debug("Parsed info diagram");var i=a.select("#"+e);i.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+n),i.attr("height",100),i.attr("width",400)}catch(t){g.error("Error while rendering info diagram"),g.error(t.message)}}(i,t,l.version);break;case"pie":Ar.class.arrowMarkerAbsolute=Ar.arrowMarkerAbsolute,function(t){Object.keys(t).forEach((function(e){lr[e]=t[e]}))}(Ar.class),function(t,e){try{var n=sr.a.parser;n.yy=ar,g.debug("Rendering info diagram\n"+t),n.yy.clear(),n.parse(t),g.debug("Parsed info diagram");var r=document.getElementById(e);void 0===(Xn=r.parentElement.offsetWidth)&&(Xn=1200),void 0!==lr.useWidth&&(Xn=lr.useWidth),r.setAttribute("height","100%"),r.setAttribute("viewBox","0 0 "+Xn+" 450");var i=Xn,o=Math.min(i,450)/2-40,s=a.select("#"+e).append("svg").attr("width",i).attr("height",450).append("g").attr("transform","translate("+i/2+",225)"),l=ar.getSections(),u=0;Object.keys(l).forEach((function(t){u+=l[t]})),g.info(l);var c=a.scaleOrdinal().domain(l).range(a.schemeSet2),h=a.pie().value((function(t){return t.value}))(a.entries(l)),f=a.arc().innerRadius(0).outerRadius(o);s.selectAll("mySlices").data(h).enter().append("path").attr("d",f).attr("fill",(function(t){return c(t.data.key)})).attr("stroke","black").style("stroke-width","2px").style("opacity",.7),s.selectAll("mySlices").data(h).enter().append("text").text((function(t){return(t.data.value/u*100).toFixed(0)+"%"})).attr("transform",(function(t){return"translate("+f.centroid(t)+")"})).style("text-anchor","middle").attr("class","slice").style("font-size",17),s.append("text").text(n.yy.getTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");var d=s.selectAll(".legend").data(c.domain()).enter().append("g").attr("class","legend").attr("transform",(function(t,e){return"translate(216,"+(22*e-22*c.domain().length/2)+")"}));d.append("rect").attr("width",18).attr("height",18).style("fill",c).style("stroke",c),d.append("text").attr("x",22).attr("y",14).text((function(t){return t}))}catch(t){g.error("Error while rendering info diagram"),g.error(t.message)}}(i,t);break;case"er":(function(t){for(var e=Object.keys(t),n=0;n *").attr("xmlns","http://www.w3.org/1999/xhtml");var x=a.select("#d"+t).node().innerHTML;if(Ar.arrowMarkerAbsolute&&"false"!==Ar.arrowMarkerAbsolute||(x=x.replace(/marker-end="url\(.*?#/g,'marker-end="url(#',"g")),x=function(t){return t.replace(/\ufb02\xb0\xb0/g,(function(){return"&#"})).replace(/\ufb02\xb0/g,(function(){return"&"})).replace(/\xb6\xdf/g,(function(){return";"}))}(x),void 0!==n)switch(h){case"flowchart":n(x,X.bindFunctions);break;case"gantt":n(x,Te.bindFunctions);break;case"class":n(x,Ue.bindFunctions);break;default:n(x)}else g.debug("CB = undefined!");var C=a.select("#d"+t).node();return null!==C&&"function"==typeof C.remove&&a.select("#d"+t).node().remove(),x},parse:function(t){var e,n=w(t);switch(g.debug("Type "+n),n){case"git":(e=Vn.a).parser.yy=Fn;break;case"flowchart":X.clear(),(e=Q.a).parser.yy=X;break;case"flowchart-v2":X.clear(),(e=wt).parser.yy=X;break;case"sequence":(e=Pt.a).parser.yy=Ut;break;case"gantt":(e=ee.a).parser.yy=Te;break;case"class":(e=qe.a).parser.yy=Ue;break;case"state":(e=gn.a).parser.yy=dn;break;case"info":g.debug("info info info"),(e=er.a).parser.yy=Jn;break;case"pie":g.debug("pie"),(e=sr.a).parser.yy=ar;break;case"er":g.debug("er"),(e=pr.a).parser.yy=fr}e.parser.yy.parseError=function(t,e){throw{str:t,hash:e}},e.parse(t)},initialize:function(t){g.debug("Initializing mermaidAPI ",l.version),"object"===xr(t)&&function(t){for(var e=Object.keys(t),n=0;n=2?(void 0!==arguments[0]&&(Mr.sequenceConfig=arguments[0]),t=arguments[1]):t=arguments[0],"function"==typeof arguments[arguments.length-1]?(e=arguments[arguments.length-1],g.debug("Callback function found")):void 0!==r.mermaid&&("function"==typeof r.mermaid.callback?(e=r.mermaid.callback,g.debug("Callback function found")):g.debug("No Callback function found")),t=void 0===t?document.querySelectorAll(".mermaid"):"string"==typeof t?document.querySelectorAll(t):t instanceof window.Node?[t]:t,g.debug("Start On Load before: "+Mr.startOnLoad),void 0!==Mr.startOnLoad&&(g.debug("Start On Load inner: "+Mr.startOnLoad),Tr.initialize({startOnLoad:Mr.startOnLoad})),void 0!==Mr.ganttConfig&&Tr.initialize({gantt:Mr.ganttConfig});for(var a=function(r){var a=t[r];if(a.getAttribute("data-processed"))return"continue";a.setAttribute("data-processed",!0);var o="mermaid-".concat(Date.now());n=i.a.decode(n=a.innerHTML).trim().replace(//gi,"
    "),Tr.render(o,n,(function(t,n){a.innerHTML=t,void 0!==e&&e(o),n&&n(a)}),a)},o=0;or||l.newline?(a=0,c=v,o+=s+n,s=d.height):s=Math.max(s,d.height)}else{var m=d.height+(g?-g.y+d.y:0);(h=o+m)>i||l.newline?(a+=s+n,o=0,h=m,s=d.width):s=Math.max(s,d.width)}l.newline||(f[0]=a,f[1]=o,"horizontal"===t?a=c+n:o=h+n)}))}var h=c,f=r.curry(c,"vertical"),d=r.curry(c,"horizontal");function p(t,e,n){n=o.normalizeCssArray(n||0);var r=e.width,s=e.height,l=a(t.left,r),u=a(t.top,s),c=a(t.right,r),h=a(t.bottom,s),f=a(t.width,r),d=a(t.height,s),p=n[2]+n[0],g=n[1]+n[3],v=t.aspect;switch(isNaN(f)&&(f=r-c-g-l),isNaN(d)&&(d=s-h-p-u),null!=v&&(isNaN(f)&&isNaN(d)&&(v>r/s?f=.8*r:d=.8*s),isNaN(f)&&(f=v*d),isNaN(d)&&(d=f/v)),isNaN(l)&&(l=r-c-f-g),isNaN(u)&&(u=s-h-d-p),t.left||t.right){case"center":l=r/2-f/2-n[3];break;case"right":l=r-f-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-d/2-n[0];break;case"bottom":u=s-d-p}l=l||0,u=u||0,isNaN(f)&&(f=r-g-l-(c||0)),isNaN(d)&&(d=s-p-u-(h||0));var m=new i(l+n[3],u+n[0],f,d);return m.margin=n,m}function g(t,e){return e&&t&&s(l,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}e.LOCATION_PARAMS=l,e.HV_NAMES=u,e.box=h,e.vbox=f,e.hbox=d,e.getAvailableSize=function(t,e,n){var r=e.width,i=e.height,s=a(t.x,r),l=a(t.y,i),u=a(t.x2,r),c=a(t.y2,i);return(isNaN(s)||isNaN(parseFloat(t.x)))&&(s=0),(isNaN(u)||isNaN(parseFloat(t.x2)))&&(u=r),(isNaN(l)||isNaN(parseFloat(t.y)))&&(l=0),(isNaN(c)||isNaN(parseFloat(t.y2)))&&(c=i),n=o.normalizeCssArray(n||0),{width:Math.max(u-s-n[1]-n[3],0),height:Math.max(c-l-n[0]-n[2],0)}},e.getLayoutRect=p,e.positionElement=function(t,e,n,a,o){var s=!o||!o.hv||o.hv[0],l=!o||!o.hv||o.hv[1],u=o&&o.boundingMode||"all";if(s||l){var c;if("raw"===u)c="group"===t.type?new i(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(c=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();(c=c.clone()).applyTransform(h)}e=p(r.defaults({width:c.width,height:c.height},e),n,a);var f=t.position,d=s?e.x-c.x:0,g=l?e.y-c.y:0;t.attr("position","raw"===u?[d,g]:[f[0]+d,f[1]+g])}},e.sizeCalculable=function(t,e){return null!=t[u[e][0]]||null!=t[u[e][1]]&&null!=t[u[e][2]]},e.mergeLayoutParam=function(t,e,n){!r.isObject(n)&&(n={});var i=n.ignoreSize;!r.isArray(i)&&(i=[i,i]);var a=l(u[0],0),o=l(u[1],1);function l(n,r){var a={},o=0,l={},u=0;if(s(n,(function(e){l[e]=t[e]})),s(n,(function(t){c(e,t)&&(a[t]=l[t]=e[t]),h(a,t)&&o++,h(l,t)&&u++})),i[r])return h(e,n[1])?l[n[2]]=null:h(e,n[2])&&(l[n[1]]=null),l;if(2!==u&&o){if(o>=2)return a;for(var f=0;fg[1]?-1:1,m=["start"===s?g[0]-v*p:"end"===s?g[1]+v*p:(g[0]+g[1])/2,A(s)?t.labelOffset+c*p:0],_=e.get("nameRotate");null!=_&&(_=_*y/180),A(s)?r=w(t.rotation,null!=_?_:t.rotation,c):(r=function(t,e,n,r){var i,a,o=d(n-t.rotation),s=r[0]>r[1],l="start"===e&&!s||"start"!==e&&s;return f(o-y/2)?(a=l?"bottom":"top",i="center"):f(o-1.5*y)?(a=l?"top":"bottom",i="center"):(a="middle",i=o<1.5*y&&o>y/2?l?"left":"right":l?"right":"left"),{rotation:o,textAlign:i,textVerticalAlign:a}}(t,s,_||0,g),null!=(a=t.axisNameAvailableWidth)&&(a=Math.abs(a/Math.sin(r.rotation)),!isFinite(a)&&(a=null)));var b=h.getFont(),S=e.get("nameTruncate",!0)||{},C=S.ellipsis,T=i(t.nameTruncateMaxWidth,S.maxWidth,a),E=null!=C&&null!=T?l.truncateText(n,T,b,C,{minChar:2,placeholder:S.placeholder}):n,M=e.get("tooltip",!0),I=e.mainType,D={componentType:I,name:n,$vars:["name"]};D[I+"Index"]=e.componentIndex;var O=new u.Text({anid:"name",__fullText:n,__truncatedText:E,position:m,rotation:r.rotation,silent:k(e),z2:1,tooltip:M&&M.show?o({content:n,formatter:function(){return n},formatterParams:D},M):null});u.setTextStyle(O.style,h,{text:E,textFont:b,textFill:h.getTextColor()||e.get("axisLine.lineStyle.color"),textAlign:h.get("align")||r.textAlign,textVerticalAlign:h.get("verticalAlign")||r.textVerticalAlign}),e.get("triggerEvent")&&(O.eventData=x(e),O.eventData.targetType="axisName",O.eventData.name=n),this._dumbGroup.add(O),O.updateTransform(),this.group.add(O),O.decomposeTransform()}}},x=_.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},w=_.innerTextLayout=function(t,e,n){var r,i,a=d(e-t);return f(a)?(i=n>0?"top":"bottom",r="center"):f(a-y)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=a>0&&a0?"right":"left":n>0?"left":"right"),{rotation:a,textAlign:r,textVerticalAlign:i}},k=_.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)};function S(t){t&&(t.ignore=!0)}function C(t,e,n){var r=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(r&&i){var a=g.identity([]);return g.rotate(a,a,-t.rotation),r.applyTransform(g.mul([],a,t.getLocalTransform())),i.applyTransform(g.mul([],a,e.getLocalTransform())),r.intersect(i)}}function A(t){return"middle"===t||"center"===t}function T(t,e,n,r,i){for(var a=[],o=[],s=[],l=0;l1?(("e"===(r=[t(e,(n=n.split(""))[0]),t(e,n[1])])[0]||"w"===r[0])&&r.reverse(),r.join("")):{left:"w",right:"e",top:"n",bottom:"s"}[r=a.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[n],function(t){return a.getTransform(t.group)}(e))];var r}(t,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?g[o]+"-resize":null})}))}function P(t,e,n,r,i,a,o){var s,l,u,c=e.childOfName(n);c&&c.setShape((s=B(t,e,[[r,i],[r+a,i+o]]),{x:l=h(s[0][0],s[1][0]),y:u=h(s[0][1],s[1][1]),width:f(s[0][0],s[1][0])-l,height:f(s[0][1],s[1][1])-u}))}function L(t){return r.defaults({strokeNoScale:!0},t.brushStyle)}function R(t,e,n,r){var i=[h(t,n),h(e,r)],a=[f(t,n),f(e,r)];return[[i[0],a[0]],[i[1],a[1]]]}function N(t,e,n,r,i,a,o,s){var l=r.__brushOption,c=t(l.range),h=F(n,a,o);u(i.split(""),(function(t){var e=p[t];c[e[0]][e[1]]+=h[e[0]]})),l.range=e(R(c[0][0],c[1][0],c[0][1],c[1][1])),k(n,r),E(n,{isEnd:!1})}function z(t,e,n,r,i){var a=e.__brushOption.range,o=F(t,n,r);u(a,(function(t){t[0]+=o[0],t[1]+=o[1]})),k(t,e),E(t,{isEnd:!1})}function F(t,e,n){var r=t.group,i=r.transformCoordToLocal(e,n),a=r.transformCoordToLocal(0,0);return[i[0]-a[0],i[1]-a[1]]}function B(t,e,n){var i=A(t,e);return i&&!0!==i?i.clipPath(n,t._transform):r.clone(n)}function V(t){var e=t.event;e.preventDefault&&e.preventDefault()}function j(t,e,n){return t.childOfName("main").contain(e,n)}function Y(t,e,n,i){var a,o=t._creatingCover,s=t._creatingPanel,l=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],r=e[0],i=n[0]-r[0],a=n[1]-r[1];return d(i*i+a*a,.5)>6}(t)||o){if(s&&!o){"single"===l.brushMode&&T(t);var u=r.clone(l);u.brushType=H(u.brushType,s),u.panelId=!0===s?null:s.panelId,o=t._creatingCover=_(t,u),t._covers.push(o)}if(o){var c=q[H(t._brushType,s)];o.__brushOption.range=c.getCreatingRange(B(t,o,t._track)),i&&(b(t,o),c.updateCommon(t,o)),x(t,o),a={isEnd:i}}}else i&&"single"===l.brushMode&&l.removeOnClick&&C(t,e,n)&&T(t)&&(a={isEnd:i,removeOnClick:!0});return a}function H(t,e){return"auto"===t?e.defaultBrushType:t}y.prototype={constructor:y,enableBrush:function(t){var e;return this._brushType&&(o.release(e=this._zr,"globalPan",this._uid),function(t,e){u(e,(function(e,n){t.off(n,e)}))}(e,this._handlers),this._brushType=this._brushOption=null),t.brushType&&function(t,e){var n=t._zr;t._enableGlobalPan||o.take(n,"globalPan",t._uid),function(t,e){u(e,(function(e,n){t.on(n,e)}))}(n,t._handlers),t._brushType=e.brushType,t._brushOption=r.merge(r.clone(v),e,!0)}(this,t),this},setPanels:function(t){if(t&&t.length){var e=this._panels={};r.each(t,(function(t){e[t.panelId]=r.clone(t)}))}else this._panels=null;return this},mount:function(t){this._enableGlobalPan=(t=t||{}).enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({position:t.position||[0,0],rotation:t.rotation||0,scale:t.scale||[1,1]}),this._transform=e.getLocalTransform(),this},eachCover:function(t,e){u(this._covers,t,e)},updateCovers:function(t){t=r.map(t,(function(t){return r.merge(r.clone(v),t,!0)}));var e=this._covers,n=this._covers=[],i=this,a=this._creatingCover;return new s(e,t,(function(t,e){return o(t.__brushOption,e)}),o).add(l).update(l).remove((function(t){e[t]!==a&&i.group.remove(e[t])})).execute(),this;function o(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function l(r,o){var s=t[r];if(null!=o&&e[o]===a)n[r]=e[o];else{var l=n[r]=null!=o?(e[o].__brushOption=s,e[o]):b(i,_(i,s));k(i,l)}}},unmount:function(){return this.enableBrush(!1),T(this),this._zr.remove(this.group),this},dispose:function(){this.unmount(),this.off()}},r.mixin(y,i);var U={mousedown:function(t){if(this._dragging)G(this,t);else if(!t.target||!t.target.draggable){V(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=C(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var r=t._zr;return e<0||e>r.getWidth()||void 0>r.getHeight()}(t,e)){var r=t._zr,i=t._covers,a=C(t,e,n);if(!t._dragging)for(var o=0;oo;)l+=360*u;return[s,l]},coordToPoint:function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},getArea:function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*r,endAngle:-n[1]*r,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,r=e-this.cy,i=n*n+r*r,a=this.r,o=this.r0;return i<=a*a&&i>=o*o}}}},t.exports=a},"/WM3":function(t,e,n){var r=n("QuXc"),i=n("bYtY").isFunction;t.exports={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),a=(t.visualColorAccessPath||"itemStyle.color").split("."),o=t.get(a),s=!i(o)||o instanceof r?null:o;o&&!s||(o=t.getColorFromPalette(t.name,null,e.getSeriesCount())),n.setVisual("color",o);var l=(t.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),u=t.get(l);if(n.setVisual("borderColor",u),!e.isSeriesFiltered(t))return s&&n.each((function(e){n.setItemVisual(e,"color",s(t.getDataParams(e)))})),{dataEach:n.hasItemOption?function(t,e){var n=t.getItemModel(e),r=n.get(a,!0),i=n.get(l,!0);null!=r&&t.setItemVisual(e,"color",r),null!=i&&t.setItemVisual(e,"borderColor",i)}:null}}}},"/d5a":function(t,e){var n={average:function(t){for(var e=0,n=0,r=0;re&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n1&&("string"==typeof o?l=n[o]:"function"==typeof o&&(l=o),l&&t.setData(a.downSample(a.mapDimension(c.dim),1/d,l,r)))}}}}},"/iHx":function(t,e,n){var r=n("6GrX"),i=n("IwbS"),a=["textStyle","color"];t.exports={getTextColor:function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(a):null)},getFont:function(){return i.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(t){return r.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"))}}},"/ry/":function(t,e,n){var r=n("bYtY"),i=n("T4UG"),a=n("5GhG").seriesModelMixin,o=i.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}});r.mixin(o,a,!0),t.exports=o},"/stD":function(t,e,n){var r=n("bYtY"),i=n("IUWy"),a=n("Kagy");function o(t,e,n){this.model=t,this.ecModel=e,this.api=n}o.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:r.clone(a.toolbox.brush.title)};var s=o.prototype;s.render=s.updateView=function(t,e,n){var i,a,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,a=t.brushOption.brushMode||"single",o|=t.areas.length})),this._brushType=i,this._brushMode=a,r.each(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===a:"clear"===e?o:e===i)?"emphasis":"normal")}))},s.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return r.each(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},s.onclick=function(t,e,n){var r=this._brushType,i=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},i.register("brush",o),t.exports=o},"/uUt":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("7o/Q");function i(t,e){return function(n){return n.lift(new a(t,e))}}var a=function(){function t(e,n){_classCallCheck(this,t),this.compare=e,this.keySelector=n}return _createClass2(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}]),t}(),o=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i){var a;return _classCallCheck(this,n),(a=e.call(this,t)).keySelector=i,a.hasKey=!1,"function"==typeof r&&(a.compare=r),a}return _createClass2(n,[{key:"compare",value:function(t,e){return t===e}},{key:"_next",value:function(t){var e;try{var n=this.keySelector;e=n?n(t):t}catch(i){return this.destination.error(i)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,e)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))}}]),n}(r.a)},"/y7N":function(t,e,n){var r=n("bYtY"),i=n("IwbS"),a=n("6GrX"),o=n("7aKB"),s=n("Fofx"),l=n("aX7z"),u=n("+rIm");function c(t,e,n,r,i){var s=h(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get("label.precision"),formatter:n.get("label.formatter")}),l=n.getModel("label"),u=o.normalizeCssArray(l.get("padding")||0),c=l.getFont(),f=a.getBoundingRect(s,c),d=i.position,p=f.width+u[1]+u[3],g=f.height+u[0]+u[2],v=i.align;"right"===v&&(d[0]-=p),"center"===v&&(d[0]-=p/2);var m=i.verticalAlign;"bottom"===m&&(d[1]-=g),"middle"===m&&(d[1]-=g/2),function(t,e,n,r){var i=r.getWidth(),a=r.getHeight();t[0]=Math.min(t[0]+e,i)-e,t[1]=Math.min(t[1]+n,a)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(d,p,g,r);var y=l.get("backgroundColor");y&&"auto"!==y||(y=e.get("axisLine.lineStyle.color")),t.label={shape:{x:0,y:0,width:p,height:g,r:l.get("borderRadius")},position:d.slice(),style:{text:s,textFont:c,textFill:l.getTextColor(),textPosition:"inside",textPadding:u,fill:y,stroke:l.get("borderColor")||"transparent",lineWidth:l.get("borderWidth")||0,shadowBlur:l.get("shadowBlur"),shadowColor:l.get("shadowColor"),shadowOffsetX:l.get("shadowOffsetX"),shadowOffsetY:l.get("shadowOffsetY")},z2:10}}function h(t,e,n,i,a){t=e.scale.parse(t);var o=e.scale.getLabel(t,{precision:a.precision}),s=a.formatter;if(s){var u={value:l.getAxisRawValue(e,t),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};r.each(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),r=e&&e.getDataParams(t.dataIndexInside);r&&u.seriesData.push(r)})),r.isString(s)?o=s.replace("{value}",o):r.isFunction(s)&&(o=s(u))}return o}function f(t,e,n){var r=s.create();return s.rotate(r,r,n.rotation),s.translate(r,r,n.position),i.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}e.buildElStyle=function(t){var e,n=t.get("type"),r=t.getModel(n+"Style");return"line"===n?(e=r.getLineStyle()).fill=null:"shadow"===n&&((e=r.getAreaStyle()).stroke=null),e},e.buildLabelElOption=c,e.getValueLabel=h,e.getTransformedPosition=f,e.buildCartesianSingleLabelElOption=function(t,e,n,r,i,a){var o=u.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get("label.margin"),c(e,r,i,a,{position:f(r.axis,t,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})},e.makeLineShape=function(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}},e.makeRectShape=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},e.makeSectorShape=function(t,e,n,r,i,a){return{cx:t,cy:e,r0:n,r:r,startAngle:i,endAngle:a,clockwise:!0}}},0:function(t,e,n){t.exports=n("zUnb")},"0/Rx":function(t,e){t.exports=function(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var r=t.getData();r.filterSelf((function(t){for(var e=r.getName(t),i=0;i=0&&i.each(t,(function(t){r.setIconStatus(t,"normal")}))})),r.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==a?null:{seriesIndex:a}},(function(e){var a=c[n](e.subType,e.id,e,r);a&&(i.defaults(a,e.option),l.series.push(a));var o=e.coordinateSystem;if(o&&"cartesian2d"===o.type&&("line"===n||"bar"===n)){var s=o.getAxesByScale("ordinal")[0];if(s){var u=s.dim+"Axis",h=t.queryComponents({mainType:u,index:e.get(name+"Index"),id:e.get(name+"Id")})[0].componentIndex;l[u]=l[u]||[];for(var f=0;f<=h;f++)l[u][h]=l[u][h]||{};l[u][h].boundaryGap="bar"===n}}})),"stack"===n&&(o=l.series&&l.series[0]&&"__ec_magicType_stack__"===l.series[0].stack?i.merge({stack:s.title.tiled},s.title):i.clone(s.title)),e.dispatchAction({type:"changeMagicType",currentType:n,newOption:l,newTitle:o})}},r.registerAction({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)})),o.register("magicType",l),t.exports=l},"06Qe":function(t,e,n){var r,i=n("ItGF"),a="urn:schemas-microsoft-com:vml",o="undefined"==typeof window?null:window,s=!1,l=o&&o.document;if(l&&!i.canvasSupported)try{!l.namespaces.zrvml&&l.namespaces.add("zrvml",a),r=function(t){return l.createElement("')}}catch(u){r=function(t){return l.createElement("<"+t+' xmlns="'+a+'" class="zrvml">')}}e.doc=l,e.createNode=function(t){return r(t)},e.initVML=function(){if(!s&&l){s=!0;var t=l.styleSheets;t.length<31?l.createStyleSheet().addRule(".zrvml","behavior:url(#default#VML)"):t[0].addRule(".zrvml","behavior:url(#default#VML)")}}},"0Bwj":function(t,e,n){var r=n("T4UG"),i=n("I3/A"),a=n("7aKB").encodeHTML,o=n("Qxkt"),s=(n("Tghj"),r.extend({type:"series.sankey",layoutInfo:null,levelModels:null,getInitialData:function(t,e){for(var n=t.edges||t.links,r=t.data||t.nodes,a=t.levels,s=this.levelModels={},l=0;l=0&&(s[a[l].depth]=new o(a[l],this,e));if(r&&n)return i(r,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,r=n.getData().getItemLayout(e).depth;return n.levelModels[r]||this.parentModel})),t})),e.wrapMethod("getItemModel",(function(t,e){return t.customizeGetParent((function(t){var n=this.parentModel,r=n.getGraph().getEdgeByIndex(e).node1.getLayout().depth;return n.levelModels[r]||this.parentModel})),t}))})).data},setNodePosition:function(t,e){var n=this.option.data[t];n.localX=e[0],n.localY=e[1]},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},formatTooltip:function(t,e,n){if("edge"===n){var r=this.getDataParams(t,n),i=r.data,o=i.source+" -- "+i.target;return r.value&&(o+=" : "+r.value),a(o)}if("node"===n){var l=this.getGraph().getNodeByIndex(t).getLayout().value,u=this.getDataParams(t,n).data.name;return l&&(o=u+" : "+l),a(o)}return s.superCall(this,"formatTooltip",t,e)},optionUpdated:function(){var t=this.option;!0===t.focusNodeAdjacency&&(t.focusNodeAdjacency="allEdges")},getDataParams:function(t,e){var n=s.superCall(this,"getDataParams",t,e);if(null==n.value&&"node"===e){var r=this.getGraph().getNodeByIndex(t).getLayout().value;n.value=r}return n},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}}));t.exports=s},"0Cz8":function(t,e,n){var r=n("Xi7e"),i=n("ebwN"),a=n("e4Nc");t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!i||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new a(o)}return n.set(t,e),this.size=n.size,this}},"0EUg":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("bHdf");function i(){return Object(r.a)(1)}},"0HBW":function(t,e,n){var r=n("ProS"),i=n("bYtY");function a(t,e){e.update="updateView",r.registerAction(e,(function(e,n){var r={};return n.eachComponent({mainType:"geo",query:e},(function(n){n[t](e.name),i.each(n.coordinateSystem.regions,(function(t){r[t.name]=n.isSelected(t.name)||!1}))})),{selected:r,name:e.name}}))}n("Hxpc"),n("7uqq"),n("dmGj"),n("SehX"),a("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),a("select",{type:"geoSelect",event:"geoselected"}),a("unSelect",{type:"geoUnSelect",event:"geounselected"})},"0JAE":function(t,e,n){var r=n("bYtY"),i=n("+TT/"),a=n("OELB"),o=n("IDmD");function s(t,e,n){this._model=t}function l(t,e,n,r){var i=n.calendarModel,a=n.seriesModel,o=i?i.coordinateSystem:a?a.coordinateSystem:null;return o===this?o[t](r):null}s.prototype={constructor:s,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(t){var e=(t=a.parseDate(t)).getFullYear(),n=t.getMonth()+1;n=n<10?"0"+n:n;var r=t.getDate();r=r<10?"0"+r:r;var i=t.getDay();return{y:e,m:n,d:r,day:i=Math.abs((i+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+n+"-"+r,date:t}},getNextNDay:function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},update:function(t,e){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 n=this._rangeInfo.weeks||1,a=["width","height"],o=this._model.get("cellSize").slice(),s=this._model.getBoxLayoutParams(),l="horizontal"===this._orient?[n,7]:[7,n];r.each([0,1],(function(t){h(o,t)&&(s[a[t]]=o[t]*l[t])}));var u={width:e.getWidth(),height:e.getHeight()},c=this._rect=i.getLayoutRect(s,u);function h(t,e){return null!=t[e]&&"auto"!==t[e]}r.each([0,1],(function(t){h(o,t)||(o[t]=c[a[t]]/l[t])})),this._sw=o[0],this._sh=o[1]},dataToPoint:function(t,e){r.isArray(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),i=this._rangeInfo;if(e&&!(n.time>=i.start.time&&n.timeo.end.time&&t.reverse(),t},_getRangeInfo:function(t){var e;(t=[this.getDateInfo(t[0]),this.getDateInfo(t[1])])[0].time>t[1].time&&(e=!0,t.reverse());var n=Math.floor(t[1].time/864e5)-Math.floor(t[0].time/864e5)+1,r=new Date(t[0].time),i=r.getDate(),a=t[1].date.getDate();if(r.setDate(i+n-1),r.getDate()!==a)for(var o=r.getTime()-t[1].time>0?1:-1;r.getDate()!==a&&(r.getTime()-t[1].time)*o>0;)r.setDate(i+(n-=o)-1);var s=Math.floor((n+t[0].day+6)/7),l=e?1-s:s-1;return e&&t.reverse(),{range:[t[0].formatedDate,t[1].formatedDate],start:t[0],end:t[1],allDay:n,weeks:s,nthWeek:l,fweek:t[0].day,lweek:t[1].day}},_getDateByWeeksAndDay:function(t,e,n){var r=this._getRangeInfo(n);if(t>r.weeks||0===t&&er.lweek)return!1;var i=7*(t-1)-r.fweek+e,a=new Date(r.start.time);return a.setDate(r.start.d+i),this.getDateInfo(a)}},s.dimensions=s.prototype.dimensions,s.getDimensionsInfo=s.prototype.getDimensionsInfo,s.create=function(t,e){var n=[];return t.eachComponent("calendar",(function(r){var i=new s(r,t,e);n.push(i),r.coordinateSystem=i})),t.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("calendarIndex")||0])})),n},o.register("calendar",s),t.exports=s},"0V0F":function(t,e,n){var r=n("bYtY"),i=r.createHashMap,a=r.each;function o(t){a(t,(function(e,n){var r=[],i=[NaN,NaN],a=e.data,o=e.isStackedByIndex,s=a.map([e.stackResultDimension,e.stackedOverDimension],(function(s,l,u){var c,h,f=a.get(e.stackedDimension,u);if(isNaN(f))return i;o?h=a.getRawIndex(u):c=a.get(e.stackedByDimension,u);for(var d=NaN,p=n-1;p>=0;p--){var g=t[p];if(o||(h=g.data.rawIndexOf(g.stackedByDimension,c)),h>=0){var v=g.data.getByRawIndex(g.stackResultDimension,h);if(f>=0&&v>0||f<=0&&v<0){f+=v,d=v;break}}}return r[0]=f,r[1]=d,r}));a.hostModel.setData(s),e.data=s}))}t.exports=function(t){var e=i();t.eachSeries((function(t){var n=t.get("stack");if(n){var r=e.get(n)||e.set(n,[]),i=t.getData(),a={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:t};if(!a.stackedDimension||!a.isStackedByIndex&&!a.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(a)}})),e.each(o)}},"0o9m":function(t,e,n){var r=n("ProS");n("hNWo"),n("RlCK"),n("XpcN");var i=n("kDyi"),a=n("bLfw");r.registerProcessor(r.PRIORITY.PROCESSOR.SERIES_FILTER,i),a.registerSubTypeDefaulter("legend",(function(){return"plain"}))},"0qV/":function(t,e,n){var r=n("ProS");r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},(function(){})),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},(function(){}))},"0s+r":function(t,e,n){var r=n("bYtY"),i=n("QBsz"),a=n("y23F"),o=n("H6uX"),s=n("YH21"),l=n("C0SR");function u(){s.stop(this.event)}function c(){}c.prototype.dispose=function(){};var h=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],f=function(t,e,n,r){o.call(this),this.storage=t,this.painter=e,this.painterRoot=r,n=n||new c,this.proxy=null,this._hovered={},a.call(this),this.setHandlerProxy(n)};function d(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var r,i=t;i;){if(i.clipPath&&!i.clipPath.contain(e,n))return!1;i.silent&&(r=!0),i=i.parent}return!r||"silent"}return!1}function p(t,e,n){var r=t.painter;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}f.prototype={constructor:f,setHandlerProxy:function(t){this.proxy&&this.proxy.dispose(),t&&(r.each(h,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},mousemove:function(t){var e=t.zrX,n=t.zrY,r=p(this,e,n),i=this._hovered,a=i.target;a&&!a.__zr&&(a=(i=this.findHover(i.x,i.y)).target);var o=this._hovered=r?{x:e,y:n}:this.findHover(e,n),s=o.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),a&&s!==a&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==a&&this.dispatchToElement(o,"mouseover",t)},mouseout:function(t){var e=t.zrEventControl,n=t.zrIsToLocalDOM;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&!n&&this.trigger("globalout",{type:"globalout",event:t})},resize:function(t){this._hovered={}},dispatch:function(t,e){var n=this[t];n&&n.call(this,e)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},dispatchToElement:function(t,e,n){var r=(t=t||{}).target;if(!r||!r.silent){for(var i="on"+e,a=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:u}}(e,t,n);r&&(r[i]&&(a.cancelBubble=r[i].call(r,a)),r.trigger(e,a),r=r.parent,!a.cancelBubble););a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer((function(t){"function"==typeof t[i]&&t[i].call(t,a),t.trigger&&t.trigger(e,a)})))}},findHover:function(t,e,n){for(var r=this.storage.getDisplayList(),i={x:t,y:e},a=r.length-1;a>=0;a--){var o;if(r[a]!==n&&!r[a].ignore&&(o=d(r[a],t,e))&&(!i.topTarget&&(i.topTarget=r[a]),"silent"!==o)){i.target=r[a];break}}return i},processGesture:function(t,e){this._gestureMgr||(this._gestureMgr=new l);var n=this._gestureMgr;"start"===e&&n.clear();var r=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),r){var i=r.type;t.gestureEvent=i,this.dispatchToElement({target:r.target},i,r.event)}}},r.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){f.prototype[t]=function(e){var n,r,a=e.zrX,o=e.zrY,s=p(this,a,o);if("mouseup"===t&&s||(r=(n=this.findHover(a,o)).target),"mousedown"===t)this._downEl=r,this._downPoint=[e.zrX,e.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||i.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}})),r.mixin(f,o),r.mixin(f,a),t.exports=f},"0uVh":function(t,e,n){t.exports=function(){function t(t,e,n,r,i,a){this.message=t,this.expected=e,this.found=n,this.offset=r,this.line=i,this.column=a,this.name="SyntaxError"}return function(t,e){function n(){this.constructor=t}n.prototype=e.prototype,t.prototype=new n}(t,Error),{SyntaxError:t,parse:function(e){var r,i=arguments.length>1?arguments[1]:{},a={},o={start:_e,graphStmt:be},s=_e,l=a,u=null,c="{",h={type:"literal",value:"{",description:'"{"'},f="}",d={type:"literal",value:"}",description:'"}"'},p=function(t,e,n,r){return{type:e,id:n,strict:null!==t,stmts:r}},g=";",v={type:"literal",value:";",description:'";"'},m=function(t,e){for(var n=[t],r=0;r",description:'"->"'},V=function(t,e){var n=[t];if(e)for(var r=0;rt&&(he=0,fe={line:1,column:1,seenCR:!1}),function(t,n,r){var i,a;for(i=n;ide&&(de=ce,pe=[]),pe.push(t))}function ye(n,r,i){var a=ve(i),o=ie.description?1:0}));e1?r.slice(0,-1).join(", ")+" or "+r[t.length-1]:r[0])+" but "+(e?'"'+function(t){function e(t){return t.charCodeAt(0).toString(16).toUpperCase()}return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,(function(t){return"\\x0"+e(t)})).replace(/[\x10-\x1F\x80-\xFF]/g,(function(t){return"\\x"+e(t)})).replace(/[\u0180-\u0FFF]/g,(function(t){return"\\u0"+e(t)})).replace(/[\u1080-\uFFFF]/g,(function(t){return"\\u"+e(t)}))}(e)+'"':"end of input")+" found."}(r,o),r,o,i,a.line,a.column)}function _e(){var t,e;if(t=[],(e=be())!==a)for(;e!==a;)t.push(e),e=be();else t=l;return t}function be(){var t,n,r,i,o,s,g,v,m,y,_,b,x,w;for(t=ce,n=[],r=We();r!==a;)n.push(r),r=We();if(n!==a)if(r=ce,(i=He())!==a&&(o=We())!==a?r=i=[i,o]:(ce=r,r=l),r===a&&(r=u),r!==a)if((i=Ue())!==a){for(o=[],s=We();s!==a;)o.push(s),s=We();if(o!==a)if((s=ze())===a&&(s=u),s!==a){for(g=[],v=We();v!==a;)g.push(v),v=We();if(g!==a)if(123===e.charCodeAt(ce)?(v=c,ce++):(v=a,0===ge&&me(h)),v!==a){for(m=[],y=We();y!==a;)m.push(y),y=We();if(m!==a)if((y=xe())===a&&(y=u),y!==a){for(_=[],b=We();b!==a;)_.push(b),b=We();if(_!==a)if(125===e.charCodeAt(ce)?(b=f,ce++):(b=a,0===ge&&me(d)),b!==a){for(x=[],w=We();w!==a;)x.push(w),w=We();x!==a?t=n=p(r,i,s,y):(ce=t,t=l)}else ce=t,t=l;else ce=t,t=l}else ce=t,t=l;else ce=t,t=l}else ce=t,t=l;else ce=t,t=l}else ce=t,t=l;else ce=t,t=l}else ce=t,t=l;else ce=t,t=l;else ce=t,t=l;return t}function xe(){var t,n,r,i,o,s,c,h,f,d;if(t=ce,(n=we())!==a){for(r=[],i=We();i!==a;)r.push(i),i=We();if(r!==a)if(59===e.charCodeAt(ce)?(i=g,ce++):(i=a,0===ge&&me(v)),i===a&&(i=u),i!==a){for(o=[],s=ce,c=[],h=We();h!==a;)c.push(h),h=We();if(c!==a)if((h=we())!==a){for(f=[],d=We();d!==a;)f.push(d),d=We();f!==a?(59===e.charCodeAt(ce)?(d=g,ce++):(d=a,0===ge&&me(v)),d===a&&(d=u),d!==a?s=c=[c,h,f,d]:(ce=s,s=l)):(ce=s,s=l)}else ce=s,s=l;else ce=s,s=l;for(;s!==a;){for(o.push(s),s=ce,c=[],h=We();h!==a;)c.push(h),h=We();if(c!==a)if((h=we())!==a){for(f=[],d=We();d!==a;)f.push(d),d=We();f!==a?(59===e.charCodeAt(ce)?(d=g,ce++):(d=a,0===ge&&me(v)),d===a&&(d=u),d!==a?s=c=[c,h,f,d]:(ce=s,s=l)):(ce=s,s=l)}else ce=s,s=l;else ce=s,s=l}o!==a?t=n=m(n,o):(ce=t,t=l)}else ce=t,t=l;else ce=t,t=l}else ce=t,t=l;return t}function we(){var t;return(t=ke())===a&&(t=Ae())===a&&(t=Te())===a&&(t=Se())===a&&(t=Ce()),t}function ke(){var t,e,n,r;if(t=ce,(e=Ve())===a&&(e=Fe())===a&&(e=Be()),e!==a){for(n=[],r=We();r!==a;)n.push(r),r=We();n!==a&&(r=Ee())!==a?t=e=y(e,r):(ce=t,t=l)}else ce=t,t=l;return t}function Se(){var t,n,r,i,o,s;if(t=ce,(n=ze())!==a){for(r=[],i=We();i!==a;)r.push(i),i=We();if(r!==a)if(61===e.charCodeAt(ce)?(i=_,ce++):(i=a,0===ge&&me(b)),i!==a){for(o=[],s=We();s!==a;)o.push(s),s=We();o!==a&&(s=ze())!==a?t=n=x(n,s):(ce=t,t=l)}else ce=t,t=l;else ce=t,t=l}else ce=t,t=l;return t}function Ce(){var t,e,n,r;if(t=ce,(e=Le())!==a){for(n=[],r=We();r!==a;)n.push(r),r=We();n!==a?((r=Ee())===a&&(r=u),r!==a?t=e=w(e,r):(ce=t,t=l)):(ce=t,t=l)}else ce=t,t=l;return t}function Ae(){var t,e,n,r,i,o;if(t=ce,(e=Pe())!==a){for(n=[],r=We();r!==a;)n.push(r),r=We();if(n!==a)if((r=De())!==a){for(i=[],o=We();o!==a;)i.push(o),o=We();i!==a?((o=Ee())===a&&(o=u),o!==a?t=e=k(e,r,o):(ce=t,t=l)):(ce=t,t=l)}else ce=t,t=l;else ce=t,t=l}else ce=t,t=l;return t}function Te(){var t,n,r,i,o,s,p,g;if(t=ce,n=ce,(r=Ye())!==a){for(i=[],o=We();o!==a;)i.push(o),o=We();if(i!==a){if(o=ce,(s=ze())!==a){for(p=[],g=We();g!==a;)p.push(g),g=We();p!==a?o=s=[s,p]:(ce=o,o=l)}else ce=o,o=l;o===a&&(o=u),o!==a?n=r=[r,i,o]:(ce=n,n=l)}else ce=n,n=l}else ce=n,n=l;if(n===a&&(n=u),n!==a)if(123===e.charCodeAt(ce)?(r=c,ce++):(r=a,0===ge&&me(h)),r!==a){for(i=[],o=We();o!==a;)i.push(o),o=We();if(i!==a)if((o=xe())===a&&(o=u),o!==a){for(s=[],p=We();p!==a;)s.push(p),p=We();s!==a?(125===e.charCodeAt(ce)?(p=f,ce++):(p=a,0===ge&&me(d)),p!==a?t=n=S(n,o):(ce=t,t=l)):(ce=t,t=l)}else ce=t,t=l;else ce=t,t=l}else ce=t,t=l;else ce=t,t=l;return t}function Ee(){var t,e,n,r,i,o;if(t=ce,(e=Me())!==a){for(n=[],r=ce,i=[],o=We();o!==a;)i.push(o),o=We();for(i!==a&&(o=Me())!==a?r=i=[i,o]:(ce=r,r=l);r!==a;){for(n.push(r),r=ce,i=[],o=We();o!==a;)i.push(o),o=We();i!==a&&(o=Me())!==a?r=i=[i,o]:(ce=r,r=l)}n!==a?t=e=C(e,n):(ce=t,t=l)}else ce=t,t=l;return t}function Me(){var t,n,r,i,o,s;if(t=ce,91===e.charCodeAt(ce)?(n=A,ce++):(n=a,0===ge&&me(T)),n!==a){for(r=[],i=We();i!==a;)r.push(i),i=We();if(r!==a)if((i=Ie())===a&&(i=u),i!==a){for(o=[],s=We();s!==a;)o.push(s),s=We();o!==a?(93===e.charCodeAt(ce)?(s=E,ce++):(s=a,0===ge&&me(M)),s!==a?t=n=I(i):(ce=t,t=l)):(ce=t,t=l)}else ce=t,t=l;else ce=t,t=l}else ce=t,t=l;return t}function Ie(){var t,n,r,i,o,s,c,h;if(t=ce,(n=Oe())!==a){for(r=[],i=ce,o=[],s=We();s!==a;)o.push(s),s=We();if(o!==a)if(44===e.charCodeAt(ce)?(s=D,ce++):(s=a,0===ge&&me(O)),s===a&&(s=u),s!==a){for(c=[],h=We();h!==a;)c.push(h),h=We();c!==a&&(h=Oe())!==a?i=o=[o,s,c,h]:(ce=i,i=l)}else ce=i,i=l;else ce=i,i=l;for(;i!==a;){for(r.push(i),i=ce,o=[],s=We();s!==a;)o.push(s),s=We();if(o!==a)if(44===e.charCodeAt(ce)?(s=D,ce++):(s=a,0===ge&&me(O)),s===a&&(s=u),s!==a){for(c=[],h=We();h!==a;)c.push(h),h=We();c!==a&&(h=Oe())!==a?i=o=[o,s,c,h]:(ce=i,i=l)}else ce=i,i=l;else ce=i,i=l}r!==a?t=n=P(n,r):(ce=t,t=l)}else ce=t,t=l;return t}function De(){var t,n,r,i,o,s;if(t=ce,n=ce,e.substr(ce,2)===L?(r=L,ce+=2):(r=a,0===ge&&me(R)),r!==a&&(i=(i=N())?l:z)!==a?n=r=[r,i]:(ce=n,n=l),n===a&&(n=ce,e.substr(ce,2)===F?(r=F,ce+=2):(r=a,0===ge&&me(B)),r!==a&&(i=(i=N())?z:l)!==a?n=r=[r,i]:(ce=n,n=l)),n!==a){for(r=[],i=We();i!==a;)r.push(i),i=We();if(r!==a)if((i=Pe())!==a){for(o=[],s=We();s!==a;)o.push(s),s=We();o!==a?((s=De())===a&&(s=u),s!==a?t=n=V(i,s):(ce=t,t=l)):(ce=t,t=l)}else ce=t,t=l;else ce=t,t=l}else ce=t,t=l;return t}function Oe(){var t,n,r,i,o,s,c;if(t=ce,(n=ze())!==a){for(r=ce,i=[],o=We();o!==a;)i.push(o),o=We();if(i!==a)if(61===e.charCodeAt(ce)?(o=_,ce++):(o=a,0===ge&&me(b)),o!==a){for(s=[],c=We();c!==a;)s.push(c),c=We();s!==a&&(c=ze())!==a?r=i=[i,o,s,c]:(ce=r,r=l)}else ce=r,r=l;else ce=r,r=l;r===a&&(r=u),r!==a?t=n=j(n,r):(ce=t,t=l)}else ce=t,t=l;return t}function Pe(){var t,e;return(t=Te())===a&&(t=ce,(e=Le())!==a&&(e=Y(e)),t=e),t}function Le(){var t,e,n,r;if(t=ce,(e=ze())!==a){for(n=[],r=We();r!==a;)n.push(r),r=We();n!==a?((r=Re())===a&&(r=u),r!==a?t=e=H(e):(ce=t,t=l)):(ce=t,t=l)}else ce=t,t=l;return t}function Re(){var t,n,r,i,o,s,c,h,f;if(t=ce,58===e.charCodeAt(ce)?(n=U,ce++):(n=a,0===ge&&me(G)),n!==a){for(r=[],i=We();i!==a;)r.push(i),i=We();if(r!==a)if((i=ze())!==a){for(o=[],s=We();s!==a;)o.push(s),s=We();if(o!==a){if(s=ce,58===e.charCodeAt(ce)?(c=U,ce++):(c=a,0===ge&&me(G)),c!==a){for(h=[],f=We();f!==a;)h.push(f),f=We();h!==a&&(f=Ne())!==a?s=c=[c,h,f]:(ce=s,s=l)}else ce=s,s=l;s===a&&(s=u),s!==a?t=n=[n,r,i,o,s]:(ce=t,t=l)}else ce=t,t=l}else ce=t,t=l;else ce=t,t=l}else ce=t,t=l;return t}function Ne(){var t;return e.substr(ce,2)===q?(t=q,ce+=2):(t=a,0===ge&&me(W)),t===a&&(e.substr(ce,2)===Z?(t=Z,ce+=2):(t=a,0===ge&&me($)),t===a&&(e.substr(ce,2)===X?(t=X,ce+=2):(t=a,0===ge&&me(K)),t===a&&(e.substr(ce,2)===Q?(t=Q,ce+=2):(t=a,0===ge&&me(J)),t===a&&(110===e.charCodeAt(ce)?(t=tt,ce++):(t=a,0===ge&&me(et)),t===a&&(101===e.charCodeAt(ce)?(t=nt,ce++):(t=a,0===ge&&me(rt)),t===a&&(115===e.charCodeAt(ce)?(t=it,ce++):(t=a,0===ge&&me(at)),t===a&&(119===e.charCodeAt(ce)?(t=ot,ce++):(t=a,0===ge&&me(st)),t===a&&(99===e.charCodeAt(ce)?(t=lt,ce++):(t=a,0===ge&&me(ut)),t===a&&(95===e.charCodeAt(ce)?(t=ct,ce++):(t=a,0===ge&&me(ht))))))))))),t}function ze(){var t,n,r,i,o,s,c;if(ge++,t=ce,dt.test(e.charAt(ce))?(n=e.charAt(ce),ce++):(n=a,0===ge&&me(pt)),n!==a){for(r=[],gt.test(e.charAt(ce))?(i=e.charAt(ce),ce++):(i=a,0===ge&&me(vt));i!==a;)r.push(i),gt.test(e.charAt(ce))?(i=e.charAt(ce),ce++):(i=a,0===ge&&me(vt));r!==a?t=n=mt(n,r):(ce=t,t=l)}else ce=t,t=l;if(t===a){if(t=ce,45===e.charCodeAt(ce)?(n=yt,ce++):(n=a,0===ge&&me(_t)),n===a&&(n=u),n!==a)if(46===e.charCodeAt(ce)?(r=bt,ce++):(r=a,0===ge&&me(xt)),r!==a){if(i=[],wt.test(e.charAt(ce))?(o=e.charAt(ce),ce++):(o=a,0===ge&&me(kt)),o!==a)for(;o!==a;)i.push(o),wt.test(e.charAt(ce))?(o=e.charAt(ce),ce++):(o=a,0===ge&&me(kt));else i=l;i!==a?t=n=St(n,r,i):(ce=t,t=l)}else ce=t,t=l;else ce=t,t=l;if(t===a){if(t=ce,45===e.charCodeAt(ce)?(n=yt,ce++):(n=a,0===ge&&me(_t)),n===a&&(n=u),n!==a){if(r=[],wt.test(e.charAt(ce))?(i=e.charAt(ce),ce++):(i=a,0===ge&&me(kt)),i!==a)for(;i!==a;)r.push(i),wt.test(e.charAt(ce))?(i=e.charAt(ce),ce++):(i=a,0===ge&&me(kt));else r=l;if(r!==a){if(i=ce,46===e.charCodeAt(ce)?(o=bt,ce++):(o=a,0===ge&&me(xt)),o!==a){for(s=[],wt.test(e.charAt(ce))?(c=e.charAt(ce),ce++):(c=a,0===ge&&me(kt));c!==a;)s.push(c),wt.test(e.charAt(ce))?(c=e.charAt(ce),ce++):(c=a,0===ge&&me(kt));s!==a?i=o=[o,s]:(ce=i,i=l)}else ce=i,i=l;i===a&&(i=u),i!==a?t=n=Ct(n,r,i):(ce=t,t=l)}else ce=t,t=l}else ce=t,t=l;if(t===a)if(t=ce,34===e.charCodeAt(ce)?(n=At,ce++):(n=a,0===ge&&me(Tt)),n!==a){for(r=[],i=ce,e.substr(ce,2)===Et?(o=Et,ce+=2):(o=a,0===ge&&me(Mt)),o!==a&&(o=It()),(i=o)===a&&(i=ce,92===e.charCodeAt(ce)?(o=Dt,ce++):(o=a,0===ge&&me(Ot)),o!==a?(Pt.test(e.charAt(ce))?(s=e.charAt(ce),ce++):(s=a,0===ge&&me(Lt)),s!==a?i=o=Rt(s):(ce=i,i=l)):(ce=i,i=l),i===a&&(Pt.test(e.charAt(ce))?(i=e.charAt(ce),ce++):(i=a,0===ge&&me(Lt))));i!==a;)r.push(i),i=ce,e.substr(ce,2)===Et?(o=Et,ce+=2):(o=a,0===ge&&me(Mt)),o!==a&&(o=It()),(i=o)===a&&(i=ce,92===e.charCodeAt(ce)?(o=Dt,ce++):(o=a,0===ge&&me(Ot)),o!==a?(Pt.test(e.charAt(ce))?(s=e.charAt(ce),ce++):(s=a,0===ge&&me(Lt)),s!==a?i=o=Rt(s):(ce=i,i=l)):(ce=i,i=l),i===a&&(Pt.test(e.charAt(ce))?(i=e.charAt(ce),ce++):(i=a,0===ge&&me(Lt))));r!==a?(34===e.charCodeAt(ce)?(i=At,ce++):(i=a,0===ge&&me(Tt)),i!==a?t=n=Nt(r):(ce=t,t=l)):(ce=t,t=l)}else ce=t,t=l}}return ge--,t===a&&(n=a,0===ge&&me(ft)),t}function Fe(){var t;return e.substr(ce,4).toLowerCase()===zt?(t=e.substr(ce,4),ce+=4):(t=a,0===ge&&me(Ft)),t!==a&&(t=Bt(t)),t}function Be(){var t;return e.substr(ce,4).toLowerCase()===Vt?(t=e.substr(ce,4),ce+=4):(t=a,0===ge&&me(jt)),t!==a&&(t=Bt(t)),t}function Ve(){var t;return e.substr(ce,5).toLowerCase()===Yt?(t=e.substr(ce,5),ce+=5):(t=a,0===ge&&me(Ht)),t!==a&&(t=Bt(t)),t}function je(){var t;return e.substr(ce,7).toLowerCase()===Ut?(t=e.substr(ce,7),ce+=7):(t=a,0===ge&&me(Gt)),t!==a&&(t=Bt(t)),t}function Ye(){var t;return e.substr(ce,8).toLowerCase()===qt?(t=e.substr(ce,8),ce+=8):(t=a,0===ge&&me(Wt)),t!==a&&(t=Bt(t)),t}function He(){var t;return e.substr(ce,6).toLowerCase()===Zt?(t=e.substr(ce,6),ce+=6):(t=a,0===ge&&me($t)),t!==a&&(t=Bt(t)),t}function Ue(){var t,e;return(t=Ve())===a&&(t=ce,(e=je())!==a&&(e=Xt(e)),t=e),t}function Ge(){var t,n;if(ge++,t=[],Qt.test(e.charAt(ce))?(n=e.charAt(ce),ce++):(n=a,0===ge&&me(Jt)),n!==a)for(;n!==a;)t.push(n),Qt.test(e.charAt(ce))?(n=e.charAt(ce),ce++):(n=a,0===ge&&me(Jt));else t=l;return ge--,t===a&&(n=a,0===ge&&me(Kt)),t}function qe(){var t,n,r,i,o,s;if(ge++,t=ce,e.substr(ce,2)===ee?(n=ee,ce+=2):(n=a,0===ge&&me(ne)),n!==a){for(r=[],re.test(e.charAt(ce))?(i=e.charAt(ce),ce++):(i=a,0===ge&&me(ie));i!==a;)r.push(i),re.test(e.charAt(ce))?(i=e.charAt(ce),ce++):(i=a,0===ge&&me(ie));r!==a?t=n=[n,r]:(ce=t,t=l)}else ce=t,t=l;if(t===a)if(t=ce,e.substr(ce,2)===ae?(n=ae,ce+=2):(n=a,0===ge&&me(oe)),n!==a){for(r=[],i=ce,o=ce,ge++,e.substr(ce,2)===se?(s=se,ce+=2):(s=a,0===ge&&me(le)),ge--,s===a?o=z:(ce=o,o=l),o!==a?(e.length>ce?(s=e.charAt(ce),ce++):(s=a,0===ge&&me(ue)),s!==a?i=o=[o,s]:(ce=i,i=l)):(ce=i,i=l);i!==a;)r.push(i),i=ce,o=ce,ge++,e.substr(ce,2)===se?(s=se,ce+=2):(s=a,0===ge&&me(le)),ge--,s===a?o=z:(ce=o,o=l),o!==a?(e.length>ce?(s=e.charAt(ce),ce++):(s=a,0===ge&&me(ue)),s!==a?i=o=[o,s]:(ce=i,i=l)):(ce=i,i=l);r!==a?(e.substr(ce,2)===se?(i=se,ce+=2):(i=a,0===ge&&me(le)),i!==a?t=n=[n,r,i]:(ce=t,t=l)):(ce=t,t=l)}else ce=t,t=l;return ge--,t===a&&(n=a,0===ge&&me(te)),t}function We(){var t;return(t=Ge())===a&&(t=qe()),t}var Ze,$e=n("WG3t");if((r=s())!==a&&ce===e.length)return r;throw r!==a&&ce0;)e%2&&(n+=l[e+1]),l[e=e-1>>1]+=t.weight;u+=t.weight*n}))),u}t.exports=function(t,e){for(var n=0,r=1;r=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},remove:function(t,e){i.unregister(e.getZr(),"axisPointer"),a.superApply(this._model,"remove",arguments)},dispose:function(t,e){i.unregister("axisPointer",e),a.superApply(this._model,"dispose",arguments)}});t.exports=a},"1LK5":function(t,e){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},"1MYJ":function(t,e,n){var r=n("y+Vt"),i=r.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var t=this.__dirtyPath,e=this.shape.paths,n=0;n=i||v<0)break;if(d(y)){if(p){v+=a;continue}break}if(v===n)t[a>0?"moveTo":"lineTo"](y[0],y[1]);else if(l>0){var _=e[g],b="y"===c?1:0,x=(y[b]-_[b])*l;u(h,_),h[b]=_[b]+x,u(f,y),f[b]=y[b]-x,t.bezierCurveTo(h[0],h[1],f[0],f[1],y[0],y[1])}else t.lineTo(y[0],y[1]);g=v,v+=a}return m}function v(t,e,n,r,a,p,g,v,m,y,_){for(var b=0,x=n,w=0;w=a||x<0)break;if(d(k)){if(_){x+=p;continue}break}if(x===n)t[p>0?"moveTo":"lineTo"](k[0],k[1]),u(h,k);else if(m>0){var S=x+p,C=e[S];if(_)for(;C&&d(e[S]);)C=e[S+=p];var A=.5,T=e[b];if(!(C=e[S])||d(C))u(f,k);else{var E,M;if(d(C)&&!_&&(C=k),i.sub(c,C,T),"x"===y||"y"===y){var I="x"===y?0:1;E=Math.abs(k[I]-T[I]),M=Math.abs(k[I]-C[I])}else E=i.dist(k,T),M=i.dist(k,C);l(f,k,c,-m*(1-(A=M/(M+E))))}o(h,h,v),s(h,h,g),o(f,f,v),s(f,f,g),t.bezierCurveTo(h[0],h[1],f[0],f[1],k[0],k[1]),l(h,k,c,m*A)}else t.lineTo(k[0],k[1]);b=x,x+=p}return w}function m(t,e){var n=[1/0,1/0],r=[-1/0,-1/0];if(e)for(var i=0;ir[0]&&(r[0]=a[0]),a[1]>r[1]&&(r[1]=a[1])}return{min:e?n:r,max:e?r:n}}var y=r.extend({type:"ec-polyline",shape:{points:[],smooth:0,smoothConstraint:!0,smoothMonotone:null,connectNulls:!1},style:{fill:null,stroke:"#000"},brush:a(r.prototype.brush),buildPath:function(t,e){var n=e.points,r=0,i=n.length,a=m(n,e.smoothConstraint);if(e.connectNulls){for(;i>0&&d(n[i-1]);i--);for(;r0&&d(n[a-1]);a--);for(;i=this._maxSize&&o>0){var l=n.head;n.remove(l),delete r[l.key],a=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return a},o.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},o.clear=function(){this._list.clear(),this._map={}},t.exports=a},"1bdT":function(t,e,n){var r=n("3gBT"),i=n("H6uX"),a=n("DN4a"),o=n("vWvF"),s=n("bYtY"),l=function(t){a.call(this,t),i.call(this,t),o.call(this,t),this.id=t.id||r()};l.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(t,e){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(t,e){},attrKV:function(t,e){if("position"===t||"scale"===t||"origin"===t){if(e){var n=this[t];n||(n=this[t]=[]),n[0]=e[0],n[1]=e[1]}}else this[t]=e},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(s.isObject(t))for(var n in t)t.hasOwnProperty(n)&&this.attrKV(n,t[n]);return this.dirty(!1),this},setClipPath:function(t){var e=this.__zr;e&&t.addSelfToZr(e),this.clipPath&&this.clipPath!==t&&this.removeClipPath(),this.clipPath=t,t.__zr=e,t.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var t=this.clipPath;t&&(t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(t){this.__zr=t;var e=this.animators;if(e)for(var n=0;nn.getHeight()&&(r.textPosition="top",s=!0);var l=s?-5-i.height:f+8;o+i.width/2>n.getWidth()?(r.textPosition=["100%",l],r.textAlign="right"):o-i.width/2<0&&(r.textPosition=[0,l],r.textAlign="left")}}))}function v(a,u){var c,v=g[a],m=g[u],y=d[v],_=new l(y,t,t.ecModel);if(r&&null!=r.newTitle&&(y.title=r.newTitle),v&&!m){if(function(t){return 0===t.indexOf("my")}(v))c={model:_,onclick:_.option.onclick,featureName:v};else{var b=o.get(v);if(!b)return;c=new b(_,e,n)}p[v]=c}else{if(!(c=p[m]))return;c.model=_,c.ecModel=e,c.api=n}v||!m?_.get("show")&&!c.unusable?(function(r,a,o){var l=r.getModel("iconStyle"),u=r.getModel("emphasis.iconStyle"),c=a.getIcons?a.getIcons():r.get("icon"),d=r.get("title")||{};if("string"==typeof c){var p=c,g=d;d={},(c={})[o]=p,d[o]=g}var v=r.iconPaths={};i.each(c,(function(o,c){var p=s.createIcon(o,{},{x:-f/2,y:-f/2,width:f,height:f});p.setStyle(l.getItemStyle()),p.hoverStyle=u.getItemStyle(),p.setStyle({text:d[c],textAlign:u.get("textAlign"),textBorderRadius:u.get("textBorderRadius"),textPadding:u.get("textPadding"),textFill:null});var g=t.getModel("tooltip");g&&g.get("show")&&p.attr("tooltip",i.extend({content:d[c],formatter:g.get("formatter",!0)||function(){return d[c]},formatterParams:{componentType:"toolbox",name:c,title:d[c],$vars:["name","title"]},position:g.get("position",!0)||"bottom"},g.option)),s.setHoverStyle(p),t.get("showTitle")&&(p.__title=d[c],p.on("mouseover",(function(){var e=u.getItemStyle(),n="vertical"===t.get("orient")?null==t.get("right")?"right":"left":null==t.get("bottom")?"bottom":"top";p.setStyle({textFill:u.get("textFill")||e.fill||e.stroke||"#000",textBackgroundColor:u.get("textBackgroundColor"),textPosition:u.get("textPosition")||n})})).on("mouseout",(function(){p.setStyle({textFill:null,textBackgroundColor:null})}))),p.trigger(r.get("iconStatus."+c)||"normal"),h.add(p),p.on("click",i.bind(a.onclick,a,e,n,c)),v[c]=p}))}(_,c,v),_.setIconStatus=function(t,e){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,r[t]&&r[t].trigger(e)},c.render&&c.render(_,e,n,r)):c.remove&&c.remove(e,n):c.dispose&&c.dispose(e,n)}},updateView:function(t,e,n,r){i.each(this._features,(function(t){t.updateView&&t.updateView(t.model,e,n,r)}))},remove:function(t,e){i.each(this._features,(function(n){n.remove&&n.remove(t,e)})),this.group.removeAll()},dispose:function(t,e){i.each(this._features,(function(n){n.dispose&&n.dispose(t,e)}))}});t.exports=h},"2B6p":function(t,e){e.updateCenterAndZoom=function(t,e,n){var r=t.getZoom(),i=t.getCenter(),a=e.zoom,o=t.dataToPoint(i);if(null!=e.dx&&null!=e.dy&&(o[0]-=e.dx,o[1]-=e.dy,i=t.pointToData(o),t.setCenter(i)),null!=a){if(n){var s=n.min||0;a=Math.max(Math.min(r*a,n.max||1/0),s)/r}t.scale[0]*=a,t.scale[1]*=a;var l=t.position,u=(e.originY-l[1])*(a-1);l[0]-=(e.originX-l[0])*(a-1),l[1]-=u,t.updateTransform(),i=t.pointToData(o),t.setCenter(i),t.setZoom(a*r)}return{center:t.getCenter(),zoom:t.getZoom()}}},"2DNl":function(t,e,n){var r=n("IMiH"),i=n("loD1"),a=n("59Ip"),o=n("aKvl"),s=n("n1HI"),l=n("hX1E").normalizeRadian,u=n("Sj9i"),c=n("hyiK"),h=r.CMD,f=2*Math.PI,d=[-1,-1,-1],p=[-1,-1];function g(t,e,n,r,i,a,o,s,l,c){if(c>e&&c>r&&c>a&&c>s||c1&&(h=p[0],p[0]=p[1],p[1]=h),g=u.cubicAt(e,r,a,s,p[0]),y>1&&(v=u.cubicAt(e,r,a,s,p[1]))),m+=2===y?be&&s>r&&s>a||s=0&&c<=1){for(var h=0,f=u.quadraticAt(e,r,a,c),p=0;pn||s<-n)return 0;var u=Math.sqrt(n*n-s*s);d[0]=-u,d[1]=u;var c=Math.abs(r-i);if(c<1e-4)return 0;if(c%f<1e-4){r=0,i=f;var h=a?1:-1;return o>=d[0]+t&&o<=d[1]+t?h:0}a?(u=r,r=l(i),i=l(u)):(r=l(r),i=l(i)),r>i&&(i+=f);for(var p=0,g=0;g<2;g++){var v=d[g];if(v+t>o){var m=Math.atan2(s,v);h=a?1:-1,m<0&&(m=f+m),(m>=r&&m<=i||m+f>=r&&m+f<=i)&&(m>Math.PI/2&&m<1.5*Math.PI&&(h=-h),p+=h)}}return p}function y(t,e,n,r,l){for(var u=0,f=0,d=0,p=0,y=0,_=0;_1&&(n||(u+=c(f,d,p,y,r,l))),1===_&&(p=f=t[_],y=d=t[_+1]),b){case h.M:f=p=t[_++],d=y=t[_++];break;case h.L:if(n){if(i.containStroke(f,d,t[_],t[_+1],e,r,l))return!0}else u+=c(f,d,t[_],t[_+1],r,l)||0;f=t[_++],d=t[_++];break;case h.C:if(n){if(a.containStroke(f,d,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],e,r,l))return!0}else u+=g(f,d,t[_++],t[_++],t[_++],t[_++],t[_],t[_+1],r,l)||0;f=t[_++],d=t[_++];break;case h.Q:if(n){if(o.containStroke(f,d,t[_++],t[_++],t[_],t[_+1],e,r,l))return!0}else u+=v(f,d,t[_++],t[_++],t[_],t[_+1],r,l)||0;f=t[_++],d=t[_++];break;case h.A:var x=t[_++],w=t[_++],k=t[_++],S=t[_++],C=t[_++],A=t[_++];_+=1;var T=1-t[_++],E=Math.cos(C)*k+x,M=Math.sin(C)*S+w;_>1?u+=c(f,d,E,M,r,l):(p=E,y=M);var I=(r-x)*S/k+x;if(n){if(s.containStroke(x,w,S,C,C+A,T,e,I,l))return!0}else u+=m(x,w,S,C,C+A,T,I,l);f=Math.cos(C+A)*k+x,d=Math.sin(C+A)*S+w;break;case h.R:if(p=f=t[_++],y=d=t[_++],E=p+t[_++],M=y+t[_++],n){if(i.containStroke(p,y,E,y,e,r,l)||i.containStroke(E,y,E,M,e,r,l)||i.containStroke(E,M,p,M,e,r,l)||i.containStroke(p,M,p,y,e,r,l))return!0}else u+=c(E,y,E,M,r,l),u+=c(p,M,p,y,r,l);break;case h.Z:if(n){if(i.containStroke(f,d,p,y,e,r,l))return!0}else u+=c(f,d,p,y,r,l);f=p,d=y}}return n||Math.abs(d-y)<1e-4||(u+=c(f,d,p,y,r,l)||0),0!==u}e.contain=function(t,e,n){return y(t,0,!1,e,n)},e.containStroke=function(t,e,n,r){return y(t,e,!0,n,r)}},"2J+T":function(t,e,n){t.exports={components:n("5EqP"),dijkstra:n("pHPU"),dijkstraAll:n("0xIU"),findCycles:n("3azA"),floydWarshall:n("ZzYp"),isAcyclic:n("Q+g8"),postorder:n("Txda"),preorder:n("qvmO"),prim:n("Yen4"),tarjan:n("z6cq"),topsort:n("gYXE")}},"2QA8":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2ajD":function(t,e){t.exports=function(t){return t!=t}},"2dDv":function(t,e,n){var r=n("bYtY"),i=n("Fofx"),a=n("+TT/"),o=n("aX7z"),s=n("D1WM"),l=n("IwbS"),u=n("OELB"),c=n("72pK"),h=r.each,f=Math.min,d=Math.max,p=Math.floor,g=Math.ceil,v=u.round,m=Math.PI;function y(t,e,n){this._axesMap=r.createHashMap(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}function _(t,e){return f(d(t,e[0]),e[1])}function b(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function x(t,e){var n,r,i=e.axisExpandWidth,a=e.axisCollapseWidth,o=e.winInnerIndices,s=a,l=!1;return t=n&&a<=n+e.axisLength&&o>=r&&o<=r+e.layoutLength},getModel:function(){return this._model},_updateAxesFromSeries:function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var r=n.getData();h(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(r,r.mapDimension(t)),o.niceScaleExtent(e.scale,e.model)}),this)}}),this)},resize:function(t,e){this._rect=a.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},getRect:function(){return this._rect},_makeLayoutInfo:function(){var t,e=this._model,n=this._rect,r=["x","y"],i=["width","height"],a=e.get("layout"),o="horizontal"===a?0:1,s=n[i[o]],l=[0,s],u=this.dimensions.length,c=_(e.get("axisExpandWidth"),l),h=_(e.get("axisExpandCount")||0,[0,u]),f=e.get("axisExpandable")&&u>3&&u>h&&h>1&&c>0&&s>0,d=e.get("axisExpandWindow");d?(t=_(d[1]-d[0],l),d[1]=d[0]+t):(t=_(c*(h-1),l),(d=[c*(e.get("axisExpandCenter")||p(u/2))-t/2])[1]=d[0]+t);var m=(s-t)/(u-h);m<3&&(m=0);var y=[p(v(d[0]/c,1))+1,g(v(d[1]/c,1))-1];return{layout:a,pixelDimIndex:o,layoutBase:n[r[o]],layoutLength:s,axisBase:n[r[1-o]],axisLength:n[i[1-o]],axisExpandable:f,axisExpandWidth:c,axisCollapseWidth:m,axisExpandWindow:d,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:m/c*d[0]}},_layoutAxes:function(){var t=this._rect,e=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),a=r.layout;e.each((function(t){var e=[0,r.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),h(n,(function(e,n){var o=(r.axisExpandable?x:b)(n,r),s={horizontal:{x:o.position,y:r.axisLength},vertical:{x:0,y:o.position}},l=[s[a].x+t.x,s[a].y+t.y],u={horizontal:m/2,vertical:0}[a],c=i.create();i.rotate(c,c,u),i.translate(c,c,l),this._axesLayout[e]={position:l,rotation:u,transform:c,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},getAxis:function(t){return this._axesMap.get(t)},dataToPoint:function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},eachActiveState:function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var a=this._axesMap,o=this.dimensions,s=[],l=[];r.each(o,(function(e){s.push(t.mapDimension(e)),l.push(a.get(e).model)}));for(var u=this.hasAxisBrushed(),c=n;ci*(1-h[0])?(l="jump",o=s-i*(1-h[2])):(o=s-i*h[1])>=0&&(o=s-i*(1-h[1]))<=0&&(o=0),(o*=e.axisExpandWidth/u)?c(o,r,a,"all"):l="none"):((r=[d(0,a[1]*s/(i=r[1]-r[0])-i/2)])[1]=f(a[1],r[0]+i),r[0]=r[1]-i),{axisExpandWindow:r,behavior:l}}},t.exports=y},"2fFW":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){var e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=t},get useDeprecatedSynchronousErrorHandling(){return r}}},"2fGM":function(t,e,n){var r=n("bYtY"),i=n("bLfw"),a=n("nkfE"),o=n("ICMv"),s=i.extend({type:"polarAxis",axis:null,getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"polar",index:this.option.polarIndex,id:this.option.polarId})[0]}});function l(t,e){return e.type||(e.data?"category":"value")}r.merge(s.prototype,o),a("angle",s,l,{startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:!1}}),a("radius",s,l,{splitNumber:5})},"2fNS":function(t,e,n){"use strict";var r=n("b5wT");t.exports=function(t,e){var n={};return r.forEach(t,(function(t,e){var i=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};r.isUndefined(t.barycenter)||(i.barycenter=t.barycenter,i.weight=t.weight)})),r.forEach(e.edges(),(function(t){var e=n[t.v],i=n[t.w];r.isUndefined(e)||r.isUndefined(i)||(i.indegree++,e.out.push(n[t.w]))})),function(t){var e=[];function n(t){return function(e){var n,i,a,o;e.merged||(r.isUndefined(e.barycenter)||r.isUndefined(t.barycenter)||e.barycenter>=t.barycenter)&&(a=0,o=0,(n=t).weight&&(a+=n.barycenter*n.weight,o+=n.weight),(i=e).weight&&(a+=i.barycenter*i.weight,o+=i.weight),n.vs=i.vs.concat(n.vs),n.barycenter=a/o,n.weight=o,n.i=Math.min(i.i,n.i),i.merged=!0)}}function i(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var a=t.pop();e.push(a),r.forEach(a.in.reverse(),n(a)),r.forEach(a.out,i(a))}return r.map(r.filter(e,(function(t){return!t.merged})),(function(t){return r.pick(t,["vs","i","barycenter","weight"])}))}(r.filter(n,(function(t){return!t.indegree})))}},"2fw6":function(t,e,n){var r=n("y+Vt").extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(t,e,n){n&&t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI,!0)}});t.exports=r},"2gN3":function(t,e,n){var r=n("Kz5y");t.exports=r["__core-js_shared__"]},"2uGb":function(t,e,n){var r=n("ProS");n("ko1b"),n("s2lz"),n("RBEP");var i=n("kMLO"),a=n("nKiI");r.registerVisual(i),r.registerLayout(a)},"2w7y":function(t,e,n){var r=n("ProS");n("qMZE"),n("g0SD"),r.registerPreprocessor((function(t){t.markPoint=t.markPoint||{}}))},"33Ds":function(t,e,n){var r=n("ProS"),i=n("b9oc"),a=n("Kagy"),o=n("IUWy");function s(t){this.model=t}s.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:a.toolbox.restore.title},s.prototype.onclick=function(t,e,n){i.clear(t),e.dispatchAction({type:"restore",from:this.uid})},o.register("restore",s),r.registerAction({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")})),t.exports=s},"3A9y":function(t,e){t.exports=function(t){return this.__data__.has(t)}},"3C/r":function(t,e){var n=function(t,e){this.image=t,this.repeat=e,this.type="pattern"};n.prototype.getCanvasPattern=function(t){return t.createPattern(this.image,this.repeat||"repeat")},t.exports=n},"3CBa":function(t,e,n){var r=n("hydK").createElement,i=n("bYtY"),a=n("SUKs"),o=n("y+Vt"),s=n("Dagg"),l=n("dqUG"),u=n("DBLp"),c=n("sW+o"),h=n("n6Mw"),f=n("vKoX"),d=n("P47w"),p=d.path,g=d.image,v=d.text;function m(t){return parseInt(t,10)}function y(t,e){return e&&t&&e.parentNode!==t}function _(t,e,n){if(y(t,e)&&n){var r=n.nextSibling;r?t.insertBefore(e,r):t.appendChild(e)}}function b(t,e){if(y(t,e)){var n=t.firstChild;n?t.insertBefore(e,n):t.appendChild(e)}}function x(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)}function w(t){return t.__textSvgEl}function k(t){return t.__svgEl}var S=function(t,e,n,a){this.root=t,this.storage=e,this._opts=n=i.extend({},n||{});var o=r("svg");o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("version","1.1"),o.setAttribute("baseProfile","full"),o.style.cssText="user-select:none;position:absolute;left:0;top:0;",this.gradientManager=new c(a,o),this.clipPathManager=new h(a,o),this.shadowManager=new f(a,o);var s=document.createElement("div");s.style.cssText="overflow:hidden;position:relative",this._svgRoot=o,this._viewport=s,t.appendChild(s),s.appendChild(o),this.resize(n.width,n.height),this._visibleList=[]};S.prototype={constructor:S,getType:function(){return"svg"},getViewportRoot:function(){return this._viewport},getViewportRootOffset:function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},refresh:function(){var t=this.storage.getDisplayList(!0);this._paintList(t)},setBackgroundColor:function(t){this._viewport.style.background=t},_paintList:function(t){this.gradientManager.markAllUnused(),this.clipPathManager.markAllUnused(),this.shadowManager.markAllUnused();var e,n,r=this._svgRoot,i=this._visibleList,a=t.length,c=[];for(e=0;e=0;--r)if(n[r]===t)return!0;return!1}),e):null:e[0]},resize:function(t,e){var n=this._viewport;n.style.display="none";var r=this._opts;if(null!=t&&(r.width=t),null!=e&&(r.height=e),t=this._getSize(0),e=this._getSize(1),n.style.display="",this._width!==t||this._height!==e){this._width=t,this._height=e;var i=n.style;i.width=t+"px",i.height=e+"px";var a=this._svgRoot;a.setAttribute("width",t),a.setAttribute("height",e)}},getWidth:function(){return this._width},getHeight:function(){return this._height},_getSize:function(t){var e=this._opts,n=["width","height"][t],r=["clientWidth","clientHeight"][t],i=["paddingLeft","paddingTop"][t],a=["paddingRight","paddingBottom"][t];if(null!=e[n]&&"auto"!==e[n])return parseFloat(e[n]);var o=this.root,s=document.defaultView.getComputedStyle(o);return(o[r]||m(s[n])||m(o.style[n]))-(m(s[i])||0)-(m(s[a])||0)|0},dispose:function(){this.root.innerHTML="",this._svgRoot=this._viewport=this.storage=null},clear:function(){this._viewport&&this.root.removeChild(this._viewport)},pathToDataUrl:function(){return this.refresh(),"data:image/svg+xml;charset=UTF-8,"+this._svgRoot.outerHTML}},i.each(["getLayer","insertLayer","eachLayer","eachBuiltinLayer","eachOtherLayer","getLayers","modLayer","delLayer","clearLayer","toDataURL","pathToImage"],(function(t){var e;S.prototype[t]=(e=t,function(){a('In SVG mode painter not support method "'+e+'"')})})),t.exports=S},"3Fdi":function(t,e){var n=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return n.call(t)}catch(e){}try{return t+""}catch(e){}}return""}},"3L66":function(t,e,n){var r=n("MMmD"),i=n("ExA7");t.exports=function(t){return i(t)&&r(t)}},"3LNs":function(t,e,n){var r=n("bYtY"),i=n("Yl7c"),a=n("IwbS"),o=n("zTMp"),s=n("YH21"),l=n("iLNv"),u=(0,n("4NO4").makeInner)(),c=r.clone,h=r.bind;function f(){}function d(t,e,n,i){(function t(e,n){if(r.isObject(e)&&r.isObject(n)){var i=!0;return r.each(n,(function(n,r){i=i&&t(e[r],n)})),!!i}return e===n})(u(n).lastProp,i)||(u(n).lastProp=i,e?a.updateProps(n,i,t):(n.stopAnimation(),n.attr(i)))}function p(t,e){t[e.get("label.show")?"show":"hide"]()}function g(t){return{position:t.position.slice(),rotation:t.rotation||0}}function v(t,e,n){var r=e.get("z"),i=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=r&&(t.z=r),null!=i&&(t.zlevel=i),t.silent=n)}))}(f.prototype={_group:null,_lastGraphicKey:null,_handle:null,_dragging:!1,_lastValue:null,_lastStatus:null,_payloadInfo:null,animationThreshold:15,render:function(t,e,n,i){var o=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==o||this._lastStatus!==s){this._lastValue=o,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s)return l&&l.hide(),void(u&&u.hide());l&&l.show(),u&&u.show();var c={};this.makeElOption(c,o,t,e,n);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=h;var f=this._moveAnimation=this.determineAnimation(t,e);if(l){var p=r.curry(d,e,f);this.updatePointerEl(l,c,p,e),this.updateLabelEl(l,c,p,e)}else l=this._group=new a.Group,this.createPointerEl(l,c,t,e),this.createLabelEl(l,c,t,e),n.getZr().add(l);v(l,e,!0),this._renderHandle(o)}},remove:function(t){this.clear(t)},dispose:function(t){this.clear(t)},determineAnimation:function(t,e){var n=e.get("animation"),r=t.axis,i="category"===r.type,a=e.get("snap");if(!a&&!i)return!1;if("auto"===n||null==n){var s=this.animationThreshold;if(i&&r.getBandWidth()>s)return!0;if(a){var l=o.getAxisInfo(t).seriesDataCount,u=r.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return!0===n},makeElOption:function(t,e,n,r,i){},createPointerEl:function(t,e,n,r){var i=e.pointer;if(i){var o=u(t).pointerEl=new a[i.type](c(e.pointer));t.add(o)}},createLabelEl:function(t,e,n,r){if(e.label){var i=u(t).labelEl=new a.Rect(c(e.label));t.add(i),p(i,r)}},updatePointerEl:function(t,e,n){var r=u(t).pointerEl;r&&e.pointer&&(r.setStyle(e.pointer.style),n(r,{shape:e.pointer.shape}))},updateLabelEl:function(t,e,n,r){var i=u(t).labelEl;i&&(i.setStyle(e.label.style),n(i,{shape:e.label.shape,position:e.label.position}),p(i,r))},_renderHandle:function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),o=this._handle,u=n.getModel("handle"),c=n.get("status");if(!u.get("show")||!c||"hide"===c)return o&&i.remove(o),void(this._handle=null);this._handle||(e=!0,o=this._handle=a.createIcon(u.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){s.stop(t.event)},onmousedown:h(this._onHandleDragMove,this,0,0),drift:h(this._onHandleDragMove,this),ondragend:h(this._onHandleDragEnd,this)}),i.add(o)),v(o,n,!1),o.setStyle(u.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var f=u.get("size");r.isArray(f)||(f=[f,f]),o.attr("scale",[f[0]/2,f[1]/2]),l.createOrUpdate(this,"_doDispatchAxisPointer",u.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},_moveHandleToValue:function(t,e){d(this._axisPointerModel,!e&&this._moveAnimation,this._handle,g(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},_onHandleDragMove:function(t,e){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(g(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(g(r)),u(n).lastProp=null,this._doDispatchAxisPointer()}},_doDispatchAxisPointer:function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},_onHandleDragEnd:function(t){if(this._dragging=!1,this._handle){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},getHandleTransform:null,updateHandleTransform:null,clear:function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,r=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),r&&e.remove(r),this._group=null,this._handle=null,this._payloadInfo=null)},doClear:function(){},buildLabel:function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}}).constructor=f,i.enableClassExtend(f),t.exports=f},"3N8a":function(t,e,n){"use strict";var r=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){return _classCallCheck(this,n),e.call(this)}return _createClass2(n,[{key:"schedule",value:function(t){arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this}}]),n}(n("quSY").a);n.d(e,"a",(function(){return i}));var i=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;return _classCallCheck(this,n),(i=e.call(this,t,r)).scheduler=t,i.work=r,i.pending=!1,i}return _createClass2(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=t;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(r,this.id,e),this}},{key:"requestAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(t.flush.bind(t,this),n)}},{key:"recycleAsyncId",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return e;clearInterval(e)}},{key:"execute",value:function(t,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(t,e);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(t,e){var n=!1,r=void 0;try{this.work(t)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}},{key:"_unsubscribe",value:function(){var t=this.id,e=this.scheduler,n=e.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=t&&(this.id=this.recycleAsyncId(e,t,null)),this.delay=null}}]),n}(r)},"3OrL":function(t,e,n){var r=n("bYtY"),i=n("6Ic6"),a=n("IwbS"),o=n("y+Vt"),s=["itemStyle"],l=["emphasis","itemStyle"],u=i.extend({type:"boxplot",render:function(t,e,n){var r=t.getData(),i=this.group,a=this._data;this._data||i.removeAll();var o="horizontal"===t.get("layout")?1:0;r.diff(a).add((function(t){if(r.hasValue(t)){var e=h(r.getItemLayout(t),r,t,o,!0);r.setItemGraphicEl(t,e),i.add(e)}})).update((function(t,e){var n=a.getItemGraphicEl(e);if(r.hasValue(t)){var s=r.getItemLayout(t);n?f(s,n,r,t):n=h(s,r,t,o),i.add(n),r.setItemGraphicEl(t,n)}else i.remove(n)})).remove((function(t){var e=a.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=r},remove:function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},dispose:r.noop}),c=o.extend({type:"boxplotBoxPath",shape:{},buildPath:function(t,e){var n=e.points,r=0;for(t.moveTo(n[r][0],n[r][1]),r++;r<4;r++)t.lineTo(n[r][0],n[r][1]);for(t.closePath();rt?{max:{max:t,actual:e.value}}:null}}},{key:"required",value:function(t){return E(t.value)?{required:!0}:null}},{key:"requiredTrue",value:function(t){return!0===t.value?null:{required:!0}}},{key:"email",value:function(t){return E(t.value)||D.test(t.value)?null:{email:!0}}},{key:"minLength",value:function(t){return function(e){if(E(e.value))return null;var n=e.value?e.value.length:0;return nt?{maxlength:{requiredLength:t,actualLength:n}}:null}}},{key:"pattern",value:function(e){return e?("string"==typeof e?(r="","^"!==e.charAt(0)&&(r+="^"),r+=e,"$"!==e.charAt(e.length-1)&&(r+="$"),n=new RegExp(r)):(r=e.toString(),n=e),function(t){if(E(t.value))return null;var e=t.value;return n.test(e)?null:{pattern:{requiredPattern:r,actualValue:e}}}):t.nullValidator;var n,r}},{key:"nullValidator",value:function(t){return null}},{key:"compose",value:function(t){if(!t)return null;var e=t.filter(P);return 0==e.length?null:function(t){return R(function(t,e){return e.map((function(e){return e(t)}))}(t,e))}}},{key:"composeAsync",value:function(t){if(!t)return null;var e=t.filter(P);return 0==e.length?null:function(t){return function(){for(var t=arguments.length,e=new Array(t),n=0;n=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}},{key:"select",value:function(t){var e=this;this._accessors.forEach((function(n){e._isSameGroup(n,t)&&n[1]!==t&&n[1].fireUncheck(t.value)}))}},{key:"_isSameGroup",value:function(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}]),t}()).\u0275fac=function(t){return new(t||V)},V.\u0275prov=r.Kb({token:V,factory:V.\u0275fac}),V),Z=((B=function(){function t(e,n,r,i){_classCallCheck(this,t),this._renderer=e,this._elementRef=n,this._registry=r,this._injector=i,this.onChange=function(){},this.onTouched=function(){}}return _createClass2(t,[{key:"ngOnInit",value:function(){this._control=this._injector.get(A),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(t){var e=this;this._fn=t,this.onChange=function(){t(e.value),e._registry.select(e)}}},{key:"fireUncheck",value:function(t){this.writeValue(t)}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_checkName",value:function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}},{key:"_throwNameError",value:function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: \n ')}}]),t}()).\u0275fac=function(t){return new(t||B)(r.Ob(r.E),r.Ob(r.l),r.Ob(W),r.Ob(r.r))},B.\u0275dir=r.Jb({type:B,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&r.cc("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r.Bb([q])]}),B),$={provide:g,useExisting:Object(r.U)((function(){return X})),multi:!0},X=((j=function(){function t(e,n){_classCallCheck(this,t),this._renderer=e,this._elementRef=n,this.onChange=function(t){},this.onTouched=function(){}}return _createClass2(t,[{key:"writeValue",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}},{key:"registerOnChange",value:function(t){this.onChange=function(e){t(""==e?null:parseFloat(e))}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}]),t}()).\u0275fac=function(t){return new(t||j)(r.Ob(r.E),r.Ob(r.l))},j.\u0275dir=r.Jb({type:j,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&r.cc("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[r.Bb([$])]}),j),K='\n

    \n
    \n \n
    \n
    \n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',Q='\n
    \n
    \n \n
    \n
    ',J={provide:g,useExisting:Object(r.U)((function(){return tt})),multi:!0},tt=((Y=function(){function t(e,n){_classCallCheck(this,t),this._renderer=e,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(t){},this.onTouched=function(){},this._compareWith=r.ub}return _createClass2(t,[{key:"writeValue",value:function(t){this.value=t;var e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),"".concat(t,": ").concat(e).slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(n){e.value=e._getOptionValue(n),t(e.value)}}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(t){for(var e=0,n=Array.from(this._optionMap.keys());e-1)}}else e=function(t,e){t._setSelected(!1)};this._optionMap.forEach(e)}},{key:"registerOnChange",value:function(t){var e=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,a=0;a1?"path: '".concat(t.path.join(" -> "),"'"):t.path[0]?"name: '".concat(t.path,"'"):"unspecified name attribute",new Error("".concat(e," ").concat(n))}function st(t){return null!=t?O.compose(t.map(N)):null}function lt(t){return null!=t?O.composeAsync(t.map(z)):null}var ut=[m,X,G,tt,nt,Z];function ct(t){var e=ft(t)?t.validators:t;return Array.isArray(e)?st(e):e||null}function ht(t,e){var n=ft(e)?e.asyncValidators:t;return Array.isArray(n)?lt(n):n||null}function ft(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}var dt,pt,gt,vt,mt,yt,_t,bt,xt,wt,kt=function(){function t(e,n){_classCallCheck(this,t),this.validator=e,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return _createClass2(t,[{key:"setValidators",value:function(t){this.validator=ct(t)}},{key:"setAsyncValidators",value:function(t){this.asyncValidator=ht(t)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(t){return t.markAllAsTouched()}))}},{key:"markAsUntouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(t){t.markAsUntouched({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"markAsDirty",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}},{key:"markAsPristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(t){t.markAsPristine({onlySelf:!0})})),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"markAsPending",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}},{key:"disable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(e){e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))})),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!0)}))}},{key:"enable",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild((function(e){e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach((function(t){return t(!1)}))}},{key:"_updateAncestors",value:function(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(t){this._parent=t}},{key:"updateValueAndValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}},{key:"_updateTreeValidity",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild((function(e){return e._updateTreeValidity(t)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(t){var e=this;if(this.asyncValidator){this.status="PENDING";var n=L(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return e.setErrors(n,{emitEvent:t})}))}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}},{key:"setErrors",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}},{key:"get",value:function(t){return function(t,e,n){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;var r=t;return e.forEach((function(t){r=r instanceof Ct?r.controls.hasOwnProperty(t)?r.controls[t]:null:r instanceof At&&r.at(t)||null})),r}(this,t)}},{key:"getError",value:function(t,e){var n=e?this.get(e):this;return n&&n.errors?n.errors[t]:null}},{key:"hasError",value:function(t,e){return!!this.getError(t,e)}},{key:"_updateControlsErrors",value:function(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}},{key:"_initObservables",value:function(){this.valueChanges=new r.n,this.statusChanges=new r.n}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(t){return this._anyControls((function(e){return e.status===t}))}},{key:"_anyControlsDirty",value:function(){return this._anyControls((function(t){return t.dirty}))}},{key:"_anyControlsTouched",value:function(){return this._anyControls((function(t){return t.touched}))}},{key:"_updatePristine",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}},{key:"_updateTouched",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}},{key:"_isBoxedValue",value:function(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}},{key:"_registerOnCollectionChange",value:function(t){this._onCollectionChange=t}},{key:"_setUpdateStrategy",value:function(t){ft(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}},{key:"_parentMarkedDirty",value:function(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"root",get:function(){for(var t=this;t._parent;)t=t._parent;return t}}]),t}(),St=function(t){_inherits(n,t);var e=_createSuper(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,n),(t=e.call(this,ct(i),ht(a,i)))._onChange=[],t._applyFormState(r),t._setUpdateStrategy(i),t.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),t._initObservables(),t}return _createClass2(n,[{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=t,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(t){return t(e.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(t,e)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(t){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(t){this._onChange.push(t)}},{key:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(t){this._onDisabledChange.push(t)}},{key:"_forEachChild",value:function(t){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}]),n}(kt),Ct=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i){var a;return _classCallCheck(this,n),(a=e.call(this,ct(r),ht(i,r))).controls=t,a._initObservables(),a._setUpdateStrategy(r),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return _createClass2(n,[{key:"registerControl",value:function(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}},{key:"addControl",value:function(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),Object.keys(t).forEach((function(r){e._throwIfControlMissing(r),e.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(t).forEach((function(r){e.controls[r]&&e.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this._reduceChildren({},(function(t,e,n){return t[n]=e instanceof St?e.value:e.getRawValue(),t}))}},{key:"_syncPendingControls",value:function(){var t=this._reduceChildren(!1,(function(t,e){return!!e._syncPendingControls()||t}));return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error("Cannot find form control with name: ".concat(t,"."))}},{key:"_forEachChild",value:function(t){var e=this;Object.keys(this.controls).forEach((function(n){return t(e.controls[n],n)}))}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild((function(e){e.setParent(t),e._registerOnCollectionChange(t._onCollectionChange)}))}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(t){var e=this,n=!1;return this._forEachChild((function(r,i){n=n||e.contains(i)&&t(r)})),n}},{key:"_reduceValue",value:function(){var t=this;return this._reduceChildren({},(function(e,n,r){return(n.enabled||t.disabled)&&(e[r]=n.value),e}))}},{key:"_reduceChildren",value:function(t,e){var n=t;return this._forEachChild((function(t,r){n=e(n,t,r)})),n}},{key:"_allControlsDisabled",value:function(){for(var t=0,e=Object.keys(this.controls);t0||this.disabled}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))}))}}]),n}(kt),At=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i){var a;return _classCallCheck(this,n),(a=e.call(this,ct(r),ht(i,r))).controls=t,a._initObservables(),a._setUpdateStrategy(r),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),a}return _createClass2(n,[{key:"at",value:function(t){return this.controls[t]}},{key:"push",value:function(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}},{key:"removeAt",value:function(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),this.updateValueAndValidity()}},{key:"setControl",value:function(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange((function(){})),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(t),t.forEach((function(t,r){e._throwIfControlMissing(r),e.at(r).setValue(t,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.forEach((function(t,r){e.at(r)&&e.at(r).patchValue(t,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,r){n.reset(t[r],{onlySelf:!0,emitEvent:e.emitEvent})})),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}},{key:"getRawValue",value:function(){return this.controls.map((function(t){return t instanceof St?t.value:t.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(t){return t._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var t=this.controls.reduce((function(t,e){return!!e._syncPendingControls()||t}),!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}},{key:"_throwIfControlMissing",value:function(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)}},{key:"_forEachChild",value:function(t){this.controls.forEach((function(e,n){t(e,n)}))}},{key:"_updateValue",value:function(){var t=this;this.value=this.controls.filter((function(e){return e.enabled||t.disabled})).map((function(t){return t.value}))}},{key:"_anyControls",value:function(t){return this.controls.some((function(e){return e.enabled&&t(e)}))}},{key:"_setUpControls",value:function(){var t=this;this._forEachChild((function(e){return t._registerControl(e)}))}},{key:"_checkAllValuesPresent",value:function(t){this._forEachChild((function(e,n){if(void 0===t[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var t,e=_createForOfIteratorHelper(this.controls);try{for(e.s();!(t=e.n()).done;){if(t.value.enabled)return!1}}catch(n){e.e(n)}finally{e.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}},{key:"length",get:function(){return this.controls.length}}]),n}(kt),Tt={provide:w,useExisting:Object(r.U)((function(){return Mt}))},Et=Promise.resolve(null),Mt=((pt=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,i){var a;return _classCallCheck(this,n),(a=e.call(this)).submitted=!1,a._directives=[],a.ngSubmit=new r.n,a.form=new Ct({},st(t),lt(i)),a}return _createClass2(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"addControl",value:function(t){var e=this;Et.then((function(){var n=e._findContainer(t.path);t.control=n.registerControl(t.name,t.control),it(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),e._directives.push(t)}))}},{key:"getControl",value:function(t){return this.form.get(t.path)}},{key:"removeControl",value:function(t){var e=this;Et.then((function(){var n,r,i,a=e._findContainer(t.path);a&&a.removeControl(t.name),n=e._directives,r=t,(i=n.indexOf(r))>-1&&n.splice(i,1)}))}},{key:"addFormGroup",value:function(t){var e=this;Et.then((function(){var n=e._findContainer(t.path),r=new Ct({});(function(t,e){null==t&&ot(e,"Cannot find control with"),t.validator=O.compose([t.validator,e.validator]),t.asyncValidator=O.composeAsync([t.asyncValidator,e.asyncValidator])})(r,t),n.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(t){var e=this;Et.then((function(){var n=e._findContainer(t.path);n&&n.removeControl(t.name)}))}},{key:"getFormGroup",value:function(t){return this.form.get(t.path)}},{key:"updateModel",value:function(t,e){var n=this;Et.then((function(){n.form.get(t.path).setValue(e)}))}},{key:"setValue",value:function(t){this.control.setValue(t)}},{key:"onSubmit",value:function(t){return this.submitted=!0,e=this._directives,this.form._syncPendingControls(),e.forEach((function(t){var e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})),this.ngSubmit.emit(t),!1;var e}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(t){this.form.reset(t),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(t){return t.pop(),t.length?this.form.get(t):this.form}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}}]),n}(w)).\u0275fac=function(t){return new(t||pt)(r.Ob(M,10),r.Ob(I,10))},pt.\u0275dir=r.Jb({type:pt,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&r.cc("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.Bb([Tt]),r.zb]}),pt),It=((dt=function(t){_inherits(n,t);var e=_createSuper(n);function n(){return _classCallCheck(this,n),e.apply(this,arguments)}return _createClass2(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"_checkParentType",value:function(){}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return rt(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return st(this._validators)}},{key:"asyncValidator",get:function(){return lt(this._asyncValidators)}}]),n}(w)).\u0275fac=function(t){return Dt(t||dt)},dt.\u0275dir=r.Jb({type:dt,features:[r.zb]}),dt),Dt=r.Wb(It),Ot=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,null,[{key:"modelParentException",value:function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n \n
    \n \n
    \n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n
    \n \n \n
    \n ')}},{key:"formGroupNameException",value:function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ".concat(K,"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ").concat(Q))}},{key:"missingNameException",value:function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: \n Example 2: ')}},{key:"modelGroupParentException",value:function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ".concat(K,"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ").concat(Q))}}]),t}(),Pt={provide:w,useExisting:Object(r.U)((function(){return Lt}))},Lt=((gt=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i){var a;return _classCallCheck(this,n),(a=e.call(this))._parent=t,a._validators=r,a._asyncValidators=i,a}return _createClass2(n,[{key:"_checkParentType",value:function(){this._parent instanceof n||this._parent instanceof Mt||Ot.modelGroupParentException()}}]),n}(It)).\u0275fac=function(t){return new(t||gt)(r.Ob(w,5),r.Ob(M,10),r.Ob(I,10))},gt.\u0275dir=r.Jb({type:gt,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[r.Bb([Pt]),r.zb]}),gt),Rt={provide:A,useExisting:Object(r.U)((function(){return zt}))},Nt=Promise.resolve(null),zt=((vt=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,i,a,o){var s;return _classCallCheck(this,n),(s=e.call(this)).control=new St,s._registered=!1,s.update=new r.n,s._parent=t,s._rawValidators=i||[],s._rawAsyncValidators=a||[],s.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e)||ot(t,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,i=void 0;return e.forEach((function(e){var a;e.constructor===b?n=e:(a=e,ut.some((function(t){return a.constructor===t}))?(r&&ot(t,"More than one built-in value accessor matches form control with"),r=e):(i&&ot(t,"More than one custom value accessor matches form control with"),i=e))})),i||r||n||(ot(t,"No valid value accessor for form control with"),null)}(_assertThisInitialized(s),o),s}return _createClass2(n,[{key:"ngOnChanges",value:function(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;var n=t.model;return!!n.isFirstChange()||!Object(r.ub)(e,n.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(t){this.viewModel=t,this.update.emit(t)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){it(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){!(this._parent instanceof Lt)&&this._parent instanceof It?Ot.formGroupNameException():this._parent instanceof Lt||this._parent instanceof Mt||Ot.modelParentException()}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Ot.missingNameException()}},{key:"_updateValue",value:function(t){var e=this;Nt.then((function(){e.control.setValue(t,{emitViewToModelChange:!1})}))}},{key:"_updateDisabled",value:function(t){var e=this,n=t.isDisabled.currentValue,r=""===n||n&&"false"!==n;Nt.then((function(){r&&!e.control.disabled?e.control.disable():!r&&e.control.disabled&&e.control.enable()}))}},{key:"path",get:function(){return this._parent?rt(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return st(this._rawValidators)}},{key:"asyncValidator",get:function(){return lt(this._rawAsyncValidators)}}]),n}(A)).\u0275fac=function(t){return new(t||vt)(r.Ob(w,9),r.Ob(M,10),r.Ob(I,10),r.Ob(g,10))},vt.\u0275dir=r.Jb({type:vt,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r.Bb([Rt]),r.zb,r.Ab]}),vt),Ft=new r.q("NgModelWithFormControlWarning"),Bt={provide:M,useExisting:Object(r.U)((function(){return jt})),multi:!0},Vt={provide:M,useExisting:Object(r.U)((function(){return Yt})),multi:!0},jt=((yt=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"validate",value:function(t){return this.required?O.required(t):null}},{key:"registerOnValidatorChange",value:function(t){this._onChange=t}},{key:"required",get:function(){return this._required},set:function(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}}]),t}()).\u0275fac=function(t){return new(t||yt)},yt.\u0275dir=r.Jb({type:yt,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&r.Db("required",e.required?"":null)},inputs:{required:"required"},features:[r.Bb([Bt])]}),yt),Yt=((mt=function(t){_inherits(n,t);var e=_createSuper(n);function n(){return _classCallCheck(this,n),e.apply(this,arguments)}return _createClass2(n,[{key:"validate",value:function(t){return this.required?O.requiredTrue(t):null}}]),n}(jt)).\u0275fac=function(t){return Ht(t||mt)},mt.\u0275dir=r.Jb({type:mt,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&r.Db("required",e.required?"":null)},features:[r.Bb([Vt]),r.zb]}),mt),Ht=r.Wb(Yt),Ut=((wt=function t(){_classCallCheck(this,t)}).\u0275mod=r.Mb({type:wt}),wt.\u0275inj=r.Lb({factory:function(t){return new(t||wt)}}),wt),Gt=((xt=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"group",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(t),r=null,i=null,a=void 0;return null!=e&&(function(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(e)?(r=null!=e.validators?e.validators:null,i=null!=e.asyncValidators?e.asyncValidators:null,a=null!=e.updateOn?e.updateOn:void 0):(r=null!=e.validator?e.validator:null,i=null!=e.asyncValidator?e.asyncValidator:null)),new Ct(n,{asyncValidators:i,updateOn:a,validators:r})}},{key:"control",value:function(t,e,n){return new St(t,e,n)}},{key:"array",value:function(t,e,n){var r=this,i=t.map((function(t){return r._createControl(t)}));return new At(i,e,n)}},{key:"_reduceControls",value:function(t){var e=this,n={};return Object.keys(t).forEach((function(r){n[r]=e._createControl(t[r])})),n}},{key:"_createControl",value:function(t){return t instanceof St||t instanceof Ct||t instanceof At?t:Array.isArray(t)?this.control(t[0],t.length>1?t[1]:null,t.length>2?t[2]:null):this.control(t)}}]),t}()).\u0275fac=function(t){return new(t||xt)},xt.\u0275prov=r.Kb({token:xt,factory:xt.\u0275fac}),xt),qt=((bt=function t(){_classCallCheck(this,t)}).\u0275mod=r.Mb({type:bt}),bt.\u0275inj=r.Lb({factory:function(t){return new(t||bt)},providers:[W],imports:[Ut]}),bt),Wt=((_t=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,null,[{key:"withConfig",value:function(e){return{ngModule:t,providers:[{provide:Ft,useValue:e.warnOnNgModelWithFormControl}]}}}]),t}()).\u0275mod=r.Mb({type:_t}),_t.\u0275inj=r.Lb({factory:function(t){return new(t||_t)},providers:[Gt,W],imports:[Ut]}),_t)},"3TkU":function(t,e,n){n("aTJb"),n("OlYY"),n("fc+c"),n("QUw5"),n("Swgg"),n("LBfv"),n("noeP")},"3WF5":function(t,e,n){var r=n("eUgh"),i=n("ut/Y"),a=n("l9OW"),o=n("Z0cm");t.exports=function(t,e){return(o(t)?r:a)(t,i(e,3))}},"3X6L":function(t,e,n){var r=n("bYtY"),i=n("7a+S"),a=n("OKJ2"),o=i.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:[]}});r.mixin(o,a),t.exports=o},"3azA":function(t,e,n){var r=n("M96O"),i=n("z6cq");t.exports=function(t){return r.filter(i(t),(function(e){return e.length>1||1===e.length&&t.hasEdge(e[0],e[0])}))}},"3e3G":function(t,e,n){var r=n("bYtY"),i=n("QuXc"),a=function(t,e,n,r,a){this.x=null==t?.5:t,this.y=null==e?.5:e,this.r=null==n?.5:n,this.type="radial",this.global=a||!1,i.call(this,r)};a.prototype={constructor:a},r.inherits(a,i),t.exports=a},"3gBT":function(t,e){var n=2311;t.exports=function(){return n++}},"3hzK":function(t,e){t.exports={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")}}}},"3m61":function(t,e){function n(t){return t instanceof Array||(t=[t,t]),t}t.exports=function(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),r=t.getEdgeData(),i=n(t.get("edgeSymbol")),a=n(t.get("edgeSymbolSize")),o="lineStyle.color".split("."),s="lineStyle.opacity".split(".");r.setVisual("fromSymbol",i&&i[0]),r.setVisual("toSymbol",i&&i[1]),r.setVisual("fromSymbolSize",a&&a[0]),r.setVisual("toSymbolSize",a&&a[1]),r.setVisual("color",t.get(o)),r.setVisual("opacity",t.get(s)),r.each((function(t){var i=r.getItemModel(t),a=e.getEdgeByIndex(t),l=n(i.getShallow("symbol",!0)),u=n(i.getShallow("symbolSize",!0)),c=i.get(o),h=i.get(s);switch(c){case"source":c=a.node1.getVisual("color");break;case"target":c=a.node2.getVisual("color")}l[0]&&a.setVisual("fromSymbol",l[0]),l[1]&&a.setVisual("toSymbol",l[1]),u[0]&&a.setVisual("fromSymbolSize",u[0]),u[1]&&a.setVisual("toSymbolSize",u[1]),a.setVisual("color",c),a.setVisual("opacity",h)}))}))}},"3th9":function(t,e,n){var r=n("Sdz8");t.exports=function(t,e,n){return r(t,e,e,n)}},"3y7U":function(t,e,n){var r=n("M96O");t.exports=function(t,e,n){r.isArray(e)||(e=[e]);var i=(t.isDirected()?t.successors:t.neighbors).bind(t),a=[],o={};return r.each(e,(function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);!function t(e,n,i,a,o,s){r.has(a,n)||(a[n]=!0,i||s.push(n),r.each(o(n),(function(n){t(e,n,i,a,o,s)})),i&&s.push(n))}(t,e,"post"===n,o,i,a)})),a}},"3zoK":function(t,e,n){var r=n("bYtY"),i=n("bLfw"),a=n("KCsZ"),o=n("nkfE"),s=n("OELB"),l=n("ICMv"),u=i.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(t){var e=this.activeIntervals=r.clone(t);if(e)for(var n=e.length-1;n>=0;n--)s.asc(e[n])},getActiveState:function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var r=0,i=e.length;r1&&f/c>2&&(h=Math.round(Math.ceil(h/c)*c));var d=u(t),p=o.get("showMinLabel")||d,g=o.get("showMaxLabel")||d;p&&h!==a[0]&&m(a[0]);for(var v=h;v<=a[1];v+=c)m(v);function m(t){l.push(n?t:{formattedLabel:r(t),rawLabel:i.getLabel(t),tickValue:t})}return g&&v-c!==a[1]&&m(a[1]),l}function v(t,e,n){var i=t.scale,a=s(t),o=[];return r.each(i.getTicks(),(function(t){var r=i.getLabel(t);e(t,r)&&o.push(n?t:{formattedLabel:a(t),rawLabel:r,tickValue:t})})),o}e.createAxisLabels=function(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=h(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=s(t);return{labels:r.map(e,(function(e,r){return{formattedLabel:n(e,r),rawLabel:t.scale.getLabel(e),tickValue:e}}))}}(t)},e.createAxisTicks=function(t,e){return"category"===t.type?function(t,e){var n,i,a=f(t,"ticks"),o=l(e),s=d(a,o);if(s)return s;if(e.get("show")&&!t.scale.isBlank()||(n=[]),r.isFunction(o))n=v(t,o,!0);else if("auto"===o){var u=h(t,t.getLabelModel());i=u.labelCategoryInterval,n=r.map(u.labels,(function(t){return t.tickValue}))}else n=g(t,i=o,!0);return p(a,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:t.scale.getTicks()}},e.calculateCategoryInterval=function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=s(t),r=(e.axisRotate-e.labelRotate)/180*Math.PI,a=t.scale,o=a.getExtent(),l=a.count();if(o[1]-o[0]<1)return 0;var u=1;l>40&&(u=Math.max(1,Math.floor(l/40)));for(var h=o[0],f=t.dataToCoord(h+1)-t.dataToCoord(h),d=Math.abs(f*Math.cos(r)),p=Math.abs(f*Math.sin(r)),g=0,v=0;h<=o[1];h+=u){var m,y=i.getBoundingRect(n(h),e.font,"center","top");m=1.3*y.height,g=Math.max(g,1.3*y.width,7),v=Math.max(v,m,7)}var _=g/d,b=v/p;isNaN(_)&&(_=1/0),isNaN(b)&&(b=1/0);var x=Math.max(0,Math.floor(Math.min(_,b))),w=c(t.model),k=t.getExtent(),S=w.lastAutoInterval,C=w.lastTickCount;return null!=S&&null!=C&&Math.abs(S-x)<=1&&Math.abs(C-l)<=1&&S>x&&w.axisExtend0===k[0]&&w.axisExtend1===k[1]?x=S:(w.lastTickCount=l,w.lastAutoInterval=x,w.axisExtend0=k[0],w.axisExtend1=k[1]),x}},"4I5i":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t}()},"4JAw":function(t,e,n){var r=n("b5wT"),i=n("tQ6r"),a=n("F9We").Graph;t.exports={debugOrdering:function(t){var e=i.buildLayerMatrix(t),n=new a({compound:!0,multigraph:!0}).setGraph({});return r.forEach(t.nodes(),(function(e){n.setNode(e,{label:e}),n.setParent(e,"layer"+t.node(e).rank)})),r.forEach(t.edges(),(function(t){n.setEdge(t.v,t.w,{},t.name)})),r.forEach(e,(function(t,e){n.setNode("layer"+e,{rank:"same"}),r.reduce(t,(function(t,e){return n.setEdge(t,e,{style:"invis"}),e}))})),n}}},"4NO4":function(t,e,n){var r=n("bYtY"),i=n("ItGF"),a=r.each,o=r.isObject,s=r.isArray;function l(t){return t instanceof Array?t:null==t?[]:[t]}function u(t){return o(t)&&t.id&&0===(t.id+"").indexOf("\0_ec_\0")}var c=0;function h(t,e){return t&&t.hasOwnProperty(e)}e.normalizeToArray=l,e.defaultEmphasis=function(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var r=0,i=n.length;r=n.length&&n.push({option:t})}})),n},e.makeIdAndName=function(t){var e=r.createHashMap();a(t,(function(t,n){var r=t.exist;r&&e.set(r.id,t)})),a(t,(function(t,n){var i=t.option;r.assert(!i||null==i.id||!e.get(i.id)||e.get(i.id)===t,"id duplicates: "+(i&&i.id)),i&&null!=i.id&&e.set(i.id,t),!t.keyInfo&&(t.keyInfo={})})),a(t,(function(t,n){var r=t.exist,i=t.option,a=t.keyInfo;if(o(i)){if(a.name=null!=i.name?i.name+"":r?r.name:"series\0"+n,r)a.id=r.id;else if(null!=i.id)a.id=i.id+"";else{var s=0;do{a.id="\0"+a.name+"\0"+s++}while(e.get(a.id))}e.set(a.id,t)}}))},e.isNameSpecified=function(t){var e=t.name;return!(!e||!e.indexOf("series\0"))},e.isIdInner=u,e.compressBatches=function(t,e){var n={},r={};return i(t||[],n),i(e||[],r,n),[a(n),a(r)];function i(t,e,n){for(var r=0,i=t.length;r=e[0]&&t<=e[1]},i.prototype.normalize=function(t){var e=this._extent;return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])},i.prototype.scale=function(t){var e=this._extent;return t*(e[1]-e[0])+e[0]},i.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1])},i.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},i.prototype.getExtent=function(){return this._extent.slice()},i.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},i.prototype.isBlank=function(){return this._isBlank},i.prototype.setBlank=function(t){this._isBlank=t},i.prototype.getLabel=null,r.enableClassExtend(i),r.enableClassManagement(i,{registerWhenExtend:!0}),t.exports=i},"4P+C":function(t,e,n){"use strict";var r=n("PEyx"),i=n("Ve/E");t.exports=function(t,e){function n(t){var n=e.node(t);return"translate("+n.x+","+n.y+")"}t.filter((function(){return!i.select(this).classed("update")})).attr("transform",n),r.applyTransition(t,e).style("opacity",1).attr("transform",n)}},"4fz+":function(t,e,n){var r=n("bYtY"),i=n("1bdT"),a=n("mFDi"),o=function(t){for(var e in i.call(this,t=t||{}),t)t.hasOwnProperty(e)&&(this[e]=t[e]);this._children=[],this.__storage=null,this.__dirty=!0};o.prototype={constructor:o,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(t){return this._children[t]},childOfName:function(t){for(var e=this._children,n=0;n=0&&(n.splice(r,0,t),this._doAdd(t))}return this},_doAdd:function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__storage,n=this.__zr;e&&e!==t.__storage&&(e.addToStorage(t),t instanceof o&&t.addChildrenToStorage(e)),n&&n.refresh()},remove:function(t){var e=this.__zr,n=this.__storage,i=this._children,a=r.indexOf(i,t);return a<0||(i.splice(a,1),t.parent=null,n&&(n.delFromStorage(t),t instanceof o&&t.delChildrenFromStorage(n)),e&&e.refresh()),this},removeAll:function(){var t,e,n=this._children,r=this.__storage;for(e=0;e1e-4)return p[0]=t-n,p[1]=e-i,g[0]=t+n,void(g[1]=e+i);if(c[0]=l(a)*n+t,c[1]=s(a)*i+e,h[0]=l(o)*n+t,h[1]=s(o)*i+e,v(p,c,h),m(g,c,h),(a%=u)<0&&(a+=u),(o%=u)<0&&(o+=u),a>o&&!d?o+=u:aa&&(f[0]=l(b)*n+t,f[1]=s(b)*i+e,v(p,f,p),m(g,f,g))}},"4qC0":function(t,e,n){var r=n("NykK"),i=n("Z0cm"),a=n("ExA7");t.exports=function(t){return"string"==typeof t||!i(t)&&a(t)&&"[object String]"==r(t)}},"4sDh":function(t,e,n){var r=n("4uTw"),i=n("03A+"),a=n("Z0cm"),o=n("wJg7"),s=n("shjB"),l=n("9Nap");t.exports=function(t,e,n){for(var u=-1,c=(e=r(e,t)).length,h=!1;++u2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof e?function(r){return r.pipe(l((function(n,r){return Object(s.a)(t(n,r)).pipe(Object(o.a)((function(t,i){return e(n,t,r,i)})))}),n))}:("number"==typeof e&&(n=e),function(e){return e.lift(new u(t,n))})}var u=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,t),this.project=e,this.concurrent=n}return _createClass2(t,[{key:"call",value:function(t,e){return e.subscribe(new c(t,this.project,this.concurrent))}}]),t}(),c=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,n),(i=e.call(this,t)).project=r,i.concurrent=a,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return _createClass2(n,[{key:"_next",value:function(t){this.active0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(i.a)},"51Dv":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i){var a;return _classCallCheck(this,n),(a=e.call(this)).parent=t,a.outerValue=r,a.outerIndex=i,a.index=0,a}return _createClass2(n,[{key:"_next",value:function(t){this.parent.notifyNext(this.outerValue,t,this.outerIndex,this.index++,this)}},{key:"_error",value:function(t){this.parent.notifyError(t,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(n("7o/Q").a)},"56rv":function(t,e,n){var r=n("IwbS"),i=n("x3X8").getDefaultLabel;function a(t,e){"outside"===t.textPosition&&(t.textPosition=e)}e.setLabel=function(t,e,n,o,s,l,u){var c=n.getModel("label"),h=n.getModel("emphasis.label");r.setLabelStyle(t,e,c,h,{labelFetcher:s,labelDataIndex:l,defaultText:i(s.getData(),l),isRectText:!0,autoColor:o}),a(t),a(e)}},"59Ip":function(t,e,n){var r=n("Sj9i");e.containStroke=function(t,e,n,i,a,o,s,l,u,c,h){if(0===u)return!1;var f=u;return!(h>e+f&&h>i+f&&h>o+f&&h>l+f||ht+f&&c>n+f&&c>a+f&&c>s+f||ce)return t[r];return t[n-1]}(u,n):l;if((c=c||l)&&c.length){var h=c[o];return t&&(s[t]=h),r.colorIdx=(o+1)%c.length,h}}}},"5NHt":function(t,e,n){n("aTJb"),n("OlYY"),n("fc+c"),n("N5BQ"),n("IyUQ"),n("LBfv"),n("noeP")},"5Tg0":function(t,e,n){(function(t){var r=n("Kz5y"),i=e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,o=a&&a.exports===i?r.Buffer:void 0,s=o?o.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}}).call(this,n("YuTi")(t))},"5VIG":function(t,e,n){var r;try{r=n("4Ai+")}catch(i){}r||(r=window.graphlib),t.exports=r},"5jIi":function(t,e,n){"use strict";var r=n("b5wT");t.exports=function(t){var e={},n=r.filter(t.nodes(),(function(e){return!t.children(e).length})),i=r.max(r.map(n,(function(e){return t.node(e).rank}))),a=r.map(r.range(i+1),(function(){return[]})),o=r.sortBy(n,(function(e){return t.node(e).rank}));return r.forEach(o,(function n(i){if(!r.has(e,i)){e[i]=!0;var o=t.node(i);a[o.rank].push(i),r.forEach(t.successors(i),n)}})),a}},"5s0K":function(t,e,n){var r=n("bYtY");e.createWrap=function(){var t,e=[],n={};return{add:function(t,i,a,o,s){return r.isString(o)&&(s=o,o=0),!n[t.id]&&(n[t.id]=1,e.push({el:t,target:i,time:a,delay:o,easing:s}),!0)},done:function(e){return t=e,this},start:function(){for(var r=e.length,i=0,a=e.length;i=0&&l<0)&&(o=g,l=p,i=c,a.length=0),s(h,(function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:a,snapToValue:i}}(e,t),u=l.payloadBatch,c=l.snapToValue;u[0]&&null==a.seriesIndex&&r.extend(a,u[0]),!i&&t.snap&&o.containData(c)&&null!=c&&(e=c),n.showPointer(t,e,u,a),n.showTooltip(t,l,c)}else n.showPointer(t,e)}function h(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function f(t,e,n,r){var i=n.payloadBatch,o=e.axis,s=o.model,l=e.axisPointerModel;if(e.triggerTooltip&&i.length){var u=e.coordSys.model,c=a.makeKey(u),h=t.map[c];h||(h=t.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:s.componentIndex,axisType:s.type,axisId:s.id,value:r,valueLabelOpt:{precision:l.get("label.precision"),formatter:l.get("label.formatter")},seriesDataIndices:i.slice()})}}function d(t){var e=t.axis.model,n={},r=n.axisDim=t.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=e.componentIndex,n.axisName=n[r+"AxisName"]=e.name,n.axisId=n[r+"AxisId"]=e.id,n}function p(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}t.exports=function(t,e,n){var i=t.currTrigger,a=[t.x,t.y],g=t,v=t.dispatchAction||r.bind(n.dispatchAction,n),m=e.getComponent("axisPointer").coordSysAxesInfo;if(m){p(a)&&(a=o({seriesIndex:g.seriesIndex,dataIndex:g.dataIndex},e).point);var y=p(a),_=g.axesInfo,b=m.axesInfo,x="leave"===i||p(a),w={},k={},S={list:[],map:{}},C={showPointer:l(h,k),showTooltip:l(f,S)};s(m.coordSysMap,(function(t,e){var n=y||t.containPoint(a);s(m.coordSysAxesInfo[e],(function(t,e){var r=t.axis,i=function(t,e){for(var n=0;n<(t||[]).length;n++){var r=t[n];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}(_,t);if(!x&&n&&(!_||i)){var o=i&&i.value;null!=o||y||(o=r.pointToData(a)),null!=o&&c(t,o,C,!1,w)}}))}));var A={};return s(b,(function(t,e){var n=t.linkGroup;n&&!k[e]&&s(n.axesInfo,(function(e,r){var i=k[r];if(e!==t&&i){var a=i.value;n.mapper&&(a=t.axis.scale.parse(n.mapper(a,d(e),d(t)))),A[t.key]=a}}))})),s(A,(function(t,e){c(b[e],t,C,!0,w)})),function(t,e,n){var r=n.axesInfo=[];s(e,(function(e,n){var i=e.axisPointerModel.option,a=t[n];a?(!e.useHandle&&(i.status="show"),i.value=a.value,i.seriesDataIndices=(a.payloadBatch||[]).slice()):!e.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:i.value})}))}(k,b,w),function(t,e,n,r){if(!p(e)&&t.list.length){var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}else r({type:"hideTip"})}(S,a,t,v),function(t,e,n){var i=n.getZr(),a=u(i).axisPointerLastHighlights||{},o=u(i).axisPointerLastHighlights={};s(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&s(n.seriesDataIndices,(function(t){o[t.seriesIndex+" | "+t.dataIndex]=t}))}));var l=[],c=[];r.each(a,(function(t,e){!o[e]&&c.push(t)})),r.each(o,(function(t,e){!a[e]&&l.push(t)})),c.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,batch:c}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,batch:l})}(b,0,n),w}}},"6Ekc":function(t,e,n){"use strict";var r=n("b5wT");t.exports={longestPath:function(t){var e={};r.forEach(t.sources(),(function n(i){var a=t.node(i);if(r.has(e,i))return a.rank;e[i]=!0;var o=r.min(r.map(t.outEdges(i),(function(e){return n(e.w)-t.edge(e).minlen})));return o!==Number.POSITIVE_INFINITY&&null!=o||(o=0),a.rank=o}))},slack:function(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}}},"6GrX":function(t,e,n){var r=n("mFDi"),i=n("Xnb7"),a=n("bYtY"),o=a.getContext,s=a.extend,l=a.retrieve2,u=a.retrieve3,c=a.trim,h={},f=0,d=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,p={};function g(t,e){var n=t+":"+(e=e||"12px sans-serif");if(h[n])return h[n];for(var r=(t+"").split("\n"),i=0,a=0,o=r.length;a5e3&&(f=0,h={}),f++,h[n]=i,i}function v(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function m(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function y(t,e,n){var r=e.textDistance,i=n.x,a=n.y;r=r||0;var o=n.height,s=n.width,l=o/2,u="left",c="top";switch(e.textPosition){case"left":i-=r,a+=l,u="right",c="middle";break;case"right":i+=r+s,a+=l,c="middle";break;case"top":i+=s/2,a-=r,u="center",c="bottom";break;case"bottom":i+=s/2,a+=o+r,u="center";break;case"inside":i+=s/2,a+=l,u="center",c="middle";break;case"insideLeft":i+=r,a+=l,c="middle";break;case"insideRight":i+=s-r,a+=l,u="right",c="middle";break;case"insideTop":i+=s/2,a+=r,u="center";break;case"insideBottom":i+=s/2,a+=o-r,u="center",c="bottom";break;case"insideTopLeft":i+=r,a+=r;break;case"insideTopRight":i+=s-r,a+=r,u="right";break;case"insideBottomLeft":i+=r,a+=o-r,c="bottom";break;case"insideBottomRight":i+=s-r,a+=o-r,u="right",c="bottom"}return(t=t||{}).x=i,t.y=a,t.textAlign=u,t.textVerticalAlign=c,t}function _(t,e,n,r,i){if(!e)return"";var a=(t+"").split("\n");i=b(e,n,r,i);for(var o=0,s=a.length;o=a;u++)o-=a;var c=g(n,e);return c>o&&(n="",c=0),o=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=o,r.containerWidth=t,r}function x(t,e){var n=e.containerWidth,r=e.font,i=e.contentWidth;if(!n)return"";var a=g(t,r);if(a<=n)return t;for(var o=0;;o++){if(a<=i||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?w(t,i,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*i/a):0;a=g(t=t.substr(0,s),r)}return""===t&&(t=e.placeholder),t}function w(t,e,n,r){for(var i=0,a=0,o=t.length;ah)t="",o=[];else if(null!=f)for(var d=b(f-(n?n[1]+n[3]:0),e,i.ellipsis,{minChar:i.minChar,placeholder:i.placeholder}),p=0,g=o.length;pa&&T(n,t.substring(a,o)),T(n,r[2],r[1]),a=d.lastIndex}ay)return{lines:[],width:0,height:0};z.textWidth=g(z.text,M);var D=A.textWidth,O=null==D||"auto"===D;if("string"==typeof D&&"%"===D.charAt(D.length-1))z.percentWidth=D,f.push(z),D=0;else{if(O){D=z.textWidth;var P=A.textBackgroundColor,L=P&&P.image;L&&(L=i.findExistImage(L),i.isImageReady(L)&&(D=Math.max(D,L.width*I/L.height)))}var R=E?E[1]+E[3]:0;D+=R;var N=null!=m?m-S:null;null!=N&&N"],i.isArray(t)&&(t=t.slice(),r=!0),a=e?t:r?[c(t[0]),c(t[1])]:c(t),i.isString(u)?u.replace("{value}",r?a[0]:a).replace("{value2}",r?a[1]:a):i.isFunction(u)?r?u(t[0],t[1]):u(t):r?t[0]===l[0]?n[0]+" "+a[1]:t[1]===l[1]?n[1]+" "+a[0]:a[0]+" - "+a[1]:a;function c(t){return t===l[0]?"min":t===l[1]?"max":(+t).toFixed(Math.min(s,20))}},resetExtent:function(){var t=this.option,e=g([t.min,t.max]);this._dataExtent=e},getDataDimension:function(t){var e=this.option.dimension;if(null!=e||t.dimensions.length){if(null!=e)return t.getDimension(e);for(var n=t.dimensions,r=n.length-1;r>=0;r--){var i=n[r];if(!t.getDimensionInfo(i).isCalculationCoord)return i}}},getExtent:function(){return this._dataExtent.slice()},completeVisualOption:function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},r=e.target||(e.target={}),a=e.controller||(e.controller={});i.merge(r,n),i.merge(a,n);var l=this.isCategory();function u(n){d(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")},p(this.stateList,(function(t){var e=n[t];if(i.isString(e)){var r=o.get(e,"active",l);r?(n[t]={},n[t][e]=r):delete n[t]}}),this)}u.call(this,r),u.call(this,a),(function(t,e,n){var r=t[e],i=t[n];r&&!i&&(i=t[n]={},p(r,(function(t,e){if(s.isValidType(e)){var n=o.get(e,"inactive",l);null!=n&&(i[e]=n,"color"!==e||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}).call(this,r,"inRange","outOfRange"),(function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,r=this.get("inactiveColor");p(this.stateList,(function(a){var o=this.itemSize,s=t[a];s||(s=t[a]={color:l?r:[r]}),null==s.symbol&&(s.symbol=e&&i.clone(e)||(l?"roundRect":["roundRect"])),null==s.symbolSize&&(s.symbolSize=n&&i.clone(n)||(l?o[0]:[o[0],o[0]])),s.symbol=h(s.symbol,(function(t){return"none"===t||"square"===t?"roundRect":t}));var u=s.symbolSize;if(null!=u){var c=-1/0;f(u,(function(t){t>c&&(c=t)})),s.symbolSize=h(u,(function(t){return v(t,[0,c],[0,o[0]],!0)}))}}),this)}).call(this,a)},resetItemSize:function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},isCategory:function(){return!!this.option.categories},setSelected:m,getValueState:m,getVisualMeta:m});t.exports=y},"6usn":function(t,e,n){var r=n("bYtY");function i(t,e){return r.map(["Radius","Angle"],(function(n,r){var i=this["get"+n+"Axis"](),a=e[r],o=t[r]/2,s="dataTo"+n,l="category"===i.type?i.getBandWidth():Math.abs(i[s](a-o)-i[s](a+o));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}t.exports=function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),a=e.getExtent();return a[0]>a[1]&&a.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:a[1],r0:a[0]},api:{coord:r.bind((function(r){var i=e.dataToRadius(r[0]),a=n.dataToAngle(r[1]),o=t.coordToPoint([i,a]);return o.push(i,a*Math.PI/180),o})),size:r.bind(i,t)}}}},"711d":function(t,e){t.exports=function(t){return function(e){return null==e?void 0:e[t]}}},"72pK":function(t,e){function n(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function r(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}t.exports=function(t,e,i,a,o,s){t=t||0;var l=i[1]-i[0];if(null!=o&&(o=r(o,[0,l])),null!=s&&(s=Math.max(s,null!=o?o:0)),"all"===a){var u=Math.abs(e[1]-e[0]);u=r(u,[0,l]),o=s=r(u,[o,s]),a=0}e[0]=r(e[0],i),e[1]=r(e[1],i);var c=n(e,a);e[a]+=t;var h=o||0,f=i.slice();c.sign<0?f[0]+=h:f[1]-=h,e[a]=r(e[a],f);var d=n(e,a);return null!=o&&(d.sign!==c.sign||d.spans&&(e[1-a]=e[a]+d.sign*s),e}},"75ce":function(t,e,n){var r=n("ProS");n("IXuL"),n("8X+K");var i=n("f5Yq"),a=n("h8O9"),o=n("/d5a");n("Ae16"),r.registerVisual(i("line","circle","line")),r.registerLayout(a("line")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,o("line"))},"75ev":function(t,e,n){var r=n("ProS");n("IWNH"),n("bNin"),n("v5uJ");var i=n("f5Yq"),a=n("yik8");r.registerVisual(i("tree","circle")),r.registerLayout(a)},"77Zs":function(t,e,n){var r=n("Xi7e");t.exports=function(){this.__data__=new r,this.size=0}},"7AJT":function(t,e,n){var r=n("bYtY"),i=n("hM6l"),a=function(t,e,n,r,a){i.call(this,t,e,n),this.type=r||"value",this.position=a||"bottom"};a.prototype={constructor:a,index:0,getAxesOnZeroOf:null,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},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["x"===this.dim?0:1]),e)},toLocalCoord:null,toGlobalCoord:null},r.inherits(a,i),t.exports=a},"7DRL":function(t,e,n){n("Tghj");var r=n("bYtY"),i=r.createHashMap,a=r.isString,o=r.isArray,s=r.each,l=n("MEGo").parseXML,u=i(),c={registerMap:function(t,e,n){var r;return o(e)?r=e:e.svg?r=[{type:"svg",source:e.svg,specialAreas:e.specialAreas}]:(e.geoJson&&!e.features&&(n=e.specialAreas,e=e.geoJson),r=[{type:"geoJSON",source:e,specialAreas:n}]),s(r,(function(t){var e=t.type;"geoJson"===e&&(e=t.type="geoJSON"),(0,h[e])(t)})),u.set(t,r)},retrieveMap:function(t){return u.get(t)}},h={geoJSON:function(t){var e=t.source;t.geoJSON=a(e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e},svg:function(t){t.svgXML=l(t.source)}};t.exports=c},"7G+c":function(t,e,n){var r=n("bYtY"),i=r.createHashMap,a=r.isTypedArray,o=n("Yl7c").enableClassCheck,s=n("k9D9"),l=s.SOURCE_FORMAT_ORIGINAL,u=s.SERIES_LAYOUT_BY_COLUMN,c=s.SOURCE_FORMAT_UNKNOWN,h=s.SOURCE_FORMAT_TYPED_ARRAY,f=s.SOURCE_FORMAT_KEYED_COLUMNS;function d(t){this.fromDataset=t.fromDataset,this.data=t.data||(t.sourceFormat===f?{}:[]),this.sourceFormat=t.sourceFormat||c,this.seriesLayoutBy=t.seriesLayoutBy||u,this.dimensionsDefine=t.dimensionsDefine,this.encodeDefine=t.encodeDefine&&i(t.encodeDefine),this.startIndex=t.startIndex||0,this.dimensionsDetectCount=t.dimensionsDetectCount}d.seriesDataToSource=function(t){return new d({data:t,sourceFormat:a(t)?h:l,fromDataset:!1})},o(d),t.exports=d},"7GkX":function(t,e,n){var r=n("b80T"),i=n("A90E"),a=n("MMmD");t.exports=function(t){return a(t)?r(t):i(t)}},"7Ix3":function(t,e){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},"7Phj":function(t,e,n){var r=n("bYtY"),i=n("OELB").parsePercent,a=r.each;t.exports=function(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var i=t.getBaseAxis(),a=r.indexOf(n,i);a<0&&(n[a=n.length]=i,e[a]={axis:i,seriesModels:[]}),e[a].seriesModels.push(t)})),e}(t);a(e,(function(t){var e=t.seriesModels;e.length&&(function(t){var e,n,o=t.axis,s=t.seriesModels,l=s.length,u=t.boxWidthList=[],c=t.boxOffsetList=[],h=[];if("category"===o.type)n=o.getBandWidth();else{var f=0;a(s,(function(t){f=Math.max(f,t.getData().count())})),e=o.getExtent(),Math.abs(e[1]-e[0])}a(s,(function(t){var e=t.get("boxWidth");r.isArray(e)||(e=[e,e]),h.push([i(e[0],n)||0,i(e[1],n)||0])}));var d=.8*n-2,p=d/l*.3,g=(d-p*(l-1))/l,v=g/2-d/2;a(s,(function(t,e){c.push(v),v+=p+g,u.push(Math.min(Math.max(g,h[e][0]),h[e][1]))}))}(t),a(e,(function(e,n){!function(t,e,n){var r=t.coordinateSystem,i=t.getData(),a=n/2,o="horizontal"===t.get("layout")?0:1,s=1-o,l=["x","y"],u=i.mapDimension(l[o]),c=i.mapDimension(l[s],!0);if(!(null==u||c.length<5))for(var h=0;h=0&&e.splice(n,1),t.__hoverMir=null},clearHover:function(t){for(var e=this._hoverElements,n=0;n15)break}s.__drawIndex=v,s.__drawIndex0&&t>r[0]){for(s=0;st);s++);o=n[r[s]]}if(r.splice(s+1,0,t),n[t]=e,!e.virtual)if(o){var u=o.dom;u.nextSibling?l.insertBefore(e.dom,u.nextSibling):l.appendChild(e.dom)}else l.firstChild?l.insertBefore(e.dom,l.firstChild):l.appendChild(e.dom)}else a("Layer of zlevel "+t+" is not valid")},eachLayer:function(t,e){var n,r,i=this._zlevelList;for(r=0;r0?.01:0),this._needsManuallyCompositing),s.__builtin__||a("ZLevel "+l+" has been used by unkown layer "+s.id),s!==r&&(s.__used=!0,s.__startIndex!==n&&(s.__dirty=!0),s.__startIndex=n,s.__drawIndex=s.incremental?-1:n,e(n),r=s),o.__dirty&&(s.__dirty=!0,s.incremental&&s.__drawIndex<0&&(s.__drawIndex=n))}e(n),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(t){t.clear()},setBackgroundColor:function(t){this._backgroundColor=t},configLayer:function(t,e){if(e){var n=this._layerConfig;n[t]?i.merge(n[t],e,!0):n[t]=e;for(var r=0;r=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},getCurrentIndex:function(){return this.option.currentIndex},isIndexMax:function(){return this.getCurrentIndex()>=this._data.count()-1},setPlayState:function(t){this.option.autoPlay=!!t},getPlayState:function(){return!!this.option.autoPlay},_initData:function(){var t=this.option,e=t.data||[],n=t.axisType,i=this._names=[];if("category"===n){var s=[];r.each(e,(function(t,e){var n,a=o.getDataItemValue(t);r.isObject(t)?(n=r.clone(t)).value=e:n=e,s.push(n),r.isString(a)||null!=a&&!isNaN(a)||(a=""),i.push(a+"")})),e=s}(this._data=new a([{name:"value",type:{category:"ordinal",time:"time"}[n]||"number"}],this)).initData(e,i)},getData:function(){return this._data},getCategories:function(){if("category"===this.get("axisType"))return this._names.slice()}});t.exports=s},"7aKB":function(t,e,n){var r=n("bYtY"),i=n("6GrX"),a=n("OELB"),o=r.normalizeCssArray,s=/([&<>"'])/g,l={"&":"&","<":"<",">":">",'"':""","'":"'"};function u(t){return null==t?"":(t+"").replace(s,(function(t,e){return l[e]}))}var c=["a","b","c","d","e","f","g"],h=function(t,e){return"{"+t+(null==e?"":e)+"}"};function f(t,e){return"0000".substr(0,e-(t+="").length)+t}var d=i.truncateText;e.addCommas=function(t){return isNaN(t)?"-":(t=(t+"").split("."))[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")},e.toCamelCase=function(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t},e.normalizeCssArray=o,e.encodeHTML=u,e.formatTpl=function(t,e,n){r.isArray(e)||(e=[e]);var i=e.length;if(!i)return"";for(var a=e[0].$vars||[],o=0;o':'':{renderMode:i,content:"{marker"+a+"|} ",style:{color:n}}:""},e.formatTime=function(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var r=a.parseDate(e),i=n?"UTC":"",o=r["get"+i+"FullYear"](),s=r["get"+i+"Month"]()+1,l=r["get"+i+"Date"](),u=r["get"+i+"Hours"](),c=r["get"+i+"Minutes"](),h=r["get"+i+"Seconds"](),d=r["get"+i+"Milliseconds"]();return t.replace("MM",f(s,2)).replace("M",s).replace("yyyy",o).replace("yy",o%100).replace("dd",f(l,2)).replace("d",l).replace("hh",f(u,2)).replace("h",u).replace("mm",f(c,2)).replace("m",c).replace("ss",f(h,2)).replace("s",h).replace("SSS",f(d,3))},e.capitalFirst=function(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t},e.truncateText=d,e.getTextBoundingRect=function(t){return i.getBoundingRect(t.text,t.font,t.textAlign,t.textVerticalAlign,t.textPadding,t.textLineHeight,t.rich,t.truncate)},e.getTextRect=function(t,e,n,r,a,o,s,l){return i.getBoundingRect(t,e,n,r,a,l,o,s)}},"7bkD":function(t,e,n){var r=n("bYtY");e.layout=function(t,e){e=e||{};var n=t.axis,i={},a=n.position,o=n.orient,s=t.coordinateSystem.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};i.position=["vertical"===o?u.vertical[a]:l[0],"horizontal"===o?u.horizontal[a]:l[3]],i.rotation=Math.PI/2*{horizontal:0,vertical:1}[o],i.labelDirection=i.tickDirection=i.nameDirection={top:-1,bottom:1,right:1,left:-1}[a],t.get("axisTick.inside")&&(i.tickDirection=-i.tickDirection),r.retrieve(e.labelInside,t.get("axisLabel.inside"))&&(i.labelDirection=-i.labelDirection);var c=e.rotate;return null==c&&(c=t.get("axisLabel.rotate")),i.labelRotation="top"===a?-c:c,i.z2=1,i}},"7fqy":function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}},"7hqr":function(t,e,n){var r=n("bYtY"),i=r.each,a=r.isString;function o(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}e.enableDataStack=function(t,e,n){var r,o,s,l,u=(n=n||{}).byIndex,c=n.stackedCoordDimension,h=!(!t||!t.get("stack"));if(i(e,(function(t,n){a(t)&&(e[n]=t={name:t}),h&&!t.isExtraCoord&&(u||r||!t.ordinalMeta||(r=t),o||"ordinal"===t.type||"time"===t.type||c&&c!==t.coordDim||(o=t))})),!o||u||r||(u=!0),o){s="__\0ecstackresult",l="__\0ecstackedover",r&&(r.createInvertedIndices=!0);var f=o.coordDim,d=o.type,p=0;i(e,(function(t){t.coordDim===f&&p++})),e.push({name:s,coordDim:f,coordDimIndex:p,type:d,isExtraCoord:!0,isCalculationCoord:!0}),p++,e.push({name:l,coordDim:l,coordDimIndex:p,type:d,isExtraCoord:!0,isCalculationCoord:!0})}return{stackedDimension:o&&o.name,stackedByDimension:r&&r.name,isStackedByIndex:u,stackedOverDimension:l,stackResultDimension:s}},e.isDimensionStacked=o,e.getStackedDimension=function(t,e){return o(t,e)?t.getCalculationInfo("stackResultDimension"):e}},"7mYs":function(t,e,n){var r=n("ProS"),i=n("bYtY"),a=n("IwbS"),o=n("7aKB"),s=n("OELB"),l={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"]},u={EN:["S","M","T","W","T","F","S"],CN:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},c=r.extendComponentView({type:"calendar",_tlpoints:null,_blpoints:null,_firstDayOfMonth:null,_firstDayPoints:null,render:function(t,e,n){var r=this.group;r.removeAll();var i=t.coordinateSystem,a=i.getRangeInfo(),o=i.getOrient();this._renderDayRect(t,a,r),this._renderLines(t,a,o,r),this._renderYearText(t,a,o,r),this._renderMonthText(t,o,r),this._renderWeekText(t,a,o,r)},_renderDayRect:function(t,e,n){for(var r=t.coordinateSystem,i=t.getModel("itemStyle").getItemStyle(),o=r.getCellWidth(),s=r.getCellHeight(),l=e.start.time;l<=e.end.time;l=r.getNextNDay(l,1).time){var u=r.dataToRect([l],!1).tl,c=new a.Rect({shape:{x:u[0],y:u[1],width:o,height:s},cursor:"default",style:i});n.add(c)}},_renderLines:function(t,e,n,r){var i=this,a=t.coordinateSystem,o=t.getModel("splitLine.lineStyle").getLineStyle(),s=t.get("splitLine.show"),l=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,c=0;u.time<=e.end.time;c++){f(u.formatedDate),0===c&&(u=a.getDateInfo(e.start.y+"-"+e.start.m));var h=u.date;h.setMonth(h.getMonth()+1),u=a.getDateInfo(h)}function f(e){i._firstDayOfMonth.push(a.getDateInfo(e)),i._firstDayPoints.push(a.dataToRect([e],!1).tl);var l=i._getLinePointsOfOneWeek(t,e,n);i._tlpoints.push(l[0]),i._blpoints.push(l[l.length-1]),s&&i._drawSplitline(l,o,r)}f(a.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,l,n),o,r),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,l,n),o,r)},_getEdgesPoints:function(t,e,n){var r=[t[0].slice(),t[t.length-1].slice()],i="horizontal"===n?0:1;return r[0][i]=r[0][i]-e/2,r[1][i]=r[1][i]+e/2,r},_drawSplitline:function(t,e,n){var r=new a.Polyline({z2:20,shape:{points:t},style:e});n.add(r)},_getLinePointsOfOneWeek:function(t,e,n){var r=t.coordinateSystem;e=r.getDateInfo(e);for(var i=[],a=0;a<7;a++){var o=r.getNextNDay(e.time,a),s=r.dataToRect([o.time],!1);i[2*o.day]=s.tl,i[2*o.day+1]=s["horizontal"===n?"bl":"tr"]}return i},_formatterLabel:function(t,e){return"string"==typeof t&&t?o.formatTplSimple(t,e):"function"==typeof t?t(e):e.nameMap},_yearTextPositionControl:function(t,e,n,r,i){e=e.slice();var a=["center","bottom"];"bottom"===r?(e[1]+=i,a=["center","top"]):"left"===r?e[0]-=i:"right"===r?(e[0]+=i,a=["center","top"]):e[1]-=i;var o=0;return"left"!==r&&"right"!==r||(o=Math.PI/2),{rotation:o,position:e,style:{textAlign:a[0],textVerticalAlign:a[1]}}},_renderYearText:function(t,e,n,r){var i=t.getModel("yearLabel");if(i.get("show")){var o=i.get("margin"),s=i.get("position");s||(s="horizontal"!==n?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(l[0][0]+l[1][0])/2,c=(l[0][1]+l[1][1])/2,h="horizontal"===n?0:1,f={top:[u,l[h][1]],bottom:[u,l[1-h][1]],left:[l[1-h][0],c],right:[l[h][0],c]},d=e.start.y;+e.end.y>+e.start.y&&(d=d+"-"+e.end.y);var p=i.get("formatter"),g=this._formatterLabel(p,{start:e.start.y,end:e.end.y,nameMap:d}),v=new a.Text({z2:30});a.setTextStyle(v.style,i,{text:g}),v.attr(this._yearTextPositionControl(v,f[s],n,s,o)),r.add(v)}},_monthTextPositionControl:function(t,e,n,r,i){var a="left",o="top",s=t[0],l=t[1];return"horizontal"===n?(l+=i,e&&(a="center"),"start"===r&&(o="bottom")):(s+=i,e&&(o="middle"),"start"===r&&(a="right")),{x:s,y:l,textAlign:a,textVerticalAlign:o}},_renderMonthText:function(t,e,n){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),s=r.get("margin"),u=r.get("position"),c=r.get("align"),h=[this._tlpoints,this._blpoints];i.isString(o)&&(o=l[o.toUpperCase()]||[]);var f="start"===u?0:1,d="horizontal"===e?0:1;s="start"===u?-s:s;for(var p="center"===c,g=0;g1?(g.width=c,g.height=c/d):(g.height=c,g.width=c*d),g.y=u[1]-g.height/2,g.x=u[0]-g.width/2}else(a=t.getBoxLayoutParams()).aspect=d,g=o.getLayoutRect(a,{width:h,height:f});this.setViewRect(g.x,g.y,g.width,g.height),this.setCenter(t.get("center")),this.setZoom(t.get("zoom"))}function h(t,e){i.each(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}var f={dimensions:a.prototype.dimensions,create:function(t,e){var n=[];t.eachComponent("geo",(function(t,r){var i=t.get("map"),o=t.get("aspectScale"),s=!0,l=u.retrieveMap(i);l&&l[0]&&"svg"===l[0].type?(null==o&&(o=1),s=!1):null==o&&(o=.75);var f=new a(i+r,i,t.get("nameMap"),s);f.aspectScale=o,f.zoomLimit=t.get("scaleLimit"),n.push(f),h(f,t),t.coordinateSystem=f,f.model=t,f.resize=c,f.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),i.each(r,(function(t,r){var o=i.map(t,(function(t){return t.get("nameMap")})),s=new a(r,r,i.mergeAll(o));s.zoomLimit=i.retrieve.apply(null,i.map(t,(function(t){return t.get("scaleLimit")}))),n.push(s),s.resize=c,s.aspectScale=t[0].get("aspectScale"),s.resize(t[0],e),i.each(t,(function(t){t.coordinateSystem=s,h(s,t)}))})),n},getFilledRegions:function(t,e,n){for(var r=(t||[]).slice(),a=i.createHashMap(),o=0;oe.barycenter?1:n?e.i-t.i:t.i-e.i})),f=a(u,l,f),r.forEach(s,(function(t){f+=t.vs.length,u.push(t.vs),c+=t.barycenter*t.weight,h+=t.weight,f=a(u,l,f)}));var d={vs:r.flatten(u,!0)};return h&&(d.barycenter=c/h,d.weight=h),d}},"88Gu":function(t,e){var n=Date.now;t.exports=function(t){var e=0,r=0;return function(){var i=n(),a=16-(i-r);if(r=i,a>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},"8SMY":function(t,e,n){var r=n("n4Lv"),i=r.prepareDataCoordInfo,a=r.getStackedOnPoint;t.exports=function(t,e,n,r,o,s,l,u){for(var c=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),h=[],f=[],d=[],p=[],g=[],v=[],m=[],y=i(o,e,l),_=i(s,t,u),b=0;br)return!1;return!0}(s,e))){var l=e.mapDimension(s.dim),u={};return r.each(s.getViewLabels(),(function(t){u[t.tickValue]=1})),function(t){return!u.hasOwnProperty(e.get(l,t))}}}}(t,l,i),I=this._data;I&&I.eachItemGraphicEl((function(t,e){t.__temp&&(o.remove(t),I.setItemGraphicEl(e,null))})),E||v.remove(),o.add(k);var D,O=!f&&t.get("step");i&&i.getArea&&t.get("clip",!0)&&(null!=(D=i.getArea()).width?(D.x-=.1,D.y-=.1,D.width+=.2,D.height+=.2):D.r0&&(D.r0-=.5,D.r1+=.5)),this._clipShapeForSymbol=D,m&&d.type===i.type&&O===this._step?(C&&!y?y=this._newPolygon(h,T,i,S):y&&!C&&(k.remove(y),y=this._polygon=null),k.setClipPath(w(i,!1,t)),E&&v.updateData(l,{isIgnore:M,clipShape:D}),l.eachItemGraphicEl((function(t){t.stopAnimation(!0)})),_(this._stackedOnPoints,T)&&_(this._points,h)||(S?this._updateAnimation(l,T,i,n,O,A):(O&&(h=x(h,i,O),T=x(T,i,O)),m.setShape({points:h}),y&&y.setShape({points:h,stackedOnPoints:T})))):(E&&v.updateData(l,{isIgnore:M,clipShape:D}),O&&(h=x(h,i,O),T=x(T,i,O)),m=this._newPolyline(h,i,S),C&&(y=this._newPolygon(h,T,i,S)),k.setClipPath(w(i,!0,t)));var P=function(t,e){var n=t.getVisual("visualMeta");if(n&&n.length&&t.count()&&"cartesian2d"===e.type){for(var i,a,o=n.length-1;o>=0;o--){var l=t.getDimensionInfo(t.dimensions[n[o].dimension]);if("x"===(i=l&&l.coordDim)||"y"===i){a=n[o];break}}if(a){var u=e.getAxis(i),c=r.map(a.stops,(function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}})),h=c.length,f=a.outerColors.slice();h&&c[0].coord>c[h-1].coord&&(c.reverse(),f.reverse());var d=c[0].coord-10,p=c[h-1].coord+10,g=p-d;if(g<.001)return"transparent";r.each(c,(function(t){t.offset=(t.coord-d)/g})),c.push({offset:h?c[h-1].offset:.5,color:f[1]||"transparent"}),c.unshift({offset:h?c[0].offset:.5,color:f[0]||"transparent"});var v=new s.LinearGradient(0,0,0,0,c,!0);return v[i]=d,v[i+"2"]=p,v}}}(l,i)||l.getVisual("color");m.useStyle(r.defaults(u.getLineStyle(),{fill:"none",stroke:P,lineJoin:"bevel"}));var L=t.get("smooth");if(L=b(t.get("smooth")),m.setShape({smooth:L,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")}),y){var R=l.getCalculationInfo("stackedOnSeries"),N=0;y.useStyle(r.defaults(c.getAreaStyle(),{fill:P,opacity:.7,lineJoin:"bevel"})),R&&(N=b(R.get("smooth"))),y.setShape({smooth:L,stackedOnSmooth:N,smoothMonotone:t.get("smoothMonotone"),connectNulls:t.get("connectNulls")})}this._data=l,this._coordSys=i,this._stackedOnPoints=T,this._points=h,this._step=O,this._valueOrigin=A},dispose:function(){},highlight:function(t,e,n,r){var i=t.getData(),o=l.queryDataIndex(i,r);if(!(o instanceof Array)&&null!=o&&o>=0){var s=i.getItemGraphicEl(o);if(!s){var u=i.getItemLayout(o);if(!u)return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(u[0],u[1]))return;(s=new a(i,o)).position=u,s.setZ(t.get("zlevel"),t.get("z")),s.ignore=isNaN(u[0])||isNaN(u[1]),s.__temp=!0,i.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else f.prototype.highlight.call(this,t,e,n,r)},downplay:function(t,e,n,r){var i=t.getData(),a=l.queryDataIndex(i,r);if(null!=a&&a>=0){var o=i.getItemGraphicEl(a);o&&(o.__temp?(i.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else f.prototype.downplay.call(this,t,e,n,r)},_newPolyline:function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new c({shape:{points:t},silent:!0,z2:10}),this._lineGroup.add(e),this._polyline=e,e},_newPolygon:function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new h({shape:{points:t,stackedOnPoints:e},silent:!0}),this._lineGroup.add(n),this._polygon=n,n},_updateAnimation:function(t,e,n,r,i,a){var l=this._polyline,u=this._polygon,c=t.hostModel,h=o(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin,a),f=h.current,d=h.stackedOnCurrent,p=h.next,g=h.stackedOnNext;i&&(f=x(h.current,n,i),d=x(h.stackedOnCurrent,n,i),p=x(h.next,n,i),g=x(h.stackedOnNext,n,i)),l.shape.__points=h.current,l.shape.points=f,s.updateProps(l,{shape:{points:p}},c),u&&(u.setShape({points:f,stackedOnPoints:d}),s.updateProps(u,{shape:{points:p,stackedOnPoints:g}},c));for(var v=[],m=h.status,y=0;yl||u>e[i].lim));for(a=i,i=r;(i=t.parent(i))!==a;)s.push(i);return{path:o.concat(s.reverse()),lca:a}}(t,e,i.v,i.w),o=a.path,s=a.lca,l=0,u=o[l],c=!0;n!==i.w;){if(r=t.node(n),c){for(;(u=o[l])!==s&&t.node(u).maxRank5)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&l(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r&&null})}}};function l(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}r.registerPreprocessor(o)},"8x+h":function(t,e,n){n("Tghj");var r=n("ProS"),i=n("bYtY"),a=n("K4ya"),o=n("Qxkt"),s=["#ddd"],l=r.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(t,e){var n=this.option;!e&&a.replaceVisualOption(n,t,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:s},r.hasOwnProperty("liftZ")||(r.liftZ=5)},setAreas:function(t){t&&(this.areas=i.map(t,(function(t){return u(this.option,t)}),this))},setBrushOption:function(t){this.brushOption=u(this.option,t),this.brushType=this.brushOption.brushType}});function u(t,e){return i.merge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new o(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}t.exports=l},"98bh":function(t,e,n){var r=n("ProS"),i=n("5GtS"),a=n("bYtY"),o=n("4NO4"),s=n("OELB").getPercentWithPrecision,l=n("cCMj"),u=n("KxfA").retrieveRawAttr,c=n("D5nY").makeSeriesEncodeForNameBased,h=n("xKMd"),f=r.extendSeriesModel({type:"series.pie",init:function(t){f.superApply(this,"init",arguments),this.legendVisualProvider=new h(a.bind(this.getData,this),a.bind(this.getRawData,this)),this.updateSelectedMap(this._createSelectableList()),this._defaultLabelLine(t)},mergeOption:function(t){f.superCall(this,"mergeOption",t),this.updateSelectedMap(this._createSelectableList())},getInitialData:function(t,e){return i(this,{coordDimensions:["value"],encodeDefaulter:a.curry(c,this)})},_createSelectableList:function(){for(var t=this.getRawData(),e=t.mapDimension("value"),n=[],r=0,i=t.count();r=1)&&(t=1),t}l===c&&u===h||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=function(t,e){var n,i;t._dueIndex=t._outputDueEnd=t._dueEnd=0,t._settedOutputEnd=null,!e&&t._reset&&((n=t._reset(t.context))&&n.progress&&(i=n.forceFirstProgress,n=n.progress),r(n)&&!n.length&&(n=null)),t._progress=n,t._modBy=t._modDataCount=null;var a=t._downstream;return a&&a.dirty(),i}(this,i)),this._modBy=c,this._modDataCount=h;var d=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var p=this._dueIndex,g=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!i&&(o||p1&&r>0?s:o}};return a;function o(){return e=t?null:a=0;v--){var m=g[v],y=m.node,_=m.width,b=m.text;p>d.width&&(p-=_-h,_=h,b=null);var x=new r.Polygon({shape:{points:l(c,0,_,f,v===g.length-1,0===v)},style:a.defaults(n.getItemStyle(),{lineJoin:"bevel",text:b,textFill:o.getTextColor(),textFont:o.getFont()}),z:10,onclick:a.curry(s,y)});this.group.add(x),u(x,t,y),c+=_+8}},remove:function(){this.group.removeAll()}},t.exports=s},"9ppp":function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(){function t(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return t.prototype=Object.create(Error.prototype),t}()},"9u0u":function(t,e,n){var r=n("bYtY");t.exports=function(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),r=n?"o"+n.id:"i"+t.getMapType();(e[r]=e[r]||[]).push(t)})),r.each(e,(function(t,e){for(var n,i,a,o=(n=r.map(t,(function(t){return t.getData()})),i=t[0].get("mapValueCalculation"),a={},r.each(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var r="ec-"+t.getName(n);a[r]=a[r]||[],isNaN(e)||a[r].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var r="ec-"+n[0].getName(e),o=0,s=1/0,l=-1/0,u=a[r].length,c=0;cthis._arr[n].priority)throw new Error("New priority is greater than current priority. Key: "+t+" Old: "+this._arr[n].priority+" New: "+e);this._arr[n].priority=e,this._decrease(n)},i.prototype._heapify=function(t){var e=this._arr,n=2*t,r=n+1,i=t;n>1].priority=0;)i++;return i-e}function r(t,e,n,r,i){for(r===e&&r++;r>>1])<0?l=a:s=a+1;var u=r-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;u>0;)t[s+u]=t[s+u-1],u--}t[s]=o}}function i(t,e,n,r,i,a){var o=0,s=0,l=1;if(a(t,e[n+i])>0){for(s=r-i;l0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}else{for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}for(o++;o>>1);a(t,e[n+c])>0?o=c+1:l=c}return l}function a(t,e,n,r,i,a){var o=0,s=0,l=1;if(a(t,e[n+i])<0){for(s=i+1;ls&&(l=s);var u=o;o=i-l,l=i-u}else{for(s=r-i;l=0;)o=l,(l=1+(l<<1))<=0&&(l=s);l>s&&(l=s),o+=i,l+=i}for(o++;o>>1);a(t,e[n+c])<0?l=c:o=c+1}return l}function o(t,e){var n,r,o=7,s=0,l=[];function u(u){var c=n[u],h=r[u],f=n[u+1],d=r[u+1];r[u]=h+d,u===s-3&&(n[u+1]=n[u+2],r[u+1]=r[u+2]),s--;var p=a(t[f],t,c,h,0,e);c+=p,0!=(h-=p)&&0!==(d=i(t[c+h-1],t,f,d,d-1,e))&&(h<=d?function(n,r,s,u){var c=0;for(c=0;c=7||g>=7);if(v)break;m<0&&(m=0),m+=2}if((o=m)<1&&(o=1),1===r){for(c=0;c=0;c--)t[g+c]=t[p+c];if(0===r){_=!0;break}}if(t[d--]=l[f--],1==--u){_=!0;break}if(0!=(y=u-i(t[h],l,0,u,u-1,e))){for(u-=y,g=1+(d-=y),p=1+(f-=y),c=0;c=7||y>=7);if(_)break;v<0&&(v=0),v+=2}if((o=v)<1&&(o=1),1===u){for(g=1+(d-=r),p=1+(h-=r),c=r-1;c>=0;c--)t[g+c]=t[p+c];t[d]=l[f]}else{if(0===u)throw new Error;for(p=d-(u-1),c=0;c=0;c--)t[g+c]=t[p+c];t[d]=l[f]}else for(p=d-(u-1),c=0;c1;){var t=s-2;if(t>=1&&r[t-1]<=r[t]+r[t+1]||t>=2&&r[t-2]<=r[t]+r[t-1])r[t-1]r[t+1])break;u(t)}},this.forceMergeRuns=function(){for(;s>1;){var t=s-2;t>0&&r[t-1]=32;)e|=1&t,t>>=1;return t+e}(s);do{if((l=n(t,i,a,e))c&&(h=c),r(t,i,i+h,i+l,e),l=h}u.pushRun(i,l),u.mergeRuns(),s-=l,i+=l}while(0!==s);u.forceMergeRuns()}}}},BS4l:function(t,e,n){"use strict";var r=n("lU+G"),i=n("XedF"),a=n("PEyx"),o=n("Ve/E");t.exports=function(t,e){var n,s=t.selectAll("g.edgeLabel").data(e.edges(),(function(t){return a.edgeToId(t)})).classed("update",!0);return s.exit().remove(),s.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(s=t.selectAll("g.edgeLabel")).each((function(t){var n=o.select(this);n.select(".label").remove();var a=e.edge(t),s=i(n,e.edge(t),0,0).classed("label",!0),l=s.node().getBBox();a.labelId&&s.attr("id",a.labelId),r.has(a,"width")||(a.width=l.width),r.has(a,"height")||(a.height=l.height)})),n=s.exit?s.exit():s.selectAll(null),a.applyTransition(n,e).style("opacity",0).remove(),s}},BiGR:function(t,e,n){var r=n("nmnc"),i=n("03A+"),a=n("Z0cm"),o=r?r.isConcatSpreadable:void 0;t.exports=function(t){return a(t)||i(t)||!!(o&&t&&t[o])}},BkRI:function(t,e,n){var r=n("OBhP");t.exports=function(t){return r(t,5)}},BlVb:function(t,e,n){var r=n("hyiK");function i(t,e){return Math.abs(t-e)<1e-8}e.contain=function(t,e,n){var a=0,o=t[0];if(!o)return!1;for(var s=1;s.5?e:t}function h(t,e,n,r,i){var a=t.length;if(1===i)for(var o=0;oi)t.length=i;else for(var a=r;a=0&&!(A[n]<=e);n--);n=Math.min(n,b-2)}else{for(n=B;ne);n++);n=Math.min(n-1,b-2)}B=n,V=e;var r=A[n+1]-A[n];if(0!==r)if(L=(e-A[n])/r,_)if(N=T[n],R=T[0===n?n:n-1],z=T[n>b-2?b-1:n+1],F=T[n>b-3?b-1:n+2],w)p(R,N,z,F,L,L*L,L*L*L,v(t,s),C);else{if(k)i=p(R,N,z,F,L,L*L,L*L*L,j,1),i=m(j);else{if(S)return c(N,z,L);i=g(R,N,z,F,L,L*L,L*L*L)}y(t,s,i)}else if(w)h(T[n],T[n+1],L,v(t,s),C);else{var i;if(k)h(T[n],T[n+1],L,j,1),i=m(j);else{if(S)return c(T[n],T[n+1],L);i=u(T[n],T[n+1],L)}y(t,s,i)}},ondestroy:n});return e&&"spline"!==e&&(Y.easing=e),Y}}}var _=function(t,e,n,r){this._tracks={},this._target=t,this._loop=e||!1,this._getter=n||s,this._setter=r||l,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};_.prototype={when:function(t,e){var n=this._tracks;for(var r in e)if(e.hasOwnProperty(r)){if(!n[r]){n[r]=[];var i=this._getter(this._target,r);if(null==i)continue;0!==t&&n[r].push({time:0,value:v(i)})}n[r].push({time:t,value:e[r]})}return this},during:function(t){return this._onframeList.push(t),this},pause:function(){for(var t=0;te&&(e=r.height)}this.height=e+1},getNodeById:function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,r=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},getLayout:function(){return this.hostTree.data.getItemLayout(this.dataIndex)},getModel:function(t){if(!(this.dataIndex<0)){var e,n=this.hostTree,r=n.data.getItemModel(this.dataIndex),i=this.getLevelModel();return i||0!==this.children.length&&(0===this.children.length||!1!==this.isExpand)||(e=this.getLeavesModel()),r.getModel(t,(i||e||n.hostModel).getModel(t))}},getLevelModel:function(){return(this.hostTree.levelModels||[])[this.depth]},getLeavesModel:function(){return this.hostTree.leavesModel},setVisual:function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},getVisual:function(t,e){return this.hostTree.data.getItemVisual(this.dataIndex,t,e)},getRawIndex:function(){return this.hostTree.data.getRawIndex(this.dataIndex)},getId:function(){return this.hostTree.data.getId(this.dataIndex)},isAncestorOf:function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},isDescendantOf:function(t){return t!==this&&t.isAncestorOf(this)}},u.prototype={constructor:u,type:"tree",eachNode:function(t,e,n){this.root.eachNode(t,e,n)},getNodeByDataIndex:function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},getNodeByName:function(t){return this.root.getNodeByName(t)},update:function(){for(var t=this.data,e=this._nodes,n=0,r=e.length;n0?"pieces":this.option.categories?"categories":"splitNumber"},setSelected:function(t){this.option.selected=r.clone(t)},getValueState:function(t){var e=a.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimension(i),(function(e,n){a.findPieceIndex(e,this._pieceList)===t&&r.push(n)}),this),e.push({seriesId:n.id,dataIndex:r})}),this),e},getRepresentValue:function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},getVisualMeta:function(t){if(!this.isCategory()){var e=[],n=[],i=this,a=this._pieceList.slice();if(a.length){var o=a[0].interval[0];o!==-1/0&&a.unshift({interval:[-1/0,o]}),(o=a[a.length-1].interval[1])!==1/0&&a.push({interval:[o,1/0]})}else a.push({interval:[-1/0,1/0]});var s=-1/0;return r.each(a,(function(t){var e=t.interval;e&&(e[0]>s&&l([s,e[0]],"outOfRange"),l(e.slice()),s=e[1])}),this),{stops:e,outerColors:n}}function l(r,a){var o=i.getRepresentValue({interval:r});a||(a=i.getValueState(o));var s=t(o,a);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}}}),u={splitNumber:function(){var t=this.option,e=this._pieceList,n=Math.min(t.precision,20),i=this.getExtent(),a=t.splitNumber;a=Math.max(parseInt(a,10),1),t.splitNumber=a;for(var o=(i[1]-i[0])/a;+o.toFixed(n)!==o&&n<5;)n++;t.precision=n,o=+o.toFixed(n);var l=0;t.minOpen&&e.push({index:l++,interval:[-1/0,i[0]],close:[0,0]});for(var u=i[0],c=l+a;l","\u2265"][e[0]]])}),this)}};function c(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}t.exports=l},C0SR:function(t,e,n){var r=n("YH21"),i=function(){this._track=[]};function a(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}i.prototype={constructor:i,recognize:function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},clear:function(){return this._track.length=0,this},_doTrack:function(t,e,n){var i=t.touches;if(i){for(var a={points:[],touches:[],target:e,event:t},o=0,s=i.length;o1&&i&&i.length>1){var s=a(i)/a(o);!isFinite(s)&&(s=1),e.pinchScale=s;var l=[((r=i)[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2];return e.pinchX=l[0],e.pinchY=l[1],{type:"pinch",target:t[0].target,event:e}}}}};t.exports=i},C0tN:function(t,e,n){n("0o9m"),n("8Uz6"),n("Ducp"),n("6/nd")},C4tZ:function(t,e,n){"use strict";var r=n("6Ekc").longestPath,i=n("GEWS"),a=n("dOj1");t.exports=function(t){switch(t.graph().ranker){case"network-simplex":s(t);break;case"tight-tree":!function(t){r(t),i(t)}(t);break;case"longest-path":o(t);break;default:s(t)}};var o=r;function s(t){a(t)}},CBdT:function(t,e,n){var r=n("ProS");n("8waO"),n("AEZ6"),n("YNf1");var i=n("q3GZ");r.registerVisual(i)},CF2D:function(t,e,n){var r=n("ProS");n("vZI5"),n("GeKi");var i=n("6r85"),a=n("TJmX"),o=n("CbHG");r.registerPreprocessor(i),r.registerVisual(a),r.registerLayout(o)},CH3K:function(t,e){t.exports=function(t,e){for(var n=-1,r=e.length,i=t.length;++n":"--",n=new s;t.isMultigraph()||n.write("strict "),n.writeLine((t.isDirected()?"digraph":"graph")+" {"),n.indent();var i=t.graph();return r.isObject(i)&&r.each(i,(function(t,e){n.writeLine(o(e)+"="+o(t)+";")})),function t(e,n,i){var s=e.isCompound()?e.children(n):e.nodes();r.each(s,(function(n){e.isCompound()&&e.children(n).length?(i.writeLine("subgraph "+o(n)+" {"),i.indent(),r.isObject(e.node(n))&&r.map(e.node(n),(function(t,e){i.writeLine(o(e)+"="+o(t)+";")})),t(e,n,i),i.unindent(),i.writeLine("}")):function(t,e,n){n.write(o(e)),a(t.node(e),n),n.writeLine()}(e,n,i)}))}(t,void 0,n),t.edges().forEach((function(r){!function(t,e,n,r){var i=e.v,s=e.w,l=t.edge(e);r.write(o(i)+" "+n+" "+o(s)),a(l,r),r.writeLine()}(t,r,e,n)})),n.unindent(),n.writeLine("}"),n.toString()};var i=/^[a-zA-Z\200-\377_][a-zA-Z\200-\377_0-9]*$/;function a(t,e){if(r.isObject(t)){var n=r.map(t,(function(t,e){return o(e)+"="+o(t)}));n.length&&e.write(" ["+n.join(",")+"]")}}function o(t){return"number"==typeof t||t.toString().match(i)?t:'"'+t.toString().replace(/"/g,'\\"')+'"'}function s(){this._indent="",this._content="",this._shouldIndent=!0}s.prototype.INDENT=" ",s.prototype.indent=function(){this._indent+=this.INDENT},s.prototype.unindent=function(){this._indent=this._indent.slice(this.INDENT.length)},s.prototype.writeLine=function(t){this.write((t||"")+"\n"),this._shouldIndent=!0},s.prototype.write=function(t){this._shouldIndent&&(this._shouldIndent=!1,this._content+=this._indent),this._content+=t},s.prototype.toString=function(){return this._content}},"CMP+":function(t,e,n){var r=n("bYtY"),i=n("hM6l"),a=function(t,e,n,r){i.call(this,t,e,n),this.type=r||"value",this.model=null};a.prototype={constructor:a,getLabelModel:function(){return this.model.getModel("label")},isHorizontal:function(){return"horizontal"===this.model.get("orient")}},r.inherits(a,i),t.exports=a},CMye:function(t,e,n){var r=n("GoyQ");t.exports=function(t){return t==t&&!r(t)}},CZoQ:function(t,e){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++rl?b[1]:_[1],ends:k,brushRect:A(h,v,o)})}function S(t,n){var r=[];return r[0]=n,r[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(r)}function C(t,e,n){var a=e.slice(),o=e.slice();a[0]=r(a[0]+i/2,1,!1),o[0]=r(o[0]-i/2,1,!0),n?t.push(a,o):t.push(o,a)}function A(t,e,n){var r=S(t,n),a=S(e,n);return r[0]-=i/2,a[0]-=i/2,{x:r[0],y:r[1],width:i,height:a[1]-r[1]}}function T(t){return t[0]=r(t[0],1),t}}}}};function u(t,e,n,r,i){return n>r?-1:n0?t.get(i,e-1)<=r?1:-1:1}t.exports=l},Cfvw:function(t,e,n){"use strict";var r=n("HDdC"),i=n("SeVD"),a=n("quSY"),o=n("kJWO"),s=n("jZKg"),l=n("Lhse"),u=n("c2HN"),c=n("I55L");function h(t,e){return e?function(t,e){if(null!=t){if(function(t){return t&&"function"==typeof t[o.a]}(t))return function(t,e){return new r.a((function(n){var r=new a.a;return r.add(e.schedule((function(){var i=t[o.a]();r.add(i.subscribe({next:function(t){r.add(e.schedule((function(){return n.next(t)})))},error:function(t){r.add(e.schedule((function(){return n.error(t)})))},complete:function(){r.add(e.schedule((function(){return n.complete()})))}}))}))),r}))}(t,e);if(Object(u.a)(t))return function(t,e){return new r.a((function(n){var r=new a.a;return r.add(e.schedule((function(){return t.then((function(t){r.add(e.schedule((function(){n.next(t),r.add(e.schedule((function(){return n.complete()})))})))}),(function(t){r.add(e.schedule((function(){return n.error(t)})))}))}))),r}))}(t,e);if(Object(c.a)(t))return Object(s.a)(t,e);if(function(t){return t&&"function"==typeof t[l.a]}(t)||"string"==typeof t)return function(t,e){if(!t)throw new Error("Iterable cannot be null");return new r.a((function(n){var r,i=new a.a;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(e.schedule((function(){r=t[l.a](),i.add(e.schedule((function(){if(!n.closed){var t,e;try{var i=r.next();t=i.value,e=i.done}catch(a){return void n.error(a)}e?n.complete():(n.next(t),this.schedule())}})))}))),i}))}(t,e)}throw new TypeError((null!==t&&typeof t||t)+" is not observable")}(t,e):t instanceof r.a?t:new r.a(Object(i.a)(t))}n.d(e,"a",(function(){return h}))},Cm0C:function(t,e,n){n("5NHt"),n("f3JH")},Cwc5:function(t,e,n){var r=n("NKxu"),i=n("Npjl");t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},D0XW:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("3N8a"),i=new(n("IjjT").a)(r.a)},D1WM:function(t,e,n){var r=n("bYtY"),i=n("hM6l"),a=function(t,e,n,r,a){i.call(this,t,e,n),this.type=r||"value",this.axisIndex=a};a.prototype={constructor:a,model:null,isHorizontal:function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")}},r.inherits(a,i),t.exports=a},D5nY:function(t,e,n){n("Tghj");var r=n("4NO4"),i=r.makeInner,a=r.getDataItemValue,o=n("bYtY"),s=o.createHashMap,l=o.each,u=o.map,c=o.isArray,h=o.isString,f=o.isObject,d=o.isTypedArray,p=o.isArrayLike,g=o.extend,v=n("7G+c"),m=n("k9D9"),y=m.SOURCE_FORMAT_ORIGINAL,_=m.SOURCE_FORMAT_ARRAY_ROWS,b=m.SOURCE_FORMAT_OBJECT_ROWS,x=m.SOURCE_FORMAT_KEYED_COLUMNS,w=m.SOURCE_FORMAT_UNKNOWN,k=m.SOURCE_FORMAT_TYPED_ARRAY,S=m.SERIES_LAYOUT_BY_ROW,C={Must:1,Might:2,Not:3},A=i();function T(t){if(t){var e=s();return u(t,(function(t,n){if(null==(t=g({},f(t)?t:{name:t})).name)return t;t.name+="",null==t.displayName&&(t.displayName=t.name);var r=e.get(t.name);return r?t.name+="-"+r.count++:e.set(t.name,{count:1}),t}))}}function E(t,e,n,r){if(null==r&&(r=1/0),e===S)for(var i=0;i0&&(s=this.getLineLength(r)/u*1e3),s!==this._period||l!==this._loop){r.stopAnimation();var f=c;h&&(f=c(n)),r.__t>0&&(f=-s*r.__t),r.__t=0;var d=r.animate("",l).when(s,{__t:1}).delay(f).during((function(){i.updateSymbolPosition(r)}));l||d.done((function(){i.remove(r)})),d.start()}this._period=s,this._loop=l}},c.getLineLength=function(t){return s.dist(t.__p1,t.__cp1)+s.dist(t.__cp1,t.__p2)},c.updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},c.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},c.updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,r=t.__cp1,i=t.__t,a=t.position,o=[a[0],a[1]],u=l.quadraticAt,c=l.quadraticDerivativeAt;a[0]=u(e[0],r[0],n[0],i),a[1]=u(e[1],r[1],n[1],i);var h=c(e[0],r[0],n[0],i),f=c(e[1],r[1],n[1],i);if(t.rotation=-Math.atan2(f,h)-Math.PI/2,"line"===this._symbolType||"rect"===this._symbolType||"roundRect"===this._symbolType)if(void 0!==t.__lastT&&t.__lastT=a&&c+1>=o){for(var h=[],f=0;f=a&&f+1>=o)return r(0,l.components);u[n]=l}else u[n]=void 0}var g;s++}for(;s<=l;){var p=d();if(p)return p}},pushComponent:function(t,e,n){var r=t[t.length-1];r&&r.added===e&&r.removed===n?t[t.length-1]={count:r.count+1,added:e,removed:n}:t.push({count:1,added:e,removed:n})},extractCommon:function(t,e,n,r){for(var i=e.length,a=n.length,o=t.newPos,s=o-r,l=0;o+1=0)&&(D=t);var P=new s.Text({position:A(e.center.slice()),scale:[1/d.scale[0],1/d.scale[1]],z2:10,silent:!0});s.setLabelStyle(P.style,P.hoverStyle={},k,S,{labelFetcher:D,labelDataIndex:O,defaultText:e.name,useInsideStyle:!1},{textAlign:"center",textVerticalAlign:"middle"}),n.add(P)}if(l)l.setItemGraphicEl(a,n);else{var L=t.getRegionModel(e.name);i.eventData={componentType:"geo",componentIndex:t.componentIndex,geoIndex:t.componentIndex,name:e.name,region:L&&L.option||{}}}(n.__regions||(n.__regions=[])).push(e),n.highDownSilentOnTouch=!!t.get("selectedMode"),s.setHoverStyle(n,w),f.add(n)})),this._updateController(t,e,n),function(t,e,n,i,a){n.off("click"),n.off("mousedown"),e.get("selectedMode")&&(n.on("mousedown",(function(){t._mouseDownFlag=!0})),n.on("click",(function(o){if(t._mouseDownFlag){t._mouseDownFlag=!1;for(var s=o.target;!s.__regions;)s=s.parent;if(s){var l={type:("geo"===e.mainType?"geo":"map")+"ToggleSelect",batch:r.map(s.__regions,(function(t){return{name:t.name,from:a.uid}}))};l[e.mainType+"Id"]=e.id,i.dispatchAction(l),h(e,n)}}})))}(this,t,f,n,i),h(t,f)},remove:function(){this._regionsGroup.removeAll(),this._backgroundGroup.removeAll(),this._controller.dispose(),this._mapName&&l.removeGraphic(this._mapName,this.uid),this._mapName=null,this._controllerHost={}},_updateBackground:function(t){var e=t.map;this._mapName!==e&&r.each(l.makeGraphic(e,this.uid),(function(t){this._backgroundGroup.add(t)}),this),this._mapName=e},_updateController:function(t,e,n){var i=t.coordinateSystem,s=this._controller,l=this._controllerHost;l.zoomLimit=t.get("scaleLimit"),l.zoom=i.getZoom(),s.enable(t.get("roam")||!1);var u=t.mainType;function c(){var e={type:"geoRoam",componentType:u};return e[u+"Id"]=t.id,e}s.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,a.updateViewOnPan(l,t.dx,t.dy),n.dispatchAction(r.extend(c(),{dx:t.dx,dy:t.dy}))}),this),s.off("zoom").on("zoom",(function(t){if(this._mouseDownFlag=!1,a.updateViewOnZoom(l,t.scale,t.originX,t.originY),n.dispatchAction(r.extend(c(),{zoom:t.scale,originX:t.originX,originY:t.originY})),this._updateGroup){var e=this.group.scale;this._regionsGroup.traverse((function(t){"text"===t.type&&t.attr("scale",[1/e[0],1/e[1]])}))}}),this),s.setPointerChecker((function(e,r,a){return i.getViewRectAfterRoam().contain(r,a)&&!o(e,n,t)}))}},t.exports=f},DH7j:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=Array.isArray||function(t){return t&&"number"==typeof t.length}},DN4a:function(t,e,n){var r=n("Fofx"),i=n("QBsz"),a=r.identity;function o(t){return t>5e-5||t<-5e-5}var s=function(t){(t=t||{}).position||(this.position=[0,0]),null==t.rotation&&(this.rotation=0),t.scale||(this.scale=[1,1]),this.origin=this.origin||null},l=s.prototype;l.transform=null,l.needLocalTransform=function(){return o(this.rotation)||o(this.position[0])||o(this.position[1])||o(this.scale[0]-1)||o(this.scale[1]-1)};var u=[];l.updateTransform=function(){var t=this.parent,e=t&&t.transform,n=this.needLocalTransform(),i=this.transform;if(n||e){i=i||r.create(),n?this.getLocalTransform(i):a(i),e&&(n?r.mul(i,t.transform,i):r.copy(i,t.transform)),this.transform=i;var o=this.globalScaleRatio;if(null!=o&&1!==o){this.getGlobalScale(u);var s=u[0]<0?-1:1,l=u[1]<0?-1:1,c=((u[0]-s)*o+s)/u[0]||0,h=((u[1]-l)*o+l)/u[1]||0;i[0]*=c,i[1]*=c,i[2]*=h,i[3]*=h}this.invTransform=this.invTransform||r.create(),r.invert(this.invTransform,i)}else i&&a(i)},l.getLocalTransform=function(t){return s.getLocalTransform(this,t)},l.setTransform=function(t){var e=this.transform,n=t.dpr||1;e?t.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):t.setTransform(n,0,0,n,0,0)},l.restoreTransform=function(t){var e=t.dpr||1;t.setTransform(e,0,0,e,0,0)};var c=[],h=r.create();l.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],r=this.position,i=this.scale;o(e-1)&&(e=Math.sqrt(e)),o(n-1)&&(n=Math.sqrt(n)),t[0]<0&&(e=-e),t[3]<0&&(n=-n),r[0]=t[4],r[1]=t[5],i[0]=e,i[1]=n,this.rotation=Math.atan2(-t[1]/n,t[0]/e)}},l.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(r.mul(c,t.invTransform,e),e=c);var n=this.origin;n&&(n[0]||n[1])&&(h[4]=n[0],h[5]=n[1],r.mul(c,e,h),c[4]-=n[0],c[5]-=n[1],e=c),this.setLocalTransform(e)}},l.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},l.transformCoordToLocal=function(t,e){var n=[t,e],r=this.invTransform;return r&&i.applyTransform(n,n,r),n},l.transformCoordToGlobal=function(t,e){var n=[t,e],r=this.transform;return r&&i.applyTransform(n,n,r),n},s.getLocalTransform=function(t,e){a(e=e||[]);var n=t.origin,i=t.scale||[1,1],o=t.rotation||0,s=t.position||[0,0];return n&&(e[4]-=n[0],e[5]-=n[1]),r.scale(e,e,i),o&&r.rotate(e,e,o),n&&(e[4]+=n[0],e[5]+=n[1]),e[4]+=s[0],e[5]+=s[1],e},t.exports=s},DSRE:function(t,e,n){(function(t){var r=n("Kz5y"),i=n("B8du"),a=e&&!e.nodeType&&e,o=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=o&&o.exports===a?r.Buffer:void 0;t.exports=(s?s.isBuffer:void 0)||i}).call(this,n("YuTi")(t))},Dagg:function(t,e,n){var r=n("Gev7"),i=n("mFDi"),a=n("bYtY"),o=n("Xnb7");function s(t){r.call(this,t)}s.prototype={constructor:s,type:"image",brush:function(t,e){var n=this.style,r=n.image;n.bind(t,this,e);var i=this._image=o.createOrUpdateImage(r,this._image,this,this.onload);if(i&&o.isImageReady(i)){var a=n.x||0,s=n.y||0,l=n.width,u=n.height,c=i.width/i.height;if(null==l&&null!=u?l=u*c:null==u&&null!=l?u=l/c:null==l&&null==u&&(l=i.width,u=i.height),this.setTransform(t),n.sWidth&&n.sHeight)t.drawImage(i,h=n.sx||0,f=n.sy||0,n.sWidth,n.sHeight,a,s,l,u);else if(n.sx&&n.sy){var h,f;t.drawImage(i,h=n.sx,f=n.sy,l-h,u-f,a,s,l,u)}else t.drawImage(i,a,s,l,u);null!=n.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))}},getBoundingRect:function(){var t=this.style;return this._rect||(this._rect=new i(t.x||0,t.y||0,t.width||0,t.height||0)),this._rect}},a.inherits(s,r),t.exports=s},Dg8C:function(t,e,n){var r=n("XxSj"),i=n("bYtY");t.exports=function(t,e){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph().nodes;if(e.length){var n=1/0,a=-1/0;i.each(e,(function(t){var e=t.getLayout().value;ea&&(a=e)})),i.each(e,(function(e){var i=new r({type:"color",mappingMethod:"linear",dataExtent:[n,a],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),o=e.getModel().get("itemStyle.color");e.setVisual("color",null!=o?o:i)}))}}))}},DlQD:function(t,e,n){t.exports=function(){"use strict";function t(t,e){for(var n=0;n"']/,i=/[&<>"']/g,a=/[<>"']|&(?!#?\w+;)/,o=/[<>"']|&(?!#?\w+;)/g,s={"&":"&","<":"<",">":">",'"':""","'":"'"},l=function(t){return s[t]},u=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function c(t){return t.replace(u,(function(t,e){return"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""}))}var h=/(^|[^\[])\^/g,f=/[^\w:]/g,d=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i,p={},g=/^[^:]+:\/*[^/]*$/,v=/^([^:]+:)[\s\S]*$/,m=/^([^:]+:\/*[^/]*)[\s\S]*$/;function y(t,e,n){var r=t.length;if(0===r)return"";for(var i=0;i ?(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:k,table:k,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};A.def=S(A.def).replace("label",A._label).replace("title",A._title).getRegex(),A.bullet=/(?:[*+-]|\d{1,9}\.)/,A.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,A.item=S(A.item,"gm").replace(/bull/g,A.bullet).getRegex(),A.list=S(A.list).replace(/bull/g,A.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+A.def.source+")").getRegex(),A._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",A._comment=//,A.html=S(A.html,"i").replace("comment",A._comment).replace("tag",A._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),A.paragraph=S(A._paragraph).replace("hr",A.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",A._tag).getRegex(),A.blockquote=S(A.blockquote).replace("paragraph",A.paragraph).getRegex(),A.normal=C({},A),A.gfm=C({},A.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*|$)"}),A.gfm.nptable=S(A.gfm.nptable).replace("hr",A.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",A._tag).getRegex(),A.gfm.table=S(A.gfm.table).replace("hr",A.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",A._tag).getRegex(),A.pedantic=C({},A.normal,{html:S("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",A._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:k,paragraph:S(A.normal._paragraph).replace("hr",A.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",A.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var T={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:k,tag:"^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:k,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~"};T.em=S(T.em).replace(/punctuation/g,T._punctuation).getRegex(),T._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,T._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,T._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])?)+(?![-_])/,T.autolink=S(T.autolink).replace("scheme",T._scheme).replace("email",T._email).getRegex(),T._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,T.tag=S(T.tag).replace("comment",A._comment).replace("attribute",T._attribute).getRegex(),T._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,T._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,T._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,T.link=S(T.link).replace("label",T._label).replace("href",T._href).replace("title",T._title).getRegex(),T.reflink=S(T.reflink).replace("label",T._label).getRegex(),T.normal=C({},T),T.pedantic=C({},T.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:S(/^!?\[(label)\]\((.*?)\)/).replace("label",T._label).getRegex(),reflink:S(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",T._label).getRegex()}),T.gfm=C({},T.normal,{escape:S(T.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]*?(?:(?=[\\=0&&"\\"===n[i];)r=!r;return r?"|":" |"})).split(/ \|/),r=0;if(n.length>e)n.splice(e);else for(;n.length1&&this.tokens.push({type:"space"})),i=this.rules.code.exec(t)){var y=this.tokens[this.tokens.length-1];t=t.substring(i[0].length),y&&"paragraph"===y.type?y.text+="\n"+i[0].trimRight():(i=i[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",codeBlockStyle:"indented",text:this.options.pedantic?i:D(i,"\n")}))}else if(i=this.rules.fences.exec(t))t=t.substring(i[0].length),this.tokens.push({type:"code",lang:i[2]?i[2].trim():i[2],text:i[3]||""});else if(i=this.rules.heading.exec(t))t=t.substring(i[0].length),this.tokens.push({type:"heading",depth:i[1].length,text:i[2]});else if((i=this.rules.nptable.exec(t))&&(s={type:"table",header:O(i[1].replace(/^ *| *\| *$/g,"")),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3]?i[3].replace(/\n$/,"").split("\n"):[]}).header.length===s.align.length){for(t=t.substring(i[0].length),f=0;f ?/gm,""),this.token(i,e),this.tokens.push({type:"blockquote_end"});else if(i=this.rules.list.exec(t)){for(t=t.substring(i[0].length),this.tokens.push(l={type:"list_start",ordered:g=(a=i[2]).length>1,start:g?+a:"",loose:!1}),u=[],n=!1,p=(i=i[0].match(this.rules.item)).length,f=0;f1?1===o.length:o.length>1||this.options.smartLists&&o!==a)&&(t=i.slice(f+1).join("\n")+t,f=p-1)),r=n||/\n\n(?!\s*$)/.test(s),f!==p-1&&(n="\n"===s.charAt(s.length-1),r||(r=n)),r&&(l.loose=!0),m=void 0,(v=/^\[[ xX]\] /.test(s))&&(m=" "!==s[1],s=s.replace(/^\[[ xX]\] +/,"")),u.push(c={type:"list_item_start",task:v,checked:m,loose:r}),this.tokens.push(c),this.token(s,!1),this.tokens.push({type:"list_item_end"});if(l.loose)for(p=u.length,f=0;f'+(n?t:z(t,!0))+"\n":"
    "+(n?t:z(t,!0))+"
    "},e.blockquote=function(t){return"
    \n"+t+"
    \n"},e.html=function(t){return t},e.heading=function(t,e,n,r){return this.options.headerIds?"'+t+"\n":""+t+"\n"},e.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},e.list=function(t,e,n){var r=e?"ol":"ul";return"<"+r+(e&&1!==n?' start="'+n+'"':"")+">\n"+t+"\n"},e.listitem=function(t){return"
  • "+t+"
  • \n"},e.checkbox=function(t){return" "},e.paragraph=function(t){return"

    "+t+"

    \n"},e.table=function(t,e){return e&&(e=""+e+""),"\n\n"+t+"\n"+e+"
    \n"},e.tablerow=function(t){return"\n"+t+"\n"},e.tablecell=function(t,e){var n=e.header?"th":"td";return(e.align?"<"+n+' align="'+e.align+'">':"<"+n+">")+t+"\n"},e.strong=function(t){return""+t+""},e.em=function(t){return""+t+""},e.codespan=function(t){return""+t+""},e.br=function(){return this.options.xhtml?"
    ":"
    "},e.del=function(t){return""+t+""},e.link=function(t,e,n){if(null===(t=N(this.options.sanitize,this.options.baseUrl,t)))return n;var r='
    "+n+""},e.image=function(t,e,n){if(null===(t=N(this.options.sanitize,this.options.baseUrl,t)))return n;var r=''+n+'":">")},e.text=function(t){return t},t}(),B=function(){function t(){this.seen={}}return t.prototype.slug=function(t){var e=t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(e)){var n=e;do{this.seen[n]++,e=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(e))}return this.seen[e]=0,e},t}(),V=n.defaults,j=E.inline,Y=function(t,e){if(-1===t.indexOf(e[1]))return-1;for(var n=t.length,r=0,i=0;i/i.test(o[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(o[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(o[0])&&(this.inRawBlock=!1),e=e.substring(o[0].length),l+=this.renderer.html(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):H(o[0]):o[0]);else if(o=this.rules.link.exec(e)){var u=Y(o[2],"()");if(u>-1){var c=(0===o[0].indexOf("!")?5:4)+o[1].length+u;o[2]=o[2].substring(0,u),o[0]=o[0].substring(0,c).trim(),o[3]=""}e=e.substring(o[0].length),this.inLink=!0,i=o[2],this.options.pedantic?(n=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i))?(i=n[1],a=n[3]):a="":a=o[3]?o[3].slice(1,-1):"",i=i.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(o,{href:t.escapes(i),title:t.escapes(a)}),this.inLink=!1}else if((o=this.rules.reflink.exec(e))||(o=this.rules.nolink.exec(e))){if(e=e.substring(o[0].length),n=(o[2]||o[1]).replace(/\s+/g," "),!(n=this.links[n.toLowerCase()])||!n.href){l+=o[0].charAt(0),e=o[0].substring(1)+e;continue}this.inLink=!0,l+=this.outputLink(o,n),this.inLink=!1}else if(o=this.rules.strong.exec(e))e=e.substring(o[0].length),l+=this.renderer.strong(this.output(o[4]||o[3]||o[2]||o[1]));else if(o=this.rules.em.exec(e))e=e.substring(o[0].length),l+=this.renderer.em(this.output(o[6]||o[5]||o[4]||o[3]||o[2]||o[1]));else if(o=this.rules.code.exec(e))e=e.substring(o[0].length),l+=this.renderer.codespan(H(o[2].trim(),!0));else if(o=this.rules.br.exec(e))e=e.substring(o[0].length),l+=this.renderer.br();else if(o=this.rules.del.exec(e))e=e.substring(o[0].length),l+=this.renderer.del(this.output(o[1]));else if(o=this.rules.autolink.exec(e))e=e.substring(o[0].length),i="@"===o[2]?"mailto:"+(r=H(this.mangle(o[1]))):r=H(o[1]),l+=this.renderer.link(i,null,r);else if(this.inLink||!(o=this.rules.url.exec(e))){if(o=this.rules.text.exec(e))e=e.substring(o[0].length),l+=this.renderer.text(this.inRawBlock?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):H(o[0]):o[0]:H(this.smartypants(o[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===o[2])i="mailto:"+(r=H(o[0]));else{do{s=o[0],o[0]=this.rules._backpedal.exec(o[0])[0]}while(s!==o[0]);r=H(o[0]),i="www."===o[1]?"http://"+r:r}e=e.substring(o[0].length),l+=this.renderer.link(i,null,r)}return l},t.escapes=function(e){return e?e.replace(t.rules._escapes,"$1"):e},n.outputLink=function(t,e){var n=e.href,r=e.title?H(e.title):null;return"!"!==t[0].charAt(0)?this.renderer.link(n,r,this.output(t[1])):this.renderer.image(n,r,H(t[1]))},n.smartypants=function(t){return this.options.smartypants?t.replace(/---/g,"\u2014").replace(/--/g,"\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1\u2018").replace(/'/g,"\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1\u201c").replace(/"/g,"\u201d").replace(/\.{3}/g,"\u2026"):t},n.mangle=function(t){if(!this.options.mangle)return t;for(var e,n=t.length,r="",i=0;i.5&&(e="x"+e.toString(16)),r+="&#"+e+";";return r},e(t,null,[{key:"rules",get:function(){return j}}]),t}(),G=function(){function t(){}var e=t.prototype;return e.strong=function(t){return t},e.em=function(t){return t},e.codespan=function(t){return t},e.del=function(t){return t},e.html=function(t){return t},e.text=function(t){return t},e.link=function(t,e,n){return""+n},e.image=function(t,e,n){return""+n},e.br=function(){return""},t}(),q=n.defaults,W=x,Z=b,$=function(){function t(t){this.tokens=[],this.token=null,this.options=t||q,this.options.renderer=this.options.renderer||new F,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new B}t.parse=function(e,n){return new t(n).parse(e)};var e=t.prototype;return e.parse=function(t){this.inline=new U(t.links,this.options),this.inlineText=new U(t.links,W({},this.options,{renderer:new G})),this.tokens=t.reverse();for(var e="";this.next();)e+=this.tok();return e},e.next=function(){return this.token=this.tokens.pop(),this.token},e.peek=function(){return this.tokens[this.tokens.length-1]||0},e.parseText=function(){for(var t=this.token.text;"text"===this.peek().type;)t+="\n"+this.next().text;return this.inline.output(t)},e.tok=function(){var t="";switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,Z(this.inlineText.output(this.token.text)),this.slugger);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,n,r,i,a="";for(r="",e=0;eAn error occurred:

    "+Q(i.message+"",!0)+"
    ";throw i}}return nt.options=nt.setOptions=function(t){return X(nt.defaults,t),tt(nt.defaults),nt},nt.getDefaults=J,nt.defaults=et,nt.Parser=$,nt.parser=$.parse,nt.Renderer=F,nt.TextRenderer=G,nt.Lexer=L,nt.lexer=L.lex,nt.InlineLexer=U,nt.inlineLexer=U.output,nt.Slugger=B,nt.parse=nt,nt}()},DqMY:function(t,e){t.exports="0.6.4"},Ducp:function(t,e,n){var r=n("bYtY"),i=n("IwbS"),a=n("+TT/"),o=n("XpcN"),s=i.Group,l=["width","height"],u=["x","y"],c=o.extend({type:"legend.scroll",newlineDisabled:!0,init:function(){c.superCall(this,"init"),this._currentIndex=0,this.group.add(this._containerGroup=new s),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new s)},resetInner:function(){c.superCall(this,"resetInner"),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},renderInner:function(t,e,n,a,o,s,l){var u=this;c.superCall(this,"renderInner",t,e,n,a,o,s,l);var h=this._controllerGroup,f=e.get("pageIconSize",!0);r.isArray(f)||(f=[f,f]),p("pagePrev",0);var d=e.getModel("pageTextStyle");function p(t,n){var o=t+"DataIndex",s=i.createIcon(e.get("pageIcons",!0)[e.getOrient().name][n],{onclick:r.bind(u._pageGo,u,o,e,a)},{x:-f[0]/2,y:-f[1]/2,width:f[0],height:f[1]});s.name=t,h.add(s)}h.add(new i.Text({name:"pageText",style:{textFill:d.getTextColor(),font:d.getFont(),textVerticalAlign:"middle",textAlign:"center"},silent:!0})),p("pageNext",1)},layoutInner:function(t,e,n,i,o,s){var c=this.getSelectorGroup(),h=t.getOrient().index,f=l[h],d=u[h],p=l[1-h],g=u[1-h];o&&a.box("horizontal",c,t.get("selectorItemGap",!0));var v=t.get("selectorButtonGap",!0),m=c.getBoundingRect(),y=[-m.x,-m.y],_=r.clone(n);o&&(_[f]=n[f]-m[f]-v);var b=this._layoutContentAndController(t,i,_,h,f,p,g);if(o){if("end"===s)y[h]+=b[f]+v;else{var x=m[f]+v;y[h]-=x,b[d]-=x}b[f]+=m[f]+v,y[1-h]+=b[g]+b[p]/2-m[p]/2,b[p]=Math.max(b[p],m[p]),b[g]=Math.min(b[g],m[g]+y[1-h]),c.attr("position",y)}return b},_layoutContentAndController:function(t,e,n,o,s,l,u){var c=this.getContentGroup(),h=this._containerGroup,f=this._controllerGroup;a.box(t.get("orient"),c,t.get("itemGap"),o?n.width:null,o?null:n.height),a.box("horizontal",f,t.get("pageButtonItemGap",!0));var d=c.getBoundingRect(),p=f.getBoundingRect(),g=this._showController=d[s]>n[s],v=[-d.x,-d.y];e||(v[o]=c.position[o]);var m=[0,0],y=[-p.x,-p.y],_=r.retrieve2(t.get("pageButtonGap",!0),t.get("itemGap",!0));g&&("end"===t.get("pageButtonPosition",!0)?y[o]+=n[s]-p[s]:m[o]+=p[s]+_),y[1-o]+=d[l]/2-p[l]/2,c.attr("position",v),h.attr("position",m),f.attr("position",y);var b={x:0,y:0};if(b[s]=g?n[s]:d[s],b[l]=Math.max(d[l],p[l]),b[u]=Math.min(0,p[u]+y[1-o]),h.__rectSize=n[s],g){var x={x:0,y:0};x[s]=Math.max(n[s]-p[s]-_,0),x[l]=b[l],h.setClipPath(new i.Rect({shape:x})),h.__rectSize=x[s]}else f.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var w=this._getPageInfo(t);return null!=w.pageIndex&&i.updateProps(c,{position:w.contentPosition},!!g&&t),this._updatePageInfoView(t,w),b},_pageGo:function(t,e,n){var r=this._getPageInfo(e)[t];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:e.id})},_updatePageInfoView:function(t,e){var n=this._controllerGroup;r.each(["pagePrev","pageNext"],(function(r){var i=null!=e[r+"DataIndex"],a=n.childOfName(r);a&&(a.setStyle("fill",t.get(i?"pageIconColor":"pageIconInactiveColor",!0)),a.cursor=i?"pointer":"default")}));var i=n.childOfName("pageText"),a=t.get("pageFormatter"),o=e.pageIndex,s=null!=o?o+1:0,l=e.pageCount;i&&a&&i.setStyle("text",r.isString(a)?a.replace("{current}",s).replace("{total}",l):a({current:s,total:l}))},_getPageInfo:function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=t.getOrient().index,a=l[i],o=u[i],s=this._findTargetItemIndex(e),c=n.children(),h=c[s],f=c.length,d=f?1:0,p={contentPosition:n.position.slice(),pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var g=b(h);p.contentPosition[i]=-g.s;for(var v=s+1,m=g,y=g,_=null;v<=f;++v)(!(_=b(c[v]))&&y.e>m.s+r||_&&!x(_,m.s))&&(m=y.i>m.i?y:_)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=m.i),++p.pageCount),y=_;for(v=s-1,m=g,y=g,_=null;v>=-1;--v)(_=b(c[v]))&&x(y,_.s)||!(m.i=e&&t.s<=e+r}},_findTargetItemIndex:function(t){return this._showController?(this.getContentGroup().eachChild((function(r,i){var a=r.__legendDataIndex;null==n&&null!=a&&(n=i),a===t&&(e=i)})),null!=e?e:n):0;var e,n}});t.exports=c},"Dw+G":function(t,e,n){var r=n("juv8"),i=n("mTTR");t.exports=function(t,e){return t&&r(e,i(e),t)}},"E+oP":function(t,e,n){var r=n("A90E"),i=n("QqLw"),a=n("03A+"),o=n("Z0cm"),s=n("MMmD"),l=n("DSRE"),u=n("6sVZ"),c=n("c6wG"),h=Object.prototype.hasOwnProperty;t.exports=function(t){if(null==t)return!0;if(s(t)&&(o(t)||"string"==typeof t||"function"==typeof t.splice||l(t)||c(t)||a(t)))return!t.length;var e=i(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(u(t))return!r(t).length;for(var n in t)if(h.call(t,n))return!1;return!0}},E2jh:function(t,e,n){var r,i=n("2gN3"),a=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!a&&a in t}},EA7m:function(t,e,n){var r=n("zZ0H"),i=n("Ioao"),a=n("wclG");t.exports=function(t,e){return a(i(t,e,r),t+"")}},EEGq:function(t,e,n){var r=n("juv8"),i=n("oCl/");t.exports=function(t,e){return r(t,i(t),e)}},EFJG:function(t,e){t.exports="0.6.4"},EMyp:function(t,e,n){var r=n("ProS"),i=n("bYtY"),a=n("mFDi"),o=n("K4ya"),s=n("qJCg"),l=n("iLNv"),u=n("vZ6x"),c=["inBrush","outOfBrush"],h=r.PRIORITY.VISUAL.BRUSH;function f(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushTargetManager=new u(e.option,t)).setInputRanges(e.areas,t)}))}function d(t,e){if(!t.isDisposed()){var n=t.getZr();n.__ecInBrushSelectEvent=!0,t.dispatchAction({type:"brushSelect",batch:e}),n.__ecInBrushSelectEvent=!1}}function p(t,e,n,r){for(var i=0,a=e.length;ie[0][1]&&(e[0][1]=a[0]),a[1]e[1][1]&&(e[1][1]=a[1])}return e&&m(e)}};function m(t){return new a(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}e.layoutCovers=f},ERHi:function(t,e,n){var r=n("ProS");n("Z6js"),n("R4Th");var i=n("f5Yq"),a=n("h8O9");r.registerVisual(i("effectScatter","circle")),r.registerLayout(a("effectScatter"))},"EV5+":function(t,e,n){"use strict";var r=n("PEyx"),i=n("Ve/E"),a=n("lU+G");t.exports=function(t,e){function n(t){var n=e.edge(t);return a.has(n,"x")?"translate("+n.x+","+n.y+")":""}t.filter((function(){return!i.select(this).classed("update")})).attr("transform",n),r.applyTransition(t,e).style("opacity",1).attr("transform",n)}},EY2u:function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return a}));var r=n("HDdC"),i=new r.a((function(t){return t.complete()}));function a(t){return t?function(t){return new r.a((function(e){return t.schedule((function(){return e.complete()}))}))}(t):i}},EiaH:function(t,e,n){t.exports={graphlib:n("Xdfk"),dagre:n("yLCY"),intersect:n("U4bP"),render:n("cSR1"),util:n("PEyx"),version:n("EFJG")}},EpBk:function(t,e){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},EwQA:function(t,e,n){var r=n("zZ0H");t.exports=function(t){return"function"==typeof t?t:r}},ExA7:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},Ez2D:function(t,e,n){var r=n("bYtY"),i=n("4NO4");t.exports=function(t,e){var n,a=[],o=t.seriesIndex;if(null==o||!(n=e.getSeriesByIndex(o)))return{point:[]};var s=n.getData(),l=i.queryDataIndex(s,t);if(null==l||l<0||r.isArray(l))return{point:[]};var u=s.getItemGraphicEl(l),c=n.coordinateSystem;if(n.getTooltipPosition)a=n.getTooltipPosition(l)||[];else if(c&&c.dataToPoint)a=c.dataToPoint(s.getValues(r.map(c.dimensions,(function(t){return s.mapDimension(t)})),l,!0))||[];else if(u){var h=u.getBoundingRect().clone();h.applyTransform(u.transform),a=[h.x+h.width/2,h.y+h.height/2]}return{point:a,el:u}}},F0hE:function(t,e,n){var r=n("ProS"),i=n("bYtY"),a=n("ca2m"),o=n("Qxkt"),s=n("ICMv"),l=a.valueAxis;function u(t,e){return i.defaults({show:e},t)}var c=r.extendComponentModel({type:"radar",optionUpdated:function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),r=this.get("axisLine"),a=this.get("axisTick"),l=this.get("axisType"),u=this.get("axisLabel"),c=this.get("name"),h=this.get("name.show"),f=this.get("name.formatter"),d=this.get("nameGap"),p=this.get("triggerEvent"),g=i.map(this.get("indicator")||[],(function(g){null!=g.max&&g.max>0&&!g.min?g.min=0:null!=g.min&&g.min<0&&!g.max&&(g.max=0);var v=c;if(null!=g.color&&(v=i.defaults({color:g.color},c)),g=i.merge(i.clone(g),{boundaryGap:t,splitNumber:e,scale:n,axisLine:r,axisTick:a,axisType:l,axisLabel:u,name:g.text,nameLocation:"end",nameGap:d,nameTextStyle:v,triggerEvent:p},!1),h||(g.name=""),"string"==typeof f){var m=g.name;g.name=f.replace("{value}",null!=m?m:"")}else"function"==typeof f&&(g.name=f(g.name,g));var y=i.extend(new o(g,null,this.ecModel),s);return y.mainType="radar",y.componentIndex=this.componentIndex,y}),this);this.getIndicatorModels=function(){return g}},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:i.merge({lineStyle:{color:"#bbb"}},l.axisLine),axisLabel:u(l.axisLabel,!1),axisTick:u(l.axisTick,!1),axisType:"interval",splitLine:u(l.splitLine,!0),splitArea:u(l.splitArea,!0),indicator:[]}});t.exports=c},F5Ls:function(t,e){var n={"\u5357\u6d77\u8bf8\u5c9b":[32,80],"\u5e7f\u4e1c":[0,-10],"\u9999\u6e2f":[10,5],"\u6fb3\u95e8":[-10,10],"\u5929\u6d25":[5,5]};t.exports=function(t,e){if("china"===t){var r=n[e.name];if(r){var i=e.center;i[0]+=r[0]/10.5,i[1]+=-r[1]/14}}}},F7hV:function(t,e,n){var r=n("MBQ8").extend({type:"series.bar",dependencies:["grid","polar"],brushSelector:"rect",getProgressive:function(){return!!this.get("large")&&this.get("progressive")},getProgressiveThreshold:function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},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}}});t.exports=r},F9We:function(t,e,n){var r;try{r=n("4Ai+")}catch(i){}r||(r=window.graphlib),t.exports=r},F9bG:function(t,e,n){var r=n("bYtY"),i=n("ItGF"),a=(0,n("4NO4").makeInner)(),o=r.each;function s(t,e,n){t.handler("leave",null,n)}function l(t,e,n,r){e.handler(t,n,r)}e.register=function(t,e,n){if(!i.node){var u=e.getZr();a(u).records||(a(u).records={}),function(t,e){function n(n,r){t.on(n,(function(n){var i=function(t){var e={showTip:[],hideTip:[]};return{dispatchAction:function n(r){var i=e[r.type];i?i.push(r):(r.dispatchAction=n,t.dispatchAction(r))},pendings:e}}(e);o(a(t).records,(function(t){t&&r(t,n,i.dispatchAction)})),function(t,e){var n,r=t.showTip.length,i=t.hideTip.length;r?n=t.showTip[r-1]:i&&(n=t.hideTip[i-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}(i.pendings,e)}))}a(t).initialized||(a(t).initialized=!0,n("click",r.curry(l,"click")),n("mousemove",r.curry(l,"mousemove")),n("globalout",s))}(u,e),(a(u).records[t]||(a(u).records[t]={})).handler=n}},e.unregister=function(t,e){if(!i.node){var n=e.getZr();(a(n).records||{})[t]&&(a(n).records[t]=null)}}},FBjb:function(t,e,n){var r=n("bYtY"),i=n("oVpE").createSymbol,a=n("IwbS"),o=n("OELB").parsePercent,s=n("x3X8").getDefaultLabel;function l(t,e,n){a.Group.call(this),this.updateData(t,e,n)}var u=l.prototype,c=l.getSymbolSize=function(t,e){var n=t.getItemVisual(e,"symbolSize");return n instanceof Array?n.slice():[+n,+n]};function h(t){return[t[0]/2,t[1]/2]}function f(t,e){this.parent.drift(t,e)}u._createSymbol=function(t,e,n,r,a){this.removeAll();var o=e.getItemVisual(n,"color"),s=i(t,-1,-1,2,2,o,a);s.attr({z2:100,culling:!0,scale:h(r)}),s.drift=f,this._symbolType=t,this.add(s)},u.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(t)},u.getSymbolPath=function(){return this.childAt(0)},u.getScale=function(){return this.childAt(0).scale},u.highlight=function(){this.childAt(0).trigger("emphasis")},u.downplay=function(){this.childAt(0).trigger("normal")},u.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},u.setDraggable=function(t){var e=this.childAt(0);e.draggable=t,e.cursor=t?"move":e.cursor},u.updateData=function(t,e,n){this.silent=!1;var r=t.getItemVisual(e,"symbol")||"circle",i=t.hostModel,o=c(t,e),s=r!==this._symbolType;if(s){var l=t.getItemVisual(e,"symbolKeepAspect");this._createSymbol(r,t,e,o,l)}else(u=this.childAt(0)).silent=!1,a.updateProps(u,{scale:h(o)},i,e);if(this._updateCommon(t,e,o,n),s){var u=this.childAt(0),f=n&&n.fadeIn,d={scale:u.scale.slice()};f&&(d.style={opacity:u.style.opacity}),u.scale=[0,0],f&&(u.style.opacity=0),a.initProps(u,d,i,e)}this._seriesModel=i};var d=["itemStyle"],p=["emphasis","itemStyle"],g=["label"],v=["emphasis","label"];function m(t,e){if(!this.incremental&&!this.useHoverLayer)if("emphasis"===e){var n=this.__symbolOriginalScale,r=n[1]/n[0],i={scale:[Math.max(1.1*n[0],n[0]+3),Math.max(1.1*n[1],n[1]+3*r)]};this.animateTo(i,400,"elasticOut")}else"normal"===e&&this.animateTo({scale:this.__symbolOriginalScale},400,"elasticOut")}u._updateCommon=function(t,e,n,i){var l=this.childAt(0),u=t.hostModel,c=t.getItemVisual(e,"color");"image"!==l.type?l.useStyle({strokeNoScale:!0}):l.setStyle({opacity:null,shadowBlur:null,shadowOffsetX:null,shadowOffsetY:null,shadowColor:null});var f=i&&i.itemStyle,y=i&&i.hoverItemStyle,_=i&&i.symbolRotate,b=i&&i.symbolOffset,x=i&&i.labelModel,w=i&&i.hoverLabelModel,k=i&&i.hoverAnimation,S=i&&i.cursorStyle;if(!i||t.hasItemOption){var C=i&&i.itemModel?i.itemModel:t.getItemModel(e);f=C.getModel(d).getItemStyle(["color"]),y=C.getModel(p).getItemStyle(),_=C.getShallow("symbolRotate"),b=C.getShallow("symbolOffset"),x=C.getModel(g),w=C.getModel(v),k=C.getShallow("hoverAnimation"),S=C.getShallow("cursor")}else y=r.extend({},y);var A=l.style;l.attr("rotation",(_||0)*Math.PI/180||0),b&&l.attr("position",[o(b[0],n[0]),o(b[1],n[1])]),S&&l.attr("cursor",S),l.setColor(c,i&&i.symbolInnerColor),l.setStyle(f);var T=t.getItemVisual(e,"opacity");null!=T&&(A.opacity=T);var E=t.getItemVisual(e,"liftZ"),M=l.__z2Origin;null!=E?null==M&&(l.__z2Origin=l.z2,l.z2+=E):null!=M&&(l.z2=M,l.__z2Origin=null);var I=i&&i.useNameLabel;a.setLabelStyle(A,y,x,w,{labelFetcher:u,labelDataIndex:e,defaultText:function(e,n){return I?t.getName(e):s(t,e)},isRectText:!0,autoColor:c}),l.__symbolOriginalScale=h(n),l.hoverStyle=y,l.highDownOnUpdate=k&&u.isAnimationEnabled()?m:null,a.setHoverStyle(l)},u.fadeOut=function(t,e){var n=this.childAt(0);this.silent=n.silent=!0,(!e||!e.keepLabel)&&(n.style.text=null),a.updateProps(n,{style:{opacity:0},scale:[0,0]},this._seriesModel,this.dataIndex,t)},r.inherits(l,a.Group),t.exports=l},FGaS:function(t,e,n){var r=n("ProS"),i=n("IwbS"),a=n("bYtY"),o=n("oVpE"),s=r.extendChartView({type:"radar",render:function(t,e,n){var r=t.coordinateSystem,s=this.group,l=t.getData(),u=this._data;function c(t,e){var n=t.getItemVisual(e,"symbol")||"circle",r=t.getItemVisual(e,"color");if("none"!==n){var i=function(t){return a.isArray(t)||(t=[+t,+t]),t}(t.getItemVisual(e,"symbolSize")),s=o.createSymbol(n,-1,-1,2,2,r);return s.attr({style:{strokeNoScale:!0},z2:100,scale:[i[0]/2,i[1]/2]}),s}}function h(e,n,r,a,o,s){r.removeAll();for(var l=0;l0?"P":"N",a=r.getVisual("borderColor"+i)||r.getVisual("color"+i),o=n.getModel(l).getItemStyle(c);e.useStyle(o),e.style.fill=null,e.style.stroke=a}t.exports=h},Gev7:function(t,e,n){var r=n("bYtY"),i=n("K2GJ"),a=n("1bdT"),o=n("ni6a");function s(t){for(var e in a.call(this,t=t||{}),t)t.hasOwnProperty(e)&&"style"!==e&&(this[e]=t[e]);this.style=new i(t.style,this),this._rect=null,this.__clipPaths=null}s.prototype={constructor:s,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(t){},afterBrush:function(t){},brush:function(t,e){},getBoundingRect:function(){},contain:function(t,e){return this.rectContain(t,e)},traverse:function(t,e){t.call(e,this)},rectContain:function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(t){return this.animate("style",t)},attrKV:function(t,e){"style"!==t?a.prototype.attrKV.call(this,t,e):this.style.set(e)},setStyle:function(t,e){return this.style.set(t,e),this.dirty(!1),this},useStyle:function(t){return this.style=new i(t,this),this.dirty(!1),this},calculateTextPosition:null},r.inherits(s,a),r.mixin(s,o),t.exports=s},Gi0A:function(t,e,n){var r=n("QqLw"),i=n("ExA7");t.exports=function(t){return i(t)&&"[object Map]"==r(t)}},GmSr:function(t,e,n){"use strict";var r=n("WG3t"),i=n("5VIG").Graph;function a(t,e,n,i){t.hasNode(e)||(t.setNode(e,r.clone(r.last(n).node)),t.setParent(e,i))}t.exports=function(t){var e=[{node:{},edge:{}}],n=t.id,o=new i({directed:"graph"!==t.type,multigraph:!t.strict,compound:!0});return o.setGraph(null===n?{}:{id:n}),r.each(t.stmts,(function(t){!function t(e,n,i,o){switch(n.type){case"node":!function(t,e,n,i){var o=e.id,s=e.attrs;a(t,o,n,i),r.merge(t.node(o),s)}(e,n,i,o);break;case"edge":!function(e,n,i,a){var o,s,l=n.attrs;r.each(n.elems,(function(n){switch(t(e,n,i,a),n.type){case"node":s=[n.id];break;case"subgraph":s=function(t){var e,n={},i=[],a=i.push.bind(i);for(a(t);i.length;)switch((e=i.pop()).type){case"node":n[e.id]=!0;break;case"edge":r.each(e.elems,a);break;case"subgraph":r.each(e.stmts,a)}return r.keys(n)}(n)}r.each(o,(function(t){r.each(s,(function(n){var a;e.hasEdge(t,n)&&e.isMultigraph()&&(a=r.uniqueId("edge")),e.hasEdge(t,n,a)||e.setEdge(t,n,r.clone(r.last(i).edge),a),r.merge(e.edge(t,n,a),l)}))})),o=s}))}(e,n,i,o);break;case"subgraph":!function(e,n,i,o){var s=n.id;void 0===s&&(s=function(t){var e;do{e=r.uniqueId("sg")}while(t.hasNode(e));return e}(e)),i.push(r.clone(r.last(i))),a(e,s,i,o),r.each(n.stmts,(function(n){t(e,n,i,s)})),e.children(s).length||e.removeNode(s),i.pop()}(e,n,i,o);break;case"attr":!function(t,e,n){r.merge(r.last(n)[e.attrType],e.attrs)}(0,n,i);break;case"inlineAttr":!function(t,e,n,i){r.merge(i?t.node(i):t.graph(),e.attrs)}(e,n,0,o)}}(o,t,e)})),o}},GoyQ:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},GrNh:function(t,e,n){var r=n("bYtY"),i=n("IwbS"),a=n("6Ic6");function o(t,e,n,r){var i=e.getData(),a=i.getName(this.dataIndex),o=e.get("selectedOffset");r.dispatchAction({type:"pieToggleSelect",from:t,name:a,seriesId:e.id}),i.each((function(t){s(i.getItemGraphicEl(t),i.getItemLayout(t),e.isSelected(i.getName(t)),o,n)}))}function s(t,e,n,r,i){var a=(e.startAngle+e.endAngle)/2,o=n?r:0,s=[Math.cos(a)*o,Math.sin(a)*o];i?t.animate().when(200,{position:s}).start("bounceOut"):t.attr("position",s)}function l(t,e){i.Group.call(this);var n=new i.Sector({z2:2}),r=new i.Polyline,a=new i.Text;this.add(n),this.add(r),this.add(a),this.updateData(t,e,!0)}var u=l.prototype;u.updateData=function(t,e,n){var a=this.childAt(0),o=this.childAt(1),l=this.childAt(2),u=t.hostModel,c=t.getItemModel(e),h=t.getItemLayout(e),f=r.extend({},h);f.label=null;var d=u.getShallow("animationTypeUpdate");n?(a.setShape(f),"scale"===u.getShallow("animationType")?(a.shape.r=h.r0,i.initProps(a,{shape:{r:h.r}},u,e)):(a.shape.endAngle=h.startAngle,i.updateProps(a,{shape:{endAngle:h.endAngle}},u,e))):"expansion"===d?a.setShape(f):i.updateProps(a,{shape:f},u,e);var p=t.getItemVisual(e,"color");a.useStyle(r.defaults({lineJoin:"bevel",fill:p},c.getModel("itemStyle").getItemStyle())),a.hoverStyle=c.getModel("emphasis.itemStyle").getItemStyle();var g=c.getShallow("cursor");g&&a.attr("cursor",g),s(this,t.getItemLayout(e),u.isSelected(t.getName(e)),u.get("selectedOffset"),u.get("animation")),this._updateLabel(t,e,!n&&"transition"===d),this.highDownOnUpdate=c.get("hoverAnimation")&&u.isAnimationEnabled()?function(t,e){"emphasis"===e?(o.ignore=o.hoverIgnore,l.ignore=l.hoverIgnore,a.stopAnimation(!0),a.animateTo({shape:{r:h.r+u.get("hoverOffset")}},300,"elasticOut")):(o.ignore=o.normalIgnore,l.ignore=l.normalIgnore,a.stopAnimation(!0),a.animateTo({shape:{r:h.r}},300,"elasticOut"))}:null,i.setHoverStyle(this)},u._updateLabel=function(t,e,n){var r=this.childAt(1),a=this.childAt(2),o=t.hostModel,s=t.getItemModel(e),l=t.getItemLayout(e).label,u=t.getItemVisual(e,"color");if(!l||isNaN(l.x)||isNaN(l.y))a.ignore=a.normalIgnore=a.hoverIgnore=r.ignore=r.normalIgnore=r.hoverIgnore=!0;else{var c={points:l.linePoints||[[l.x,l.y],[l.x,l.y],[l.x,l.y]]},h={x:l.x,y:l.y};n?(i.updateProps(r,{shape:c},o,e),i.updateProps(a,{style:h},o,e)):(r.attr({shape:c}),a.attr({style:h})),a.attr({rotation:l.rotation,origin:[l.x,l.y],z2:10});var f=s.getModel("label"),d=s.getModel("emphasis.label"),p=s.getModel("labelLine"),g=s.getModel("emphasis.labelLine");u=t.getItemVisual(e,"color"),i.setLabelStyle(a.style,a.hoverStyle={},f,d,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:l.text,autoColor:u,useInsideStyle:!!l.inside},{textAlign:l.textAlign,textVerticalAlign:l.verticalAlign,opacity:t.getItemVisual(e,"opacity")}),a.ignore=a.normalIgnore=!f.get("show"),a.hoverIgnore=!d.get("show"),r.ignore=r.normalIgnore=!p.get("show"),r.hoverIgnore=!g.get("show"),r.setStyle({stroke:u,opacity:t.getItemVisual(e,"opacity")}),r.setStyle(p.getModel("lineStyle").getLineStyle()),r.hoverStyle=g.getModel("lineStyle").getLineStyle();var v=p.get("smooth");v&&!0===v&&(v=.4),r.setShape({smooth:v})}},r.inherits(l,i.Group);var c=a.extend({type:"pie",init:function(){var t=new i.Group;this._sectorGroup=t},render:function(t,e,n,i){if(!i||i.from!==this.uid){var a=t.getData(),s=this._data,u=this.group,c=e.get("animation"),h=!s,f=t.get("animationType"),d=t.get("animationTypeUpdate"),p=r.curry(o,this.uid,t,c,n),g=t.get("selectedMode");if(a.diff(s).add((function(t){var e=new l(a,t);h&&"scale"!==f&&e.eachChild((function(t){t.stopAnimation(!0)})),g&&e.on("click",p),a.setItemGraphicEl(t,e),u.add(e)})).update((function(t,e){var n=s.getItemGraphicEl(e);h||"transition"===d||n.eachChild((function(t){t.stopAnimation(!0)})),n.updateData(a,t),n.off("click"),g&&n.on("click",p),u.add(n),a.setItemGraphicEl(t,n)})).remove((function(t){var e=s.getItemGraphicEl(t);u.remove(e)})).execute(),c&&a.count()>0&&(h?"scale"!==f:"transition"!==d)){for(var v=a.getItemLayout(0),m=1;isNaN(v.startAngle)&&m=n.r0}}});t.exports=c},H6uX:function(t,e){var n=Array.prototype.slice,r=function(t){this._$handlers={},this._$eventProcessor=t};function i(t,e,n,r,i,a){var o=t._$handlers;if("function"==typeof n&&(i=r,r=n,n=null),!r||!e)return t;n=function(t,e){var n=t._$eventProcessor;return null!=e&&n&&n.normalizeQuery&&(e=n.normalizeQuery(e)),e}(t,n),o[e]||(o[e]=[]);for(var s=0;s3&&(i=n.call(i,1));for(var o=e.length,s=0;s4&&(i=n.call(i,1,i.length-1));for(var o=i[i.length-1],s=e.length,l=0;l=0?"p":"n",P=k;if(x&&(l[c][D]||(l[c][D]={p:k,n:k}),P=l[c][D][O]),"radius"===p.dim){var L=p.dataToRadius(I)-k,R=r.dataToAngle(D);Math.abs(L)=i/3?1:2),l=e.y-r(o)*a*(a>=i/3?1:2);o=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(o)*a,e.y+r(o)*a),t.lineTo(e.x+n(e.angle)*i,e.y+r(e.angle)*i),t.lineTo(e.x-n(o)*a,e.y-r(o)*a),t.lineTo(s,l)}});t.exports=r},Hxpc:function(t,e,n){var r=n("bYtY"),i=n("4NO4"),a=n("bLfw"),o=n("Qxkt"),s=n("cCMj"),l=n("7uqq"),u=a.extend({type:"geo",coordinateSystem:null,layoutMode:"box",init:function(t){a.prototype.init.apply(this,arguments),i.defaultEmphasis(t,"label",["show"])},optionUpdated:function(){var t=this.option,e=this;t.regions=l.getFilledRegions(t.regions,t.map,t.nameMap),this._optionModelMap=r.reduce(t.regions||[],(function(t,n){return n.name&&t.set(n.name,new o(n,e)),t}),r.createHashMap()),this.updateSelectedMap(t.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(t){return this._optionModelMap.get(t)||new o(null,this,this.ecModel)},getFormattedLabel:function(t,e){var n=this.getRegionModel(t).get("label"+("normal"===e?".":e+".")+"formatter"),r={name:t};return"function"==typeof n?(r.status=e,n(r)):"string"==typeof n?n.replace("{a}",null!=t?t:""):void 0},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t}});r.mixin(u,s),t.exports=u},HzoJ:function(t,e,n){var r=n("b5wT");t.exports=function(t,e){return r.map(e,(function(e){var n=t.inEdges(e);if(n.length){var i=r.reduce(n,(function(e,n){var r=t.edge(n),i=t.node(n.v);return{sum:e.sum+r.weight*i.order,weight:e.weight+r.weight}}),{sum:0,weight:0});return{v:e,barycenter:i.sum/i.weight,weight:i.weight}}return{v:e}}))}},"I+77":function(t,e,n){var r=n("ProS");n("h54F"),n("lwQL"),n("10cm");var i=n("Z1r0"),a=n("f5Yq"),o=n("KUOm"),s=n("3m61"),l=n("01d+"),u=n("rdor"),c=n("WGYa"),h=n("ewwo");r.registerProcessor(i),r.registerVisual(a("graph","circle",null)),r.registerVisual(o),r.registerVisual(s),r.registerLayout(l),r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT,u),r.registerLayout(c),r.registerCoordinateSystem("graphView",{create:h})},"I+Bx":function(t,e,n){var r=n("bYtY"),i=n("eIcI"),a=n("ieMj"),o=n("OELB"),s=n("aX7z"),l=s.getScaleExtent,u=s.niceScaleExtent,c=n("IDmD"),h=n("jCoz");function f(t,e,n){this._model=t,this.dimensions=[],this._indicatorAxes=r.map(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,r=new i(n,"log"===t.get("axisType")?new h:new a);return r.name=t.get("name"),r.model=t,t.axis=r,this.dimensions.push(n),r}),this),this.resize(t,n)}f.prototype.getIndicatorAxes=function(){return this._indicatorAxes},f.prototype.dataToPoint=function(t,e){return this.coordToPoint(this._indicatorAxes[e].dataToCoord(t),e)},f.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},f.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,r=Math.sqrt(e*e+n*n);e/=r,n/=r;for(var i,a=Math.atan2(-n,e),o=1/0,s=-1,l=0;ln[0]&&isFinite(p)&&isFinite(n[0]));else{i.getTicks().length-1>a&&(f=s(f));var d=Math.ceil(n[1]/f)*f,p=o.round(d-f*a);i.setExtent(p,d),i.setInterval(f)}}))},f.dimensions=[],f.create=function(t,e){var n=[];return t.eachComponent("radar",(function(r){var i=new f(r,t,e);n.push(i),r.coordinateSystem=i})),t.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=n[t.get("radarIndex")||0])})),n},c.register("radar",f),t.exports=f},I01J:function(t,e,n){var r=n("44Ds");t.exports=function(t){var e=r(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},"I3/A":function(t,e,n){var r=n("bYtY"),i=n("YXkt"),a=n("c2i1"),o=n("Mdki"),s=n("sdST"),l=n("IDmD"),u=n("MwEJ");t.exports=function(t,e,n,c,h){for(var f=new a(c),d=0;d "+_)),v++)}var b,x=n.get("coordinateSystem");if("cartesian2d"===x||"polar"===x)b=u(t,n);else{var w=l.get(x),k=w&&"view"!==w.type&&w.dimensions||[];r.indexOf(k,"value")<0&&k.concat(["value"]);var S=s(t,{coordDimensions:k});(b=new i(S,n)).initData(t)}var C=new i(["value"],n);return C.initData(g,p),h&&h(b,C),o({mainData:b,struct:f,structAttr:"graph",datas:{node:b,edge:C},datasAttr:{node:"data",edge:"edgeData"}}),f.update(),f}},I55L:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){return t&&"number"==typeof t.length&&"function"!=typeof t}},ICMv:function(t,e,n){var r=n("bYtY");t.exports={getMin:function(t){var e=this.option,n=t||null==e.rangeStart?e.min:e.rangeStart;return this.axis&&null!=n&&"dataMin"!==n&&"function"!=typeof n&&!r.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getMax:function(t){var e=this.option,n=t||null==e.rangeEnd?e.max:e.rangeEnd;return this.axis&&null!=n&&"dataMax"!==n&&"function"!=typeof n&&!r.eqNaN(n)&&(n=this.axis.scale.parse(n)),n},getNeedCrossZero:function(){var t=this.option;return null==t.rangeStart&&null==t.rangeEnd&&!t.scale},getCoordSysModel:r.noop,setRange:function(t,e){this.option.rangeStart=t,this.option.rangeEnd=e},resetRange:function(){this.option.rangeStart=this.option.rangeEnd=null}}},IDmD:function(t,e,n){var r=n("bYtY"),i={};function a(){this._coordinateSystems=[]}a.prototype={constructor:a,create:function(t,e){var n=[];r.each(i,(function(r,i){var a=r.create(t,e);n=n.concat(a||[])})),this._coordinateSystems=n},update:function(t,e){r.each(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},a.register=function(t,e){i[t]=e},a.get=function(t){return i[t]},t.exports=a},IMiH:function(t,e,n){var r=n("Sj9i"),i=n("QBsz"),a=n("4mN7"),o=n("mFDi"),s=n("LPTA").devicePixelRatio,l={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},u=[],c=[],h=[],f=[],d=Math.min,p=Math.max,g=Math.cos,v=Math.sin,m=Math.sqrt,y=Math.abs,_="undefined"!=typeof Float32Array,b=function(t){this._saveData=!t,this._saveData&&(this.data=[]),this._ctx=null};b.prototype={constructor:b,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(t,e,n){this._ux=y((n=n||0)/s/t)||0,this._uy=y(n/s/e)||0},getContext:function(){return this._ctx},beginPath:function(t){return this._ctx=t,t&&t.beginPath(),t&&(this.dpr=t.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(t,e){return this.addData(l.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},lineTo:function(t,e){var n=y(t-this._xi)>this._ux||y(e-this._yi)>this._uy||this._len<5;return this.addData(l.L,t,e),this._ctx&&n&&(this._needsDash()?this._dashedLineTo(t,e):this._ctx.lineTo(t,e)),n&&(this._xi=t,this._yi=e),this},bezierCurveTo:function(t,e,n,r,i,a){return this.addData(l.C,t,e,n,r,i,a),this._ctx&&(this._needsDash()?this._dashedBezierTo(t,e,n,r,i,a):this._ctx.bezierCurveTo(t,e,n,r,i,a)),this._xi=i,this._yi=a,this},quadraticCurveTo:function(t,e,n,r){return this.addData(l.Q,t,e,n,r),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(t,e,n,r):this._ctx.quadraticCurveTo(t,e,n,r)),this._xi=n,this._yi=r,this},arc:function(t,e,n,r,i,a){return this.addData(l.A,t,e,n,n,r,i-r,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,r,i,a),this._xi=g(i)*n+t,this._yi=v(i)*n+e,this},arcTo:function(t,e,n,r,i){return this._ctx&&this._ctx.arcTo(t,e,n,r,i),this},rect:function(t,e,n,r){return this._ctx&&this._ctx.rect(t,e,n,r),this.addData(l.R,t,e,n,r),this},closePath:function(){this.addData(l.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&(this._needsDash()&&this._dashedLineTo(e,n),t.closePath()),this._xi=e,this._yi=n,this},fill:function(t){t&&t.fill(),this.toStatic()},stroke:function(t){t&&t.stroke(),this.toStatic()},setLineDash:function(t){if(t instanceof Array){this._lineDash=t,this._dashIdx=0;for(var e=0,n=0;ne.length&&(this._expandData(),e=this.data);for(var n=0;n0&&g<=t||c<0&&g>=t||0===c&&(h>0&&v<=e||h<0&&v>=e);)g+=c*(n=o[r=this._dashIdx]),v+=h*n,this._dashIdx=(r+1)%y,c>0&&gl||h>0&&vu||s[r%2?"moveTo":"lineTo"](c>=0?d(g,t):p(g,t),h>=0?d(v,e):p(v,e));this._dashOffset=-m((c=g-t)*c+(h=v-e)*h)},_dashedBezierTo:function(t,e,n,i,a,o){var s,l,u,c,h,f=this._dashSum,d=this._dashOffset,p=this._lineDash,g=this._ctx,v=this._xi,y=this._yi,_=r.cubicAt,b=0,x=this._dashIdx,w=p.length,k=0;for(d<0&&(d=f+d),d%=f,s=0;s<1;s+=.1)l=_(v,t,n,a,s+.1)-_(v,t,n,a,s),u=_(y,e,i,o,s+.1)-_(y,e,i,o,s),b+=m(l*l+u*u);for(;xd);x++);for(s=(k-d)/b;s<=1;)c=_(v,t,n,a,s),h=_(y,e,i,o,s),x%2?g.moveTo(c,h):g.lineTo(c,h),s+=p[x]/b,x=(x+1)%w;x%2!=0&&g.lineTo(a,o),this._dashOffset=-m((l=a-c)*l+(u=o-h)*u)},_dashedQuadraticTo:function(t,e,n,r){var i=n,a=r;n=(n+2*t)/3,r=(r+2*e)/3,this._dashedBezierTo(t=(this._xi+2*t)/3,e=(this._yi+2*e)/3,n,r,i,a)},toStatic:function(){var t=this.data;t instanceof Array&&(t.length=this._len,_&&(this.data=new Float32Array(t)))},getBoundingRect:function(){u[0]=u[1]=h[0]=h[1]=Number.MAX_VALUE,c[0]=c[1]=f[0]=f[1]=-Number.MAX_VALUE;for(var t=this.data,e=0,n=0,r=0,s=0,d=0;du||y(o-i)>c||f===h-1)&&(t.lineTo(a,o),r=a,i=o);break;case l.C:t.bezierCurveTo(s[f++],s[f++],s[f++],s[f++],s[f++],s[f++]),r=s[f-2],i=s[f-1];break;case l.Q:t.quadraticCurveTo(s[f++],s[f++],s[f++],s[f++]),r=s[f-2],i=s[f-1];break;case l.A:var p=s[f++],m=s[f++],_=s[f++],b=s[f++],x=s[f++],w=s[f++],k=s[f++],S=s[f++],C=_>b?_:b,A=_>b?1:_/b,T=_>b?b/_:1,E=x+w;Math.abs(_-b)>.001?(t.translate(p,m),t.rotate(k),t.scale(A,T),t.arc(0,0,C,x,E,1-S),t.scale(1/A,1/T),t.rotate(-k),t.translate(-p,-m)):t.arc(p,m,C,x,E,1-S),1===f&&(e=g(x)*_+p,n=v(x)*b+m),r=g(E)*_+p,i=v(E)*b+m;break;case l.R:e=r=s[f],n=i=s[f+1],t.rect(s[f++],s[f++],s[f++],s[f++]);break;case l.Z:t.closePath(),r=e,i=n}}}},b.CMD=l,t.exports=b},IOzZ:function(t,e){t.exports=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}},IUWy:function(t,e){var n={};e.register=function(t,e){n[t]=e},e.get=function(t){return n[t]}},IWNH:function(t,e,n){var r=n("T4UG"),i=n("Bsck"),a=n("7aKB").encodeHTML,o=r.extend({type:"series.tree",layoutInfo:null,layoutMode:"box",getInitialData:function(t){var e={name:t.name,children:t.data},n={};n.leaves=t.leaves||{};var r=i.createTree(e,this,n,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),i=n.getLeavesModel();return n.children.length&&n.isExpand||(t.parentModel=i),t}))})),a=0;r.eachNode("preorder",(function(t){t.depth>a&&(a=t.depth)}));var o=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:a;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=o})),r.data},getOrient:function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},formatTooltip:function(t){for(var e=this.getData().tree,n=e.root.children[0],r=e.getNodeByDataIndex(t),i=r.getValue(),o=r.name;r&&r!==n;)o=r.parentNode.name+"."+o,r=r.parentNode;return a(o+(isNaN(i)||null==i?"":" : "+i))},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}});t.exports=o},IWTy:function(t,e,n){var r=n("yue5");t.exports=function(t,e,n){for(var i=-1,a=t.criteria,o=e.criteria,s=a.length,l=n.length;++i=l?u:u*("desc"==n[i]?-1:1)}return t.index-e.index}},IWp7:function(t,e,n){var r=n("bYtY"),i=n("OELB"),a=n("7aKB"),o=n("lE7J"),s=n("ieMj"),l=s.prototype,u=Math.ceil,c=Math.floor,h=s.extend({type:"time",getLabel:function(t){var e=this._stepLvl,n=new Date(t);return a.formatTime(e[0],n,this.getSetting("useUTC"))},niceExtent:function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=864e5,e[1]+=864e5),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-864e5}this.niceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=i.round(c(e[0]/r)*r)),t.fixMax||(e[1]=i.round(u(e[1]/r)*r))},niceTicks:function(t,e,n){var r=this._extent,a=r[1]-r[0],s=a/(t=t||10);null!=e&&sn&&(s=n);var l=f.length,h=function(t,e,n,r){for(;n>>1;t[i][1]1&&void 0!==arguments[1]?arguments[1]:t.now;_classCallCheck(this,t),this.SchedulerAction=e,this.now=n}return _createClass2(t,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,t).schedule(n,e)}}]),t}();return t.now=function(){return Date.now()},t}();n.d(e,"a",(function(){return i}));var i=function(t){_inherits(n,t);var e=_createSuper(n);function n(t){var i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.now;return _classCallCheck(this,n),(i=e.call(this,t,(function(){return n.delegate&&n.delegate!==_assertThisInitialized(i)?n.delegate.now():a()}))).actions=[],i.active=!1,i.scheduled=void 0,i}return _createClass2(n,[{key:"schedule",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(t,e,r):_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,t,e,r)}},{key:"flush",value:function(t){var e=this.actions;if(this.active)e.push(t);else{var n;this.active=!0;do{if(n=t.execute(t.state,t.delay))break}while(t=e.shift());if(this.active=!1,n){for(;t=e.shift();)t.unsubscribe();throw n}}}}]),n}(r)},Ioao:function(t,e,n){var r=n("heNW"),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var a=arguments,o=-1,s=i(a.length-e,0),l=Array(s);++o=11),domSupported:"undefined"!=typeof document}),t.exports=n},Itpr:function(t,e,n){var r=n("+TT/");function i(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function a(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function o(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function s(t,e,n){var r=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=r,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=r}function l(t,e){return t.parentNode===e.parentNode?1:2}e.init=function(t){t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e,n,r=[t];e=r.pop();)if(n=e.children,e.isExpand&&n.length)for(var i=n.length-1;i>=0;i--){var a=n[i];a.hierNode={defaultAncestor:null,ancestor:a,prelim:0,modifier:0,change:0,shift:0,i:i,thread:null},r.push(a)}},e.firstWalk=function(t,e){var n=t.isExpand?t.children:[],r=t.parentNode.children,l=t.hierNode.i?r[t.hierNode.i-1]:null;if(n.length){!function(t){for(var e=t.children,n=e.length,r=0,i=0;--n>=0;){var a=e[n];a.hierNode.prelim+=r,a.hierNode.modifier+=r,r+=a.hierNode.shift+(i+=a.hierNode.change)}}(t);var u=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;l?(t.hierNode.prelim=l.hierNode.prelim+e(t,l),t.hierNode.modifier=t.hierNode.prelim-u):t.hierNode.prelim=u}else l&&(t.hierNode.prelim=l.hierNode.prelim+e(t,l));t.parentNode.hierNode.defaultAncestor=function(t,e,n,r){if(e){for(var l=t,u=t,c=u.parentNode.children[0],h=e,f=l.hierNode.modifier,d=u.hierNode.modifier,p=c.hierNode.modifier,g=h.hierNode.modifier;h=i(h),u=a(u),h&&u;){l=i(l),c=a(c),l.hierNode.ancestor=t;var v=h.hierNode.prelim+g-u.hierNode.prelim-d+r(h,u);v>0&&(s(o(h,t,n),t,v),d+=v,f+=v),g+=h.hierNode.modifier,d+=u.hierNode.modifier,f+=l.hierNode.modifier,p+=c.hierNode.modifier}h&&!i(l)&&(l.hierNode.thread=h,l.hierNode.modifier+=g-f),u&&!a(c)&&(c.hierNode.thread=u,c.hierNode.modifier+=d-p,n=t)}return n}(t,l,t.parentNode.hierNode.defaultAncestor||r[0],e)},e.secondWalk=function(t){t.setLayout({x:t.hierNode.prelim+t.parentNode.hierNode.modifier},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier},e.separation=function(t){return arguments.length?t:l},e.radialCoordinate=function(t,e){var n={};return t-=Math.PI/2,n.x=e*Math.cos(t),n.y=e*Math.sin(t),n},e.getViewRect=function(t,e){return r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}},IwbS:function(t,e,n){var r=n("bYtY"),i=n("NC18"),a=n("Qe9p"),o=n("Fofx"),s=n("QBsz"),l=n("y+Vt"),u=n("DN4a"),c=n("Dagg");e.Image=c;var h=n("4fz+");e.Group=h;var f=n("dqUG");e.Text=f;var d=n("2fw6");e.Circle=d;var p=n("SqI9");e.Sector=p;var g=n("RXMa");e.Ring=g;var v=n("h7HQ");e.Polygon=v;var m=n("1Jh7");e.Polyline=m;var y=n("x6Kt");e.Rect=y;var _=n("yxFR");e.Line=_;var b=n("rA99");e.BezierCurve=b;var x=n("jTL6");e.Arc=x;var w=n("1MYJ");e.CompoundPath=w;var k=n("SKnc");e.LinearGradient=k;var S=n("3e3G");e.RadialGradient=S;var C=n("mFDi");e.BoundingRect=C;var A=n("OS9S");e.IncrementalDisplayable=A;var T=n("nPnh"),E=Math.max,M=Math.min,I={},D=1,O={},P={};function L(t,e){P[t]=e}function R(t,e,n,r){var a=i.createFromString(t,e);return n&&("center"===r&&(n=N(n,a.getBoundingRect())),F(a,n)),a}function N(t,e){var n,r=e.width/e.height,i=t.height*r;return n=i<=t.width?t.height:(i=t.width)/r,{x:t.x+t.width/2-i/2,y:t.y+t.height/2-n/2,width:i,height:n}}var z=i.mergePath;function F(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}var B=T.subPixelOptimize;function V(t){return null!=t&&"none"!==t}var j=r.createHashMap(),Y=0;function H(t){var e=t.__hoverStl;if(e&&!t.__highlighted){var n=t.__zr,r=t.useHoverLayer&&n&&"canvas"===n.painter.type;if(t.__highlighted=r?"layer":"plain",!(t.isGroup||!n&&t.useHoverLayer)){var i=t,a=t.style;r&&(a=(i=n.addHover(t)).style),at(a),r||function(t){if(t.__hoverStlDirty){t.__hoverStlDirty=!1;var e=t.__hoverStl;if(e){var n=t.__cachedNormalStl={};t.__cachedNormalZ2=t.z2;var r=t.style;for(var i in e)null!=e[i]&&(n[i]=r[i]);n.fill=r.fill,n.stroke=r.stroke}else t.__cachedNormalStl=t.__cachedNormalZ2=null}}(i),a.extendFrom(e),U(a,e,"fill"),U(a,e,"stroke"),it(a),r||(t.dirty(!1),t.z2+=1)}}}function U(t,e,n){!V(e[n])&&V(t[n])&&(t[n]=function(t){if("string"!=typeof t)return t;var e=j.get(t);return e||(e=a.lift(t,-.1),Y<1e4&&(j.set(t,e),Y++)),e}(t[n]))}function G(t){var e=t.__highlighted;if(e&&(t.__highlighted=!1,!t.isGroup))if("layer"===e)t.__zr&&t.__zr.removeHover(t);else{var n=t.style,r=t.__cachedNormalStl;r&&(at(n),t.setStyle(r),it(n));var i=t.__cachedNormalZ2;null!=i&&t.z2-i==1&&(t.z2=i)}}function q(t,e,n){var r,i="normal",a="normal";t.__highlighted&&(i="emphasis",r=!0),e(t,n),t.__highlighted&&(a="emphasis",r=!0),t.isGroup&&t.traverse((function(t){!t.isGroup&&e(t,n)})),r&&t.__highDownOnUpdate&&t.__highDownOnUpdate(i,a)}function W(t,e){e=t.__hoverStl=!1!==e&&(t.hoverStyle||e||{}),t.__hoverStlDirty=!0,t.__highlighted&&(t.__cachedNormalStl=null,G(t),H(t))}function Z(t){!Q(this,t)&&!this.__highByOuter&&q(this,H)}function $(t){!Q(this,t)&&!this.__highByOuter&&q(this,G)}function X(t){this.__highByOuter|=1<<(t||0),q(this,H)}function K(t){!(this.__highByOuter&=~(1<<(t||0)))&&q(this,G)}function Q(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function J(t,e){var n=!1===e;if(t.__highDownSilentOnTouch=t.highDownSilentOnTouch,t.__highDownOnUpdate=t.highDownOnUpdate,!n||t.__highDownDispatcher){var r=n?"off":"on";t[r]("mouseover",Z)[r]("mouseout",$),t[r]("emphasis",X)[r]("normal",K),t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n}}function tt(t,e,n,i,a){return et(t,e,i,a),n&&r.extend(t,n),t}function et(t,e,n,i){if((n=n||I).isRectText){var a;n.getTextPosition?a=n.getTextPosition(e,i):"outside"===(a=e.getShallow("position")||(i?null:"inside"))&&(a="top"),t.textPosition=a,t.textOffset=e.getShallow("offset");var o=e.getShallow("rotate");null!=o&&(o*=Math.PI/180),t.textRotation=o,t.textDistance=r.retrieve2(e.getShallow("distance"),i?null:5)}var s,l=e.ecModel,u=l&&l.option.textStyle,c=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||I).rich;if(n)for(var r in e=e||{},n)n.hasOwnProperty(r)&&(e[r]=1);t=t.parentModel}return e}(e);if(c)for(var h in s={},c)if(c.hasOwnProperty(h)){var f=e.getModel(["rich",h]);nt(s[h]={},f,u,n,i)}return t.rich=s,nt(t,e,u,n,i,!0),n.forceRich&&!n.textStyle&&(n.textStyle={}),t}function nt(t,e,n,i,a,o){n=!a&&n||I,t.textFill=rt(e.getShallow("color"),i)||n.color,t.textStroke=rt(e.getShallow("textBorderColor"),i)||n.textBorderColor,t.textStrokeWidth=r.retrieve2(e.getShallow("textBorderWidth"),n.textBorderWidth),a||(o&&(t.insideRollbackOpt=i,it(t)),null==t.textFill&&(t.textFill=i.autoColor)),t.fontStyle=e.getShallow("fontStyle")||n.fontStyle,t.fontWeight=e.getShallow("fontWeight")||n.fontWeight,t.fontSize=e.getShallow("fontSize")||n.fontSize,t.fontFamily=e.getShallow("fontFamily")||n.fontFamily,t.textAlign=e.getShallow("align"),t.textVerticalAlign=e.getShallow("verticalAlign")||e.getShallow("baseline"),t.textLineHeight=e.getShallow("lineHeight"),t.textWidth=e.getShallow("width"),t.textHeight=e.getShallow("height"),t.textTag=e.getShallow("tag"),o&&i.disableBox||(t.textBackgroundColor=rt(e.getShallow("backgroundColor"),i),t.textPadding=e.getShallow("padding"),t.textBorderColor=rt(e.getShallow("borderColor"),i),t.textBorderWidth=e.getShallow("borderWidth"),t.textBorderRadius=e.getShallow("borderRadius"),t.textBoxShadowColor=e.getShallow("shadowColor"),t.textBoxShadowBlur=e.getShallow("shadowBlur"),t.textBoxShadowOffsetX=e.getShallow("shadowOffsetX"),t.textBoxShadowOffsetY=e.getShallow("shadowOffsetY")),t.textShadowColor=e.getShallow("textShadowColor")||n.textShadowColor,t.textShadowBlur=e.getShallow("textShadowBlur")||n.textShadowBlur,t.textShadowOffsetX=e.getShallow("textShadowOffsetX")||n.textShadowOffsetX,t.textShadowOffsetY=e.getShallow("textShadowOffsetY")||n.textShadowOffsetY}function rt(t,e){return"auto"!==t?t:e&&e.autoColor?e.autoColor:null}function it(t){var e,n=t.textPosition,r=t.insideRollbackOpt;if(r&&null==t.textFill){var i=r.autoColor,a=r.useInsideStyle,o=!1!==a&&(!0===a||r.isRectText&&n&&"string"==typeof n&&n.indexOf("inside")>=0),s=!o&&null!=i;(o||s)&&(e={textFill:t.textFill,textStroke:t.textStroke,textStrokeWidth:t.textStrokeWidth}),o&&(t.textFill="#fff",null==t.textStroke&&(t.textStroke=i,null==t.textStrokeWidth&&(t.textStrokeWidth=2))),s&&(t.textFill=i)}t.insideRollback=e}function at(t){var e=t.insideRollback;e&&(t.textFill=e.textFill,t.textStroke=e.textStroke,t.textStrokeWidth=e.textStrokeWidth,t.insideRollback=null)}function ot(t,e,n,r,i,a){if("function"==typeof i&&(a=i,i=null),r&&r.isAnimationEnabled()){var o=t?"Update":"",s=r.getShallow("animationDuration"+o),l=r.getShallow("animationEasing"+o),u=r.getShallow("animationDelay"+o);"function"==typeof u&&(u=u(i,r.getAnimationDelayParams?r.getAnimationDelayParams(e,i):null)),"function"==typeof s&&(s=s(i)),s>0?e.animateTo(n,s,u||0,l,a,!!a):(e.stopAnimation(),e.attr(n),a&&a())}else e.stopAnimation(),e.attr(n),a&&a()}function st(t,e,n,r,i){ot(!0,t,e,n,r,i)}function lt(t,e,n){return e&&!r.isArrayLike(e)&&(e=u.getLocalTransform(e)),n&&(e=o.invert([],e)),s.applyTransform([],t,e)}function ut(t,e,n,r,i,a,o,s){var l,u=n-t,c=r-e,h=o-i,f=s-a,d=ct(h,f,u,c);if((l=d)<=1e-6&&l>=-1e-6)return!1;var p=t-i,g=e-a,v=ct(p,g,u,c)/d;if(v<0||v>1)return!1;var m=ct(p,g,h,f)/d;return!(m<0||m>1)}function ct(t,e,n,r){return t*r-n*e}L("circle",d),L("sector",p),L("ring",g),L("polygon",v),L("polyline",m),L("rect",y),L("line",_),L("bezierCurve",b),L("arc",x),e.Z2_EMPHASIS_LIFT=1,e.CACHED_LABEL_STYLE_PROPERTIES={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},e.extendShape=function(t){return l.extend(t)},e.extendPath=function(t,e){return i.extendFromString(t,e)},e.registerShape=L,e.getShapeClass=function(t){if(P.hasOwnProperty(t))return P[t]},e.makePath=R,e.makeImage=function(t,e,n){var r=new c({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){"center"===n&&r.setStyle(N(e,{width:t.width,height:t.height}))}});return r},e.mergePath=z,e.resizePath=F,e.subPixelOptimizeLine=function(t){return T.subPixelOptimizeLine(t.shape,t.shape,t.style),t},e.subPixelOptimizeRect=function(t){return T.subPixelOptimizeRect(t.shape,t.shape,t.style),t},e.subPixelOptimize=B,e.setElementHoverStyle=W,e.setHoverStyle=function(t,e){J(t,!0),q(t,W,e)},e.setAsHighDownDispatcher=J,e.isHighDownDispatcher=function(t){return!(!t||!t.__highDownDispatcher)},e.getHighlightDigit=function(t){var e=O[t];return null==e&&D<=32&&(e=O[t]=D++),e},e.setLabelStyle=function(t,e,n,i,a,o,s){var l,u=(a=a||I).labelFetcher,c=a.labelDataIndex,h=a.labelDimIndex,f=n.getShallow("show"),d=i.getShallow("show");(f||d)&&(u&&(l=u.getFormattedLabel(c,"normal",null,h)),null==l&&(l=r.isFunction(a.defaultText)?a.defaultText(c,a):a.defaultText));var p=f?l:null,g=d?r.retrieve2(u?u.getFormattedLabel(c,"emphasis",null,h):null,l):null;null==p&&null==g||(tt(t,n,o,a),tt(e,i,s,a,!0)),t.text=p,e.text=g},e.modifyLabelStyle=function(t,e,n){var i=t.style;e&&(at(i),t.setStyle(e),it(i)),i=t.__hoverStl,n&&i&&(at(i),r.extend(i,n),it(i))},e.setTextStyle=tt,e.setText=function(t,e,n){var r,i={isRectText:!0};!1===n?r=!0:i.autoColor=n,et(t,e,i,r)},e.getFont=function(t,e){var n=e&&e.getModel("textStyle");return r.trim([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))},e.updateProps=st,e.initProps=function(t,e,n,r,i){ot(!1,t,e,n,r,i)},e.getTransform=function(t,e){for(var n=o.identity([]);t&&t!==e;)o.mul(n,t.getLocalTransform(),n),t=t.parent;return n},e.applyTransform=lt,e.transformDirection=function(t,e,n){var r=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-r:"right"===t?r:0,"top"===t?-i:"bottom"===t?i:0];return a=lt(a,e,n),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"},e.groupTransition=function(t,e,n,i){if(t&&e){var a,o=(a={},t.traverse((function(t){!t.isGroup&&t.anid&&(a[t.anid]=t)})),a);e.traverse((function(t){if(!t.isGroup&&t.anid){var e=o[t.anid];if(e){var r=l(t);t.attr(l(e)),st(t,r,n,t.dataIndex)}}}))}function l(t){var e={position:s.clone(t.position),rotation:t.rotation};return t.shape&&(e.shape=r.extend({},t.shape)),e}},e.clipPointsByRect=function(t,e){return r.map(t,(function(t){var n=t[0];n=E(n,e.x),n=M(n,e.x+e.width);var r=t[1];return r=E(r,e.y),[n,r=M(r,e.y+e.height)]}))},e.clipRectByRect=function(t,e){var n=E(t.x,e.x),r=M(t.x+t.width,e.x+e.width),i=E(t.y,e.y),a=M(t.y+t.height,e.y+e.height);if(r>=n&&a>=i)return{x:n,y:i,width:r-n,height:a-i}},e.createIcon=function(t,e,n){var i=(e=r.extend({rectHover:!0},e)).style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),r.defaults(i,n),new c(e)):R(t.replace("path://",""),e,n,"center")},e.linePolygonIntersect=function(t,e,n,r,i){for(var a=0,o=i[i.length-1];a0&&e%v)g+=p;else{var n=null==t||isNaN(t)||""===t,r=n?0:f(t,s,c,!0);n&&!u&&e?(h.push([h[h.length-1][0],0]),d.push([d[d.length-1][0],0])):!n&&u&&(h.push([g,0]),d.push([g,0])),h.push([g,r]),d.push([g,r]),g+=p,u=n}}));var m=this.dataZoomModel;this._displayables.barGroup.add(new a.Polygon({shape:{points:h},style:r.defaults({fill:m.get("dataBackgroundColor")},m.getModel("dataBackground.areaStyle").getAreaStyle()),silent:!0,z2:-20})),this._displayables.barGroup.add(new a.Polyline({shape:{points:d},style:m.getModel("dataBackground.lineStyle").getLineStyle(),silent:!0,z2:-19}))}}},_prepareDataShadowInfo:function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(a,o){var s=t.getAxisProxy(a.name,o).getTargetSeriesModels();r.each(s,(function(t){if(!(n||!0!==e&&r.indexOf(v,t.get("type"))<0)){var s,l=i.getComponent(a.axis,o).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[a.name],c=t.coordinateSystem;null!=u&&c.getOtherAxis&&(s=c.getOtherAxis(l).inverse),u=t.getData().mapDimension(u),n={thisAxis:l,series:t,thisDim:a.name,otherDim:u,otherAxisInverse:s}}}),this)}),this),n}},_renderHandle:function(){var t=this._displayables,e=t.handles=[],n=t.handleLabels=[],r=this._displayables.barGroup,i=this._size,o=this.dataZoomModel;r.add(t.filler=new h({draggable:!0,cursor:y(this._orient),drift:p(this._onDragMove,this,"all"),ondragstart:p(this._showDataInfo,this,!0),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1),style:{fill:o.get("fillerColor"),textPosition:"inside"}})),r.add(new h({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:i[0],height:i[1]},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),g([0,1],(function(t){var i=a.createIcon(o.get("handleIcon"),{cursor:y(this._orient),draggable:!0,drift:p(this._onDragMove,this,t),ondragend:p(this._onDragEnd,this),onmouseover:p(this._showDataInfo,this,!0),onmouseout:p(this._showDataInfo,this,!1)},{x:-1,y:0,width:2,height:2}),s=i.getBoundingRect();this._handleHeight=l.parsePercent(o.get("handleSize"),this._size[1]),this._handleWidth=s.width/s.height*this._handleHeight,i.setStyle(o.getModel("handleStyle").getItemStyle());var u=o.get("handleColor");null!=u&&(i.style.fill=u),r.add(e[t]=i);var c=o.textStyleModel;this.group.add(n[t]=new a.Text({silent:!0,invisible:!0,style:{x:0,y:0,text:"",textVerticalAlign:"middle",textAlign:"center",textFill:c.getTextColor(),textFont:c.getFont()},z2:10}))}),this)},_resetInterval:function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[f(t[0],[0,100],e,!0),f(t[1],[0,100],e,!0)]},_updateInterval:function(t,e){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),a=n.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];c(e,r,i,n.get("zoomLock")?"all":t,null!=a.minSpan?f(a.minSpan,o,i,!0):null,null!=a.maxSpan?f(a.maxSpan,o,i,!0):null);var s=this._range,l=this._range=d([f(r[0],i,o,!0),f(r[1],i,o,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},_updateView:function(t){var e=this._displayables,n=this._handleEnds,r=d(n.slice()),i=this._size;g([0,1],(function(t){var r=this._handleHeight;e.handles[t].attr({scale:[r/2,r/2],position:[n[t],i[1]/2-r/2]})}),this),e.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]}),this._updateDataInfo(t)},_updateDataInfo:function(t){var e=this.dataZoomModel,n=this._displayables,r=n.handleLabels,i=this._orient,o=["",""];if(e.get("showDetail")){var s=e.findRepresentativeAxisProxy();if(s){var l=s.getAxisModel().axis,u=this._range,c=t?s.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:s.getDataValueWindow();o=[this._formatLabel(c[0],l),this._formatLabel(c[1],l)]}}var h=d(this._handleEnds.slice());function f(t){var e=a.getTransform(n.handles[t].parent,this.group),s=a.transformDirection(0===t?"right":"left",e),l=this._handleWidth/2+5,u=a.applyTransform([h[t]+(0===t?-l:l),this._size[1]/2],e);r[t].setStyle({x:u[0],y:u[1],textVerticalAlign:"horizontal"===i?"middle":s,textAlign:"horizontal"===i?s:"center",text:o[t]})}f.call(this,0),f.call(this,1)},_formatLabel:function(t,e){var n=this.dataZoomModel,i=n.get("labelFormatter"),a=n.get("labelPrecision");null!=a&&"auto"!==a||(a=e.getPixelPrecision());var o=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel(Math.round(t)):t.toFixed(Math.min(a,20));return r.isFunction(i)?i(t,o):r.isString(i)?i.replace("{value}",o):o},_showDataInfo:function(t){var e=this._displayables.handleLabels;e[0].attr("invisible",!(t=this._dragging||t)),e[1].attr("invisible",!t)},_onDragMove:function(t,e,n,r){this._dragging=!0,i.stop(r.event);var o=this._displayables.barGroup.getLocalTransform(),s=a.applyTransform([e,n],o,!0),l=this._updateInterval(t,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction()},_onDragEnd:function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction()},_onClickPanelClick:function(t){var e=this._size,n=this._displayables.barGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var r=this._handleEnds,i=this._updateInterval("all",n[0]-(r[0]+r[1])/2);this._updateView(),i&&this._dispatchZoomAction()}},_dispatchZoomAction:function(){var t=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,start:t[0],end:t[1]})},_findCoordRect:function(){var t;if(g(this.getTargetCoordInfo(),(function(e){if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}})),!t){var e=this.api.getWidth(),n=this.api.getHeight();t={x:.2*e,y:.2*n,width:.6*e,height:.6*n}}return t}});function y(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=m},IyW0:function(t,e,n){"use strict";var r=n("b5wT"),i=n("tQ6r"),a=n("jFXE").positionX;t.exports=function(t){(function(t){var e=i.buildLayerMatrix(t),n=t.graph().ranksep,a=0;r.forEach(e,(function(e){var i=r.max(r.map(e,(function(e){return t.node(e).height})));r.forEach(e,(function(e){t.node(e).y=a+i/2})),a+=i+n}))})(t=i.asNonCompoundGraph(t)),r.forEach(a(t),(function(e,n){t.node(n).x=e}))}},IzEk:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("7o/Q"),i=n("4I5i"),a=n("EY2u");function o(t){return function(e){return 0===t?Object(a.b)():e.lift(new s(t))}}var s=function(){function t(e){if(_classCallCheck(this,t),this.total=e,this.total<0)throw new i.a}return _createClass2(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.total))}}]),t}(),l=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;return _classCallCheck(this,n),(i=e.call(this,t)).total=r,i.count=0,i}return _createClass2(n,[{key:"_next",value:function(t){var e=this.total,n=++this.count;n<=e&&(this.destination.next(t),n===e&&(this.destination.complete(),this.unsubscribe()))}}]),n}(r.a)},J2m7:function(t,e,n){var r=n("XKAG")(n("UfWW"));t.exports=r},JC6p:function(t,e,n){var r=n("cq/+"),i=n("7GkX");t.exports=function(t,e){return t&&r(t,e,i)}},JEkh:function(t,e,n){n("Tghj");var r=n("ProS"),i=n("bYtY"),a=n("ItGF"),o=n("4NO4"),s=n("7aKB"),l=n("OKJ2"),u=s.addCommas,c=s.encodeHTML;function h(t){o.defaultEmphasis(t,"label",["show"])}var f=r.extendComponentModel({type:"marker",dependencies:["series","grid","polar","geo"],init:function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},isAnimationEnabled:function(){if(a.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},mergeOption:function(t,e){this._mergeOption(t,e,!1,!1)},_mergeOption:function(t,e,n,r){var a=this.constructor,o=this.mainType+"Model";n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),s=t[o];n&&n.data?(s?s._mergeOption(n,e,!0):(r&&h(n),i.each(n.data,(function(t){t instanceof Array?(h(t[0]),h(t[1])):h(t)})),s=new a(n,this,e),i.extend(s,{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),s.__hostSeries=t),t[o]=s):t[o]=null}),this)},formatTooltip:function(t){var e=this.getData(),n=this.getRawValue(t),r=i.isArray(n)?i.map(n,u).join(", "):u(n),a=e.getName(t),o=c(this.name);return(null!=n||a)&&(o+="
    "),a&&(o+=c(a),null!=n&&(o+=" : ")),null!=n&&(o+=c(r)),o},getData:function(){return this._data},setData:function(t){this._data=t}});i.mixin(f,l),t.exports=f},JHRd:function(t,e,n){var r=n("Kz5y");t.exports=r.Uint8Array},JHgL:function(t,e,n){var r=n("QkVE");t.exports=function(t){return r(this,t).get(t)}},JLnu:function(t,e,n){var r=n("+TT/"),i=n("OELB"),a=i.parsePercent,o=i.linearMap;t.exports=function(t,e,n){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),s=t.get("sort"),l=function(t,e){return r.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),u=function(t,e){for(var n=t.mapDimension("value"),r=t.mapArray(n,(function(t){return t})),i=[],a="ascending"===e,o=0,s=t.count();o0},extendFrom:function(t,e){if(t)for(var n in t)!t.hasOwnProperty(n)||!0!==e&&(!1===e?this.hasOwnProperty(n):null==t[n])||(this[n]=t[n])},set:function(t,e){"string"==typeof t?this[t]=e:this.extendFrom(t,!0)},clone:function(){var t=new this.constructor;return t.extendFrom(this,!0),t},getGradient:function(t,e,n){for(var r=("radial"===e.type?l:s)(t,e,n),i=e.colorStops,a=0;a=0||i&&r.indexOf(i,s)<0)){var l=e.getShallow(s);null!=l&&(a[t[o][0]]=l)}}return a}}},KMkd:function(t,e){t.exports=function(){this.__data__=[],this.size=0}},KS52:function(t,e,n){var r=n("OELB"),i=r.parsePercent,a=r.linearMap,o=n("+TT/"),s=n("u3DP"),l=n("bYtY"),u=2*Math.PI,c=Math.PI/180;t.exports=function(t,e,n,r){e.eachSeriesByType(t,(function(t){var e=t.getData(),r=e.mapDimension("value"),h=function(t,e){return o.getLayoutRect(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,n),f=t.get("center"),d=t.get("radius");l.isArray(d)||(d=[0,d]),l.isArray(f)||(f=[f,f]);var p=i(h.width,n.getWidth()),g=i(h.height,n.getHeight()),v=Math.min(p,g),m=i(f[0],p)+h.x,y=i(f[1],g)+h.y,_=i(d[0],v/2),b=i(d[1],v/2),x=-t.get("startAngle")*c,w=t.get("minAngle")*c,k=0;e.each(r,(function(t){!isNaN(t)&&k++}));var S=e.getSum(r),C=Math.PI/(S||k)*2,A=t.get("clockwise"),T=t.get("roseType"),E=t.get("stillShowZeroSum"),M=e.getDataExtent(r);M[0]=0;var I=u,D=0,O=x,P=A?1:-1;if(e.each(r,(function(t,n){var r;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:A,cx:m,cy:y,r0:_,r:T?NaN:b,viewRect:h});else{(r="area"!==T?0===S&&E?C:t*C:u/k)0;--l)if(r=e[l].dequeue()){i=i.concat(s(t,e,n,r,!0));break}}return i}(n.graph,n.buckets,n.zeroIdx);return r.flatten(r.map(u,(function(e){return t.outEdges(e.v,e.w)})),!0)};var o=r.constant(1);function s(t,e,n,i,a){var o=a?[]:void 0;return r.forEach(t.inEdges(i.v),(function(r){var i=t.edge(r),s=t.node(r.v);a&&o.push({v:r.v,w:r.w}),s.out-=i,l(e,n,s)})),r.forEach(t.outEdges(i.v),(function(r){var i=t.edge(r),a=t.node(r.w);a.in-=i,l(e,n,a)})),t.removeNode(i.v),o}function l(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}},Kagy:function(t,e){t.exports={legend:{selector:{all:"\u5168\u9009",inverse:"\u53cd\u9009"}},toolbox:{brush:{title:{rect:"\u77e9\u5f62\u9009\u62e9",polygon:"\u5708\u9009",lineX:"\u6a2a\u5411\u9009\u62e9",lineY:"\u7eb5\u5411\u9009\u62e9",keep:"\u4fdd\u6301\u9009\u62e9",clear:"\u6e05\u9664\u9009\u62e9"}},dataView:{title:"\u6570\u636e\u89c6\u56fe",lang:["\u6570\u636e\u89c6\u56fe","\u5173\u95ed","\u5237\u65b0"]},dataZoom:{title:{zoom:"\u533a\u57df\u7f29\u653e",back:"\u533a\u57df\u7f29\u653e\u8fd8\u539f"}},magicType:{title:{line:"\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",bar:"\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",stack:"\u5207\u6362\u4e3a\u5806\u53e0",tiled:"\u5207\u6362\u4e3a\u5e73\u94fa"}},restore:{title:"\u8fd8\u539f"},saveAsImage:{title:"\u4fdd\u5b58\u4e3a\u56fe\u7247",lang:["\u53f3\u952e\u53e6\u5b58\u4e3a\u56fe\u7247"]}},series:{typeNames:{pie:"\u997c\u56fe",bar:"\u67f1\u72b6\u56fe",line:"\u6298\u7ebf\u56fe",scatter:"\u6563\u70b9\u56fe",effectScatter:"\u6d9f\u6f2a\u6563\u70b9\u56fe",radar:"\u96f7\u8fbe\u56fe",tree:"\u6811\u56fe",treemap:"\u77e9\u5f62\u6811\u56fe",boxplot:"\u7bb1\u578b\u56fe",candlestick:"K\u7ebf\u56fe",k:"K\u7ebf\u56fe",heatmap:"\u70ed\u529b\u56fe",map:"\u5730\u56fe",parallel:"\u5e73\u884c\u5750\u6807\u56fe",lines:"\u7ebf\u56fe",graph:"\u5173\u7cfb\u56fe",sankey:"\u6851\u57fa\u56fe",funnel:"\u6f0f\u6597\u56fe",gauge:"\u4eea\u8868\u76d8\u56fe",pictorialBar:"\u8c61\u5f62\u67f1\u56fe",themeRiver:"\u4e3b\u9898\u6cb3\u6d41\u56fe",sunburst:"\u65ed\u65e5\u56fe"}},aria:{general:{withTitle:"\u8fd9\u662f\u4e00\u4e2a\u5173\u4e8e\u201c{title}\u201d\u7684\u56fe\u8868\u3002",withoutTitle:"\u8fd9\u662f\u4e00\u4e2a\u56fe\u8868\uff0c"},series:{single:{prefix:"",withName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\uff0c\u8868\u793a{seriesName}\u3002",withoutName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\u3002"},multiple:{prefix:"\u5b83\u7531{seriesCount}\u4e2a\u56fe\u8868\u7cfb\u5217\u7ec4\u6210\u3002",withName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a\u8868\u793a{seriesName}\u7684{seriesType}\uff0c",withoutName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a{seriesType}\uff0c",separator:{middle:"\uff1b",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636e\u662f\u2014\u2014",partialData:"\u5176\u4e2d\uff0c\u524d{displayCnt}\u9879\u662f\u2014\u2014",withName:"{name}\u7684\u6570\u636e\u662f{value}",withoutName:"{value}",separator:{middle:"\uff0c",end:""}}}}},KamJ:function(t,e,n){var r=n("ProS"),i=n("szbU");n("vF/C"),n("qwVE"),n("BuqR"),n("AE9C"),n("1u/T"),r.registerPreprocessor(i)},KfNM:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},Kj3r:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n("7o/Q"),i=n("D0XW");function a(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a;return function(n){return n.lift(new o(t,e))}}var o=function(){function t(e,n){_classCallCheck(this,t),this.dueTime=e,this.scheduler=n}return _createClass2(t,[{key:"call",value:function(t,e){return e.subscribe(new s(t,this.dueTime,this.scheduler))}}]),t}(),s=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i){var a;return _classCallCheck(this,n),(a=e.call(this,t)).dueTime=r,a.scheduler=i,a.debouncedSubscription=null,a.lastValue=null,a.hasValue=!1,a}return _createClass2(n,[{key:"_next",value:function(t){this.clearDebounce(),this.lastValue=t,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(l,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var t=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(t)}}},{key:"clearDebounce",value:function(){var t=this.debouncedSubscription;null!==t&&(this.remove(t),t.unsubscribe(),this.debouncedSubscription=null)}}]),n}(r.a);function l(t){t.debouncedNext()}},Kp9H:function(t,e,n){"use strict";var r=n("b5wT"),i=n("5jIi"),a=n("14Cm"),o=n("OOL/"),s=n("iBet"),l=n("1PPP"),u=n("F9We").Graph,c=n("tQ6r");function h(t,e,n){return r.map(e,(function(e){return s(t,e,n)}))}function f(t,e){var n=new u;r.forEach(t,(function(t){var i=t.graph().root,a=o(t,i,n,e);r.forEach(a.vs,(function(e,n){t.node(e).order=n})),l(t,n,a.vs)}))}function d(t,e){r.forEach(e,(function(e){r.forEach(e,(function(e,n){t.node(e).order=n}))}))}t.exports=function(t){var e=c.maxRank(t),n=h(t,r.range(1,e+1),"inEdges"),o=h(t,r.range(e-1,-1,-1),"outEdges"),s=i(t);d(t,s);for(var l,u=Number.POSITIVE_INFINITY,p=0,g=0;g<4;++p,++g){f(p%2?n:o,p%4>=2),s=c.buildLayerMatrix(t);var v=a(t,s);v1&&o.sort((function(t,e){var r=t.x-n.x,i=t.y-n.y,a=Math.sqrt(r*r+i*i),o=e.x-n.x,s=e.y-n.y,l=Math.sqrt(o*o+s*s);return a=200){var g=e?null:s(t);if(g)return l(g);f=!1,c=o,p=new r}else p=e?[]:d;t:for(;++u1?n[a-1]:void 0,s=a>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(a--,o):void 0,s&&i(n[0],n[1],s)&&(o=a<3?void 0:o,a=1),e=Object(e);++r"']/g,z=RegExp(R.source),F=RegExp(N.source),B=/<%-([\s\S]+?)%>/g,V=/<%([\s\S]+?)%>/g,j=/<%=([\s\S]+?)%>/g,Y=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,H=/^\w*$/,U=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,G=/[\\^$.*+?()[\]{}|]/g,q=RegExp(G.source),W=/^\s+|\s+$/g,Z=/^\s+/,$=/\s+$/,X=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,K=/\{\n\/\* \[wrapped with (.+)\] \*/,Q=/,? & /,J=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,tt=/\\(\\)?/g,et=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,nt=/\w*$/,rt=/^[-+]0x[0-9a-f]+$/i,it=/^0b[01]+$/i,at=/^\[object .+?Constructor\]$/,ot=/^0o[0-7]+$/i,st=/^(?:0|[1-9]\d*)$/,lt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,ut=/($^)/,ct=/['\n\r\u2028\u2029\\]/g,ht="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ft="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dt="["+ft+"]",pt="["+ht+"]",gt="\\d+",vt="[a-z\\xdf-\\xf6\\xf8-\\xff]",mt="[^\\ud800-\\udfff"+ft+gt+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",yt="\\ud83c[\\udffb-\\udfff]",_t="[^\\ud800-\\udfff]",bt="(?:\\ud83c[\\udde6-\\uddff]){2}",xt="[\\ud800-\\udbff][\\udc00-\\udfff]",wt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",kt="(?:"+vt+"|"+mt+")",St="(?:"+wt+"|"+mt+")",Ct="(?:"+pt+"|"+yt+")?",At="[\\ufe0e\\ufe0f]?"+Ct+"(?:\\u200d(?:"+[_t,bt,xt].join("|")+")[\\ufe0e\\ufe0f]?"+Ct+")*",Tt="(?:"+["[\\u2700-\\u27bf]",bt,xt].join("|")+")"+At,Et="(?:"+[_t+pt+"?",pt,bt,xt,"[\\ud800-\\udfff]"].join("|")+")",Mt=RegExp("['\u2019]","g"),It=RegExp(pt,"g"),Dt=RegExp(yt+"(?="+yt+")|"+Et+At,"g"),Ot=RegExp([wt+"?"+vt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[dt,wt,"$"].join("|")+")",St+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[dt,wt+kt,"$"].join("|")+")",wt+"?"+kt+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",wt+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",gt,Tt].join("|"),"g"),Pt=RegExp("[\\u200d\\ud800-\\udfff"+ht+"\\ufe0e\\ufe0f]"),Lt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Rt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Nt=-1,zt={};zt[S]=zt[C]=zt[A]=zt[T]=zt[E]=zt[M]=zt["[object Uint8ClampedArray]"]=zt[I]=zt[D]=!0,zt[s]=zt[l]=zt[w]=zt[u]=zt[k]=zt[c]=zt[h]=zt[f]=zt[p]=zt[g]=zt[v]=zt[m]=zt[y]=zt[_]=zt[x]=!1;var Ft={};Ft[s]=Ft[l]=Ft[w]=Ft[k]=Ft[u]=Ft[c]=Ft[S]=Ft[C]=Ft[A]=Ft[T]=Ft[E]=Ft[p]=Ft[g]=Ft[v]=Ft[m]=Ft[y]=Ft[_]=Ft[b]=Ft[M]=Ft["[object Uint8ClampedArray]"]=Ft[I]=Ft[D]=!0,Ft[h]=Ft[f]=Ft[x]=!1;var Bt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Vt=parseFloat,jt=parseInt,Yt="object"==typeof global&&global&&global.Object===Object&&global,Ht="object"==typeof self&&self&&self.Object===Object&&self,Ut=Yt||Ht||Function("return this")(),Gt=e&&!e.nodeType&&e,qt=Gt&&"object"==typeof t&&t&&!t.nodeType&&t,Wt=qt&&qt.exports===Gt,Zt=Wt&&Yt.process,$t=function(){try{return qt&&qt.require&&qt.require("util").types||Zt&&Zt.binding&&Zt.binding("util")}catch(t){}}(),Xt=$t&&$t.isArrayBuffer,Kt=$t&&$t.isDate,Qt=$t&&$t.isMap,Jt=$t&&$t.isRegExp,te=$t&&$t.isSet,ee=$t&&$t.isTypedArray;function ne(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function re(t,e,n,r){for(var i=-1,a=null==t?0:t.length;++i-1}function ue(t,e,n){for(var r=-1,i=null==t?0:t.length;++r-1;);return n}function De(t,e){for(var n=t.length;n--&&ye(e,t[n],0)>-1;);return n}function Oe(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var Pe=ke({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),Le=ke({"&":"&","<":"<",">":">",'"':""","'":"'"});function Re(t){return"\\"+Bt[t]}function Ne(t){return Pt.test(t)}function ze(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function Fe(t,e){return function(n){return t(e(n))}}function Be(t,e){for(var n=-1,r=t.length,i=0,o=[];++n",""":'"',"'":"'"}),Ge=function t(e){var n,r=(e=null==e?Ut:Ge.defaults(Ut.Object(),e,Ge.pick(Ut,Rt))).Array,ht=e.Date,ft=e.Error,dt=e.Function,pt=e.Math,gt=e.Object,vt=e.RegExp,mt=e.String,yt=e.TypeError,_t=r.prototype,bt=gt.prototype,xt=e["__core-js_shared__"],wt=dt.prototype.toString,kt=bt.hasOwnProperty,St=0,Ct=(n=/[^.]+$/.exec(xt&&xt.keys&&xt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",At=bt.toString,Tt=wt.call(gt),Et=Ut._,Dt=vt("^"+wt.call(kt).replace(G,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Pt=Wt?e.Buffer:void 0,Bt=e.Symbol,Yt=e.Uint8Array,Ht=Pt?Pt.allocUnsafe:void 0,Gt=Fe(gt.getPrototypeOf,gt),qt=gt.create,Zt=bt.propertyIsEnumerable,$t=_t.splice,ge=Bt?Bt.isConcatSpreadable:void 0,ke=Bt?Bt.iterator:void 0,qe=Bt?Bt.toStringTag:void 0,We=function(){try{var t=Ki(gt,"defineProperty");return t({},"",{}),t}catch(e){}}(),Ze=e.clearTimeout!==Ut.clearTimeout&&e.clearTimeout,$e=ht&&ht.now!==Ut.Date.now&&ht.now,Xe=e.setTimeout!==Ut.setTimeout&&e.setTimeout,Ke=pt.ceil,Qe=pt.floor,Je=gt.getOwnPropertySymbols,tn=Pt?Pt.isBuffer:void 0,en=e.isFinite,nn=_t.join,rn=Fe(gt.keys,gt),an=pt.max,on=pt.min,sn=ht.now,ln=e.parseInt,un=pt.random,cn=_t.reverse,hn=Ki(e,"DataView"),fn=Ki(e,"Map"),dn=Ki(e,"Promise"),pn=Ki(e,"Set"),gn=Ki(e,"WeakMap"),vn=Ki(gt,"create"),mn=gn&&new gn,yn={},_n=Aa(hn),bn=Aa(fn),xn=Aa(dn),wn=Aa(pn),kn=Aa(gn),Sn=Bt?Bt.prototype:void 0,Cn=Sn?Sn.valueOf:void 0,An=Sn?Sn.toString:void 0;function Tn(t){if(Uo(t)&&!Po(t)&&!(t instanceof Dn)){if(t instanceof In)return t;if(kt.call(t,"__wrapped__"))return Ta(t)}return new In(t)}var En=function(){function t(){}return function(e){if(!Ho(e))return{};if(qt)return qt(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function Mn(){}function In(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}function Dn(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}function On(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e=e?t:e)),t}function $n(t,e,n,r,i,a){var o,l=1&e,h=2&e,x=4&e;if(n&&(o=i?n(t,r,i,a):n(t)),void 0!==o)return o;if(!Ho(t))return t;var O=Po(t);if(O){if(o=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&kt.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(t),!l)return gi(t,o)}else{var P=ta(t),L=P==f||P==d;if(zo(t))return ui(t,l);if(P==v||P==s||L&&!i){if(o=h||L?{}:na(t),!l)return h?function(t,e){return vi(t,Ji(t),e)}(t,function(t,e){return t&&vi(e,xs(e),t)}(o,t)):function(t,e){return vi(t,Qi(t),e)}(t,Gn(o,t))}else{if(!Ft[P])return i?t:{};o=function(t,e,n){var r=t.constructor;switch(e){case w:return ci(t);case u:case c:return new r(+t);case k:return function(t,e){var n=e?ci(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case S:case C:case A:case T:case E:case M:case"[object Uint8ClampedArray]":case I:case D:return hi(t,n);case p:return new r;case g:case _:return new r(t);case m:return function(t){var e=new t.constructor(t.source,nt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case y:return new r;case b:return Cn?gt(Cn.call(t)):{}}}(t,P,l)}}a||(a=new Nn);var R=a.get(t);if(R)return R;a.set(t,o),$o(t)?t.forEach((function(r){o.add($n(r,e,n,r,t,a))})):Go(t)&&t.forEach((function(r,i){o.set(i,$n(r,e,n,i,t,a))}));var N=O?void 0:(x?h?Ui:Hi:h?xs:bs)(t);return ie(N||t,(function(r,i){N&&(r=t[i=r]),Yn(o,i,$n(r,e,n,i,t,a))})),o}function Xn(t,e,n){var r=n.length;if(null==t)return!r;for(t=gt(t);r--;){var i=n[r],a=t[i];if(void 0===a&&!(i in t)||!(0,e[i])(a))return!1}return!0}function Kn(t,e,n){if("function"!=typeof t)throw new yt(i);return ma((function(){t.apply(void 0,n)}),e)}function Qn(t,e,n,r){var i=-1,a=le,o=!0,s=t.length,l=[],u=e.length;if(!s)return l;n&&(e=ce(e,Te(n))),r?(a=ue,o=!1):e.length>=200&&(a=Me,o=!1,e=new Rn(e));t:for(;++i-1},Pn.prototype.set=function(t,e){var n=this.__data__,r=Hn(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Ln.prototype.clear=function(){this.size=0,this.__data__={hash:new On,map:new(fn||Pn),string:new On}},Ln.prototype.delete=function(t){var e=$i(this,t).delete(t);return this.size-=e?1:0,e},Ln.prototype.get=function(t){return $i(this,t).get(t)},Ln.prototype.has=function(t){return $i(this,t).has(t)},Ln.prototype.set=function(t,e){var n=$i(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Rn.prototype.add=Rn.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Rn.prototype.has=function(t){return this.__data__.has(t)},Nn.prototype.clear=function(){this.__data__=new Pn,this.size=0},Nn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Nn.prototype.get=function(t){return this.__data__.get(t)},Nn.prototype.has=function(t){return this.__data__.has(t)},Nn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Pn){var r=n.__data__;if(!fn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Ln(r)}return n.set(t,e),this.size=n.size,this};var Jn=_i(sr),tr=_i(lr,!0);function er(t,e){var n=!0;return Jn(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function nr(t,e,n){for(var r=-1,i=t.length;++r0&&n(s)?e>1?ir(s,e-1,n,r,i):he(i,s):r||(i[i.length]=s)}return i}var ar=bi(),or=bi(!0);function sr(t,e){return t&&ar(t,e,bs)}function lr(t,e){return t&&or(t,e,bs)}function ur(t,e){return se(e,(function(e){return Vo(t[e])}))}function cr(t,e){for(var n=0,r=(e=ai(e,t)).length;null!=t&&ne}function pr(t,e){return null!=t&&kt.call(t,e)}function gr(t,e){return null!=t&&e in gt(t)}function vr(t,e,n){for(var i=n?ue:le,a=t[0].length,o=t.length,s=o,l=r(o),u=1/0,c=[];s--;){var h=t[s];s&&e&&(h=ce(h,Te(e))),u=on(h.length,u),l[s]=!n&&(e||a>=120&&h.length>=120)?new Rn(s&&h):void 0}h=t[0];var f=-1,d=l[0];t:for(;++f=s?l:l*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}));r--;)t[r]=t[r].value;return t}(Cr(t,(function(t,n,i){return{criteria:ce(e,(function(e){return e(t)})),index:++r,value:t}})))}function Dr(t,e,n){for(var r=-1,i=e.length,a={};++r-1;)s!==t&&$t.call(s,l,1),$t.call(t,l,1);return t}function Pr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==a){var a=i;ia(i)?$t.call(t,i,1):Kr(t,i)}}return t}function Lr(t,e){return t+Qe(un()*(e-t+1))}function Rr(t,e){var n="";if(!t||e<1||e>9007199254740991)return n;do{e%2&&(n+=t),(e=Qe(e/2))&&(t+=t)}while(e);return n}function Nr(t,e){return ya(fa(t,e,qs),t+"")}function zr(t){return Fn(Ms(t))}function Fr(t,e){var n=Ms(t);return xa(n,Zn(e,0,n.length))}function Br(t,e,n,r){if(!Ho(t))return t;for(var i=-1,a=(e=ai(e,t)).length,o=a-1,s=t;null!=s&&++ia?0:a+e),(n=n>a?a:n)<0&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;for(var o=r(a);++i>>1,o=t[a];null!==o&&!Ko(o)&&(n?o<=e:o=200){var u=e?null:Ri(t);if(u)return Ve(u);o=!1,i=Me,l=new Rn}else l=e?[]:s;t:for(;++r=r?t:Hr(t,e,n)}var li=Ze||function(t){return Ut.clearTimeout(t)};function ui(t,e){if(e)return t.slice();var n=t.length,r=Ht?Ht(n):new t.constructor(n);return t.copy(r),r}function ci(t){var e=new t.constructor(t.byteLength);return new Yt(e).set(new Yt(t)),e}function hi(t,e){var n=e?ci(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function fi(t,e){if(t!==e){var n=void 0!==t,r=null===t,i=t==t,a=Ko(t),o=void 0!==e,s=null===e,l=e==e,u=Ko(e);if(!s&&!u&&!a&&t>e||a&&o&&l&&!s&&!u||r&&o&&l||!n&&l||!i)return 1;if(!r&&!a&&!u&&t1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,o&&aa(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),e=gt(e);++r-1?i[a?e[o]:o]:void 0}}function Ci(t){return Yi((function(e){var n=e.length,r=n,a=In.prototype.thru;for(t&&e.reverse();r--;){var o=e[r];if("function"!=typeof o)throw new yt(i);if(a&&!s&&"wrapper"==qi(o))var s=new In([],!0)}for(r=s?r:n;++r1&&_.reverse(),h&&us))return!1;var u=a.get(t);if(u&&a.get(e))return u==e;var c=-1,h=!0,f=2&n?new Rn:void 0;for(a.set(t,e),a.set(e,t);++c-1&&t%1==0&&t1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(X,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return ie(o,(function(n){var r="_."+n[0];e&n[1]&&!le(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(K);return e?e[1].split(Q):[]}(r),n)))}function ba(t){var e=0,n=0;return function(){var r=sn(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function xa(t,e){var n=-1,r=t.length,i=r-1;for(e=void 0===e?r:e;++n1?t[e-1]:void 0;return n="function"==typeof n?(t.pop(),n):void 0,Wa(t,n)}));function to(t){var e=Tn(t);return e.__chain__=!0,e}function eo(t,e){return e(t)}var no=Yi((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,i=function(e){return Wn(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Dn&&ia(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:eo,args:[i],thisArg:void 0}),new In(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(void 0),t}))):this.thru(i)})),ro=mi((function(t,e,n){kt.call(t,n)?++t[n]:qn(t,n,1)})),io=Si(Da),ao=Si(Oa);function oo(t,e){return(Po(t)?ie:Jn)(t,Zi(e,3))}function so(t,e){return(Po(t)?ae:tr)(t,Zi(e,3))}var lo=mi((function(t,e,n){kt.call(t,n)?t[n].push(e):qn(t,n,[e])})),uo=Nr((function(t,e,n){var i=-1,a="function"==typeof e,o=Ro(t)?r(t.length):[];return Jn(t,(function(t){o[++i]=a?ne(e,t,n):mr(t,e,n)})),o})),co=mi((function(t,e,n){qn(t,n,e)}));function ho(t,e){return(Po(t)?ce:Cr)(t,Zi(e,3))}var fo=mi((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]})),po=Nr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&aa(t,e[0],e[1])?e=[]:n>2&&aa(e[0],e[1],e[2])&&(e=[e[0]]),Ir(t,ir(e,1),[])})),go=$e||function(){return Ut.Date.now()};function vo(t,e,n){return e=n?void 0:e,zi(t,128,void 0,void 0,void 0,void 0,e=t&&null==e?t.length:e)}function mo(t,e){var n;if("function"!=typeof e)throw new yt(i);return t=rs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=void 0),n}}var yo=Nr((function(t,e,n){var r=1;if(n.length){var i=Be(n,Wi(yo));r|=32}return zi(t,r,e,n,i)})),_o=Nr((function(t,e,n){var r=3;if(n.length){var i=Be(n,Wi(_o));r|=32}return zi(e,r,t,n,i)}));function bo(t,e,n){var r,a,o,s,l,u,c=0,h=!1,f=!1,d=!0;if("function"!=typeof t)throw new yt(i);function p(e){var n=r,i=a;return r=a=void 0,c=e,s=t.apply(i,n)}function g(t){return c=t,l=ma(m,e),h?p(t):s}function v(t){var n=t-u;return void 0===u||n>=e||n<0||f&&t-c>=o}function m(){var t=go();if(v(t))return y(t);l=ma(m,function(t){var n=e-(t-u);return f?on(n,o-(t-c)):n}(t))}function y(t){return l=void 0,d&&r?p(t):(r=a=void 0,s)}function _(){var t=go(),n=v(t);if(r=arguments,a=this,u=t,n){if(void 0===l)return g(u);if(f)return li(l),l=ma(m,e),p(u)}return void 0===l&&(l=ma(m,e)),s}return e=as(e)||0,Ho(n)&&(h=!!n.leading,o=(f="maxWait"in n)?an(as(n.maxWait)||0,e):o,d="trailing"in n?!!n.trailing:d),_.cancel=function(){void 0!==l&&li(l),c=0,r=u=a=l=void 0},_.flush=function(){return void 0===l?s:y(go())},_}var xo=Nr((function(t,e){return Kn(t,1,e)})),wo=Nr((function(t,e,n){return Kn(t,as(e)||0,n)}));function ko(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new yt(i);var n=function n(){var r=arguments,i=e?e.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=t.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(ko.Cache||Ln),n}function So(t){if("function"!=typeof t)throw new yt(i);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}ko.Cache=Ln;var Co=oi((function(t,e){var n=(e=1==e.length&&Po(e[0])?ce(e[0],Te(Zi())):ce(ir(e,1),Te(Zi()))).length;return Nr((function(r){for(var i=-1,a=on(r.length,n);++i=e})),Oo=yr(function(){return arguments}())?yr:function(t){return Uo(t)&&kt.call(t,"callee")&&!Zt.call(t,"callee")},Po=r.isArray,Lo=Xt?Te(Xt):function(t){return Uo(t)&&fr(t)==w};function Ro(t){return null!=t&&Yo(t.length)&&!Vo(t)}function No(t){return Uo(t)&&Ro(t)}var zo=tn||al,Fo=Kt?Te(Kt):function(t){return Uo(t)&&fr(t)==c};function Bo(t){if(!Uo(t))return!1;var e=fr(t);return e==h||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!Wo(t)}function Vo(t){if(!Ho(t))return!1;var e=fr(t);return e==f||e==d||"[object AsyncFunction]"==e||"[object Proxy]"==e}function jo(t){return"number"==typeof t&&t==rs(t)}function Yo(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Ho(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Uo(t){return null!=t&&"object"==typeof t}var Go=Qt?Te(Qt):function(t){return Uo(t)&&ta(t)==p};function qo(t){return"number"==typeof t||Uo(t)&&fr(t)==g}function Wo(t){if(!Uo(t)||fr(t)!=v)return!1;var e=Gt(t);if(null===e)return!0;var n=kt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&wt.call(n)==Tt}var Zo=Jt?Te(Jt):function(t){return Uo(t)&&fr(t)==m},$o=te?Te(te):function(t){return Uo(t)&&ta(t)==y};function Xo(t){return"string"==typeof t||!Po(t)&&Uo(t)&&fr(t)==_}function Ko(t){return"symbol"==typeof t||Uo(t)&&fr(t)==b}var Qo=ee?Te(ee):function(t){return Uo(t)&&Yo(t.length)&&!!zt[fr(t)]},Jo=Oi(Sr),ts=Oi((function(t,e){return t<=e}));function es(t){if(!t)return[];if(Ro(t))return Xo(t)?He(t):gi(t);if(ke&&t[ke])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[ke]());var e=ta(t);return(e==p?ze:e==y?Ve:Ms)(t)}function ns(t){return t?(t=as(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function rs(t){var e=ns(t),n=e%1;return e==e?n?e-n:e:0}function is(t){return t?Zn(rs(t),0,4294967295):0}function as(t){if("number"==typeof t)return t;if(Ko(t))return NaN;if(Ho(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Ho(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(W,"");var n=it.test(t);return n||ot.test(t)?jt(t.slice(2),n?2:8):rt.test(t)?NaN:+t}function os(t){return vi(t,xs(t))}function ss(t){return null==t?"":$r(t)}var ls=yi((function(t,e){if(ua(e)||Ro(e))vi(e,bs(e),t);else for(var n in e)kt.call(e,n)&&Yn(t,n,e[n])})),us=yi((function(t,e){vi(e,xs(e),t)})),cs=yi((function(t,e,n,r){vi(e,xs(e),t,r)})),hs=yi((function(t,e,n,r){vi(e,bs(e),t,r)})),fs=Yi(Wn),ds=Nr((function(t,e){t=gt(t);var n=-1,r=e.length,i=r>2?e[2]:void 0;for(i&&aa(e[0],e[1],i)&&(r=1);++n1),e})),vi(t,Ui(t),n),r&&(n=$n(n,7,Vi));for(var i=e.length;i--;)Kr(n,e[i]);return n})),Cs=Yi((function(t,e){return null==t?{}:function(t,e){return Dr(t,e,(function(e,n){return vs(t,n)}))}(t,e)}));function As(t,e){if(null==t)return{};var n=ce(Ui(t),(function(t){return[t]}));return e=Zi(e),Dr(t,n,(function(t,n){return e(t,n[0])}))}var Ts=Ni(bs),Es=Ni(xs);function Ms(t){return null==t?[]:Ee(t,bs(t))}var Is=wi((function(t,e,n){return e=e.toLowerCase(),t+(n?Ds(e):e)}));function Ds(t){return Bs(ss(t).toLowerCase())}function Os(t){return(t=ss(t))&&t.replace(lt,Pe).replace(It,"")}var Ps=wi((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Ls=wi((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Rs=xi("toLowerCase"),Ns=wi((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()})),zs=wi((function(t,e,n){return t+(n?" ":"")+Bs(e)})),Fs=wi((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Bs=xi("toUpperCase");function Vs(t,e,n){return t=ss(t),void 0===(e=n?void 0:e)?function(t){return Lt.test(t)}(t)?function(t){return t.match(Ot)||[]}(t):function(t){return t.match(J)||[]}(t):t.match(e)||[]}var js=Nr((function(t,e){try{return ne(t,void 0,e)}catch(n){return Bo(n)?n:new ft(n)}})),Ys=Yi((function(t,e){return ie(e,(function(e){e=Ca(e),qn(t,e,yo(t[e],t))})),t}));function Hs(t){return function(){return t}}var Us=Ci(),Gs=Ci(!0);function qs(t){return t}function Ws(t){return wr("function"==typeof t?t:$n(t,1))}var Zs=Nr((function(t,e){return function(n){return mr(n,t,e)}})),$s=Nr((function(t,e){return function(n){return mr(t,n,e)}}));function Xs(t,e,n){var r=bs(e),i=ur(e,r);null!=n||Ho(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=ur(e,bs(e)));var a=!(Ho(n)&&"chain"in n&&!n.chain),o=Vo(t);return ie(i,(function(n){var r=e[n];t[n]=r,o&&(t.prototype[n]=function(){var e=this.__chain__;if(a||e){var n=t(this.__wrapped__),i=n.__actions__=gi(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,he([this.value()],arguments))})})),t}function Ks(){}var Qs=Mi(ce),Js=Mi(oe),tl=Mi(pe);function el(t){return oa(t)?we(Ca(t)):function(t){return function(e){return cr(e,t)}}(t)}var nl=Di(),rl=Di(!0);function il(){return[]}function al(){return!1}var ol,sl=Ei((function(t,e){return t+e}),0),ll=Li("ceil"),ul=Ei((function(t,e){return t/e}),1),cl=Li("floor"),hl=Ei((function(t,e){return t*e}),1),fl=Li("round"),dl=Ei((function(t,e){return t-e}),0);return Tn.after=function(t,e){if("function"!=typeof e)throw new yt(i);return t=rs(t),function(){if(--t<1)return e.apply(this,arguments)}},Tn.ary=vo,Tn.assign=ls,Tn.assignIn=us,Tn.assignInWith=cs,Tn.assignWith=hs,Tn.at=fs,Tn.before=mo,Tn.bind=yo,Tn.bindAll=Ys,Tn.bindKey=_o,Tn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Po(t)?t:[t]},Tn.chain=to,Tn.chunk=function(t,e,n){e=(n?aa(t,e,n):void 0===e)?1:an(rs(e),0);var i=null==t?0:t.length;if(!i||e<1)return[];for(var a=0,o=0,s=r(Ke(i/e));ai?0:i+n),(r=void 0===r||r>i?i:rs(r))<0&&(r+=i),r=n>r?0:is(r);n>>0)?(t=ss(t))&&("string"==typeof e||null!=e&&!Zo(e))&&!(e=$r(e))&&Ne(t)?si(He(t),0,n):t.split(e,n):[]},Tn.spread=function(t,e){if("function"!=typeof t)throw new yt(i);return e=null==e?0:an(rs(e),0),Nr((function(n){var r=n[e],i=si(n,0,e);return r&&he(i,r),ne(t,this,i)}))},Tn.tail=function(t){var e=null==t?0:t.length;return e?Hr(t,1,e):[]},Tn.take=function(t,e,n){return t&&t.length?Hr(t,0,(e=n||void 0===e?1:rs(e))<0?0:e):[]},Tn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?Hr(t,(e=r-(e=n||void 0===e?1:rs(e)))<0?0:e,r):[]},Tn.takeRightWhile=function(t,e){return t&&t.length?Jr(t,Zi(e,3),!1,!0):[]},Tn.takeWhile=function(t,e){return t&&t.length?Jr(t,Zi(e,3)):[]},Tn.tap=function(t,e){return e(t),t},Tn.throttle=function(t,e,n){var r=!0,a=!0;if("function"!=typeof t)throw new yt(i);return Ho(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),bo(t,e,{leading:r,maxWait:e,trailing:a})},Tn.thru=eo,Tn.toArray=es,Tn.toPairs=Ts,Tn.toPairsIn=Es,Tn.toPath=function(t){return Po(t)?ce(t,Ca):Ko(t)?[t]:gi(Sa(ss(t)))},Tn.toPlainObject=os,Tn.transform=function(t,e,n){var r=Po(t),i=r||zo(t)||Qo(t);if(e=Zi(e,4),null==n){var a=t&&t.constructor;n=i?r?new a:[]:Ho(t)&&Vo(a)?En(Gt(t)):{}}return(i?ie:sr)(t,(function(t,r,i){return e(n,t,r,i)})),n},Tn.unary=function(t){return vo(t,1)},Tn.union=Ha,Tn.unionBy=Ua,Tn.unionWith=Ga,Tn.uniq=function(t){return t&&t.length?Xr(t):[]},Tn.uniqBy=function(t,e){return t&&t.length?Xr(t,Zi(e,2)):[]},Tn.uniqWith=function(t,e){return e="function"==typeof e?e:void 0,t&&t.length?Xr(t,void 0,e):[]},Tn.unset=function(t,e){return null==t||Kr(t,e)},Tn.unzip=qa,Tn.unzipWith=Wa,Tn.update=function(t,e,n){return null==t?t:Qr(t,e,ii(n))},Tn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:void 0,null==t?t:Qr(t,e,ii(n),r)},Tn.values=Ms,Tn.valuesIn=function(t){return null==t?[]:Ee(t,xs(t))},Tn.without=Za,Tn.words=Vs,Tn.wrap=function(t,e){return Ao(ii(e),t)},Tn.xor=$a,Tn.xorBy=Xa,Tn.xorWith=Ka,Tn.zip=Qa,Tn.zipObject=function(t,e){return ni(t||[],e||[],Yn)},Tn.zipObjectDeep=function(t,e){return ni(t||[],e||[],Br)},Tn.zipWith=Ja,Tn.entries=Ts,Tn.entriesIn=Es,Tn.extend=us,Tn.extendWith=cs,Xs(Tn,Tn),Tn.add=sl,Tn.attempt=js,Tn.camelCase=Is,Tn.capitalize=Ds,Tn.ceil=ll,Tn.clamp=function(t,e,n){return void 0===n&&(n=e,e=void 0),void 0!==n&&(n=(n=as(n))==n?n:0),void 0!==e&&(e=(e=as(e))==e?e:0),Zn(as(t),e,n)},Tn.clone=function(t){return $n(t,4)},Tn.cloneDeep=function(t){return $n(t,5)},Tn.cloneDeepWith=function(t,e){return $n(t,5,e="function"==typeof e?e:void 0)},Tn.cloneWith=function(t,e){return $n(t,4,e="function"==typeof e?e:void 0)},Tn.conformsTo=function(t,e){return null==e||Xn(t,e,bs(e))},Tn.deburr=Os,Tn.defaultTo=function(t,e){return null==t||t!=t?e:t},Tn.divide=ul,Tn.endsWith=function(t,e,n){t=ss(t),e=$r(e);var r=t.length,i=n=void 0===n?r:Zn(rs(n),0,r);return(n-=e.length)>=0&&t.slice(n,i)==e},Tn.eq=Mo,Tn.escape=function(t){return(t=ss(t))&&F.test(t)?t.replace(N,Le):t},Tn.escapeRegExp=function(t){return(t=ss(t))&&q.test(t)?t.replace(G,"\\$&"):t},Tn.every=function(t,e,n){var r=Po(t)?oe:er;return n&&aa(t,e,n)&&(e=void 0),r(t,Zi(e,3))},Tn.find=io,Tn.findIndex=Da,Tn.findKey=function(t,e){return ve(t,Zi(e,3),sr)},Tn.findLast=ao,Tn.findLastIndex=Oa,Tn.findLastKey=function(t,e){return ve(t,Zi(e,3),lr)},Tn.floor=cl,Tn.forEach=oo,Tn.forEachRight=so,Tn.forIn=function(t,e){return null==t?t:ar(t,Zi(e,3),xs)},Tn.forInRight=function(t,e){return null==t?t:or(t,Zi(e,3),xs)},Tn.forOwn=function(t,e){return t&&sr(t,Zi(e,3))},Tn.forOwnRight=function(t,e){return t&&lr(t,Zi(e,3))},Tn.get=gs,Tn.gt=Io,Tn.gte=Do,Tn.has=function(t,e){return null!=t&&ea(t,e,pr)},Tn.hasIn=vs,Tn.head=La,Tn.identity=qs,Tn.includes=function(t,e,n,r){t=Ro(t)?t:Ms(t),n=n&&!r?rs(n):0;var i=t.length;return n<0&&(n=an(i+n,0)),Xo(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&ye(t,e,n)>-1},Tn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:rs(n);return i<0&&(i=an(r+i,0)),ye(t,e,i)},Tn.inRange=function(t,e,n){return e=ns(e),void 0===n?(n=e,e=0):n=ns(n),function(t,e,n){return t>=on(e,n)&&t=-9007199254740991&&t<=9007199254740991},Tn.isSet=$o,Tn.isString=Xo,Tn.isSymbol=Ko,Tn.isTypedArray=Qo,Tn.isUndefined=function(t){return void 0===t},Tn.isWeakMap=function(t){return Uo(t)&&ta(t)==x},Tn.isWeakSet=function(t){return Uo(t)&&"[object WeakSet]"==fr(t)},Tn.join=function(t,e){return null==t?"":nn.call(t,e)},Tn.kebabCase=Ps,Tn.last=Fa,Tn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=r;return void 0!==n&&(i=(i=rs(n))<0?an(r+i,0):on(i,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,i):me(t,be,i,!0)},Tn.lowerCase=Ls,Tn.lowerFirst=Rs,Tn.lt=Jo,Tn.lte=ts,Tn.max=function(t){return t&&t.length?nr(t,qs,dr):void 0},Tn.maxBy=function(t,e){return t&&t.length?nr(t,Zi(e,2),dr):void 0},Tn.mean=function(t){return xe(t,qs)},Tn.meanBy=function(t,e){return xe(t,Zi(e,2))},Tn.min=function(t){return t&&t.length?nr(t,qs,Sr):void 0},Tn.minBy=function(t,e){return t&&t.length?nr(t,Zi(e,2),Sr):void 0},Tn.stubArray=il,Tn.stubFalse=al,Tn.stubObject=function(){return{}},Tn.stubString=function(){return""},Tn.stubTrue=function(){return!0},Tn.multiply=hl,Tn.nth=function(t,e){return t&&t.length?Mr(t,rs(e)):void 0},Tn.noConflict=function(){return Ut._===this&&(Ut._=Et),this},Tn.noop=Ks,Tn.now=go,Tn.pad=function(t,e,n){t=ss(t);var r=(e=rs(e))?Ye(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Ii(Qe(i),n)+t+Ii(Ke(i),n)},Tn.padEnd=function(t,e,n){t=ss(t);var r=(e=rs(e))?Ye(t):0;return e&&re){var r=t;t=e,e=r}if(n||t%1||e%1){var i=un();return on(t+i*(e-t+Vt("1e-"+((i+"").length-1))),e)}return Lr(t,e)},Tn.reduce=function(t,e,n){var r=Po(t)?fe:Se,i=arguments.length<3;return r(t,Zi(e,4),n,i,Jn)},Tn.reduceRight=function(t,e,n){var r=Po(t)?de:Se,i=arguments.length<3;return r(t,Zi(e,4),n,i,tr)},Tn.repeat=function(t,e,n){return e=(n?aa(t,e,n):void 0===e)?1:rs(e),Rr(ss(t),e)},Tn.replace=function(){var t=arguments,e=ss(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Tn.result=function(t,e,n){var r=-1,i=(e=ai(e,t)).length;for(i||(i=1,t=void 0);++r9007199254740991)return[];var n=4294967295,r=on(t,4294967295);t-=4294967295;for(var i=Ae(r,e=Zi(e));++n=a)return t;var s=n-Ye(r);if(s<1)return r;var l=o?si(o,0,s).join(""):t.slice(0,s);if(void 0===i)return l+r;if(o&&(s+=l.length-s),Zo(i)){if(t.slice(s).search(i)){var u,c=l;for(i.global||(i=vt(i.source,ss(nt.exec(i))+"g")),i.lastIndex=0;u=i.exec(c);)var h=u.index;l=l.slice(0,void 0===h?s:h)}}else if(t.indexOf($r(i),s)!=s){var f=l.lastIndexOf(i);f>-1&&(l=l.slice(0,f))}return l+r},Tn.unescape=function(t){return(t=ss(t))&&z.test(t)?t.replace(R,Ue):t},Tn.uniqueId=function(t){var e=++St;return ss(t)+e},Tn.upperCase=Fs,Tn.upperFirst=Bs,Tn.each=oo,Tn.eachRight=so,Tn.first=La,Xs(Tn,(ol={},sr(Tn,(function(t,e){kt.call(Tn.prototype,e)||(ol[e]=t)})),ol),{chain:!1}),Tn.VERSION="4.17.15",ie(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Tn[t].placeholder=Tn})),ie(["drop","take"],(function(t,e){Dn.prototype[t]=function(n){n=void 0===n?1:an(rs(n),0);var r=this.__filtered__&&!e?new Dn(this):this.clone();return r.__filtered__?r.__takeCount__=on(n,r.__takeCount__):r.__views__.push({size:on(n,4294967295),type:t+(r.__dir__<0?"Right":"")}),r},Dn.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),ie(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Dn.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Zi(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),ie(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Dn.prototype[t]=function(){return this[n](1).value()[0]}})),ie(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Dn.prototype[t]=function(){return this.__filtered__?new Dn(this):this[n](1)}})),Dn.prototype.compact=function(){return this.filter(qs)},Dn.prototype.find=function(t){return this.filter(t).head()},Dn.prototype.findLast=function(t){return this.reverse().find(t)},Dn.prototype.invokeMap=Nr((function(t,e){return"function"==typeof t?new Dn(this):this.map((function(n){return mr(n,t,e)}))})),Dn.prototype.reject=function(t){return this.filter(So(Zi(t)))},Dn.prototype.slice=function(t,e){t=rs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Dn(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),void 0!==e&&(n=(e=rs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Dn.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Dn.prototype.toArray=function(){return this.take(4294967295)},sr(Dn.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),i=Tn[r?"take"+("last"==e?"Right":""):e],a=r||/^find/.test(e);i&&(Tn.prototype[e]=function(){var e=this.__wrapped__,o=r?[1]:arguments,s=e instanceof Dn,l=o[0],u=s||Po(e),c=function(t){var e=i.apply(Tn,he([t],o));return r&&h?e[0]:e};u&&n&&"function"==typeof l&&1!=l.length&&(s=u=!1);var h=this.__chain__,f=!!this.__actions__.length,d=a&&!h,p=s&&!f;if(!a&&u){e=p?e:new Dn(this);var g=t.apply(e,o);return g.__actions__.push({func:eo,args:[c],thisArg:void 0}),new In(g,h)}return d&&p?t.apply(this,o):(g=this.thru(c),d?r?g.value()[0]:g.value():g)})})),ie(["pop","push","shift","sort","splice","unshift"],(function(t){var e=_t[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Tn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Po(i)?i:[],t)}return this[n]((function(n){return e.apply(Po(n)?n:[],t)}))}})),sr(Dn.prototype,(function(t,e){var n=Tn[e];if(n){var r=n.name+"";kt.call(yn,r)||(yn[r]=[]),yn[r].push({name:e,func:n})}})),yn[Ai(void 0,2).name]=[{name:"wrapper",func:void 0}],Dn.prototype.clone=function(){var t=new Dn(this.__wrapped__);return t.__actions__=gi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=gi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=gi(this.__views__),t},Dn.prototype.reverse=function(){if(this.__filtered__){var t=new Dn(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Dn.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Po(t),r=e<0,i=n?t.length:0,a=function(t,e,n){for(var r=-1,i=n.length;++r=this.__values__.length;return{done:t,value:t?void 0:this.__values__[this.__index__++]}},Tn.prototype.plant=function(t){for(var e,n=this;n instanceof Mn;){var r=Ta(n);r.__index__=0,r.__values__=void 0,e?i.__wrapped__=r:e=r;var i=r;n=n.__wrapped__}return i.__wrapped__=t,e},Tn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Dn){var e=t;return this.__actions__.length&&(e=new Dn(this)),(e=e.reverse()).__actions__.push({func:eo,args:[Ya],thisArg:void 0}),new In(e,this.__chain__)}return this.thru(Ya)},Tn.prototype.toJSON=Tn.prototype.valueOf=Tn.prototype.value=function(){return ti(this.__wrapped__,this.__actions__)},Tn.prototype.first=Tn.prototype.head,ke&&(Tn.prototype[ke]=function(){return this}),Tn}();Ut._=Ge,void 0===(r=(function(){return Ge}).call(e,n,e,t))||(t.exports=r)}).call(this)}).call(this,n("YuTi")(t))},Lw2E:function(t,e,n){var r={"./locale":"wCDk","./locale.js":"wCDk"};function i(t){var e=a(t);return n(e)}function a(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}i.keys=function(){return Object.keys(r)},i.resolve=a,t.exports=i,i.id="Lw2E"},LzGr:function(t,e,n){var r=n("ProS"),i=n("rnVJ");n("EMyp"),n("8x+h"),n("wt3j"),n("uOyE"),n("/stD"),r.registerPreprocessor(i)},M96O:function(t,e,n){var r;try{r={clone:n("uM7l"),constant:n("cvCv"),each:n("xkGU"),filter:n("k4Da"),has:n("OFL0"),isArray:n("Z0cm"),isEmpty:n("E+oP"),isFunction:n("lSCD"),isUndefined:n("TP7S"),keys:n("7GkX"),map:n("3WF5"),reduce:n("xaJk"),size:n("1iNE"),transform:n("UMpK"),union:n("v8eK"),values:n("P/G1")}}catch(i){}r||(r=window._),t.exports=r},MBQ8:function(t,e,n){var r=n("T4UG"),i=n("MwEJ"),a=r.extend({type:"series.__base_bar__",getInitialData:function(t,e){return i(this.getSource(),this,{useEncodeDefaulter:!0})},getMarkerPosition:function(t){var e=this.coordinateSystem;if(e){var n=e.dataToPoint(e.clampData(t)),r=this.getData(),i=r.getLayout("offset"),a=r.getLayout("size");return n[e.getBaseAxis().isHorizontal()?0:1]+=i+a/2,n}return[NaN,NaN]},defaultOption:{zlevel:0,z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod",itemStyle:{},emphasis:{}}});t.exports=a},MEGo:function(t,e,n){var r=n("4fz+"),i=n("Dagg"),a=n("dqUG"),o=n("2fw6"),s=n("x6Kt"),l=n("rmlV"),u=n("yxFR"),c=n("y+Vt"),h=n("h7HQ"),f=n("1Jh7"),d=n("SKnc"),p=n("K2GJ"),g=n("Fofx"),v=n("NC18").createFromString,m=n("bYtY"),y=m.isString,_=m.extend,b=m.defaults,x=m.trim,w=m.each,k=/[\s,]+/;function S(t){for(y(t)&&(t=(new DOMParser).parseFromString(t,"text/xml")),9===t.nodeType&&(t=t.firstChild);"svg"!==t.nodeName.toLowerCase()||1!==t.nodeType;)t=t.nextSibling;return t}function C(){this._defs={},this._root=null,this._isDefine=!1,this._isText=!1}C.prototype.parse=function(t,e){e=e||{};var n=S(t);if(!n)throw new Error("Illegal svg");var i=new r;this._root=i;var a=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||e.width),l=parseFloat(n.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(l)&&(l=null),D(n,i,null,!0);for(var u,c,h=n.firstChild;h;)this._parseNode(h,i),h=h.nextSibling;if(a){var f=x(a).split(k);f.length>=4&&(u={x:parseFloat(f[0]||0),y:parseFloat(f[1]||0),width:parseFloat(f[2]),height:parseFloat(f[3])})}if(u&&null!=o&&null!=l&&(c=N(u,o,l),!e.ignoreViewBox)){var d=i;(i=new r).add(d),d.scale=c.scale.slice(),d.position=c.position.slice()}return e.ignoreRootClip||null==o||null==l||i.setClipPath(new s({shape:{x:0,y:0,width:o,height:l}})),{root:i,width:o,height:l,viewBoxRect:u,viewBoxTransform:c}},C.prototype._parseNode=function(t,e){var n,r,i=t.nodeName.toLowerCase();if("defs"===i?this._isDefine=!0:"text"===i&&(this._isText=!0),this._isDefine){if(r=T[i]){var a=r.call(this,t),o=t.getAttribute("id");o&&(this._defs[o]=a)}}else(r=A[i])&&(n=r.call(this,t,e),e.add(n));for(var s=t.firstChild;s;)1===s.nodeType&&this._parseNode(s,n),3===s.nodeType&&this._isText&&this._parseText(s,n),s=s.nextSibling;"defs"===i?this._isDefine=!1:"text"===i&&(this._isText=!1)},C.prototype._parseText=function(t,e){if(1===t.nodeType){var n=t.getAttribute("dx")||0,r=t.getAttribute("dy")||0;this._textX+=parseFloat(n),this._textY+=parseFloat(r)}var i=new a({style:{text:t.textContent,transformText:!0},position:[this._textX||0,this._textY||0]});E(e,i),D(t,i,this._defs);var o=i.style.fontSize;o&&o<9&&(i.style.fontSize=9,i.scale=i.scale||[1,1],i.scale[0]*=o/9,i.scale[1]*=o/9);var s=i.getBoundingRect();return this._textX+=s.width,e.add(i),i};var A={g:function(t,e){var n=new r;return E(e,n),D(t,n,this._defs),n},rect:function(t,e){var n=new s;return E(e,n),D(t,n,this._defs),n.setShape({x:parseFloat(t.getAttribute("x")||0),y:parseFloat(t.getAttribute("y")||0),width:parseFloat(t.getAttribute("width")||0),height:parseFloat(t.getAttribute("height")||0)}),n},circle:function(t,e){var n=new o;return E(e,n),D(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),r:parseFloat(t.getAttribute("r")||0)}),n},line:function(t,e){var n=new u;return E(e,n),D(t,n,this._defs),n.setShape({x1:parseFloat(t.getAttribute("x1")||0),y1:parseFloat(t.getAttribute("y1")||0),x2:parseFloat(t.getAttribute("x2")||0),y2:parseFloat(t.getAttribute("y2")||0)}),n},ellipse:function(t,e){var n=new l;return E(e,n),D(t,n,this._defs),n.setShape({cx:parseFloat(t.getAttribute("cx")||0),cy:parseFloat(t.getAttribute("cy")||0),rx:parseFloat(t.getAttribute("rx")||0),ry:parseFloat(t.getAttribute("ry")||0)}),n},polygon:function(t,e){var n=t.getAttribute("points");n&&(n=M(n));var r=new h({shape:{points:n||[]}});return E(e,r),D(t,r,this._defs),r},polyline:function(t,e){var n=new c;E(e,n),D(t,n,this._defs);var r=t.getAttribute("points");return r&&(r=M(r)),new f({shape:{points:r||[]}})},image:function(t,e){var n=new i;return E(e,n),D(t,n,this._defs),n.setStyle({image:t.getAttribute("xlink:href"),x:t.getAttribute("x"),y:t.getAttribute("y"),width:t.getAttribute("width"),height:t.getAttribute("height")}),n},text:function(t,e){var n=t.getAttribute("x")||0,i=t.getAttribute("y")||0,a=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0;this._textX=parseFloat(n)+parseFloat(a),this._textY=parseFloat(i)+parseFloat(o);var s=new r;return E(e,s),D(t,s,this._defs),s},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var a=t.getAttribute("dx")||0,o=t.getAttribute("dy")||0,s=new r;return E(e,s),D(t,s,this._defs),this._textX+=a,this._textY+=o,s},path:function(t,e){var n=t.getAttribute("d")||"",r=v(n);return E(e,r),D(t,r,this._defs),r}},T={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||0,10),n=parseInt(t.getAttribute("y1")||0,10),r=parseInt(t.getAttribute("x2")||10,10),i=parseInt(t.getAttribute("y2")||0,10),a=new d(e,n,r,i);return function(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType){var r=n.getAttribute("offset");r=r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var i=n.getAttribute("stop-color")||"#000000";e.addColorStop(r,i)}n=n.nextSibling}}(t,a),a},radialgradient:function(t){}};function E(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),b(e.__inheritedStyle,t.__inheritedStyle))}function M(t){for(var e=x(t).split(k),n=[],r=0;r0;a-=2){var o=i[a],s=i[a-1];switch(r=r||g.create(),s){case"translate":o=x(o).split(k),g.translate(r,r,[parseFloat(o[0]),parseFloat(o[1]||0)]);break;case"scale":o=x(o).split(k),g.scale(r,r,[parseFloat(o[0]),parseFloat(o[1]||o[0])]);break;case"rotate":o=x(o).split(k),g.rotate(r,r,parseFloat(o[0]));break;case"skew":o=x(o).split(k),console.warn("Skew transform is not supported yet");break;case"matrix":o=x(o).split(k),r[0]=parseFloat(o[0]),r[1]=parseFloat(o[1]),r[2]=parseFloat(o[2]),r[3]=parseFloat(o[3]),r[4]=parseFloat(o[4]),r[5]=parseFloat(o[5])}}e.setLocalTransform(r)}}(t,e),_(i,function(t){var e=t.getAttribute("style"),n={};if(!e)return n;var r,i={};for(R.lastIndex=0;null!=(r=R.exec(e));)i[r[1]]=r[2];for(var a in I)I.hasOwnProperty(a)&&null!=i[a]&&(n[I[a]]=i[a]);return n}(t)),!r))for(var o in I)if(I.hasOwnProperty(o)){var s=t.getAttribute(o);null!=s&&(i[I[o]]=s)}var l=a?"textFill":"fill",u=a?"textStroke":"stroke";e.style=e.style||new p;var c=e.style;null!=i.fill&&c.set(l,P(i.fill,n)),null!=i.stroke&&c.set(u,P(i.stroke,n)),w(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=i[t]&&c.set("lineWidth"===t&&a?"textStrokeWidth":t,parseFloat(i[t]))})),i.textBaseline&&"auto"!==i.textBaseline||(i.textBaseline="alphabetic"),"alphabetic"===i.textBaseline&&(i.textBaseline="bottom"),"start"===i.textAlign&&(i.textAlign="left"),"end"===i.textAlign&&(i.textAlign="right"),w(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign","textBaseline"],(function(t){null!=i[t]&&c.set(t,i[t])})),i.lineDash&&(e.style.lineDash=x(i.lineDash).split(k)),c[u]&&"none"!==c[u]&&(e[u]=!0),e.__inheritedStyle=i}var O=/url\(\s*#(.*?)\)/;function P(t,e){var n=e&&t&&t.match(O);return n?e[x(n[1])]:t}var L=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.e,]*)\)/g,R=/([^\s:;]+)\s*:\s*([^:;]+)/g;function N(t,e,n){var r=Math.min(e/t.width,n/t.height);return{scale:[r,r],position:[-(t.x+t.width/2)*r+e/2,-(t.y+t.height/2)*r+n/2]}}e.parseXML=S,e.makeViewBoxTransform=N,e.parseSVG=function(t,e){return(new C).parse(t,e)}},MH26:function(t,e,n){var r=n("bYtY"),i=n("YXkt"),a=n("OELB"),o=n("kj2x"),s=n("c8qY"),l=n("iPDy"),u=n("7hqr").getStackedDimension,c=function(t,e,n,i){var a=t.getData(),s=i.type;if(!r.isArray(i)&&("min"===s||"max"===s||"average"===s||"median"===s||null!=i.xAxis||null!=i.yAxis)){var l,c;if(null!=i.yAxis||null!=i.xAxis)l=e.getAxis(null!=i.yAxis?"y":"x"),c=r.retrieve(i.yAxis,i.xAxis);else{var h=o.getAxisInfo(i,a,e,t);l=h.valueAxis;var f=u(a,h.valueDataDim);c=o.numCalculate(a,f,s)}var d="x"===l.dim?0:1,p=1-d,g=r.clone(i),v={};g.type=null,g.coord=[],v.coord=[],g.coord[p]=-1/0,v.coord[p]=1/0;var m=n.get("precision");m>=0&&"number"==typeof c&&(c=+c.toFixed(Math.min(m,20))),g.coord[d]=v.coord[d]=c,i=[g,v,{type:s,valueIndex:i.valueIndex,value:c}]}return(i=[o.dataTransform(t,i[0]),o.dataTransform(t,i[1]),r.extend({},i[2])])[2].type=i[2].type||"",r.merge(i[2],i[0]),r.merge(i[2],i[1]),i};function h(t){return!isNaN(t)&&!isFinite(t)}function f(t,e,n,r){var i=1-t,a=r.dimensions[t];return h(e[i])&&h(n[i])&&e[t]===n[t]&&r.getAxis(a).containData(e[t])}function d(t,e){if("cartesian2d"===t.type){var n=e[0].coord,r=e[1].coord;if(n&&r&&(f(1,n,r,t)||f(0,n,r,t)))return!0}return o.dataFilter(t,e[0])&&o.dataFilter(t,e[1])}function p(t,e,n,r,i){var o,s=r.coordinateSystem,l=t.getItemModel(e),u=a.parsePercent(l.get("x"),i.getWidth()),c=a.parsePercent(l.get("y"),i.getHeight());if(isNaN(u)||isNaN(c)){if(r.getMarkerPosition)o=r.getMarkerPosition(t.getValues(t.dimensions,e));else{var f=t.get((p=s.dimensions)[0],e),d=t.get(p[1],e);o=s.dataToPoint([f,d])}if("cartesian2d"===s.type){var p,g=s.getAxis("x"),v=s.getAxis("y");h(t.get((p=s.dimensions)[0],e))?o[0]=g.toGlobalCoord(g.getExtent()[n?0:1]):h(t.get(p[1],e))&&(o[1]=v.toGlobalCoord(v.getExtent()[n?0:1]))}isNaN(u)||(o[0]=u),isNaN(c)||(o[1]=c)}else o=[u,c];t.setItemLayout(e,o)}var g=l.extend({type:"markLine",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markLineModel;if(e){var r=e.getData(),i=e.__from,a=e.__to;i.each((function(e){p(i,e,!0,t,n),p(a,e,!1,t,n)})),r.each((function(t){r.setItemLayout(t,[i.getItemLayout(t),a.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},renderSeries:function(t,e,n,a){var l=t.coordinateSystem,u=t.id,h=t.getData(),f=this.markerGroupMap,g=f.get(u)||f.set(u,new s);this.group.add(g.group);var v=function(t,e,n){var a;a=t?r.map(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return r.defaults({name:t},n)})):[{name:"value",type:"float"}];var s=new i(a,n),l=new i(a,n),u=new i([],n),h=r.map(n.get("data"),r.curry(c,e,t,n));t&&(h=r.filter(h,r.curry(d,t)));var f=t?o.dimValueGetter:function(t){return t.value};return s.initData(r.map(h,(function(t){return t[0]})),null,f),l.initData(r.map(h,(function(t){return t[1]})),null,f),u.initData(r.map(h,(function(t){return t[2]}))),u.hasItemOption=!0,{from:s,to:l,line:u}}(l,t,e),m=v.from,y=v.to,_=v.line;e.__from=m,e.__to=y,e.setData(_);var b=e.get("symbol"),x=e.get("symbolSize");function w(e,n,r){var i=e.getItemModel(n);p(e,n,r,t,a),e.setItemVisual(n,{symbolSize:i.get("symbolSize")||x[r?0:1],symbol:i.get("symbol",!0)||b[r?0:1],color:i.get("itemStyle.color")||h.getVisual("color")})}r.isArray(b)||(b=[b,b]),"number"==typeof x&&(x=[x,x]),v.from.each((function(t){w(m,t,!0),w(y,t,!1)})),_.each((function(t){var e=_.getItemModel(t).get("lineStyle.color");_.setItemVisual(t,{color:e||m.getItemVisual(t,"color")}),_.setItemLayout(t,[m.getItemLayout(t),y.getItemLayout(t)]),_.setItemVisual(t,{fromSymbolSize:m.getItemVisual(t,"symbolSize"),fromSymbol:m.getItemVisual(t,"symbol"),toSymbolSize:y.getItemVisual(t,"symbolSize"),toSymbol:y.getItemVisual(t,"symbol")})})),g.updateData(_),v.line.eachItemGraphicEl((function(t,n){t.traverse((function(t){t.dataModel=e}))})),g.__keep=!0,g.group.silent=e.get("silent")||t.get("silent")}});t.exports=g},MHoB:function(t,e,n){var r=n("bYtY"),i=n("6uqw"),a=n("OELB"),o=[20,140],s=i.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(t,e){s.superApply(this,"optionUpdated",arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},resetItemSize:function(){s.superApply(this,"resetItemSize",arguments);var t=this.itemSize;"horizontal"===this._orient&&t.reverse(),(null==t[0]||isNaN(t[0]))&&(t[0]=o[0]),(null==t[1]||isNaN(t[1]))&&(t[1]=o[1])},_resetRange:function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):r.isArray(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},completeVisualOption:function(){i.prototype.completeVisualOption.apply(this,arguments),r.each(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=0)}),this)},setSelected:function(t){this.option.range=t.slice(),this._resetRange()},getSelected:function(){var t=this.getExtent(),e=a.asc((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},findTargetDataIndices:function(t){var e=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimension(i),(function(e,n){t[0]<=e&&e<=t[1]&&r.push(n)}),this),e.push({seriesId:n.id,dataIndex:r})}),this),e},getVisualMeta:function(t){var e=l(0,0,this.getExtent()),n=l(0,0,this.option.range.slice()),r=[];function i(e,n){r.push({value:e,color:t(e,n)})}for(var a=0,o=0,s=n.length,u=e.length;o=0&&this._clips.splice(e,1)},removeAnimator:function(t){for(var e=t.getClips(),n=0;n0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(o[1]-o[0])+o[0],c=Math.max(1/r.scale,0);o[0]=(o[0]-u)*c+u,o[1]=(o[1]-u)*c+u;var f=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return a(0,o,[0,100],0,f.minSpan,f.maxSpan),this._range=o,i[0]!==o[0]||i[1]!==o[1]?o:void 0}},pan:c((function(t,e,n,r,i,a){var o=h[r]([a.oldX,a.oldY],[a.newX,a.newY],e,i,n);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength})),scrollMove:c((function(t,e,n,r,i,a){return h[r]([0,0],[a.scrollDelta,a.scrollDelta],e,i,n).signal*(t[1]-t[0])*a.scrollDelta}))};function c(t){return function(e,n,r,i){var o=this._range,s=o.slice(),l=e.axisModels[0];if(l){var u=t(s,l,e,n,r,i);return a(u,s,[0,100],"all"),this._range=s,o[0]!==s[0]||o[1]!==s[1]?s:void 0}}}var h={grid:function(t,e,n,r,i){var a=n.axis,o={},s=i.model.coordinateSystem.getRect();return t=t||[0,0],"x"===a.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(t,e,n,r,i){var a=n.axis,o={},s=i.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(o.pixel=e[0]-t[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=a.inverse?-1:1),o},singleAxis:function(t,e,n,r,i){var a=n.axis,o=i.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===a.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}};t.exports=l},MrPd:function(t,e,n){var r=n("hypo"),i=n("ljhN"),a=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var o=t[e];a.call(t,e)&&i(o,n)&&(void 0!==n||e in t)||r(t,e,n)}},MvSz:function(t,e,n){var r=n("LXxW"),i=n("0ycA"),a=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols;t.exports=o?function(t){return null==t?[]:(t=Object(t),r(o(t),(function(e){return a.call(t,e)})))}:i},MwEJ:function(t,e,n){var r=n("bYtY"),i=n("YXkt"),a=n("sdST"),o=n("k9D9").SOURCE_FORMAT_ORIGINAL,s=n("L0Ub").getDimensionTypeByAxis,l=n("4NO4").getDataItemValue,u=n("IDmD"),c=n("i38C").getCoordSysInfoBySeries,h=n("7G+c"),f=n("7hqr").enableDataStack,d=n("D5nY").makeSeriesEncodeForAxisCoordSys;t.exports=function(t,e,n){n=n||{},h.isInstance(t)||(t=h.seriesDataToSource(t));var p,g=e.get("coordinateSystem"),v=u.get(g),m=c(e);m&&(p=r.map(m.coordSysDims,(function(t){var e={name:t},n=m.axisMap.get(t);if(n){var r=n.get("type");e.type=s(r)}return e}))),p||(p=v&&(v.getDimensionsInfo?v.getDimensionsInfo():v.dimensions.slice())||["x","y"]);var y,_,b=a(t,{coordDimensions:p,generateCoord:n.generateCoord,encodeDefaulter:n.useEncodeDefaulter?r.curry(d,p,e):null});m&&r.each(b,(function(t,e){var n=m.categoryAxisMap.get(t.coordDim);n&&(null==y&&(y=e),t.ordinalMeta=n.getOrdinalMeta()),null!=t.otherDims.itemName&&(_=!0)})),_||null==y||(b[y].otherDims.itemName=0);var x=f(e,b),w=new i(b,e);w.setCalculationInfo(x);var k=null!=y&&function(t){if(t.sourceFormat===o){var e=function(t){for(var e=0;e0?1:o<0?-1:0}(n,o,a,r,m),function(t,e,n,r,a,o,s,u,c,h){var f=c.valueDim,d=c.categoryDim,p=Math.abs(n[d.wh]),g=t.getItemVisual(e,"symbolSize");i.isArray(g)?g=g.slice():(null==g&&(g="100%"),g=[g,g]),g[d.index]=l(g[d.index],p),g[f.index]=l(g[f.index],r?p:Math.abs(o)),h.symbolSize=g,(h.symbolScale=[g[0]/u,g[1]/u])[f.index]*=(c.isHorizontal?-1:1)*s}(t,e,a,o,0,m.boundingLength,m.pxSign,p,r,m),function(t,e,n,r,i){var a=t.get(h)||0;a&&(d.attr({scale:e.slice(),rotation:n}),d.updateTransform(),a/=d.getLineScale(),a*=e[r.valueDim.index]),i.valueLineWidth=a}(n,m.symbolScale,f,r,m);var y=m.symbolSize,_=n.get("symbolOffset");return i.isArray(_)&&(_=[l(_[0],y[0]),l(_[1],y[1])]),function(t,e,n,r,a,o,s,c,h,f,d,p){var g=d.categoryDim,v=d.valueDim,m=p.pxSign,y=Math.max(e[v.index]+c,0),_=y;if(r){var b=Math.abs(h),x=i.retrieve(t.get("symbolMargin"),"15%")+"",w=!1;x.lastIndexOf("!")===x.length-1&&(w=!0,x=x.slice(0,x.length-1)),x=l(x,e[v.index]);var k=Math.max(y+2*x,0),S=w?0:2*x,C=u(r),A=C?r:O((b+S)/k);k=y+2*(x=(b-A*y)/2/(w?A:A-1)),S=w?0:2*x,C||"fixed"===r||(A=f?O((Math.abs(f)+S)/k):0),_=A*k-S,p.repeatTimes=A,p.symbolMargin=x}var T=m*(_/2),E=p.pathPosition=[];E[g.index]=n[g.wh]/2,E[v.index]="start"===s?T:"end"===s?h-T:h/2,o&&(E[0]+=o[0],E[1]+=o[1]);var M=p.bundlePosition=[];M[g.index]=n[g.xy],M[v.index]=n[v.xy];var I=p.barRectShape=i.extend({},n);I[v.wh]=m*Math.max(Math.abs(n[v.wh]),Math.abs(E[v.index]+T)),I[g.wh]=n[g.wh];var D=p.clipShape={};D[g.xy]=-n[g.xy],D[g.wh]=d.ecSize[g.wh],D[v.xy]=0,D[v.wh]=n[v.wh]}(n,y,a,o,0,_,c,m.valueLineWidth,m.boundingLength,m.repeatCutLength,r,m),m}function v(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function m(t){var e=t.symbolPatternSize,n=o(t.symbolType,-e/2,-e/2,e,e,t.color);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function y(t,e,n,r){var i=t.__pictorialBundle,a=n.pathPosition,o=e.valueDim,s=n.repeatTimes||0,l=0,u=n.symbolSize[e.valueDim.index]+n.valueLineWidth+2*n.symbolMargin;for(M(t,(function(t){t.__pictorialAnimationIndex=l,t.__pictorialRepeatTimes=s,l0:r<0)&&(i=s-1-t),e[o.index]=u*(i-s/2+.5)+a[o.index],{position:e,scale:n.symbolScale.slice(),rotation:n.rotation}}function d(){M(t,(function(t){t.trigger("emphasis")}))}function p(){M(t,(function(t){t.trigger("normal")}))}}function _(t,e,n,r){var i=t.__pictorialBundle,a=t.__pictorialMainPath;a?I(a,null,{position:n.pathPosition.slice(),scale:n.symbolScale.slice(),rotation:n.rotation},n,r):(a=t.__pictorialMainPath=m(n),i.add(a),I(a,{position:n.pathPosition.slice(),scale:[0,0],rotation:n.rotation},{scale:n.symbolScale.slice()},n,r),a.on("mouseover",(function(){this.trigger("emphasis")})).on("mouseout",(function(){this.trigger("normal")}))),C(a,n)}function b(t,e,n){var r=i.extend({},e.barRectShape),o=t.__pictorialBarRect;o?I(o,null,{shape:r},e,n):(o=t.__pictorialBarRect=new a.Rect({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),t.add(o))}function x(t,e,n,r){if(n.symbolClip){var o=t.__pictorialClipPath,s=i.extend({},n.clipShape),l=e.valueDim,u=n.animationModel,c=n.dataIndex;if(o)a.updateProps(o,{shape:s},u,c);else{s[l.wh]=0,o=new a.Rect({shape:s}),t.__pictorialBundle.setClipPath(o),t.__pictorialClipPath=o;var h={};h[l.wh]=n.clipShape[l.wh],a[r?"updateProps":"initProps"](o,{shape:h},u,c)}}}function w(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=k,n.isAnimationEnabled=S,n}function k(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function S(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function C(t,e){t.off("emphasis").off("normal");var n=e.symbolScale.slice();e.hoverAnimation&&t.on("emphasis",(function(){this.animateTo({scale:[1.1*n[0],1.1*n[1]]},400,"elasticOut")})).on("normal",(function(){this.animateTo({scale:n.slice()},400,"elasticOut")}))}function A(t,e,n,r){var i=new a.Group,o=new a.Group;return i.add(o),i.__pictorialBundle=o,o.attr("position",n.bundlePosition.slice()),n.symbolRepeat?y(i,e,n):_(i,0,n),b(i,n,r),x(i,e,n,r),i.__pictorialShapeStr=E(t,n),i.__pictorialSymbolMeta=n,i}function T(t,e,n,r){var o=r.__pictorialBarRect;o&&(o.style.text=null);var s=[];M(r,(function(t){s.push(t)})),r.__pictorialMainPath&&s.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),i.each(s,(function(t){a.updateProps(t,{scale:[0,0]},n,e,(function(){r.parent&&r.parent.remove(r)}))})),t.setItemGraphicEl(e,null)}function E(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function M(t,e,n){i.each(t.__pictorialBundle.children(),(function(r){r!==t.__pictorialBarRect&&e.call(n,r)}))}function I(t,e,n,r,i,o){e&&t.attr(e),r.symbolClip&&!i?n&&t.attr(n):n&&a[i?"updateProps":"initProps"](t,n,r.animationModel,r.dataIndex,o)}function D(t,e,n){var r=n.color,o=n.dataIndex,s=n.itemModel,l=s.getModel("itemStyle").getItemStyle(["color"]),u=s.getModel("emphasis.itemStyle").getItemStyle(),h=s.getShallow("cursor");M(t,(function(t){t.setColor(r),t.setStyle(i.defaults({fill:r,opacity:n.opacity},l)),a.setHoverStyle(t,u),h&&(t.cursor=h),t.z2=n.z2}));var f={},d=t.__pictorialBarRect;c(d.style,f,s,r,e.seriesModel,o,e.valueDim.posDesc[+(n.boundingLength>0)]),a.setHoverStyle(d,f)}function O(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}t.exports=p},N5BQ:function(t,e,n){var r=n("OlYY").extend({type:"dataZoom.slider",layoutMode:"box",defaultOption:{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#2f4554",width:.5,opacity:.3},areaStyle:{color:"rgba(47,69,84,0.3)",opacity:.3}},borderColor:"#ddd",fillerColor:"rgba(167,183,204,0.4)",handleIcon:"M8.2,13.6V3.9H6.3v9.7H3.1v14.9h3.3v9.7h1.8v-9.7h3.3V13.6H8.2z M9.7,24.4H4.8v-1.4h4.9V24.4z M9.7,19.1H4.8v-1.4h4.9V19.1z",handleSize:"100%",handleStyle:{color:"#a7b7cc"},labelPrecision:null,labelFormatter:null,showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#333"}}});t.exports=r},NA0q:function(t,e,n){var r=n("bYtY"),i=n("6Ic6"),a=n("TkdX"),o=n("gPAo"),s=i.extend({type:"sunburst",init:function(){},render:function(t,e,n,i){var s=this;this.seriesModel=t,this.api=n,this.ecModel=e;var l=t.getData(),u=l.tree.root,c=t.getViewRoot(),h=this.group,f=t.get("renderLabelForZeroData"),d=[];if(c.eachNode((function(t){d.push(t)})),function(n,i){function s(t){return t.getId()}function c(r,o){!function(n,r){if(f||!n||n.getValue()||(n=null),n!==u&&r!==u)if(r&&r.piece)n?(r.piece.updateData(!1,n,"normal",t,e),l.setItemGraphicEl(n.dataIndex,r.piece)):(o=r)&&o.piece&&(h.remove(o.piece),o.piece=null);else if(n){var i=new a(n,t,e);h.add(i),l.setItemGraphicEl(n.dataIndex,i)}var o}(null==r?null:n[r],null==o?null:i[o])}0===n.length&&0===i.length||new o(i,n,s,s).add(c).update(c).remove(r.curry(c,null)).execute()}(d,this._oldChildren||[]),function(n,r){if(r.depth>0){s.virtualPiece?s.virtualPiece.updateData(!1,n,"normal",t,e):(s.virtualPiece=new a(n,t,e),h.add(s.virtualPiece)),r.piece._onclickEvent&&r.piece.off("click",r.piece._onclickEvent);var i=function(t){s._rootToNode(r.parentNode)};r.piece._onclickEvent=i,s.virtualPiece.on("click",i)}else s.virtualPiece&&(h.remove(s.virtualPiece),s.virtualPiece=null)}(u,c),i&&i.highlight&&i.highlight.piece){var p=t.getShallow("highlightPolicy");i.highlight.piece.onEmphasis(p)}else if(i&&i.unhighlight){var g=this.virtualPiece;!g&&u.children.length&&(g=u.children[0].piece),g&&g.onNormal()}this._initEvents(),this._oldChildren=d},dispose:function(){},_initEvents:function(){var t=this,e=function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(r){if(!n&&r.piece&&r.piece.childAt(0)===e.target){var i=r.getModel().get("nodeClick");if("rootToNode"===i)t._rootToNode(r);else if("link"===i){var a=r.getModel(),o=a.get("link");if(o){var s=a.get("target",!0)||"_blank";window.open(o,s)}}n=!0}}))};this.group._onclickEvent&&this.group.off("click",this.group._onclickEvent),this.group.on("click",e),this.group._onclickEvent=e},_rootToNode:function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:"sunburstRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},containPoint:function(t,e){var n=e.getData().getItemLayout(0);if(n){var r=t[0]-n.cx,i=t[1]-n.cy,a=Math.sqrt(r*r+i*i);return a<=n.r&&a>=n.r0}}});t.exports=s},NC18:function(t,e,n){var r=n("y+Vt"),i=n("IMiH"),a=n("7oTu"),o=Math.sqrt,s=Math.sin,l=Math.cos,u=Math.PI,c=function(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])},h=function(t,e){return(t[0]*e[0]+t[1]*e[1])/(c(t)*c(e))},f=function(t,e){return(t[0]*e[1]1&&(c*=o(b),d*=o(b));var x=(i===a?-1:1)*o((c*c*(d*d)-c*c*(_*_)-d*d*(y*y))/(c*c*(_*_)+d*d*(y*y)))||0,w=x*c*_/d,k=x*-d*y/c,S=(t+n)/2+l(m)*w-s(m)*k,C=(e+r)/2+s(m)*w+l(m)*k,A=f([1,0],[(y-w)/c,(_-k)/d]),T=[(y-w)/c,(_-k)/d],E=[(-1*y-w)/c,(-1*_-k)/d],M=f(T,E);h(T,E)<=-1&&(M=u),h(T,E)>=1&&(M=0),0===a&&M>0&&(M-=2*u),1===a&&M<0&&(M+=2*u),v.addData(g,S,C,c,d,A,M,m,a)}var p=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,g=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function v(t,e){var n=function(t){if(!t)return new i;for(var e,n=0,r=0,a=n,o=r,s=new i,l=i.CMD,u=t.match(p),c=0;c=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},f={horizontal:0,vertical:v/2},d="vertical"===r?i.height:i.width,p=t.getModel("controlStyle"),g=p.get("show",!0),m=g?p.get("itemSize"):0,y=g?p.get("itemGap"):0,_=m+y,b=t.get("label.rotate")||0;b=b*v/180;var x=p.get("position",!0),w=g&&p.get("showPlayBtn",!0),k=g&&p.get("showPrevBtn",!0),S=g&&p.get("showNextBtn",!0),C=0,A=d;return"left"===x||"bottom"===x?(w&&(a=[0,0],C+=_),k&&(o=[C,0],C+=_),S&&(l=[A-m,0],A-=_)):(w&&(a=[A-m,0],A-=_),k&&(o=[0,0],C+=_),S&&(l=[A-m,0],A-=_)),u=[C,A],t.get("inverse")&&u.reverse(),{viewRect:i,mainLength:d,orient:r,rotation:f[r],labelRotation:b,labelPosOpt:n,labelAlign:t.get("label.align")||c[r],labelBaseline:t.get("label.verticalAlign")||t.get("label.baseline")||h[r],playPosition:a,prevBtnPosition:o,nextBtnPosition:l,axisExtent:u,controlSize:m,controlGap:y}},_position:function(t,e){var n=this._mainGroup,r=this._labelGroup,i=t.viewRect;if("vertical"===t.orient){var o=a.create(),s=i.x,l=i.y+i.height;a.translate(o,o,[-s,-l]),a.rotate(o,o,-v/2),a.translate(o,o,[s,l]),(i=i.clone()).applyTransform(o)}var u=y(i),c=y(n.getBoundingRect()),h=y(r.getBoundingRect()),f=n.position,d=r.position;d[0]=f[0]=u[0][0];var p,g=t.labelPosOpt;function m(t){var e=t.position;t.origin=[u[0][0]-e[0],u[1][0]-e[1]]}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function _(t,e,n,r,i){t[r]+=n[r][i]-e[r][i]}isNaN(g)?(_(f,c,u,1,p="+"===g?0:1),_(d,h,u,1,1-p)):(_(f,c,u,1,p=g>=0?0:1),d[1]=f[1]+g),n.attr("position",f),r.attr("position",d),n.rotation=r.rotation=t.rotation,m(n),m(r)},_createAxis:function(t,e){var n=e.getData(),r=e.get("axisType"),i=h.createScaleByModel(e,r);i.getTicks=function(){return n.mapArray(["value"],(function(t){return t}))};var a=n.getDataExtent("value");i.setExtent(a[0],a[1]),i.niceTicks();var o=new u("value",i,t.axisExtent,r);return o.model=e,o},_createGroup:function(t){var e=this["_"+t]=new o.Group;return this.group.add(e),e},_renderAxisLine:function(t,e,n,i){var a=n.getExtent();i.get("lineStyle.show")&&e.add(new o.Line({shape:{x1:a[0],y1:0,x2:a[1],y2:0},style:r.extend({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1}))},_renderAxisTick:function(t,e,n,r){var i=r.getData(),a=n.scale.getTicks();g(a,(function(t){var a=n.dataToCoord(t),s=i.getItemModel(t),l=s.getModel("itemStyle"),u=s.getModel("emphasis.itemStyle"),c={position:[a,0],onclick:p(this._changeTimeline,this,t)},h=y(s,l,e,c);o.setHoverStyle(h,u.getItemStyle()),s.get("tooltip")?(h.dataIndex=t,h.dataModel=r):h.dataIndex=h.dataModel=null}),this)},_renderAxisLabel:function(t,e,n,r){if(n.getLabelModel().get("show")){var i=r.getData(),a=n.getViewLabels();g(a,(function(r){var a=r.tickValue,s=i.getItemModel(a),l=s.getModel("label"),u=s.getModel("emphasis.label"),c=n.dataToCoord(r.tickValue),h=new o.Text({position:[c,0],rotation:t.labelRotation-t.rotation,onclick:p(this._changeTimeline,this,a),silent:!1});o.setTextStyle(h.style,l,{text:r.formattedLabel,textAlign:t.labelAlign,textVerticalAlign:t.labelBaseline}),e.add(h),o.setHoverStyle(h,o.setTextStyle({},u))}),this)}},_renderControl:function(t,e,n,a){var s=t.controlSize,l=t.rotation,u=a.getModel("controlStyle").getItemStyle(),c=a.getModel("emphasis.controlStyle").getItemStyle(),h=[0,-s/2,s,s],f=a.getPlayState(),d=a.get("inverse",!0);function g(t,n,f,d){if(t){var p=function(t,e,n,a){return o.makePath(t.get(e).replace(/^path:\/\//,""),r.clone(a||{}),new i(n[0],n[1],n[2],n[3]),"center")}(a,n,h,{position:t,origin:[s/2,0],rotation:d?-l:0,rectHover:!0,style:u,onclick:f});e.add(p),o.setHoverStyle(p,c)}}g(t.nextBtnPosition,"controlStyle.nextIcon",p(this._changeTimeline,this,d?"-":"+")),g(t.prevBtnPosition,"controlStyle.prevIcon",p(this._changeTimeline,this,d?"+":"-")),g(t.playPosition,"controlStyle."+(f?"stopIcon":"playIcon"),p(this._handlePlayClick,this,!f),!0)},_renderCurrentPointer:function(t,e,n,r){var i=r.getData(),a=r.getCurrentIndex(),o=i.getItemModel(a).getModel("checkpointStyle"),s=this;this._currentPointer=y(o,o,this._mainGroup,{},this._currentPointer,{onCreate:function(t){t.draggable=!0,t.drift=p(s._handlePointerDrag,s),t.ondragend=p(s._handlePointerDragend,s),_(t,a,n,r,!0)},onUpdate:function(t){_(t,a,n,r)}})},_handlePlayClick:function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},_handlePointerDrag:function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},_handlePointerDragend:function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},_pointerChangeTimeline:function(t,e){var n=this._toAxisCoord(t)[0],r=f.asc(this._axis.getExtent().slice());n>r[1]&&(n=r[1]),n0){for(var t=!1,e=0;e=0&&this.invalidateCachedMeasurementAtIndex(e)}else this.minMeasuredChildWidth=void 0,this.minMeasuredChildHeight=void 0;this.refresh_internal(!1)}},{key:"invalidateCachedMeasurementAtIndex",value:function(t){if(this.enableUnequalChildrenSizes){var e=this.wrapGroupDimensions.maxChildSizePerWrapGroup[t];e&&(this.wrapGroupDimensions.maxChildSizePerWrapGroup[t]=void 0,--this.wrapGroupDimensions.numberOfKnownWrapGroupChildSizes,this.wrapGroupDimensions.sumOfKnownWrapGroupChildWidths-=e.childWidth||0,this.wrapGroupDimensions.sumOfKnownWrapGroupChildHeights-=e.childHeight||0)}else this.minMeasuredChildWidth=void 0,this.minMeasuredChildHeight=void 0;this.refresh_internal(!1)}},{key:"scrollInto",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,a=this.items.indexOf(t);-1!==a&&this.scrollToIndex(a,e,n,r,i)}},{key:"scrollToIndex",value:function(t){var e=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0,o=5,s=function i(){if(--o<=0)a&&a();else{var s=e.calculateDimensions(),l=Math.min(Math.max(t,0),s.itemCount-1);e.previousViewPort.startIndex!==l?e.scrollToIndex_internal(t,n,r,0,i):a&&a()}};this.scrollToIndex_internal(t,n,r,i,s)}},{key:"scrollToIndex_internal",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;r=void 0===r?this.scrollAnimationTime:r;var a=this.calculateDimensions(),o=this.calculatePadding(t,a)+n;e||(o-=a.wrapGroupsPerPage*a[this._childScrollDim]),this.scrollToPosition(o,r,i)}},{key:"scrollToPosition",value:function(t,e,n){var r=this;t+=this.getElementsOffset(),e=void 0===e?this.scrollAnimationTime:e;var i,a=this.getScrollElement();if(this.currentTween&&(this.currentTween.stop(),this.currentTween=void 0),!e)return this.renderer.setProperty(a,this._scrollType,t),void this.refresh_internal(!1,n);var o={scrollPosition:a[this._scrollType]},l=new s.Tween(o).to({scrollPosition:t},e).easing(s.Easing.Quadratic.Out).onUpdate((function(t){isNaN(t.scrollPosition)||(r.renderer.setProperty(a,r._scrollType,t.scrollPosition),r.refresh_internal(!1))})).onStop((function(){cancelAnimationFrame(i)})).start();(function e(a){l.isPlaying()&&(l.update(a),o.scrollPosition!==t?r.zone.runOutsideAngular((function(){i=requestAnimationFrame(e)})):r.refresh_internal(!1,n))})(),this.currentTween=l}},{key:"getElementSize",value:function(t){var e=t.getBoundingClientRect(),n=getComputedStyle(t),r=parseInt(n["margin-top"],10)||0,i=parseInt(n["margin-bottom"],10)||0,a=parseInt(n["margin-left"],10)||0,o=parseInt(n["margin-right"],10)||0;return{top:e.top+r,bottom:e.bottom+i,left:e.left+a,right:e.right+o,width:e.width+a+o,height:e.height+r+i}}},{key:"checkScrollElementResized",value:function(){var t,e=this.getElementSize(this.getScrollElement());if(this.previousScrollBoundingRect){var n=Math.abs(e.width-this.previousScrollBoundingRect.width),r=Math.abs(e.height-this.previousScrollBoundingRect.height);t=n>this.resizeBypassRefreshThreshold||r>this.resizeBypassRefreshThreshold}else t=!0;t&&(this.previousScrollBoundingRect=e,e.width>0&&e.height>0&&this.refresh_internal(!1))}},{key:"updateDirection",value:function(){this.horizontal?(this._childScrollDim="childWidth",this._invisiblePaddingProperty="scaleX",this._marginDir="margin-left",this._offsetType="offsetLeft",this._pageOffsetType="pageXOffset",this._scrollType="scrollLeft",this._translateDir="translateX"):(this._childScrollDim="childHeight",this._invisiblePaddingProperty="scaleY",this._marginDir="margin-top",this._offsetType="offsetTop",this._pageOffsetType="pageYOffset",this._scrollType="scrollTop",this._translateDir="translateY")}},{key:"debounce",value:function(t,e){var n=this.throttleTrailing(t,e),r=function(){n.cancel(),n.apply(this,arguments)};return r.cancel=function(){n.cancel()},r}},{key:"throttleTrailing",value:function(t,e){var n=void 0,r=arguments,i=function(){var i=this;r=arguments,n||(e<=0?t.apply(i,r):n=setTimeout((function(){n=void 0,t.apply(i,r)}),e))};return i.cancel=function(){n&&(clearTimeout(n),n=void 0)},i}},{key:"refresh_internal",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;if(t&&this.previousViewPort&&this.previousViewPort.scrollStartPosition>0){var i=this.previousViewPort,a=this.viewPortItems,o=e;e=function(){var t=n.previousViewPort.scrollLength-i.scrollLength;if(t>0&&n.viewPortItems){var e=a[0],r=n.items.findIndex((function(t){return n.compareItems(e,t)}));if(r>n.previousViewPort.startIndexWithBuffer){for(var s=!1,l=1;l=0&&i.endIndexWithBuffer>=0?n.items.slice(i.startIndexWithBuffer,i.endIndexWithBuffer+1):[],n.vsUpdate.emit(n.viewPortItems),a&&n.vsStart.emit(d),o&&n.vsEnd.emit(d),(a||o)&&(n.changeDetectorRef.markForCheck(),n.vsChange.emit(d)),r>0?n.refresh_internal(!1,e,r-1):e&&e()};n.executeRefreshOutsideAngularZone?p():n.zone.run(p)}else{if(r>0&&(s||l))return void n.refresh_internal(!1,e,r-1);e&&e()}}))}))}},{key:"getScrollElement",value:function(){return this.parentScroll instanceof Window?document.scrollingElement||document.documentElement||document.body:this.parentScroll||this.element.nativeElement}},{key:"addScrollEventHandlers",value:function(){var t=this;if(!this.isAngularUniversalSSR){var e=this.getScrollElement();this.removeScrollEventHandlers(),this.zone.runOutsideAngular((function(){t.parentScroll instanceof Window?(t.disposeScrollHandler=t.renderer.listen("window","scroll",t.onScroll),t.disposeResizeHandler=t.renderer.listen("window","resize",t.onScroll)):(t.disposeScrollHandler=t.renderer.listen(e,"scroll",t.onScroll),t._checkResizeInterval>0&&(t.checkScrollElementResizedTimer=setInterval((function(){t.checkScrollElementResized()}),t._checkResizeInterval)))}))}}},{key:"removeScrollEventHandlers",value:function(){this.checkScrollElementResizedTimer&&clearInterval(this.checkScrollElementResizedTimer),this.disposeScrollHandler&&(this.disposeScrollHandler(),this.disposeScrollHandler=void 0),this.disposeResizeHandler&&(this.disposeResizeHandler(),this.disposeResizeHandler=void 0)}},{key:"getElementsOffset",value:function(){if(this.isAngularUniversalSSR)return 0;var t=0;if(this.containerElementRef&&this.containerElementRef.nativeElement&&(t+=this.containerElementRef.nativeElement[this._offsetType]),this.parentScroll){var e=this.getScrollElement(),n=this.getElementSize(this.element.nativeElement),r=this.getElementSize(e);t+=this.horizontal?n.left-r.left:n.top-r.top,this.parentScroll instanceof Window||(t+=e[this._scrollType])}return t}},{key:"countItemsPerWrapGroup",value:function(){if(this.isAngularUniversalSSR)return Math.round(this.horizontal?this.ssrViewportHeight/this.ssrChildHeight:this.ssrViewportWidth/this.ssrChildWidth);var t=this.horizontal?"offsetLeft":"offsetTop",e=(this.containerElementRef&&this.containerElementRef.nativeElement||this.contentElementRef.nativeElement).children,n=e?e.length:0;if(0===n)return 1;for(var r=e[0][t],i=1;i0){var w=Math.min(c,x);x-=w,c-=w}g+=x,x>0&&i>=g&&++e}else{var k=Math.min(p,Math.max(a-v,0));if(c>0){var S=Math.min(c,k);k-=S,c-=S}v+=k,k>0&&a>=v&&++e}++f,d=0,p=0}}var C=this.wrapGroupDimensions.sumOfKnownWrapGroupChildWidths/this.wrapGroupDimensions.numberOfKnownWrapGroupChildSizes,A=this.wrapGroupDimensions.sumOfKnownWrapGroupChildHeights/this.wrapGroupDimensions.numberOfKnownWrapGroupChildSizes;n=this.childWidth||C||i,r=this.childHeight||A||a,this.horizontal?i>g&&(e+=Math.ceil((i-g)/n)):a>v&&(e+=Math.ceil((a-v)/r))}else{if(o.children.length>0){this.childWidth&&this.childHeight||(!this.minMeasuredChildWidth&&i>0&&(this.minMeasuredChildWidth=i),!this.minMeasuredChildHeight&&a>0&&(this.minMeasuredChildHeight=a));var T=this.getElementSize(o.children[0]);this.minMeasuredChildWidth=Math.min(this.minMeasuredChildWidth,T.width),this.minMeasuredChildHeight=Math.min(this.minMeasuredChildHeight,T.height)}n=this.childWidth||this.minMeasuredChildWidth||i,r=this.childHeight||this.minMeasuredChildHeight||a;var E=Math.max(Math.ceil(i/n),1),M=Math.max(Math.ceil(a/r),1);e=this.horizontal?E:M}var I=this.items.length,D=s*e,O=I/D,P=Math.ceil(I/s),L=0,R=this.horizontal?n:r;if(this.enableUnequalChildrenSizes){for(var N=0,z=0;z0&&(h+=e.itemsPerWrapGroup-f),isNaN(u)&&(u=0),isNaN(h)&&(h=0),u=Math.min(Math.max(u,0),e.itemCount-1),h=Math.min(Math.max(h,0),e.itemCount-1);var d=this.bufferAmount*e.itemsPerWrapGroup;return{startIndex:u,endIndex:h,startIndexWithBuffer:Math.min(Math.max(u-d,0),e.itemCount-1),endIndexWithBuffer:Math.min(Math.max(h+d,0),e.itemCount-1),scrollStartPosition:t,scrollEndPosition:t+e.viewportLength,maxScrollPosition:e.maxScrollPosition}}},{key:"calculateViewport",value:function(){var t=this.calculateDimensions(),e=this.getElementsOffset(),n=this.getScrollStartPosition();n>t.scrollLength+e&&!(this.parentScroll instanceof Window)?n=t.scrollLength:n-=e,n=Math.max(0,n);var r=this.calculatePageInfo(n,t),i=this.calculatePadding(r.startIndexWithBuffer,t),a=t.scrollLength;return{startIndex:r.startIndex,endIndex:r.endIndex,startIndexWithBuffer:r.startIndexWithBuffer,endIndexWithBuffer:r.endIndexWithBuffer,padding:Math.round(i),scrollLength:Math.round(a),scrollStartPosition:r.scrollStartPosition,scrollEndPosition:r.scrollEndPosition,maxScrollPosition:r.maxScrollPosition}}},{key:"viewPortInfo",get:function(){var t=this.previousViewPort||{};return{startIndex:t.startIndex||0,endIndex:t.endIndex||0,scrollStartPosition:t.scrollStartPosition||0,scrollEndPosition:t.scrollEndPosition||0,maxScrollPosition:t.maxScrollPosition||0,startIndexWithBuffer:t.startIndexWithBuffer||0,endIndexWithBuffer:t.endIndexWithBuffer||0}}},{key:"enableUnequalChildrenSizes",get:function(){return this._enableUnequalChildrenSizes},set:function(t){this._enableUnequalChildrenSizes!==t&&(this._enableUnequalChildrenSizes=t,this.minMeasuredChildWidth=void 0,this.minMeasuredChildHeight=void 0)}},{key:"bufferAmount",get:function(){return"number"==typeof this._bufferAmount&&this._bufferAmount>=0?this._bufferAmount:this.enableUnequalChildrenSizes?5:0},set:function(t){this._bufferAmount=t}},{key:"scrollThrottlingTime",get:function(){return this._scrollThrottlingTime},set:function(t){this._scrollThrottlingTime=t,this.updateOnScrollFunction()}},{key:"scrollDebounceTime",get:function(){return this._scrollDebounceTime},set:function(t){this._scrollDebounceTime=t,this.updateOnScrollFunction()}},{key:"checkResizeInterval",get:function(){return this._checkResizeInterval},set:function(t){this._checkResizeInterval!==t&&(this._checkResizeInterval=t,this.addScrollEventHandlers())}},{key:"items",get:function(){return this._items},set:function(t){t!==this._items&&(this._items=t||[],this.refresh_internal(!0))}},{key:"horizontal",get:function(){return this._horizontal},set:function(t){this._horizontal=t,this.updateDirection()}},{key:"parentScroll",get:function(){return this._parentScroll},set:function(t){if(this._parentScroll!==t){this.revertParentOverscroll(),this._parentScroll=t,this.addScrollEventHandlers();var e=this.getScrollElement();this.modifyOverflowStyleOfParentScroll&&e!==this.element.nativeElement&&(this.oldParentScrollOverflow={x:e.style["overflow-x"],y:e.style["overflow-y"]},e.style["overflow-y"]=this.horizontal?"visible":"auto",e.style["overflow-x"]=this.horizontal?"auto":"visible")}}}]),t}()).\u0275fac=function(t){return new(t||g)(r.Ob(r.l),r.Ob(r.E),r.Ob(r.z),r.Ob(r.h),r.Ob(r.B),r.Ob("virtual-scroller-default-options",8))},g.\u0275cmp=r.Ib({type:g,selectors:[["virtual-scroller"],["","virtualScroller",""]],contentQueries:function(t,e,n){var i;1&t&&(r.Hb(n,l,!0,r.l),r.Hb(n,u,!0,r.l)),2&t&&(r.qc(i=r.dc())&&(e.headerElementRef=i.first),r.qc(i=r.dc())&&(e.containerElementRef=i.first))},viewQuery:function(t,e){var n;1&t&&(r.wc(c,!0,r.l),r.wc(h,!0,r.l)),2&t&&(r.qc(n=r.dc())&&(e.contentElementRef=n.first),r.qc(n=r.dc())&&(e.invisiblePaddingElementRef=n.first))},hostVars:8,hostBindings:function(t,e){2&t&&r.Gb("horizontal",e.horizontal)("vertical",!e.horizontal)("selfScroll",!e.parentScroll)("rtl",e.RTL)},inputs:{executeRefreshOutsideAngularZone:"executeRefreshOutsideAngularZone",RTL:"RTL",useMarginInsteadOfTranslate:"useMarginInsteadOfTranslate",ssrViewportWidth:"ssrViewportWidth",ssrViewportHeight:"ssrViewportHeight",compareItems:"compareItems",checkResizeInterval:"checkResizeInterval",modifyOverflowStyleOfParentScroll:"modifyOverflowStyleOfParentScroll",resizeBypassRefreshThreshold:"resizeBypassRefreshThreshold",scrollAnimationTime:"scrollAnimationTime",scrollDebounceTime:"scrollDebounceTime",scrollThrottlingTime:"scrollThrottlingTime",scrollbarHeight:"scrollbarHeight",scrollbarWidth:"scrollbarWidth",stripedTable:"stripedTable",horizontal:"horizontal",enableUnequalChildrenSizes:"enableUnequalChildrenSizes",bufferAmount:"bufferAmount",items:"items",parentScroll:"parentScroll",childWidth:"childWidth",childHeight:"childHeight",ssrChildWidth:"ssrChildWidth",ssrChildHeight:"ssrChildHeight"},outputs:{vsUpdate:"vsUpdate",vsChange:"vsChange",vsStart:"vsStart",vsEnd:"vsEnd"},exportAs:["virtualScroller"],features:[r.Ab],ngContentSelectors:f,decls:5,vars:0,consts:[[1,"total-padding"],["invisiblePadding",""],[1,"scrollable-content"],["content",""]],template:function(t,e){1&t&&(r.kc(),r.Pb(0,"div",0,1),r.Ub(2,"div",2,3),r.jc(4),r.Tb())},styles:["[_nghost-%COMP%] {\n position: relative;\n\t \tdisplay: block;\n -webkit-overflow-scrolling: touch;\n }\n\n\t\t.horizontal.selfScroll[_nghost-%COMP%] {\n overflow-y: visible;\n overflow-x: auto;\n\t\t}\n\n\t\t.horizontal.selfScroll.rtl[_nghost-%COMP%] {\n\t\t\ttransform: scaleX(-1);\n\t\t}\n\n\t\t.vertical.selfScroll[_nghost-%COMP%] {\n overflow-y: auto;\n overflow-x: visible;\n\t\t}\n\n .scrollable-content[_ngcontent-%COMP%] {\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n max-width: 100vw;\n max-height: 100vh;\n position: absolute;\n }\n\n\t\t.scrollable-content[_ngcontent-%COMP%] > * {\n\t\t\tbox-sizing: border-box;\n\t\t}\n\n\t\t.horizontal[_nghost-%COMP%] {\n\t\t\twhite-space: nowrap;\n\t\t}\n\n\t\t.horizontal[_nghost-%COMP%] .scrollable-content[_ngcontent-%COMP%] {\n\t\t\tdisplay: flex;\n\t\t}\n\n\t\t.horizontal[_nghost-%COMP%] .scrollable-content[_ngcontent-%COMP%] > * {\n\t\t\tflex-shrink: 0;\n\t\t\tflex-grow: 0;\n\t\t\twhite-space: initial;\n\t\t}\n\n\t\t.horizontal.rtl[_nghost-%COMP%] .scrollable-content[_ngcontent-%COMP%] > * {\n\t\t\ttransform:scaleX(-1);\n\t\t}\n\n .total-padding[_ngcontent-%COMP%] {\n position: absolute;\n top: 0;\n left: 0;\n height: 1px;\n width: 1px;\n transform-origin: 0 0;\n opacity: 0;\n }\n\n .horizontal[_nghost-%COMP%] .total-padding[_ngcontent-%COMP%] {\n height: 100%;\n }"]}),g),y=((p=function t(){_classCallCheck(this,t)}).\u0275mod=r.Mb({type:p}),p.\u0275inj=r.Lb({factory:function(t){return new(t||p)},providers:[{provide:"virtual-scroller-default-options",useFactory:d}],imports:[[o.b]]}),p),_=n("wZee"),b=n.n(_),x=n("3Pt+"),w=n("VphZ"),k=n("MT78"),S=n.n(k),C=n("EiaH"),A=n("zdSs"),T=n("XNiG"),E=n("quSY"),M=n("LRne"),I=n("vkgz"),D=n("Kj3r"),O=n("pLZG"),P=n("lJxs"),L=n("IzEk");function R(t){return null!=t&&""+t!="false"}function N(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}(t)?Number(t):e}function z(t){return t instanceof r.l?t.nativeElement:t}try{v="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(Ao){v=!1}var F,B,V,j,Y=((j=function t(e){_classCallCheck(this,t),this._platformId=e,this.isBrowser=this._platformId?Object(o.s)(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!v)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}).\u0275fac=function(t){return new(t||j)(r.Yb(r.B,8))},j.\u0275prov=Object(r.Kb)({factory:function(){return new j(Object(r.Yb)(r.B,8))},token:j,providedIn:"root"}),j),H=((V=function t(){_classCallCheck(this,t)}).\u0275mod=r.Mb({type:V}),V.\u0275inj=r.Lb({factory:function(t){return new(t||V)}}),V);function U(t){return function(){if(null==F&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return F=!0}}))}finally{F=F||!1}return F}()?t:!!t.capture}function G(t){if(function(){if(null==B){var t="undefined"!=typeof document?document.head:null;B=!(!t||!t.createShadowRoot&&!t.attachShadow)}return B}()){var e=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&e instanceof ShadowRoot)return e}return null}var q,W,Z,$,X=n("HDdC"),K=(($=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"create",value:function(t){return"undefined"==typeof MutationObserver?null:new MutationObserver(t)}}]),t}()).\u0275fac=function(t){return new(t||$)},$.\u0275prov=Object(r.Kb)({factory:function(){return new $},token:$,providedIn:"root"}),$),Q=((Z=function(){function t(e){_classCallCheck(this,t),this._mutationObserverFactory=e,this._observedElements=new Map}return _createClass2(t,[{key:"ngOnDestroy",value:function(){var t=this;this._observedElements.forEach((function(e,n){return t._cleanupObserver(n)}))}},{key:"observe",value:function(t){var e=this,n=z(t);return new X.a((function(t){var r=e._observeElement(n).subscribe(t);return function(){r.unsubscribe(),e._unobserveElement(n)}}))}},{key:"_observeElement",value:function(t){if(this._observedElements.has(t))this._observedElements.get(t).count++;else{var e=new T.a,n=this._mutationObserverFactory.create((function(t){return e.next(t)}));n&&n.observe(t,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(t,{observer:n,stream:e,count:1})}return this._observedElements.get(t).stream}},{key:"_unobserveElement",value:function(t){this._observedElements.has(t)&&(this._observedElements.get(t).count--,this._observedElements.get(t).count||this._cleanupObserver(t))}},{key:"_cleanupObserver",value:function(t){if(this._observedElements.has(t)){var e=this._observedElements.get(t),n=e.observer,r=e.stream;n&&n.disconnect(),r.complete(),this._observedElements.delete(t)}}}]),t}()).\u0275fac=function(t){return new(t||Z)(r.Yb(K))},Z.\u0275prov=Object(r.Kb)({factory:function(){return new Z(Object(r.Yb)(K))},token:Z,providedIn:"root"}),Z),J=((W=function(){function t(e,n,i){_classCallCheck(this,t),this._contentObserver=e,this._elementRef=n,this._ngZone=i,this.event=new r.n,this._disabled=!1,this._currentSubscription=null}return _createClass2(t,[{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var t=this;this._unsubscribe();var e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular((function(){t._currentSubscription=(t.debounce?e.pipe(Object(D.a)(t.debounce)):e).subscribe(t.event)}))}},{key:"_unsubscribe",value:function(){this._currentSubscription&&this._currentSubscription.unsubscribe()}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=R(t),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(t){this._debounce=N(t),this._subscribe()}}]),t}()).\u0275fac=function(t){return new(t||W)(r.Ob(Q),r.Ob(r.l),r.Ob(r.z))},W.\u0275dir=r.Jb({type:W,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),W),tt=((q=function t(){_classCallCheck(this,t)}).\u0275mod=r.Mb({type:q}),q.\u0275inj=r.Lb({factory:function(t){return new(t||q)},providers:[K]}),q);function et(t){return 0===t.buttons}"undefined"!=typeof Element&∈var nt,rt=new r.q("cdk-focus-monitor-default-options"),it=U({passive:!0,capture:!0}),at=((nt=function(){function t(e,n,r,i){var a=this;_classCallCheck(this,t),this._ngZone=e,this._platform=n,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=function(){a._lastTouchTarget=null,a._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(t){if(!a._lastTouchTarget){var e=et(t)?"keyboard":"mouse";a._setOriginForCurrentEventQueue(e)}},this._documentTouchstartListener=function(t){null!=a._touchTimeoutId&&clearTimeout(a._touchTimeoutId),a._lastTouchTarget=ot(t),a._touchTimeoutId=setTimeout((function(){return a._lastTouchTarget=null}),650)},this._windowFocusListener=function(){a._windowFocused=!0,a._windowFocusTimeoutId=setTimeout((function(){return a._windowFocused=!1}))},this._rootNodeFocusAndBlurListener=function(t){for(var e=ot(t),n="focus"===t.type?a._onFocus:a._onBlur,r=e;r;r=r.parentElement)n.call(a,t,r)},this._document=r,this._detectionMode=(null==i?void 0:i.detectionMode)||0}return _createClass2(t,[{key:"monitor",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this._platform.isBrowser)return Object(M.a)(null);var n=z(t),r=G(n)||this._getDocument();if(this._elementInfo.has(n)){var i=this._elementInfo.get(n);return i.checkChildren=e,i.subject.asObservable()}var a={checkChildren:e,subject:new T.a,rootNode:r};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject.asObservable()}},{key:"stopMonitoring",value:function(t){var e=z(t),n=this._elementInfo.get(e);n&&(n.subject.complete(),this._setClasses(e),this._elementInfo.delete(e),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(t,e,n){var r=z(t);this._setOriginForCurrentEventQueue(e),"function"==typeof r.focus&&r.focus(n)}},{key:"ngOnDestroy",value:function(){var t=this;this._elementInfo.forEach((function(e,n){return t.stopMonitoring(n)}))}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(t,e,n){n?t.classList.add(e):t.classList.remove(e)}},{key:"_getFocusOrigin",value:function(t){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(t)?"touch":"program"}},{key:"_setClasses",value:function(t,e){this._toggleClass(t,"cdk-focused",!!e),this._toggleClass(t,"cdk-touch-focused","touch"===e),this._toggleClass(t,"cdk-keyboard-focused","keyboard"===e),this._toggleClass(t,"cdk-mouse-focused","mouse"===e),this._toggleClass(t,"cdk-program-focused","program"===e)}},{key:"_setOriginForCurrentEventQueue",value:function(t){var e=this;this._ngZone.runOutsideAngular((function(){e._origin=t,0===e._detectionMode&&(e._originTimeoutId=setTimeout((function(){return e._origin=null}),1))}))}},{key:"_wasCausedByTouch",value:function(t){var e=ot(t);return this._lastTouchTarget instanceof Node&&e instanceof Node&&(e===this._lastTouchTarget||e.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(t,e){var n=this._elementInfo.get(e);if(n&&(n.checkChildren||e===ot(t))){var r=this._getFocusOrigin(t);this._setClasses(e,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}}},{key:"_onBlur",value:function(t,e){var n=this._elementInfo.get(e);!n||n.checkChildren&&t.relatedTarget instanceof Node&&e.contains(t.relatedTarget)||(this._setClasses(e),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(t,e){this._ngZone.run((function(){return t.next(e)}))}},{key:"_registerGlobalListeners",value:function(t){var e=this;if(this._platform.isBrowser){var n=t.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular((function(){n.addEventListener("focus",e._rootNodeFocusAndBlurListener,it),n.addEventListener("blur",e._rootNodeFocusAndBlurListener,it)})),this._rootNodeFocusListenerCount.set(n,r+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular((function(){var t=e._getDocument(),n=e._getWindow();t.addEventListener("keydown",e._documentKeydownListener,it),t.addEventListener("mousedown",e._documentMousedownListener,it),t.addEventListener("touchstart",e._documentTouchstartListener,it),n.addEventListener("focus",e._windowFocusListener)}))}}},{key:"_removeGlobalListeners",value:function(t){var e=t.rootNode;if(this._rootNodeFocusListenerCount.has(e)){var n=this._rootNodeFocusListenerCount.get(e);n>1?this._rootNodeFocusListenerCount.set(e,n-1):(e.removeEventListener("focus",this._rootNodeFocusAndBlurListener,it),e.removeEventListener("blur",this._rootNodeFocusAndBlurListener,it),this._rootNodeFocusListenerCount.delete(e))}if(!--this._monitoredElementCount){var r=this._getDocument(),i=this._getWindow();r.removeEventListener("keydown",this._documentKeydownListener,it),r.removeEventListener("mousedown",this._documentMousedownListener,it),r.removeEventListener("touchstart",this._documentTouchstartListener,it),i.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}]),t}()).\u0275fac=function(t){return new(t||nt)(r.Yb(r.z),r.Yb(Y),r.Yb(o.c,8),r.Yb(rt,8))},nt.\u0275prov=Object(r.Kb)({factory:function(){return new nt(Object(r.Yb)(r.z),Object(r.Yb)(Y),Object(r.Yb)(o.c,8),Object(r.Yb)(rt,8))},token:nt,providedIn:"root"}),nt);function ot(t){return t.composedPath?t.composedPath()[0]:t.target}var st,lt,ut,ct=((st=function(){function t(e,n){_classCallCheck(this,t),this._platform=e,this._document=n}return _createClass2(t,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var t=this._document.createElement("div");t.style.backgroundColor="rgb(1,2,3)",t.style.position="absolute",this._document.body.appendChild(t);var e=this._document.defaultView||window,n=e&&e.getComputedStyle?e.getComputedStyle(t):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(t),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var t=this._document.body.classList;t.remove("cdk-high-contrast-active"),t.remove("cdk-high-contrast-black-on-white"),t.remove("cdk-high-contrast-white-on-black");var e=this.getHighContrastMode();1===e?(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-black-on-white")):2===e&&(t.add("cdk-high-contrast-active"),t.add("cdk-high-contrast-white-on-black"))}}}]),t}()).\u0275fac=function(t){return new(t||st)(r.Yb(Y),r.Yb(o.c))},st.\u0275prov=Object(r.Kb)({factory:function(){return new st(Object(r.Yb)(Y),Object(r.Yb)(o.c))},token:st,providedIn:"root"}),st),ht=new r.q("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(r.V)(o.c)}}),ft=((ut=function(){function t(e){if(_classCallCheck(this,t),this.value="ltr",this.change=new r.n,e){var n=e.documentElement?e.documentElement.dir:null,i=(e.body?e.body.dir:null)||n;this.value="ltr"===i||"rtl"===i?i:"ltr"}}return _createClass2(t,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),t}()).\u0275fac=function(t){return new(t||ut)(r.Yb(ht,8))},ut.\u0275prov=Object(r.Kb)({factory:function(){return new ut(Object(r.Yb)(ht,8))},token:ut,providedIn:"root"}),ut),dt=((lt=function t(){_classCallCheck(this,t)}).\u0275mod=r.Mb({type:lt}),lt.\u0275inj=r.Lb({factory:function(t){return new(t||lt)}}),lt),pt=new r.O("9.2.3"),gt=n("jhN1"),vt=n("JX91");var mt=function(t,e){return!1},yt="undefined"!=typeof process&&"[object process]"==={}.toString.call(process);(yt||"undefined"!=typeof Element)&&(mt=function(){if(yt||Element.prototype.matches)return function(t,e){return t.matches(e)};var t=Element.prototype,e=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return e?function(t,n){return e.apply(t,[n])}:mt}());var _t,bt=new r.q("AnimationModuleType"),xt=new r.O("9.2.3"),wt=new r.q("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),kt=((_t=function(){function t(e,n,r){_classCallCheck(this,t),this._hasDoneGlobalChecks=!1,this._document=r,e._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return _createClass2(t,[{key:"_getDocument",value:function(){var t=this._document||document;return"object"==typeof t&&t?t:null}},{key:"_getWindow",value:function(){var t=this._getDocument(),e=(null==t?void 0:t.defaultView)||window;return"object"==typeof e&&e?e:null}},{key:"_checksAreEnabled",value:function(){return Object(r.W)()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var t=this._getWindow();return t&&(t.__karma__||t.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){var t=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),e=this._getDocument();t&&e&&!e.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){var t=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,e=this._getDocument();if(!t&&e&&e.body&&"function"==typeof getComputedStyle){var n=e.createElement("div");n.classList.add("mat-theme-loaded-marker"),e.body.appendChild(n);var r=getComputedStyle(n);r&&"none"!==r.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),e.body.removeChild(n)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&xt.full!==pt.full&&console.warn("The Angular Material version ("+xt.full+") does not match the Angular CDK version ("+pt.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),t}()).\u0275mod=r.Mb({type:_t}),_t.\u0275inj=r.Lb({factory:function(t){return new(t||_t)(r.Yb(ct),r.Yb(wt,8),r.Yb(o.c,8))},imports:[[dt],dt]}),_t);function St(t){return function(t){_inherits(n,t);var e=_createSuper(n);function n(){var t;_classCallCheck(this,n);for(var r=arguments.length,i=new Array(r),a=0;a1&&void 0!==arguments[1]?arguments[1]:0;return(function(t){_inherits(r,t);var n=_createSuper(r);function r(){var t;_classCallCheck(this,r);for(var i=arguments.length,a=new Array(i),o=0;o2&&void 0!==arguments[2]?arguments[2]:{},i=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},Dt),r.animation);r.centered&&(t=i.left+i.width/2,e=i.top+i.height/2);var o=r.radius||function(t,e,n){var r=Math.max(Math.abs(t-n.left),Math.abs(t-n.right)),i=Math.max(Math.abs(e-n.top),Math.abs(e-n.bottom));return Math.sqrt(r*r+i*i)}(t,e,i),s=t-i.left,l=e-i.top,u=a.enterDuration,c=document.createElement("div");c.classList.add("mat-ripple-element"),c.style.left=s-o+"px",c.style.top=l-o+"px",c.style.height=2*o+"px",c.style.width=2*o+"px",null!=r.color&&(c.style.backgroundColor=r.color),c.style.transitionDuration=u+"ms",this._containerElement.appendChild(c),window.getComputedStyle(c).getPropertyValue("opacity"),c.style.transform="scale(1)";var h=new It(this,c,r);return h.state=0,this._activeRipples.add(h),r.persistent||(this._mostRecentTransientRipple=h),this._runTimeoutOutsideZone((function(){var t=h===n._mostRecentTransientRipple;h.state=1,r.persistent||t&&n._isPointerDown||h.fadeOut()}),u),h}},{key:"fadeOutRipple",value:function(t){var e=this._activeRipples.delete(t);if(t===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),e){var n=t.element,r=Object.assign(Object.assign({},Dt),t.config.animation);n.style.transitionDuration=r.exitDuration+"ms",n.style.opacity="0",t.state=2,this._runTimeoutOutsideZone((function(){t.state=3,n.parentNode.removeChild(n)}),r.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach((function(t){return t.fadeOut()}))}},{key:"setupTriggerEvents",value:function(t){var e=z(t);e&&e!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(Pt))}},{key:"handleEvent",value:function(t){"mousedown"===t.type?this._onMousedown(t):"touchstart"===t.type?this._onTouchStart(t):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(Lt),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(t){var e=et(t),n=this._lastTouchStartEvent&&Date.now()1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular((function(){return setTimeout(t,e)}))}},{key:"_registerEvents",value:function(t){var e=this;this._ngZone.runOutsideAngular((function(){t.forEach((function(t){e._triggerElement.addEventListener(t,e,Ot)}))}))}},{key:"_removeTriggerEvents",value:function(){var t=this;this._triggerElement&&(Pt.forEach((function(e){t._triggerElement.removeEventListener(e,t,Ot)})),this._pointerUpEventsRegistered&&Lt.forEach((function(e){t._triggerElement.removeEventListener(e,t,Ot)})))}}]),t}(),Nt=new r.q("mat-ripple-global-options"),zt=((Et=function(){function t(e,n,r,i,a){_classCallCheck(this,t),this._elementRef=e,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=i||{},this._rippleRenderer=new Rt(this,n,e,r)}return _createClass2(t,[{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof t?this._rippleRenderer.fadeInRipple(t,e,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),t))}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=t,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(t){this._trigger=t,this._setupTriggerEventsIfEnabled()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}}]),t}()).\u0275fac=function(t){return new(t||Et)(r.Ob(r.l),r.Ob(r.z),r.Ob(Y),r.Ob(Nt,8),r.Ob(bt,8))},Et.\u0275dir=r.Jb({type:Et,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(t,e){2&t&&r.Gb("mat-ripple-unbounded",e.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),Et),Ft=((Tt=function t(){_classCallCheck(this,t)}).\u0275mod=r.Mb({type:Tt}),Tt.\u0275inj=r.Lb({factory:function(t){return new(t||Tt)},imports:[[kt,H],kt]}),Tt),Bt=["sliderWrapper"],Vt=U({passive:!1}),jt={provide:x.e,useExisting:Object(r.U)((function(){return Ut})),multi:!0},Yt=function t(){_classCallCheck(this,t)},Ht=At(Ct(St((function t(e){_classCallCheck(this,t),this._elementRef=e})),"accent")),Ut=((Mt=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,i,a,o,s,l,u,c){var h;return _classCallCheck(this,n),(h=e.call(this,t))._focusMonitor=i,h._changeDetectorRef=a,h._dir=o,h._animationMode=l,h._ngZone=u,h._invert=!1,h._max=100,h._min=0,h._step=1,h._thumbLabel=!1,h._tickInterval=0,h._value=null,h._vertical=!1,h.change=new r.n,h.input=new r.n,h.valueChange=new r.n,h.onTouched=function(){},h._percent=0,h._isSliding=!1,h._isActive=!1,h._tickIntervalPercent=0,h._sliderDimensions=null,h._controlValueAccessorChangeFn=function(){},h._dirChangeSubscription=E.a.EMPTY,h._pointerDown=function(t){h.disabled||h._isSliding||!Gt(t)&&0!==t.button||h._runInsideZone((function(){var e=h.value,n=qt(t);h._isSliding=!0,h._lastPointerEvent=t,t.preventDefault(),h._focusHostElement(),h._onMouseenter(),h._bindGlobalEvents(t),h._focusHostElement(),h._updateValueFromPosition(n),h._valueOnSlideStart=h.value,h._pointerPositionOnStart=n,e!=h.value&&(h._emitInputEvent(),h._emitChangeEvent())}))},h._pointerMove=function(t){if(h._isSliding){t.preventDefault();var e=h.value;h._lastPointerEvent=t,h._updateValueFromPosition(qt(t)),e!=h.value&&h._emitInputEvent()}},h._pointerUp=function(t){if(h._isSliding){var e=h._pointerPositionOnStart,n=qt(t);t.preventDefault(),h._removeGlobalEvents(),h._valueOnSlideStart=h._pointerPositionOnStart=h._lastPointerEvent=null,h._isSliding=!1,h._valueOnSlideStart==h.value||h.disabled||!e||e.x===n.x&&e.y===n.y||h._emitChangeEvent()}},h._windowBlur=function(){h._lastPointerEvent&&h._pointerUp(h._lastPointerEvent)},h._document=c,h.tabIndex=parseInt(s)||0,h._runOutsizeZone((function(){var e=t.nativeElement;e.addEventListener("mousedown",h._pointerDown,Vt),e.addEventListener("touchstart",h._pointerDown,Vt)})),h}return _createClass2(n,[{key:"focus",value:function(t){this._focusHostElement(t)}},{key:"blur",value:function(){this._blurHostElement()}},{key:"_shouldInvertMouseCoords",value:function(){return"rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis}},{key:"_getDirection",value:function(){return this._dir&&"rtl"==this._dir.value?"rtl":"ltr"}},{key:"ngOnInit",value:function(){var t=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe((function(e){t._isActive=!!e&&"keyboard"!==e,t._changeDetectorRef.detectChanges()})),this._dir&&(this._dirChangeSubscription=this._dir.change.subscribe((function(){t._changeDetectorRef.markForCheck()})))}},{key:"ngOnDestroy",value:function(){var t=this._elementRef.nativeElement;t.removeEventListener("mousedown",this._pointerDown,Vt),t.removeEventListener("touchstart",this._pointerDown,Vt),this._lastPointerEvent=null,this._removeGlobalEvents(),this._focusMonitor.stopMonitoring(this._elementRef),this._dirChangeSubscription.unsubscribe()}},{key:"_onMouseenter",value:function(){this.disabled||(this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent())}},{key:"_onFocus",value:function(){this._sliderDimensions=this._getSliderDimensions(),this._updateTickIntervalPercent()}},{key:"_onBlur",value:function(){this.onTouched()}},{key:"_onKeydown",value:function(t){if(!this.disabled&&!function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r0&&void 0!==arguments[0]?arguments[0]:this.value,e=new Yt;return e.source=this,e.value=t,e}},{key:"_calculatePercentage",value:function(t){return((t||0)-this.min)/(this.max-this.min)}},{key:"_calculateValue",value:function(t){return this.min+t*(this.max-this.min)}},{key:"_clamp",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.max(e,Math.min(t,n))}},{key:"_getSliderDimensions",value:function(){return this._sliderWrapper?this._sliderWrapper.nativeElement.getBoundingClientRect():null}},{key:"_focusHostElement",value:function(t){this._elementRef.nativeElement.focus(t)}},{key:"_blurHostElement",value:function(){this._elementRef.nativeElement.blur()}},{key:"_runInsideZone",value:function(t){this._ngZone?this._ngZone.run(t):t()}},{key:"_runOutsizeZone",value:function(t){this._ngZone?this._ngZone.runOutsideAngular(t):t()}},{key:"writeValue",value:function(t){this.value=t}},{key:"registerOnChange",value:function(t){this._controlValueAccessorChangeFn=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"invert",get:function(){return this._invert},set:function(t){this._invert=R(t)}},{key:"max",get:function(){return this._max},set:function(t){this._max=N(t,this._max),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}},{key:"min",get:function(){return this._min},set:function(t){this._min=N(t,this._min),null===this._value&&(this.value=this._min),this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}},{key:"step",get:function(){return this._step},set:function(t){this._step=N(t,this._step),this._step%1!=0&&(this._roundToDecimal=this._step.toString().split(".").pop().length),this._changeDetectorRef.markForCheck()}},{key:"thumbLabel",get:function(){return this._thumbLabel},set:function(t){this._thumbLabel=R(t)}},{key:"tickInterval",get:function(){return this._tickInterval},set:function(t){this._tickInterval="auto"===t?"auto":"number"==typeof t||"string"==typeof t?N(t,this._tickInterval):0}},{key:"value",get:function(){return null===this._value&&(this.value=this._min),this._value},set:function(t){if(t!==this._value){var e=N(t);this._roundToDecimal&&(e=parseFloat(e.toFixed(this._roundToDecimal))),this._value=e,this._percent=this._calculatePercentage(this._value),this._changeDetectorRef.markForCheck()}}},{key:"vertical",get:function(){return this._vertical},set:function(t){this._vertical=R(t)}},{key:"displayValue",get:function(){return this.displayWith?this.displayWith(this.value):this._roundToDecimal&&this.value&&this.value%1!=0?this.value.toFixed(this._roundToDecimal):this.value||0}},{key:"percent",get:function(){return this._clamp(this._percent)}},{key:"_invertAxis",get:function(){return this.vertical?!this.invert:this.invert}},{key:"_isMinValue",get:function(){return 0===this.percent}},{key:"_thumbGap",get:function(){return this.disabled?7:this._isMinValue&&!this.thumbLabel?this._isActive?10:7:0}},{key:"_trackBackgroundStyles",get:function(){var t=this.vertical?"1, ".concat(1-this.percent,", 1"):1-this.percent+", 1, 1";return{transform:"translate".concat(this.vertical?"Y":"X","(").concat(this._shouldInvertMouseCoords()?"-":"").concat(this._thumbGap,"px) scale3d(").concat(t,")")}}},{key:"_trackFillStyles",get:function(){var t=this.percent,e=this.vertical?"1, ".concat(t,", 1"):t+", 1, 1";return{transform:"translate".concat(this.vertical?"Y":"X","(").concat(this._shouldInvertMouseCoords()?"":"-").concat(this._thumbGap,"px) scale3d(").concat(e,")"),display:0===t?"none":""}}},{key:"_ticksContainerStyles",get:function(){return{transform:"translate".concat(this.vertical?"Y":"X","(").concat(this.vertical||"rtl"!=this._getDirection()?"-":"").concat(this._tickIntervalPercent/2*100,"%)")}}},{key:"_ticksStyles",get:function(){var t=100*this._tickIntervalPercent,e={backgroundSize:this.vertical?"2px ".concat(t,"%"):t+"% 2px",transform:"translateZ(0) translate".concat(this.vertical?"Y":"X","(").concat(this.vertical||"rtl"!=this._getDirection()?"":"-").concat(t/2,"%)").concat(this.vertical||"rtl"!=this._getDirection()?"":" rotate(180deg)")};return this._isMinValue&&this._thumbGap&&(e["padding"+(this.vertical?this._invertAxis?"Bottom":"Top":this._invertAxis?"Right":"Left")]=this._thumbGap+"px"),e}},{key:"_thumbContainerStyles",get:function(){return{transform:"translate".concat(this.vertical?"Y":"X","(-").concat(100*(("rtl"!=this._getDirection()||this.vertical?this._invertAxis:!this._invertAxis)?this.percent:1-this.percent),"%)")}}}]),n}(Ht)).\u0275fac=function(t){return new(t||Mt)(r.Ob(r.l),r.Ob(at),r.Ob(r.h),r.Ob(ft,8),r.Zb("tabindex"),r.Ob(bt,8),r.Ob(r.z),r.Ob(o.c,8))},Mt.\u0275cmp=r.Ib({type:Mt,selectors:[["mat-slider"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Bt,!0),2&t&&r.qc(n=r.dc())&&(e._sliderWrapper=n.first)},hostAttrs:["role","slider",1,"mat-slider","mat-focus-indicator"],hostVars:28,hostBindings:function(t,e){1&t&&r.cc("focus",(function(){return e._onFocus()}))("blur",(function(){return e._onBlur()}))("keydown",(function(t){return e._onKeydown(t)}))("keyup",(function(){return e._onKeyup()}))("mouseenter",(function(){return e._onMouseenter()}))("selectstart",(function(t){return t.preventDefault()})),2&t&&(r.Xb("tabIndex",e.tabIndex),r.Db("aria-disabled",e.disabled)("aria-valuemax",e.max)("aria-valuemin",e.min)("aria-valuenow",e.value)("aria-orientation",e.vertical?"vertical":"horizontal"),r.Gb("mat-slider-disabled",e.disabled)("mat-slider-has-ticks",e.tickInterval)("mat-slider-horizontal",!e.vertical)("mat-slider-axis-inverted",e._invertAxis)("mat-slider-invert-mouse-coords",e._shouldInvertMouseCoords())("mat-slider-sliding",e._isSliding)("mat-slider-thumb-label-showing",e.thumbLabel)("mat-slider-vertical",e.vertical)("mat-slider-min-value",e._isMinValue)("mat-slider-hide-last-tick",e.disabled||e._isMinValue&&e._thumbGap&&e._invertAxis)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disabled:"disabled",color:"color",tabIndex:"tabIndex",invert:"invert",max:"max",min:"min",value:"value",step:"step",thumbLabel:"thumbLabel",tickInterval:"tickInterval",vertical:"vertical",displayWith:"displayWith"},outputs:{change:"change",input:"input",valueChange:"valueChange"},exportAs:["matSlider"],features:[r.Bb([jt]),r.zb],decls:13,vars:6,consts:[[1,"mat-slider-wrapper"],["sliderWrapper",""],[1,"mat-slider-track-wrapper"],[1,"mat-slider-track-background",3,"ngStyle"],[1,"mat-slider-track-fill",3,"ngStyle"],[1,"mat-slider-ticks-container",3,"ngStyle"],[1,"mat-slider-ticks",3,"ngStyle"],[1,"mat-slider-thumb-container",3,"ngStyle"],[1,"mat-slider-focus-ring"],[1,"mat-slider-thumb"],[1,"mat-slider-thumb-label"],[1,"mat-slider-thumb-label-text"]],template:function(t,e){1&t&&(r.Ub(0,"div",0,1),r.Ub(2,"div",2),r.Pb(3,"div",3),r.Pb(4,"div",4),r.Tb(),r.Ub(5,"div",5),r.Pb(6,"div",6),r.Tb(),r.Ub(7,"div",7),r.Pb(8,"div",8),r.Pb(9,"div",9),r.Ub(10,"div",10),r.Ub(11,"span",11),r.Ac(12),r.Tb(),r.Tb(),r.Tb(),r.Tb()),2&t&&(r.Cb(3),r.lc("ngStyle",e._trackBackgroundStyles),r.Cb(1),r.lc("ngStyle",e._trackFillStyles),r.Cb(1),r.lc("ngStyle",e._ticksContainerStyles),r.Cb(1),r.lc("ngStyle",e._ticksStyles),r.Cb(1),r.lc("ngStyle",e._thumbContainerStyles),r.Cb(5),r.Bc(e.displayValue))},directives:[o.k],styles:['.mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:none;vertical-align:middle}.mat-slider:not(.mat-slider-disabled):active,.mat-slider.mat-slider-sliding:not(.mat-slider-disabled){cursor:-webkit-grabbing;cursor:grabbing}.mat-slider-wrapper{position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-track-background{position:absolute;transform-origin:100% 100%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{background-repeat:repeat;background-clip:content-box;box-sizing:border-box;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-focus-ring{position:absolute;width:30px;height:30px;border-radius:50%;transform:scale(0);opacity:0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider.cdk-keyboard-focused .mat-slider-focus-ring,.mat-slider.cdk-program-focused .mat-slider-focus-ring{transform:scale(1);opacity:1}.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb-label,.mat-slider:not(.mat-slider-disabled):not(.mat-slider-sliding) .mat-slider-thumb{cursor:-webkit-grab;cursor:grab}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;border-radius:50%;transform:scale(0.7);transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),border-radius 400ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.cdk-high-contrast-active .mat-slider-thumb-label{outline:solid 1px}.mat-slider-thumb-label-text{z-index:1;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-sliding .mat-slider-track-fill,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-thumb-container{transition-duration:0ms}.mat-slider-has-ticks .mat-slider-wrapper::after{content:"";position:absolute;border-width:0;border-style:solid;opacity:0;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-has-ticks.cdk-focused:not(.mat-slider-disabled) .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-disabled) .mat-slider-ticks{opacity:1}.mat-slider-thumb-label-showing .mat-slider-focus-ring{display:none}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider:not(.mat-slider-disabled).cdk-focused.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider:not(.mat-slider-disabled).cdk-focused .mat-slider-thumb-label-text{opacity:1}.mat-slider:not(.mat-slider-disabled).cdk-mouse-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-touch-focused .mat-slider-thumb,.mat-slider:not(.mat-slider-disabled).cdk-program-focused .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-disabled .mat-slider-focus-ring{transform:scale(0);opacity:0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(0.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.cdk-high-contrast-active .mat-slider-horizontal .mat-slider-ticks-container{height:0;outline:solid 2px;top:1px}.mat-slider-horizontal .mat-slider-ticks{height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-focus-ring{top:-15px;right:-15px}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(0.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.cdk-focused .mat-slider-thumb-label{transform:rotate(45deg)}.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label,.cdk-high-contrast-active .mat-slider-horizontal.cdk-focused .mat-slider-thumb-label-text{transform:none}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.cdk-high-contrast-active .mat-slider-vertical .mat-slider-ticks-container{width:0;outline:solid 2px;left:1px}.mat-slider-vertical .mat-slider-focus-ring{bottom:-15px;left:-15px}.mat-slider-vertical .mat-slider-ticks{width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb{-webkit-backface-visibility:hidden;backface-visibility:hidden}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(0.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.cdk-focused .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}.mat-slider._mat-animation-noopable .mat-slider-track-fill,.mat-slider._mat-animation-noopable .mat-slider-track-background,.mat-slider._mat-animation-noopable .mat-slider-ticks,.mat-slider._mat-animation-noopable .mat-slider-thumb-container,.mat-slider._mat-animation-noopable .mat-slider-focus-ring,.mat-slider._mat-animation-noopable .mat-slider-thumb,.mat-slider._mat-animation-noopable .mat-slider-thumb-label,.mat-slider._mat-animation-noopable .mat-slider-thumb-label-text,.mat-slider._mat-animation-noopable .mat-slider-has-ticks .mat-slider-wrapper::after{transition:none}\n'],encapsulation:2,changeDetection:0}),Mt);function Gt(t){return"t"===t.type[0]}function qt(t){var e=Gt(t)?t.touches[0]||t.changedTouches[0]:t;return{x:e.clientX,y:e.clientY}}var Wt,Zt=((Wt=function t(){_classCallCheck(this,t)}).\u0275mod=r.Mb({type:Wt}),Wt.\u0275inj=r.Lb({factory:function(t){return new(t||Wt)},imports:[[o.b,kt],kt]}),Wt),$t=n("DH7j"),Xt=n("n6bG");function Kt(t,e,n,r){return Object(Xt.a)(n)&&(r=n,n=void 0),r?Kt(t,e,n).pipe(Object(P.a)((function(t){return Object($t.a)(t)?r.apply(void 0,_toConsumableArray(t)):r(t)}))):new X.a((function(r){!function t(e,n,r,i,a){var o;if(function(t){return t&&"function"==typeof t.addEventListener&&"function"==typeof t.removeEventListener}(e)){var s=e;e.addEventListener(n,r,a),o=function(){return s.removeEventListener(n,r,a)}}else if(function(t){return t&&"function"==typeof t.on&&"function"==typeof t.off}(e)){var l=e;e.on(n,r),o=function(){return l.off(n,r)}}else if(function(t){return t&&"function"==typeof t.addListener&&"function"==typeof t.removeListener}(e)){var u=e;e.addListener(n,r),o=function(){return u.removeListener(n,r)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var c=0,h=e.length;c1?Array.prototype.slice.call(arguments):t)}),r,n)}))}var Qt=n("VRyK"),Jt=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;return _classCallCheck(this,n),(i=e.call(this,t,r)).scheduler=t,i.work=r,i}return _createClass2(n,[{key:"requestAsyncId",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,t,e,r):(t.actions.push(this),t.scheduled||(t.scheduled=requestAnimationFrame((function(){return t.flush(null)}))))}},{key:"recycleAsyncId",value:function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return _get(_getPrototypeOf(n.prototype),"recycleAsyncId",this).call(this,t,e,r);0===t.actions.length&&(cancelAnimationFrame(e),t.scheduled=void 0)}}]),n}(n("3N8a").a),te=new(function(t){_inherits(n,t);var e=_createSuper(n);function n(){return _classCallCheck(this,n),e.apply(this,arguments)}return _createClass2(n,[{key:"flush",value:function(t){this.active=!0,this.scheduled=void 0;var e,n=this.actions,r=-1,i=n.length;t=t||n.shift();do{if(e=t.execute(t.state,t.delay))break}while(++r=0}var se=n("z+Ro");function le(t){var e=t.index,n=t.period,r=t.subscriber;if(r.next(e),!r.closed){if(-1===n)return r.complete();t.index=e+1,this.schedule(t,n)}}function ue(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ee.a;return e=function(){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=-1;return oe(e)?r=Number(e)<1?1:Number(e):Object(se.a)(e)&&(n=e),Object(se.a)(n)||(n=ee.a),new X.a((function(e){var i=oe(t)?t:+t-n.now();return n.schedule(le,i,{index:0,period:r,subscriber:e})}))}(t,n)},function(t){return t.lift(new ie(e))}}function ce(t){return function(e){return e.lift(new he(t))}}var he=function(){function t(e){_classCallCheck(this,t),this.notifier=e}return _createClass2(t,[{key:"call",value:function(t,e){var n=new fe(t),r=Object(re.a)(n,this.notifier);return r&&!n.seenValue?(n.add(r),e.subscribe(n)):n}}]),t}(),fe=function(t){_inherits(n,t);var e=_createSuper(n);function n(t){var r;return _classCallCheck(this,n),(r=e.call(this,t)).seenValue=!1,r}return _createClass2(n,[{key:"notifyNext",value:function(t,e,n,r,i){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(ne.a);n("7o/Q");var de=n("eIep");n("EY2u"),n("9ppp"),n("Ylt2");var pe,ge,ve,me=((ve=function(){function t(e,n,r){_classCallCheck(this,t),this._ngZone=e,this._platform=n,this._scrolled=new T.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}return _createClass2(t,[{key:"register",value:function(t){var e=this;this.scrollContainers.has(t)||this.scrollContainers.set(t,t.elementScrolled().subscribe((function(){return e._scrolled.next(t)})))}},{key:"deregister",value:function(t){var e=this.scrollContainers.get(t);e&&(e.unsubscribe(),this.scrollContainers.delete(t))}},{key:"scrolled",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new X.a((function(n){t._globalSubscription||t._addGlobalListener();var r=e>0?t._scrolled.pipe(ue(e)).subscribe(n):t._scrolled.subscribe(n);return t._scrolledCount++,function(){r.unsubscribe(),t._scrolledCount--,t._scrolledCount||t._removeGlobalListener()}})):Object(M.a)()}},{key:"ngOnDestroy",value:function(){var t=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(e,n){return t.deregister(n)})),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(t,e){var n=this.getAncestorScrollContainers(t);return this.scrolled(e).pipe(Object(O.a)((function(t){return!t||n.indexOf(t)>-1})))}},{key:"getAncestorScrollContainers",value:function(t){var e=this,n=[];return this.scrollContainers.forEach((function(r,i){e._scrollableContainsElement(i,t)&&n.push(i)})),n}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollableContainsElement",value:function(t,e){var n=e.nativeElement,r=t.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var t=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return Kt(t._getWindow().document,"scroll").subscribe((function(){return t._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),t}()).\u0275fac=function(t){return new(t||ve)(r.Yb(r.z),r.Yb(Y),r.Yb(o.c,8))},ve.\u0275prov=Object(r.Kb)({factory:function(){return new ve(Object(r.Yb)(r.z),Object(r.Yb)(Y),Object(r.Yb)(o.c,8))},token:ve,providedIn:"root"}),ve),ye=((ge=function(){function t(e,n,r){var i=this;_classCallCheck(this,t),this._platform=e,this._document=r,n.runOutsideAngular((function(){var t=i._getWindow();i._change=e.isBrowser?Object(Qt.a)(Kt(t,"resize"),Kt(t,"orientationchange")):Object(M.a)(),i._invalidateCache=i.change().subscribe((function(){return i._updateViewportSize()}))}))}return _createClass2(t,[{key:"ngOnDestroy",value:function(){this._invalidateCache.unsubscribe()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var t={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),t}},{key:"getViewportRect",value:function(){var t=this.getViewportScrollPosition(),e=this.getViewportSize(),n=e.width,r=e.height;return{top:t.top,left:t.left,bottom:t.top+r,right:t.left+n,height:r,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var t=this._getDocument(),e=this._getWindow(),n=t.documentElement,r=n.getBoundingClientRect();return{top:-r.top||t.body.scrollTop||e.scrollY||n.scrollTop||0,left:-r.left||t.body.scrollLeft||e.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return t>0?this._change.pipe(ue(t)):this._change}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_updateViewportSize",value:function(){var t=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:t.innerWidth,height:t.innerHeight}:{width:0,height:0}}}]),t}()).\u0275fac=function(t){return new(t||ge)(r.Yb(Y),r.Yb(r.z),r.Yb(o.c,8))},ge.\u0275prov=Object(r.Kb)({factory:function(){return new ge(Object(r.Yb)(Y),Object(r.Yb)(r.z),Object(r.Yb)(o.c,8))},token:ge,providedIn:"root"}),ge),_e=((pe=function t(){_classCallCheck(this,t)}).\u0275mod=r.Mb({type:pe}),pe.\u0275inj=r.Lb({factory:function(t){return new(t||pe)}}),pe);function be(t){var e=t.subscriber,n=t.counter,r=t.period;e.next(n),this.schedule({subscriber:e,counter:n+1,period:r},r)}function xe(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}function we(t,e){var n=e?"":"none";xe(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:n,msUserSelect:n,webkitUserSelect:n,MozUserSelect:n})}function ke(t){var e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function Se(t,e){return t.getPropertyValue(e).split(",").map((function(t){return t.trim()}))}function Ce(t){var e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function Ae(t,e,n){var r=t.top,i=t.bottom,a=t.left,o=t.right;return n>=r&&n<=i&&e>=a&&e<=o}function Te(t,e,n){t.top+=e,t.bottom=t.top+t.height,t.left+=n,t.right=t.left+t.width}function Ee(t,e,n,r){var i=t.top,a=t.right,o=t.bottom,s=t.left,l=t.width*e,u=t.height*e;return r>i-u&&rs-l&&n=s._config.dragStartThreshold){if(!(Date.now()>=s._dragStartTime+s._getDragStartDelay(t)))return void s._endDragSequence(t);s._dropContainer&&s._dropContainer.isDragging()||(s._hasStartedDragging=!0,s._ngZone.run((function(){return s._startDragSequence(t)})))}},this._pointerUp=function(t){s._endDragSequence(t)},this.withRootElement(e),this._parentPositions=new Me(r,a),o.registerDragItem(this)}return _createClass2(t,[{key:"getPlaceholderElement",value:function(){return this._placeholder}},{key:"getRootElement",value:function(){return this._rootElement}},{key:"getVisibleElement",value:function(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}},{key:"withHandles",value:function(t){return this._handles=t.map((function(t){return z(t)})),this._handles.forEach((function(t){return we(t,!1)})),this._toggleNativeDragInteractions(),this}},{key:"withPreviewTemplate",value:function(t){return this._previewTemplate=t,this}},{key:"withPlaceholderTemplate",value:function(t){return this._placeholderTemplate=t,this}},{key:"withRootElement",value:function(t){var e=this,n=z(t);return n!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular((function(){n.addEventListener("mousedown",e._pointerDown,De),n.addEventListener("touchstart",e._pointerDown,Ie)})),this._initialTransform=void 0,this._rootElement=n),this}},{key:"withBoundaryElement",value:function(t){var e=this;return this._boundaryElement=t?z(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe((function(){return e._containInsideBoundaryOnResize()}))),this}},{key:"dispose",value:function(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&Ne(this._rootElement),Ne(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._placeholderTemplate=this._previewTemplate=this._anchor=null}},{key:"isDragging",value:function(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}},{key:"reset",value:function(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}},{key:"disableHandle",value:function(t){this._handles.indexOf(t)>-1&&this._disabledHandles.add(t)}},{key:"enableHandle",value:function(t){this._disabledHandles.delete(t)}},{key:"withDirection",value:function(t){return this._direction=t,this}},{key:"_withDropContainer",value:function(t){this._dropContainer=t}},{key:"getFreeDragPosition",value:function(){var t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}},{key:"setFreeDragPosition",value:function(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}},{key:"_sortFromLastPointerPosition",value:function(){var t=this._pointerPositionAtLastDirectionChange;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t))}},{key:"_removeSubscriptions",value:function(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}},{key:"_destroyPreview",value:function(){this._preview&&Ne(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}},{key:"_destroyPlaceholder",value:function(){this._placeholder&&Ne(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}},{key:"_endDragSequence",value:function(t){var e=this;this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then((function(){e._cleanupDragArtifacts(t),e._cleanupCachedDimensions(),e._dragDropRegistry.stopDragging(e)}))):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run((function(){e.ended.next({source:e,distance:e._getDragDistance(e._getPointerPositionOnPage(t))})})),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}},{key:"_startDragSequence",value:function(t){this.started.next({source:this}),ze(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();var e,n=this._dropContainer;if(n){var r=this._rootElement,i=r.parentNode,a=this._preview=this._createPreviewElement(),o=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment("");i.insertBefore(s,r),r.style.display="none",this._document.body.appendChild(i.replaceChild(o,r)),(e=this._document,e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement||e.body).appendChild(a),n.start(),this._initialContainer=n,this._initialIndex=n.getItemIndex(this)}else this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(n?n.getScrollableParents():[])}},{key:"_initializeDragSequence",value:function(t,e){var n=this;e.stopPropagation();var r=this.isDragging(),i=ze(e),a=!i&&0!==e.button,o=this._rootElement,s=!i&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),!(r||a||s)){this._handles.length&&(this._rootElementTapHighlight=o.style.webkitTapHighlightColor,o.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.subscribe((function(t){n._updateOnScroll(t)})),this._boundaryElement&&(this._boundaryRect=Ce(this._boundaryElement));var l=this._previewTemplate;this._pickupPositionInElement=l&&l.template&&!l.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);var u=this._pickupPositionOnPage=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:u.x,y:u.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}}},{key:"_cleanupDragArtifacts",value:function(t){var e=this;this._rootElement.style.display="",this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run((function(){var n=e._dropContainer,r=n.getItemIndex(e),i=e._getPointerPositionOnPage(t),a=e._getDragDistance(e._getPointerPositionOnPage(t)),o=n._isOverContainer(i.x,i.y);e.ended.next({source:e,distance:a}),e.dropped.next({item:e,currentIndex:r,previousIndex:e._initialIndex,container:n,previousContainer:e._initialContainer,isPointerOverContainer:o,distance:a}),n.drop(e,r,e._initialContainer,o,a,e._initialIndex),e._dropContainer=e._initialContainer}))}},{key:"_updateActiveDropContainer",value:function(t){var e=this,n=t.x,r=t.y,i=this._initialContainer._getSiblingContainerFromPosition(this,n,r);!i&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,r)&&(i=this._initialContainer),i&&i!==this._dropContainer&&this._ngZone.run((function(){e.exited.next({item:e,container:e._dropContainer}),e._dropContainer.exit(e),e._dropContainer=i,e._dropContainer.enter(e,n,r,i===e._initialContainer&&i.sortingDisabled?e._initialIndex:void 0),e.entered.next({item:e,container:i,currentIndex:i.getItemIndex(e)})})),this._dropContainer._startScrollingIfNecessary(n,r),this._dropContainer._sortItem(this,n,r,this._pointerDirectionDelta),this._preview.style.transform=Pe(n-this._pickupPositionInElement.x,r-this._pickupPositionInElement.y)}},{key:"_createPreviewElement",value:function(){var t,e=this._previewTemplate,n=this.previewClass,r=e?e.template:null;if(r&&e){var i=e.matchSize?this._rootElement.getBoundingClientRect():null,a=e.viewContainer.createEmbeddedView(r,e.context);a.detectChanges(),t=Fe(a,this._document),this._previewRef=a,e.matchSize?Be(t,i):t.style.transform=Pe(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{var o=this._rootElement;Be(t=Le(o),o.getBoundingClientRect())}return xe(t.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),we(t,!1),t.classList.add("cdk-drag-preview"),t.setAttribute("dir",this._direction),n&&(Array.isArray(n)?n.forEach((function(e){return t.classList.add(e)})):t.classList.add(n)),t}},{key:"_animatePreviewToPlaceholder",value:function(){var t=this;if(!this._hasMoved)return Promise.resolve();var e=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=Pe(e.left,e.top);var n=function(t){var e=getComputedStyle(t),n=Se(e,"transition-property"),r=n.find((function(t){return"transform"===t||"all"===t}));if(!r)return 0;var i=n.indexOf(r),a=Se(e,"transition-duration"),o=Se(e,"transition-delay");return ke(a[i])+ke(o[i])}(this._preview);return 0===n?Promise.resolve():this._ngZone.runOutsideAngular((function(){return new Promise((function(e){var r=function n(r){(!r||r.target===t._preview&&"transform"===r.propertyName)&&(t._preview.removeEventListener("transitionend",n),e(),clearTimeout(i))},i=setTimeout(r,1.5*n);t._preview.addEventListener("transitionend",r)}))}))}},{key:"_createPlaceholderElement",value:function(){var t,e=this._placeholderTemplate,n=e?e.template:null;return n?(this._placeholderRef=e.viewContainer.createEmbeddedView(n,e.context),this._placeholderRef.detectChanges(),t=Fe(this._placeholderRef,this._document)):t=Le(this._rootElement),t.classList.add("cdk-drag-placeholder"),t}},{key:"_getPointerPositionInElement",value:function(t,e){var n=this._rootElement.getBoundingClientRect(),r=t===this._rootElement?null:t,i=r?r.getBoundingClientRect():n,a=ze(e)?e.targetTouches[0]:e,o=this._getViewportScrollPosition();return{x:i.left-n.left+(a.pageX-i.left-o.left),y:i.top-n.top+(a.pageY-i.top-o.top)}}},{key:"_getPointerPositionOnPage",value:function(t){var e=ze(t)?t.touches[0]||t.changedTouches[0]:t,n=this._getViewportScrollPosition();return{x:e.pageX-n.left,y:e.pageY-n.top}}},{key:"_getConstrainedPointerPosition",value:function(t){var e=this.constrainPosition?this.constrainPosition(t,this):t,n=this._dropContainer?this._dropContainer.lockAxis:null;if("x"===this.lockAxis||"x"===n?e.y=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==n||(e.x=this._pickupPositionOnPage.x),this._boundaryRect){var r=this._pickupPositionInElement,i=r.x,a=r.y,o=this._boundaryRect,s=this._previewRect,l=o.top+a,u=o.bottom-(s.height-a);e.x=Re(e.x,o.left+i,o.right-(s.width-i)),e.y=Re(e.y,l,u)}return e}},{key:"_updatePointerDirectionDelta",value:function(t){var e=t.x,n=t.y,r=this._pointerDirectionDelta,i=this._pointerPositionAtLastDirectionChange,a=Math.abs(e-i.x),o=Math.abs(n-i.y);return a>this._config.pointerDirectionChangeThreshold&&(r.x=e>i.x?1:-1,i.x=e),o>this._config.pointerDirectionChangeThreshold&&(r.y=n>i.y?1:-1,i.y=n),r}},{key:"_toggleNativeDragInteractions",value:function(){if(this._rootElement&&this._handles){var t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,we(this._rootElement,t))}}},{key:"_removeRootElementListeners",value:function(t){t.removeEventListener("mousedown",this._pointerDown,De),t.removeEventListener("touchstart",this._pointerDown,Ie)}},{key:"_applyRootElementTransform",value:function(t,e){var n=Pe(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?n+" "+this._initialTransform:n}},{key:"_getDragDistance",value:function(t){var e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}},{key:"_cleanupCachedDimensions",value:function(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}},{key:"_containInsideBoundaryOnResize",value:function(){var t=this._passiveTransform,e=t.x,n=t.y;if(!(0===e&&0===n||this.isDragging())&&this._boundaryElement){var r=this._boundaryElement.getBoundingClientRect(),i=this._rootElement.getBoundingClientRect();if(!(0===r.width&&0===r.height||0===i.width&&0===i.height)){var a=r.left-i.left,o=i.right-r.right,s=r.top-i.top,l=i.bottom-r.bottom;r.width>i.width?(a>0&&(e+=a),o>0&&(e-=o)):e=0,r.height>i.height?(s>0&&(n+=s),l>0&&(n-=l)):n=0,e===this._passiveTransform.x&&n===this._passiveTransform.y||this.setFreeDragPosition({y:n,x:e})}}}},{key:"_getDragStartDelay",value:function(t){var e=this.dragStartDelay;return"number"==typeof e?e:ze(t)?e.touch:e?e.mouse:0}},{key:"_updateOnScroll",value:function(t){var e=this._parentPositions.handleScroll(t);this._boundaryRect&&e&&Te(this._boundaryRect,e.top,e.left)}},{key:"_getViewportScrollPosition",value:function(){var t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}},{key:"disabled",get:function(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)},set:function(t){var e=R(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions())}}]),t}();function Pe(t,e){return"translate3d(".concat(Math.round(t),"px, ").concat(Math.round(e),"px, 0)")}function Le(t){var e=t.cloneNode(!0),n=e.querySelectorAll("[id]"),r=t.querySelectorAll("canvas");e.removeAttribute("id");for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ee.a;return(!oe(t)||t<0)&&(t=0),e&&"function"==typeof e.schedule||(e=ee.a),new X.a((function(n){return n.add(e.schedule(be,t,{subscriber:n,counter:0,period:t})),n}))}(0,te).pipe(ce(o._stopScrollTimers)).subscribe((function(){var t=o._scrollNode;1===o._verticalScrollDirection?Ue(t,-2):2===o._verticalScrollDirection&&Ue(t,2),1===o._horizontalScrollDirection?Ge(t,-2):2===o._horizontalScrollDirection&&Ge(t,2)}))},this.element=z(e),this._document=r,this.withScrollableParents([this.element]),n.registerDropContainer(this),this._parentPositions=new Me(r,a)}return _createClass2(t,[{key:"dispose",value:function(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}},{key:"isDragging",value:function(){return this._isDragging}},{key:"start",value:function(){var t=this,e=z(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=e.msScrollSnapType||e.scrollSnapType||"",e.scrollSnapType=e.msScrollSnapType="none",this._cacheItems(),this._siblings.forEach((function(e){return e._startReceiving(t)})),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}},{key:"enter",value:function(t,e,n,r){var i;this.start(),null==r?-1===(i=this.sortingDisabled?this._draggables.indexOf(t):-1)&&(i=this._getItemIndexFromPointerPosition(t,e,n)):i=r;var a=this._activeDraggables,o=a.indexOf(t),s=t.getPlaceholderElement(),l=a[i];if(l===t&&(l=a[i+1]),o>-1&&a.splice(o,1),l&&!this._dragDropRegistry.isDragging(l)){var u=l.getRootElement();u.parentElement.insertBefore(s,u),a.splice(i,0,t)}else{var c=z(this.element);this._shouldEnterAsFirstChild(e,n)?(c.insertBefore(s,a[0].getRootElement()),a.unshift(t)):(c.appendChild(s),a.push(t))}s.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}},{key:"exit",value:function(t){this._reset(),this.exited.next({item:t,container:this})}},{key:"drop",value:function(t,e,n,r,i,a){this._reset(),null==a&&(a=n.getItemIndex(t)),this.dropped.next({item:t,currentIndex:e,previousIndex:a,container:this,previousContainer:n,isPointerOverContainer:r,distance:i})}},{key:"withItems",value:function(t){var e=this,n=this._draggables;return this._draggables=t,t.forEach((function(t){return t._withDropContainer(e)})),this.isDragging()&&(n.filter((function(t){return t.isDragging()})).every((function(e){return-1===t.indexOf(e)}))?this._reset():this._cacheItems()),this}},{key:"withDirection",value:function(t){return this._direction=t,this}},{key:"connectedTo",value:function(t){return this._siblings=t.slice(),this}},{key:"withOrientation",value:function(t){return this._orientation=t,this}},{key:"withScrollableParents",value:function(t){var e=z(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e].concat(_toConsumableArray(t)):t.slice(),this}},{key:"getScrollableParents",value:function(){return this._scrollableElements}},{key:"getItemIndex",value:function(t){return this._isDragging?He("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,(function(e){return e.drag===t})):this._draggables.indexOf(t)}},{key:"isReceiving",value:function(){return this._activeSiblings.size>0}},{key:"_sortItem",value:function(t,e,n,r){if(!this.sortingDisabled&&Ee(this._clientRect,.05,e,n)){var i=this._itemPositions,a=this._getItemIndexFromPointerPosition(t,e,n,r);if(!(-1===a&&i.length>0)){var o="horizontal"===this._orientation,s=He(i,(function(e){return e.drag===t})),l=i[a],u=i[s].clientRect,c=l.clientRect,h=s>a?1:-1;this._previousSwap.drag=l.drag,this._previousSwap.delta=o?r.x:r.y;var f=this._getItemOffsetPx(u,c,h),d=this._getSiblingOffsetPx(s,i,h),p=i.slice();Ve(i,s,a),this.sorted.next({previousIndex:s,currentIndex:a,container:this,item:t}),i.forEach((function(e,n){if(p[n]!==e){var r=e.drag===t,i=r?f:d,a=r?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=i,o?(a.style.transform="translate3d(".concat(Math.round(e.offset),"px, 0, 0)"),Te(e.clientRect,0,i)):(a.style.transform="translate3d(0, ".concat(Math.round(e.offset),"px, 0)"),Te(e.clientRect,i,0))}}))}}}},{key:"_startScrollingIfNecessary",value:function(t,e){var n=this;if(!this.autoScrollDisabled){var r,i=0,a=0;if(this._parentPositions.positions.forEach((function(o,s){var l;s!==n._document&&o.clientRect&&!r&&Ee(o.clientRect,.05,t,e)&&(l=_slicedToArray(function(t,e,n,r){var i=qe(e,r),a=We(e,n),o=0,s=0;if(i){var l=t.scrollTop;1===i?l>0&&(o=1):t.scrollHeight-l>t.clientHeight&&(o=2)}if(a){var u=t.scrollLeft;1===a?u>0&&(s=1):t.scrollWidth-u>t.clientWidth&&(s=2)}return[o,s]}(s,o.clientRect,t,e),2),i=l[0],a=l[1],(i||a)&&(r=s))})),!i&&!a){var o=this._viewportRuler.getViewportSize(),s=o.width,l=o.height,u={width:s,height:l,top:0,right:s,bottom:l,left:0};i=qe(u,e),a=We(u,t),r=window}!r||i===this._verticalScrollDirection&&a===this._horizontalScrollDirection&&r===this._scrollNode||(this._verticalScrollDirection=i,this._horizontalScrollDirection=a,this._scrollNode=r,(i||a)&&r?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}}},{key:"_stopScrolling",value:function(){this._stopScrollTimers.next()}},{key:"_cacheParentPositions",value:function(){var t=z(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}},{key:"_cacheItemPositions",value:function(){var t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map((function(t){var e=t.getVisibleElement();return{drag:t,offset:0,clientRect:Ce(e)}})).sort((function(e,n){return t?e.clientRect.left-n.clientRect.left:e.clientRect.top-n.clientRect.top}))}},{key:"_reset",value:function(){var t=this;this._isDragging=!1;var e=z(this.element).style;e.scrollSnapType=e.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach((function(t){var e=t.getRootElement();e&&(e.style.transform="")})),this._siblings.forEach((function(e){return e._stopReceiving(t)})),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}},{key:"_getSiblingOffsetPx",value:function(t,e,n){var r="horizontal"===this._orientation,i=e[t].clientRect,a=e[t+-1*n],o=i[r?"width":"height"]*n;if(a){var s=r?"left":"top",l=r?"right":"bottom";-1===n?o-=a.clientRect[s]-i[l]:o+=i[s]-a.clientRect[l]}return o}},{key:"_getItemOffsetPx",value:function(t,e,n){var r="horizontal"===this._orientation,i=r?e.left-t.left:e.top-t.top;return-1===n&&(i+=r?e.width-t.width:e.height-t.height),i}},{key:"_shouldEnterAsFirstChild",value:function(t,e){if(!this._activeDraggables.length)return!1;var n=this._itemPositions,r="horizontal"===this._orientation;if(n[0].drag!==this._activeDraggables[0]){var i=n[n.length-1].clientRect;return r?t>=i.right:e>=i.bottom}var a=n[0].clientRect;return r?t<=a.left:e<=a.top}},{key:"_getItemIndexFromPointerPosition",value:function(t,e,n,r){var i=this,a="horizontal"===this._orientation;return He(this._itemPositions,(function(o,s,l){var u=o.drag,c=o.clientRect;if(u===t)return l.length<2;if(r){var h=a?r.x:r.y;if(u===i._previousSwap.drag&&h===i._previousSwap.delta)return!1}return a?e>=Math.floor(c.left)&&e=Math.floor(c.top)&&n=n-i&&e<=n+i?1:e>=r-i&&e<=r+i?2:0}function We(t,e){var n=t.left,r=t.right,i=.05*t.width;return e>=n-i&&e<=n+i?1:e>=r-i&&e<=r+i?2:0}var Ze,$e,Xe,Ke,Qe,Je,tn=U({passive:!1,capture:!0}),en=((Ze=function(){function t(e,n){var r=this;_classCallCheck(this,t),this._ngZone=e,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new T.a,this.pointerUp=new T.a,this.scroll=new T.a,this._preventDefaultWhileDragging=function(t){r._activeDragInstances.size&&t.preventDefault()},this._document=n}return _createClass2(t,[{key:"registerDropContainer",value:function(t){this._dropInstances.has(t)||this._dropInstances.add(t)}},{key:"registerDragItem",value:function(t){var e=this;this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular((function(){e._document.addEventListener("touchmove",e._preventDefaultWhileDragging,tn)}))}},{key:"removeDropContainer",value:function(t){this._dropInstances.delete(t)}},{key:"removeDragItem",value:function(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,tn)}},{key:"startDragging",value:function(t,e){var n=this;if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){var r=e.type.startsWith("touch"),i=r?"touchend":"mouseup";this._globalListeners.set(r?"touchmove":"mousemove",{handler:function(t){return n.pointerMove.next(t)},options:tn}).set(i,{handler:function(t){return n.pointerUp.next(t)},options:!0}).set("scroll",{handler:function(t){return n.scroll.next(t)},options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:tn}),this._ngZone.runOutsideAngular((function(){n._globalListeners.forEach((function(t,e){n._document.addEventListener(e,t.handler,t.options)}))}))}}},{key:"stopDragging",value:function(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()}},{key:"isDragging",value:function(t){return this._activeDragInstances.has(t)}},{key:"ngOnDestroy",value:function(){var t=this;this._dragInstances.forEach((function(e){return t.removeDragItem(e)})),this._dropInstances.forEach((function(e){return t.removeDropContainer(e)})),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}},{key:"_clearGlobalListeners",value:function(){var t=this;this._globalListeners.forEach((function(e,n){t._document.removeEventListener(n,e.handler,e.options)})),this._globalListeners.clear()}}]),t}()).\u0275fac=function(t){return new(t||Ze)(r.Yb(r.z),r.Yb(o.c))},Ze.\u0275prov=Object(r.Kb)({factory:function(){return new Ze(Object(r.Yb)(r.z),Object(r.Yb)(o.c))},token:Ze,providedIn:"root"}),Ze),nn={dragStartThreshold:5,pointerDirectionChangeThreshold:5},rn=(($e=function(){function t(e,n,r,i){_classCallCheck(this,t),this._document=e,this._ngZone=n,this._viewportRuler=r,this._dragDropRegistry=i}return _createClass2(t,[{key:"createDrag",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nn;return new Oe(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}},{key:"createDropList",value:function(t){return new Ye(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}]),t}()).\u0275fac=function(t){return new(t||$e)(r.Yb(o.c),r.Yb(r.z),r.Yb(ye),r.Yb(en))},$e.\u0275prov=Object(r.Kb)({factory:function(){return new $e(Object(r.Yb)(o.c),Object(r.Yb)(r.z),Object(r.Yb)(ye),Object(r.Yb)(en))},token:$e,providedIn:"root"}),$e),an=new r.q("CDK_DRAG_PARENT"),on=((Qe=function(){function t(e,n){_classCallCheck(this,t),this.element=e,this._stateChanges=new T.a,this._disabled=!1,this._parentDrag=n,we(e.nativeElement,!1)}return _createClass2(t,[{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=R(t),this._stateChanges.next(this)}}]),t}()).\u0275fac=function(t){return new(t||Qe)(r.Ob(r.l),r.Ob(an,8))},Qe.\u0275dir=r.Jb({type:Qe,selectors:[["","cdkDragHandle",""]],hostAttrs:[1,"cdk-drag-handle"],inputs:{disabled:["cdkDragHandleDisabled","disabled"]}}),Qe),sn=((Ke=function t(e){_classCallCheck(this,t),this.templateRef=e}).\u0275fac=function(t){return new(t||Ke)(r.Ob(r.M))},Ke.\u0275dir=r.Jb({type:Ke,selectors:[["ng-template","cdkDragPlaceholder",""]],inputs:{data:"data"}}),Ke),ln=((Xe=function(){function t(e){_classCallCheck(this,t),this.templateRef=e,this._matchSize=!1}return _createClass2(t,[{key:"matchSize",get:function(){return this._matchSize},set:function(t){this._matchSize=R(t)}}]),t}()).\u0275fac=function(t){return new(t||Xe)(r.Ob(r.M))},Xe.\u0275dir=r.Jb({type:Xe,selectors:[["ng-template","cdkDragPreview",""]],inputs:{matchSize:"matchSize",data:"data"}}),Xe),un=new r.q("CDK_DRAG_CONFIG"),cn=new r.q("CDK_DROP_LIST"),hn=((Je=function(){function t(e,n,i,a,o,s,l,u,c){var h=this;_classCallCheck(this,t),this.element=e,this.dropContainer=n,this._document=i,this._ngZone=a,this._viewContainerRef=o,this._dir=l,this._changeDetectorRef=c,this._destroyed=new T.a,this.started=new r.n,this.released=new r.n,this.ended=new r.n,this.entered=new r.n,this.exited=new r.n,this.dropped=new r.n,this.moved=new X.a((function(t){var e=h._dragRef.moved.pipe(Object(P.a)((function(t){return{source:h,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}}))).subscribe(t);return function(){e.unsubscribe()}})),this._dragRef=u.createDrag(e,{dragStartThreshold:s&&null!=s.dragStartThreshold?s.dragStartThreshold:5,pointerDirectionChangeThreshold:s&&null!=s.pointerDirectionChangeThreshold?s.pointerDirectionChangeThreshold:5,zIndex:null==s?void 0:s.zIndex}),this._dragRef.data=this,s&&this._assignDefaults(s),n&&(this._dragRef._withDropContainer(n._dropListRef),n.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}return _createClass2(t,[{key:"getPlaceholderElement",value:function(){return this._dragRef.getPlaceholderElement()}},{key:"getRootElement",value:function(){return this._dragRef.getRootElement()}},{key:"reset",value:function(){this._dragRef.reset()}},{key:"getFreeDragPosition",value:function(){return this._dragRef.getFreeDragPosition()}},{key:"ngAfterViewInit",value:function(){var t=this;this._ngZone.onStable.asObservable().pipe(Object(L.a)(1),ce(this._destroyed)).subscribe((function(){t._updateRootElement(),t._handles.changes.pipe(Object(vt.a)(t._handles),Object(I.a)((function(e){var n=e.filter((function(e){return e._parentDrag===t})).map((function(t){return t.element}));t._dragRef.withHandles(n)})),Object(de.a)((function(t){return Object(Qt.a).apply(void 0,_toConsumableArray(t.map((function(t){return t._stateChanges.pipe(Object(vt.a)(t))}))))})),ce(t._destroyed)).subscribe((function(e){var n=t._dragRef,r=e.element.nativeElement;e.disabled?n.disableHandle(r):n.enableHandle(r)})),t.freeDragPosition&&t._dragRef.setFreeDragPosition(t.freeDragPosition)}))}},{key:"ngOnChanges",value:function(t){var e=t.rootElementSelector,n=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),n&&!n.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}},{key:"ngOnDestroy",value:function(){this.dropContainer&&this.dropContainer.removeItem(this),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}},{key:"_updateRootElement",value:function(){var t=this.element.nativeElement,e=this.rootElementSelector?fn(t,this.rootElementSelector):t;if(e&&e.nodeType!==this._document.ELEMENT_NODE)throw Error('cdkDrag must be attached to an element node. Currently attached to "'.concat(e.nodeName,'".'));this._dragRef.withRootElement(e||t)}},{key:"_getBoundaryElement",value:function(){var t=this.boundaryElement;if(!t)return null;if("string"==typeof t)return fn(this.element.nativeElement,t);var e=z(t);if(Object(r.W)()&&!e.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return e}},{key:"_syncInputs",value:function(t){var e=this;t.beforeStarted.subscribe((function(){if(!t.isDragging()){var n=e._dir,r=e.dragStartDelay,i=e._placeholderTemplate?{template:e._placeholderTemplate.templateRef,context:e._placeholderTemplate.data,viewContainer:e._viewContainerRef}:null,a=e._previewTemplate?{template:e._previewTemplate.templateRef,context:e._previewTemplate.data,matchSize:e._previewTemplate.matchSize,viewContainer:e._viewContainerRef}:null;t.disabled=e.disabled,t.lockAxis=e.lockAxis,t.dragStartDelay="object"==typeof r&&r?r:N(r),t.constrainPosition=e.constrainPosition,t.previewClass=e.previewClass,t.withBoundaryElement(e._getBoundaryElement()).withPlaceholderTemplate(i).withPreviewTemplate(a),n&&t.withDirection(n.value)}}))}},{key:"_handleEvents",value:function(t){var e=this;t.started.subscribe((function(){e.started.emit({source:e}),e._changeDetectorRef.markForCheck()})),t.released.subscribe((function(){e.released.emit({source:e})})),t.ended.subscribe((function(t){e.ended.emit({source:e,distance:t.distance}),e._changeDetectorRef.markForCheck()})),t.entered.subscribe((function(t){e.entered.emit({container:t.container.data,item:e,currentIndex:t.currentIndex})})),t.exited.subscribe((function(t){e.exited.emit({container:t.container.data,item:e})})),t.dropped.subscribe((function(t){e.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:e,distance:t.distance})}))}},{key:"_assignDefaults",value:function(t){var e=t.lockAxis,n=t.dragStartDelay,r=t.constrainPosition,i=t.previewClass,a=t.boundaryElement,o=t.draggingDisabled,s=t.rootElementSelector;this.disabled=null!=o&&o,this.dragStartDelay=n||0,e&&(this.lockAxis=e),r&&(this.constrainPosition=r),i&&(this.previewClass=i),a&&(this.boundaryElement=a),s&&(this.rootElementSelector=s)}},{key:"disabled",get:function(){return this._disabled||this.dropContainer&&this.dropContainer.disabled},set:function(t){this._disabled=R(t),this._dragRef.disabled=this._disabled}}]),t}()).\u0275fac=function(t){return new(t||Je)(r.Ob(r.l),r.Ob(cn,12),r.Ob(o.c),r.Ob(r.z),r.Ob(r.P),r.Ob(un,8),r.Ob(ft,8),r.Ob(rn),r.Ob(r.h))},Je.\u0275dir=r.Jb({type:Je,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,n){var i;1&t&&(r.Hb(n,ln,!0),r.Hb(n,sn,!0),r.Hb(n,on,!0)),2&t&&(r.qc(i=r.dc())&&(e._previewTemplate=i.first),r.qc(i=r.dc())&&(e._placeholderTemplate=i.first),r.qc(i=r.dc())&&(e._handles=i))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&r.Gb("cdk-drag-disabled",e.disabled)("cdk-drag-dragging",e._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[r.Bb([{provide:an,useExisting:Je}]),r.Ab]}),Je);function fn(t,e){for(var n=t.parentElement;n;){if(n.matches?n.matches(e):n.msMatchesSelector(e))return n;n=n.parentElement}return null}var dn,pn,gn,vn,mn,yn,_n=((gn=function(){function t(){_classCallCheck(this,t),this._items=new Set,this._disabled=!1}return _createClass2(t,[{key:"ngOnDestroy",value:function(){this._items.clear()}},{key:"disabled",get:function(){return this._disabled},set:function(t){this._disabled=R(t)}}]),t}()).\u0275fac=function(t){return new(t||gn)},gn.\u0275dir=r.Jb({type:gn,selectors:[["","cdkDropListGroup",""]],inputs:{disabled:["cdkDropListGroupDisabled","disabled"]},exportAs:["cdkDropListGroup"]}),gn),bn=0,xn=((pn=function(){function t(e,n,i,a,o,s,l){var u=this;_classCallCheck(this,t),this.element=e,this._changeDetectorRef=i,this._dir=a,this._group=o,this._scrollDispatcher=s,this._destroyed=new T.a,this.connectedTo=[],this.id="cdk-drop-list-"+bn++,this.enterPredicate=function(){return!0},this.dropped=new r.n,this.entered=new r.n,this.exited=new r.n,this.sorted=new r.n,this._unsortedItems=new Set,this._dropListRef=n.createDropList(e),this._dropListRef.data=this,l&&this._assignDefaults(l),this._dropListRef.enterPredicate=function(t,e){return u.enterPredicate(t.data,e.data)},this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),o&&o._items.add(this)}return _createClass2(t,[{key:"addItem",value:function(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}},{key:"removeItem",value:function(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}},{key:"getSortedItems",value:function(){return Array.from(this._unsortedItems).sort((function(t,e){return t._dragRef.getVisibleElement().compareDocumentPosition(e._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1}))}},{key:"ngOnDestroy",value:function(){var e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}},{key:"start",value:function(){this._dropListRef.start()}},{key:"drop",value:function(t,e,n,r){this._dropListRef.drop(t._dragRef,e,n._dropListRef,r,{x:0,y:0})}},{key:"enter",value:function(t,e,n){this._dropListRef.enter(t._dragRef,e,n)}},{key:"exit",value:function(t){this._dropListRef.exit(t._dragRef)}},{key:"getItemIndex",value:function(t){return this._dropListRef.getItemIndex(t._dragRef)}},{key:"_setupInputSyncSubscription",value:function(e){var n=this;this._dir&&this._dir.change.pipe(Object(vt.a)(this._dir.value),ce(this._destroyed)).subscribe((function(t){return e.withDirection(t)})),e.beforeStarted.subscribe((function(){var r,i=(r=n.connectedTo,Array.isArray(r)?r:[r]).map((function(e){return"string"==typeof e?t._dropLists.find((function(t){return t.id===e})):e}));if(n._group&&n._group._items.forEach((function(t){-1===i.indexOf(t)&&i.push(t)})),!n._scrollableParentsResolved&&n._scrollDispatcher){var a=n._scrollDispatcher.getAncestorScrollContainers(n.element).map((function(t){return t.getElementRef().nativeElement}));n._dropListRef.withScrollableParents(a),n._scrollableParentsResolved=!0}e.disabled=n.disabled,e.lockAxis=n.lockAxis,e.sortingDisabled=R(n.sortingDisabled),e.autoScrollDisabled=R(n.autoScrollDisabled),e.connectedTo(i.filter((function(t){return t&&t!==n})).map((function(t){return t._dropListRef}))).withOrientation(n.orientation)}))}},{key:"_handleEvents",value:function(t){var e=this;t.beforeStarted.subscribe((function(){e._syncItemsWithRef(),e._changeDetectorRef.markForCheck()})),t.entered.subscribe((function(t){e.entered.emit({container:e,item:t.item.data,currentIndex:t.currentIndex})})),t.exited.subscribe((function(t){e.exited.emit({container:e,item:t.item.data}),e._changeDetectorRef.markForCheck()})),t.sorted.subscribe((function(t){e.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:e,item:t.item.data})})),t.dropped.subscribe((function(t){e.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance}),e._changeDetectorRef.markForCheck()}))}},{key:"_assignDefaults",value:function(t){var e=t.lockAxis,n=t.draggingDisabled,r=t.sortingDisabled,i=t.listAutoScrollDisabled,a=t.listOrientation;this.disabled=null!=n&&n,this.sortingDisabled=null!=r&&r,this.autoScrollDisabled=null!=i&&i,this.orientation=a||"vertical",e&&(this.lockAxis=e)}},{key:"_syncItemsWithRef",value:function(){this._dropListRef.withItems(this.getSortedItems().map((function(t){return t._dragRef})))}},{key:"disabled",get:function(){return this._disabled||!!this._group&&this._group.disabled},set:function(t){this._dropListRef.disabled=this._disabled=R(t)}}]),t}()).\u0275fac=function(t){return new(t||pn)(r.Ob(r.l),r.Ob(rn),r.Ob(r.h),r.Ob(ft,8),r.Ob(_n,12),r.Ob(me),r.Ob(un,8))},pn.\u0275dir=r.Jb({type:pn,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(r.Xb("id",e.id),r.Gb("cdk-drop-list-disabled",e.disabled)("cdk-drop-list-dragging",e._dropListRef.isDragging())("cdk-drop-list-receiving",e._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[r.Bb([{provide:_n,useValue:void 0},{provide:cn,useExisting:pn}])]}),pn._dropLists=[],pn),wn=((dn=function t(){_classCallCheck(this,t)}).\u0275mod=r.Mb({type:dn}),dn.\u0275inj=r.Lb({factory:function(t){return new(t||dn)},providers:[rn],imports:[_e]}),dn),kn=["input"],Sn=function(){return{enterDuration:150}},Cn=["*"],An=new r.q("mat-checkbox-default-options",{providedIn:"root",factory:function(){return{color:"accent",clickAction:"check-indeterminate"}}}),Tn=new r.q("mat-checkbox-click-action"),En=0,Mn={provide:x.e,useExisting:Object(r.U)((function(){return On})),multi:!0},In=function t(){_classCallCheck(this,t)},Dn=At(Ct(function(t){_inherits(n,t);var e=_createSuper(n);function n(){var t;_classCallCheck(this,n);for(var r=arguments.length,i=new Array(r),a=0;a0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(e,t),this._currentCheckState=t,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var r=this._currentAnimationClass;this._ngZone.runOutsideAngular((function(){setTimeout((function(){n.classList.remove(r)}),1e3)}))}}},{key:"_emitChangeEvent",value:function(){var t=new In;t.source=this,t.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(t)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(t){var e=this;t.stopPropagation(),this.disabled||"noop"===this._clickAction?this.disabled||"noop"!==this._clickAction||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==this._clickAction&&Promise.resolve().then((function(){e._indeterminate=!1,e.indeterminateChange.emit(e._indeterminate)})),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"keyboard",e=arguments.length>1?arguments[1]:void 0;this._focusMonitor.focusVia(this._inputElement,t,e)}},{key:"_onInteractionEvent",value:function(t){t.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(t,e){if("NoopAnimations"===this._animationMode)return"";var n="";switch(t){case 0:if(1===e)n="unchecked-checked";else{if(3!=e)return"";n="unchecked-indeterminate"}break;case 2:n=1===e?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===e?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===e?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-"+n}},{key:"_syncIndeterminate",value:function(t){var e=this._inputElement;e&&(e.nativeElement.indeterminate=t)}},{key:"inputId",get:function(){return(this.id||this._uniqueId)+"-input"}},{key:"required",get:function(){return this._required},set:function(t){this._required=R(t)}},{key:"checked",get:function(){return this._checked},set:function(t){t!=this.checked&&(this._checked=t,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(t){var e=R(t);e!==this.disabled&&(this._disabled=e,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(t){var e=t!=this._indeterminate;this._indeterminate=R(t),e&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}}]),n}(Dn)).\u0275fac=function(t){return new(t||yn)(r.Ob(r.l),r.Ob(r.h),r.Ob(at),r.Ob(r.z),r.Zb("tabindex"),r.Ob(Tn,8),r.Ob(bt,8),r.Ob(An,8))},yn.\u0275cmp=r.Ib({type:yn,selectors:[["mat-checkbox"]],viewQuery:function(t,e){var n;1&t&&(r.Ec(kn,!0),r.Ec(zt,!0)),2&t&&(r.qc(n=r.dc())&&(e._inputElement=n.first),r.qc(n=r.dc())&&(e.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(t,e){2&t&&(r.Xb("id",e.id),r.Db("tabindex",null),r.Gb("mat-checkbox-indeterminate",e.indeterminate)("mat-checkbox-checked",e.checked)("mat-checkbox-disabled",e.disabled)("mat-checkbox-label-before","before"==e.labelPosition)("_mat-animation-noopable","NoopAnimations"===e._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[r.Bb([Mn]),r.zb],ngContentSelectors:Cn,decls:17,vars:19,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(t,e){if(1&t&&(r.kc(),r.Ub(0,"label",0,1),r.Ub(2,"div",2),r.Ub(3,"input",3,4),r.cc("change",(function(t){return e._onInteractionEvent(t)}))("click",(function(t){return e._onInputClick(t)})),r.Tb(),r.Ub(5,"div",5),r.Pb(6,"div",6),r.Tb(),r.Pb(7,"div",7),r.Ub(8,"div",8),r.fc(),r.Ub(9,"svg",9),r.Pb(10,"path",10),r.Tb(),r.ec(),r.Pb(11,"div",11),r.Tb(),r.Tb(),r.Ub(12,"span",12,13),r.cc("cdkObserveContent",(function(){return e._onLabelTextChange()})),r.Ub(14,"span",14),r.Ac(15,"\xa0"),r.Tb(),r.jc(16),r.Tb(),r.Tb()),2&t){var n=r.rc(1),i=r.rc(13);r.Db("for",e.inputId),r.Cb(2),r.Gb("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),r.Cb(1),r.lc("id",e.inputId)("required",e.required)("checked",e.checked)("disabled",e.disabled)("tabIndex",e.tabIndex),r.Db("value",e.value)("name",e.name)("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby)("aria-checked",e._getAriaChecked()),r.Cb(2),r.lc("matRippleTrigger",n)("matRippleDisabled",e._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",r.nc(18,Sn))}},directives:[zt,J],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.mat-checkbox.cdk-keyboard-focused .cdk-high-contrast-active .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),yn),Pn=((mn=function t(){_classCallCheck(this,t)}).\u0275mod=r.Mb({type:mn}),mn.\u0275inj=r.Lb({factory:function(t){return new(t||mn)}}),mn),Ln=((vn=function t(){_classCallCheck(this,t)}).\u0275mod=r.Mb({type:vn}),vn.\u0275inj=r.Lb({factory:function(t){return new(t||vn)},imports:[[Ft,kt,tt,Pn],kt,Pn]}),vn),Rn=n("+9vr"),Nn=n.n(Rn);function zn(t,e){}function Fn(t,e){1&t&&r.yc(0,zn,0,0,"ng-template")}n.d(e,"a",(function(){return za})),n.d(e,"b",(function(){return Co}));var Bn=function(t){return{$implicit:t}};function Vn(t,e){if(1&t&&(r.Ub(0,"div",4),r.yc(1,Fn,1,0,void 0,5),r.Tb()),2&t){var n=e.$implicit;r.gc(2);var i=r.rc(3);r.Cb(1),r.lc("ngTemplateOutlet",i)("ngTemplateOutletContext",r.oc(2,Bn,n))}}function jn(t,e){if(1&t&&(r.Ub(0,"div",2),r.yc(1,Vn,2,4,"div",3),r.Tb()),2&t){var n=r.gc();r.Cb(1),r.lc("ngForOf",n.markdownData)}}function Yn(t,e){}function Hn(t,e){1&t&&r.yc(0,Yn,0,0,"ng-template")}function Un(t,e){if(1&t&&(r.Ub(0,"div",4),r.yc(1,Hn,1,0,void 0,5),r.Tb()),2&t){var n=e.$implicit;r.gc(2);var i=r.rc(3);r.Cb(1),r.lc("ngTemplateOutlet",i)("ngTemplateOutletContext",r.oc(2,Bn,n))}}function Gn(t,e){if(1&t){var n=r.Vb();r.Ub(0,"div",2),r.Ub(1,"virtual-scroller",6,7),r.cc("vsChange",(function(t){return r.sc(n),r.gc().vsChange(t)})),r.yc(3,Un,2,4,"div",3),r.Tb(),r.Tb()}if(2&t){var i=r.rc(2),a=r.gc();r.Cb(1),r.lc("items",a.markdownData),r.Cb(2),r.lc("ngForOf",i.viewPortItems)}}function qn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-bar-chart",14),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)}}function Wn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-mindmap",14),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)}}function Zn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-pyramid",14),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)}}function $n(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-radar",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function Xn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-quadrant",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function Kn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"toolset",16),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("option",n.data)}}function Qn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-graphviz",14),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)}}function Jn(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-pie",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function tr(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-pure-echarts",14),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)}}function er(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-dev-process",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function nr(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-tech-radar",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function rr(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-pipeline",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function ir(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-kanban",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function ar(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-checklist",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function or(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-sunburst",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function sr(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-fish-bone",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function lr(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-heatmap",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function ur(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-maturity",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function cr(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-tree",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function hr(t,e){if(1&t&&(r.Ub(0,"th"),r.Ac(1),r.Tb()),2&t){var n=e.$implicit;r.Cb(1),r.Bc(n)}}function fr(t,e){1&t&&r.Pb(0,"td",19),2&t&&r.lc("innerHTML",e.$implicit,r.tc)}function dr(t,e){if(1&t&&(r.Ub(0,"tr"),r.yc(1,fr,1,1,"td",18),r.Tb()),2&t){var n=e.$implicit;r.Cb(1),r.lc("ngForOf",n)}}function pr(t,e){if(1&t&&(r.Ub(0,"div"),r.Ub(1,"table"),r.Ub(2,"thead"),r.Ub(3,"tr"),r.yc(4,hr,2,1,"th",17),r.Tb(),r.Tb(),r.Ub(5,"tbody"),r.yc(6,dr,2,1,"tr",17),r.Tb(),r.Tb(),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(4),r.lc("ngForOf",n.header),r.Cb(2),r.lc("ngForOf",n.cells)}}function gr(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"p",19),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("innerHTML",n.data,r.tc)}}function vr(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-process-step",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function mr(t,e){if(1&t&&(r.Ub(0,"div"),r.Ac(1),r.Tb()),2&t){var n=e.$implicit;r.Fb("flex-row cell ledge-type type_",e.index,""),r.Cb(1),r.Cc(" ",n," ")}}function yr(t,e){1&t&&r.Pb(0,"div",29),2&t&&r.lc("innerHTML",e.$implicit,r.tc)}function _r(t,e){if(1&t&&(r.Ub(0,"div",27),r.yc(1,yr,1,1,"div",28),r.Tb()),2&t){var n=e.$implicit;r.Cb(1),r.lc("ngForOf",n)}}function br(t,e){if(1&t&&(r.Ub(0,"div"),r.Ub(1,"div",20),r.Ub(2,"div",21),r.Ub(3,"div",22),r.yc(4,mr,2,4,"div",23),r.Tb(),r.Tb(),r.Pb(5,"div",24),r.Ub(6,"div",25),r.yc(7,_r,2,1,"div",26),r.Tb(),r.Tb(),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(4),r.lc("ngForOf",n.data.header),r.Cb(3),r.lc("ngForOf",n.data.cells)}}var xr=function(t,e,n){return{header:t,cells:e,index:n}};function wr(t,e){if(1&t&&(r.Sb(0),r.Pb(1,"ledge-card",30),r.Rb()),2&t){var n=e.$implicit,i=e.index,a=r.gc(2).$implicit;r.Cb(1),r.lc("headerStyle",a.config.colors&&a.config.colors[i])("data",r.pc(2,xr,n,a.data.cells[i],i))}}function kr(t,e){if(1&t&&(r.Ub(0,"div",25),r.yc(1,wr,2,6,"ng-container",17),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("ngForOf",n.data.header)}}function Sr(t,e){1&t&&r.Qb(0)}function Cr(t,e){if(1&t&&(r.Ub(0,"div"),r.yc(1,Sr,1,0,"ng-container",5),r.Tb()),2&t){var n=r.gc().$implicit;r.gc(2);var i=r.rc(3);r.Cb(1),r.lc("ngTemplateOutlet",i)("ngTemplateOutletContext",r.oc(2,Bn,n.children))}}function Ar(t,e){if(1&t&&(r.Ub(0,"div",35),r.Ub(1,"div",32),r.Ac(2),r.Tb(),r.yc(3,Cr,2,4,"div",36),r.Tb()),2&t){var n=e.$implicit;r.Cb(2),r.Bc(n.name),r.Cb(1),r.lc("ngIf",n.children&&n.children.length>0)}}function Tr(t,e){1&t&&r.yc(0,Ar,4,2,"div",34),2&t&&r.lc("ngForOf",e.$implicit)}function Er(t,e){1&t&&r.Qb(0)}function Mr(t,e){if(1&t&&(r.Ub(0,"div",32),r.Pb(1,"div",19),r.yc(2,Tr,1,1,"ng-template",null,33,r.zc),r.yc(4,Er,1,0,"ng-container",5),r.Tb()),2&t){var n=e.$implicit,i=e.index,a=r.rc(3),o=r.gc(3);r.xc("background-color",o.colorsForIndex[i]),r.Cb(1),r.lc("innerHTML",n.name,r.tc),r.Cb(3),r.lc("ngTemplateOutlet",a)("ngTemplateOutletContext",r.oc(5,Bn,n.children))}}function Ir(t,e){if(1&t&&(r.Ub(0,"div"),r.Ub(1,"div"),r.yc(2,Mr,5,7,"div",31),r.Tb(),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.Fb("list-style list-style-",n.config.type,""),r.Cb(1),r.lc("ngForOf",n.data)}}function Dr(t,e){if(1&t&&r.Pb(0,"h1",38),2&t){var n=r.gc(2).$implicit;r.mc("id",n.anchor),r.lc("innerHTML",n.text,r.tc)}}function Or(t,e){if(1&t&&r.Pb(0,"h2",38),2&t){var n=r.gc(2).$implicit;r.mc("id",n.anchor),r.lc("innerHTML",n.text,r.tc)}}function Pr(t,e){if(1&t&&r.Pb(0,"h3",38),2&t){var n=r.gc(2).$implicit;r.mc("id",n.anchor),r.lc("innerHTML",n.text,r.tc)}}function Lr(t,e){if(1&t&&r.Pb(0,"h4",38),2&t){var n=r.gc(2).$implicit;r.mc("id",n.anchor),r.lc("innerHTML",n.text,r.tc)}}function Rr(t,e){if(1&t&&r.Pb(0,"h5",38),2&t){var n=r.gc(2).$implicit;r.mc("id",n.anchor),r.lc("innerHTML",n.text,r.tc)}}function Nr(t,e){if(1&t&&r.Pb(0,"h6",38),2&t){var n=r.gc(2).$implicit;r.mc("id",n.anchor),r.lc("innerHTML",n.text,r.tc)}}function zr(t,e){if(1&t&&(r.Ub(0,"div"),r.yc(1,Dr,1,2,"h1",37),r.yc(2,Or,1,2,"h2",37),r.yc(3,Pr,1,2,"h3",37),r.yc(4,Lr,1,2,"h4",37),r.yc(5,Rr,1,2,"h5",37),r.yc(6,Nr,1,2,"h6",37),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("ngIf",1===n.depth),r.Cb(1),r.lc("ngIf",2===n.depth),r.Cb(1),r.lc("ngIf",3===n.depth),r.Cb(1),r.lc("ngIf",4===n.depth),r.Cb(1),r.lc("ngIf",5===n.depth),r.Cb(1),r.lc("ngIf",6===n.depth)}}function Fr(t,e){if(1&t&&(r.Ub(0,"div"),r.Ub(1,"pre"),r.Pb(2,"code",19),r.Tb(),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.Fb("language-",n.lang,""),r.Cb(1),r.Fb("language-",n.lang,""),r.lc("innerHTML",n.text,r.tc)}}function Br(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"blockquote",19),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("innerHTML",n.text,r.tc)}}function Vr(t,e){1&t&&(r.Ub(0,"div"),r.Pb(1,"hr"),r.Tb())}function jr(t,e){if(1&t&&r.Pb(0,"input",43),2&t){var n=r.gc().$implicit;r.lc("checked",n.checked)}}function Yr(t,e){1&t&&r.Qb(0)}function Hr(t,e){if(1&t&&(r.Ub(0,"ul"),r.yc(1,Yr,1,0,"ng-container",5),r.Tb()),2&t){var n=r.gc().$implicit;r.gc(2);var i=r.rc(2);r.Cb(1),r.lc("ngTemplateOutlet",i)("ngTemplateOutletContext",r.oc(2,Bn,n.body.children))}}function Ur(t,e){1&t&&r.Qb(0)}function Gr(t,e){if(1&t&&(r.Ub(0,"ol"),r.yc(1,Ur,1,0,"ng-container",5),r.Tb()),2&t){var n=r.gc().$implicit;r.gc(2);var i=r.rc(2);r.Db("start",n.start),r.Cb(1),r.lc("ngTemplateOutlet",i)("ngTemplateOutletContext",r.oc(3,Bn,n.body.children))}}function qr(t,e){if(1&t&&(r.Ub(0,"li",40),r.yc(1,jr,1,1,"input",41),r.Pb(2,"div",42),r.yc(3,Hr,2,4,"ul",36),r.yc(4,Gr,2,5,"ol",36),r.Tb()),2&t){var n=e.$implicit;r.lc("ngClass",n.task?"task-list-item":""),r.Cb(1),r.lc("ngIf",n.task),r.Cb(1),r.lc("outerHTML",n.body.name,r.tc),r.Cb(1),r.lc("ngIf",!n.ordered&&n.body.children&&n.body.children.length>0),r.Cb(1),r.lc("ngIf",n.ordered&&n.body.children&&n.body.children.length>0)}}function Wr(t,e){1&t&&r.yc(0,qr,5,5,"li",39),2&t&&r.lc("ngForOf",e.$implicit)}function Zr(t,e){1&t&&r.Qb(0)}function $r(t,e){if(1&t&&(r.Ub(0,"ul"),r.yc(1,Zr,1,0,"ng-container",5),r.Tb()),2&t){r.gc();var n=r.rc(2),i=r.gc().$implicit;r.Cb(1),r.lc("ngTemplateOutlet",n)("ngTemplateOutletContext",r.oc(2,Bn,i.data))}}function Xr(t,e){1&t&&r.Qb(0)}function Kr(t,e){if(1&t&&(r.Ub(0,"ol"),r.yc(1,Xr,1,0,"ng-container",5),r.Tb()),2&t){r.gc();var n=r.rc(2),i=r.gc().$implicit;r.Cb(1),r.lc("ngTemplateOutlet",n)("ngTemplateOutletContext",r.oc(2,Bn,i.data))}}function Qr(t,e){if(1&t&&(r.Ub(0,"div"),r.yc(1,Wr,1,1,"ng-template",null,33,r.zc),r.yc(3,$r,2,4,"ul",36),r.yc(4,Kr,2,4,"ol",36),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(3),r.lc("ngIf",!n.ordered),r.Cb(1),r.lc("ngIf",n.ordered)}}function Jr(t,e){if(1&t&&(r.Ub(0,"div",44),r.Pb(1,"ledge-step-line",14),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)}}function ti(t,e){if(1&t&&(r.Ub(0,"div",45),r.Pb(1,"ledge-table-step",15),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)("config",n.config)}}function ei(t,e){if(1&t&&(r.Ub(0,"div"),r.Pb(1,"ledge-mermaid",14),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.lc("data",n.data)}}function ni(t,e){if(1&t&&(r.Ub(0,"div"),r.Ac(1),r.Tb()),2&t){var n=r.gc().$implicit,i=r.gc();r.Cb(1),r.Cc(" ",i.stringify(n)," ")}}function ri(t,e){1&t&&(r.Sb(0,8),r.yc(1,qn,2,1,"div",9),r.yc(2,Wn,2,1,"div",9),r.yc(3,Zn,2,1,"div",9),r.yc(4,$n,2,2,"div",9),r.yc(5,Xn,2,2,"div",9),r.yc(6,Kn,2,1,"div",9),r.yc(7,Qn,2,1,"div",9),r.yc(8,Jn,2,2,"div",9),r.yc(9,tr,2,1,"div",9),r.yc(10,er,2,2,"div",9),r.yc(11,nr,2,2,"div",9),r.yc(12,rr,2,2,"div",9),r.yc(13,ir,2,2,"div",9),r.yc(14,ar,2,2,"div",9),r.yc(15,or,2,2,"div",9),r.yc(16,sr,2,2,"div",9),r.yc(17,lr,2,2,"div",9),r.yc(18,ur,2,2,"div",9),r.yc(19,cr,2,2,"div",9),r.yc(20,pr,7,2,"div",9),r.yc(21,gr,2,1,"div",9),r.yc(22,vr,2,2,"div",9),r.yc(23,br,8,2,"div",9),r.yc(24,kr,2,1,"div",10),r.yc(25,Ir,3,4,"div",9),r.yc(26,zr,7,6,"div",9),r.yc(27,Fr,3,7,"div",9),r.yc(28,Br,2,1,"div",9),r.yc(29,Vr,2,0,"div",9),r.yc(30,Qr,5,2,"div",9),r.yc(31,Jr,2,1,"div",11),r.yc(32,ti,2,2,"div",12),r.yc(33,ei,2,1,"div",9),r.yc(34,ni,2,1,"div",13),r.Rb()),2&t&&(r.lc("ngSwitch",e.$implicit.type),r.Cb(1),r.lc("ngSwitchCase","chart"),r.Cb(1),r.lc("ngSwitchCase","mindmap"),r.Cb(1),r.lc("ngSwitchCase","pyramid"),r.Cb(1),r.lc("ngSwitchCase","radar"),r.Cb(1),r.lc("ngSwitchCase","quadrant"),r.Cb(1),r.lc("ngSwitchCase","toolset"),r.Cb(1),r.lc("ngSwitchCase","graphviz"),r.Cb(1),r.lc("ngSwitchCase","pie"),r.Cb(1),r.lc("ngSwitchCase","echarts"),r.Cb(1),r.lc("ngSwitchCase","dev-process"),r.Cb(1),r.lc("ngSwitchCase","tech-radar"),r.Cb(1),r.lc("ngSwitchCase","pipeline"),r.Cb(1),r.lc("ngSwitchCase","kanban"),r.Cb(1),r.lc("ngSwitchCase","checklist"),r.Cb(1),r.lc("ngSwitchCase","sunburst"),r.Cb(1),r.lc("ngSwitchCase","fishbone"),r.Cb(1),r.lc("ngSwitchCase","heatmap"),r.Cb(1),r.lc("ngSwitchCase","maturity"),r.Cb(1),r.lc("ngSwitchCase","tree"),r.Cb(1),r.lc("ngSwitchCase","table"),r.Cb(1),r.lc("ngSwitchCase","paragraph"),r.Cb(1),r.lc("ngSwitchCase","process-step"),r.Cb(1),r.lc("ngSwitchCase","process-table"),r.Cb(1),r.lc("ngSwitchCase","process-card"),r.Cb(1),r.lc("ngSwitchCase","list-style"),r.Cb(1),r.lc("ngSwitchCase","heading"),r.Cb(1),r.lc("ngSwitchCase","code"),r.Cb(1),r.lc("ngSwitchCase","blockquote"),r.Cb(1),r.lc("ngSwitchCase","hr"),r.Cb(1),r.lc("ngSwitchCase","list"),r.Cb(1),r.lc("ngSwitchCase","step-line"),r.Cb(1),r.lc("ngSwitchCase","table-step"),r.Cb(1),r.lc("ngSwitchCase","mermaid"))}var ii=["chart"],ai=["tool"],oi=["lineChart"];function si(t,e){if(1&t&&(r.Ub(0,"div"),r.Ub(1,"div",5),r.Ac(2),r.Tb(),r.Ub(3,"div",6),r.Pb(4,"mat-slider",7),r.Tb(),r.Tb()),2&t){var n=e.$implicit;r.Cb(2),r.Bc(n.name)}}function li(t,e){if(1&t&&(r.Ub(0,"div",3),r.yc(1,si,5,1,"div",4),r.Tb()),2&t){var n=r.gc();r.Cb(1),r.lc("ngForOf",n.option.data)}}function ui(t,e){1&t&&(r.Ub(0,"div",8),r.Pb(1,"div",9,10),r.Tb())}function ci(t,e){if(1&t&&(r.Ub(0,"div"),r.Ub(1,"span",5),r.Ac(2),r.Tb(),r.Pb(3,"span"),r.Tb()),2&t){var n=e.$implicit,i=e.index,a=r.gc(2);r.Gb("step-line-wrap",i===a.data.slice(0,5).length-1),r.Cb(2),r.Bc(n.name),r.Cb(1),r.Eb(i===a.data.slice(0,5).length-1?"arrow-down":"arrow-right")}}function hi(t,e){1&t&&r.Pb(0,"span",7)}function fi(t,e){if(1&t&&(r.Ub(0,"div"),r.yc(1,hi,1,0,"span",6),r.Ub(2,"span",5),r.Ac(3),r.Tb(),r.Tb()),2&t){var n=e.$implicit,i=e.index,a=r.gc(2);r.Cb(1),r.lc("ngIf",i!==a.data.slice(5,a.data.length).length-1),r.Cb(2),r.Bc(n.name)}}function di(t,e){if(1&t&&(r.Sb(0),r.Ub(1,"div",1),r.yc(2,ci,4,5,"div",2),r.Tb(),r.Ub(3,"div",3),r.yc(4,fi,4,2,"div",4),r.Tb(),r.Rb()),2&t){var n=r.gc();r.Cb(2),r.lc("ngForOf",n.data.slice(0,5)),r.Cb(2),r.lc("ngForOf",n.data.slice(5,n.data.length))}}function pi(t,e){1&t&&r.Pb(0,"span",9)}function gi(t,e){if(1&t&&(r.Ub(0,"div"),r.Ub(1,"span",5),r.Ac(2),r.Tb(),r.yc(3,pi,1,0,"span",8),r.Tb()),2&t){var n=e.$implicit,i=e.index,a=r.gc(2);r.Cb(2),r.Bc(n.name),r.Cb(1),r.lc("ngIf",i!==a.data.length-1)}}function vi(t,e){if(1&t&&(r.Sb(0),r.Ub(1,"div",1),r.yc(2,gi,4,2,"div",4),r.Tb(),r.Rb()),2&t){var n=r.gc();r.Cb(2),r.lc("ngForOf",n.data)}}function mi(t,e){if(1&t&&(r.Ub(0,"p"),r.Ac(1),r.Tb()),2&t){var n=e.$implicit;r.Cb(1),r.Cc(" ",n," ")}}var yi=["tableStep"];function _i(t,e){1&t&&(r.Ub(0,"span",11),r.Pb(1,"span",12),r.Pb(2,"span",13),r.Tb())}function bi(t,e){1&t&&(r.Ub(0,"span"),r.Pb(1,"span",14),r.Pb(2,"span",15),r.Tb())}function xi(t,e){if(1&t&&(r.Ub(0,"div",8),r.yc(1,_i,3,0,"span",9),r.yc(2,bi,3,0,"span",10),r.Tb()),2&t){var n=r.gc().index,i=r.gc().$implicit;r.Cb(1),r.lc("ngIf",n===i.length-1),r.Cb(1),r.lc("ngIf",n!==i.length-1)}}function wi(t,e){1&t&&(r.Ub(0,"span",11),r.Pb(1,"span",13),r.Pb(2,"span",12),r.Tb())}function ki(t,e){1&t&&(r.Ub(0,"span"),r.Pb(1,"span",16),r.Pb(2,"span",17),r.Tb())}function Si(t,e){if(1&t&&(r.Ub(0,"div",8),r.yc(1,wi,3,0,"span",9),r.yc(2,ki,3,0,"span",10),r.Tb()),2&t){var n=r.gc().index,i=r.gc().$implicit;r.Cb(1),r.lc("ngIf",n===i.length-1),r.Cb(1),r.lc("ngIf",n!==i.length-1)}}function Ci(t,e){if(1&t&&(r.Sb(0),r.Ub(1,"div",5),r.yc(2,xi,3,2,"div",6),r.Pb(3,"ledge-card",7),r.yc(4,Si,3,2,"div",6),r.Tb(),r.Rb()),2&t){var n=e.$implicit,i=e.index,a=e.last,o=r.gc(),s=o.$implicit,l=o.index,u=o.last,c=r.gc();r.Cb(1),r.xc("height",c.rowHeight),r.Gb("step-row-wrap",i===s.length-1),r.Cb(1),r.lc("ngIf",c.isShowIconBeforeCard(c.data,l,c.column,i,a,u)),r.Cb(1),r.lc("headerStyle",c.config.colors&&c.config.colors[l*c.column+i])("data",r.pc(8,xr,n,c.data.cells[l*c.column+i],l*c.column+i)),r.Cb(1),r.lc("ngIf",c.isShowIconAfterCard(c.data,l,c.column,i))}}function Ai(t,e){if(1&t&&(r.Ub(0,"div",3),r.yc(1,Ci,5,12,"ng-container",4),r.Tb()),2&t){var n=e.$implicit,i=e.index,a=r.gc();r.xc("height",a.stepRowHeight),r.Gb("step-row-reverse",(i+1)%2==0)("first-row",0===i),r.Cb(1),r.lc("ngForOf",n)}}function Ti(t,e){if(1&t&&(r.Ub(0,"span",11),r.Ac(1),r.Tb()),2&t){var n=r.gc().$implicit;r.Cb(1),r.Cc(" ",n.name," ")}}function Ei(t,e){if(1&t){var n=r.Vb();r.Ub(0,"img",12),r.cc("error",(function(t){r.sc(n);var e=r.gc().$implicit;return r.gc(3).updateUrl(e.name,t)})),r.Tb()}if(2&t){var i=r.gc().$implicit,a=r.gc(3);r.mc("alt",i.name),r.lc("src",a.getImageUrl(i.name),r.uc)}}function Mi(t,e){if(1&t&&(r.Ub(0,"div",8),r.yc(1,Ti,2,1,"span",9),r.yc(2,Ei,1,2,"img",10),r.Tb()),2&t){var n=e.$implicit,i=r.gc(3);r.Cb(1),r.lc("ngIf",!i.showImage(n.name)),r.Cb(1),r.lc("ngIf",i.showImage(n.name))}}function Ii(t,e){if(1&t&&(r.Ub(0,"div",4),r.Ub(1,"div",5),r.Ac(2),r.Tb(),r.Ub(3,"div",6),r.yc(4,Mi,3,2,"div",7),r.Tb(),r.Tb()),2&t){var n=e.$implicit;r.Cb(2),r.Bc(n.name),r.Cb(2),r.lc("ngForOf",n.children)}}function Di(t,e){if(1&t&&(r.Ub(0,"div",2),r.Ub(1,"div"),r.Ac(2),r.Tb(),r.yc(3,Ii,5,2,"div",3),r.Tb()),2&t){var n=e.$implicit,i=e.index;r.Cb(1),r.Fb("column-title header type_",i,""),r.Cb(1),r.Cc(" ",n.name," "),r.Cb(1),r.lc("ngForOf",n.children)}}var Oi=["pipeline"];function Pi(t,e){if(1&t&&(r.Ub(0,"div",10),r.Ac(1),r.Tb()),2&t){var n=e.$implicit;r.Cb(1),r.Cc(" ",n," ")}}function Li(t,e){if(1&t){var n=r.Vb();r.Ub(0,"div",6),r.Ub(1,"div",7),r.Ac(2),r.Tb(),r.Ub(3,"div",8),r.cc("cdkDropListDropped",(function(t){return r.sc(n),r.gc().drop(t)})),r.yc(4,Pi,2,1,"div",9),r.Tb(),r.Tb()}if(2&t){var i=e.$implicit;r.Cb(2),r.Cc(" ",i.name," "),r.Cb(1),r.lc("cdkDropListData",i.tasks),r.Cb(1),r.lc("ngForOf",i.tasks)}}function Ri(t,e){if(1&t&&r.Pb(0,"span",4),2&t){var n=r.gc().$implicit;r.lc("innerHTML",null==n?null:n.description,r.tc)}}function Ni(t,e){if(1&t){var n=r.Vb();r.Ub(0,"div"),r.Ub(1,"mat-checkbox",1),r.cc("change",(function(t){r.sc(n);var i=e.$implicit;return r.gc().completeChange(t,i)})),r.Pb(2,"span",2),r.yc(3,Ri,1,1,"span",3),r.Tb(),r.Tb()}if(2&t){var i=e.$implicit;r.Gb("complete",null==i?null:i.checked),r.Cb(1),r.lc("checked",i.checked),r.Cb(1),r.lc("innerHTML",null==i?null:i.name,r.tc),r.Cb(1),r.lc("ngIf",i.description)}}function zi(t,e){if(1&t&&r.Pb(0,"span",7),2&t){var n=r.gc().$implicit;r.lc("innerHTML",n.description,r.tc)}}function Fi(t,e){if(1&t){var n=r.Vb();r.Ub(0,"div",2),r.Ub(1,"mat-checkbox",3),r.cc("change",(function(t){return r.sc(n),r.gc(2).completeChange(t)})),r.Pb(2,"span",4),r.yc(3,zi,1,1,"span",5),r.Tb(),r.Pb(4,"component-todo",6),r.Tb()}if(2&t){var i=e.$implicit;r.Cb(1),r.lc("checked",i.checked),r.Cb(1),r.lc("innerHTML",null==i?null:i.name,r.tc),r.Cb(1),r.lc("ngIf",i.description),r.Cb(1),r.lc("disableInput",!0)("toDos",i.subitems)}}function Bi(t,e){if(1&t&&(r.Ub(0,"div"),r.yc(1,Fi,5,5,"div",1),r.Tb()),2&t){var n=r.gc();r.Cb(1),r.lc("ngForOf",n.checklists)}}function Vi(t,e){if(1&t&&r.Pb(0,"component-checklist",1),2&t){var n=r.gc();r.lc("checklists",n.checklists)("name",n.title)}}var ji=function(){return{width:"800px",height:"800px"}};function Yi(t,e){if(1&t&&(r.Ub(0,"div",3),r.Pb(1,"ledge-radar",4),r.Tb()),2&t){var n=r.gc();r.Cb(1),r.lc("styles",r.nc(4,ji))("data",n.chartData)("hiddenLegend",!0)("config",n.config)}}function Hi(t,e){if(1&t){var n=r.Vb();r.Ub(0,"div",5),r.Ub(1,"component-rating",6),r.cc("dataChange",(function(t){return r.sc(n),r.gc().updateData(t)})),r.Tb(),r.Tb()}if(2&t){var i=r.gc();r.Cb(1),r.lc("data",i.ratingData)}}function Ui(t,e){if(1&t&&r.Pb(0,"component-todo",5),2&t){var n=r.gc().$implicit;r.lc("disableInput",!0)("toDos",n.children)}}function Gi(t,e){if(1&t){var n=r.Vb();r.Ub(0,"div"),r.Ub(1,"component-rating-item",3),r.cc("itemChange",(function(t){r.sc(n);var i=e.$implicit,a=e.index;return r.gc(2).changeForm(t,i,a)})),r.Tb(),r.yc(2,Ui,1,2,"component-todo",4),r.Tb()}if(2&t){var i=e.$implicit;r.Cb(1),r.lc("item",i),r.Cb(1),r.lc("ngIf",i.children)}}function qi(t,e){if(1&t&&(r.Ub(0,"div",1),r.yc(1,Gi,3,2,"div",2),r.Tb()),2&t){var n=r.gc();r.Cb(1),r.lc("ngForOf",n.data)}}function Wi(t,e){if(1&t&&(r.Ub(0,"span"),r.Ac(1),r.Tb()),2&t){var n=e.$implicit;r.Fb("ledge-type type_",e.index+1,""),r.Cb(1),r.Cc(" ",n," ")}}function Zi(t,e){if(1&t&&(r.Ub(0,"div",4),r.yc(1,Wi,2,4,"span",5),r.Tb()),2&t){var n=r.gc();r.Cb(1),r.lc("ngForOf",n.config.heads)}}function $i(t,e){if(1&t&&r.Pb(0,"div",11),2&t){var n=e.$implicit;r.Fb("process-step-item ledge-type ",n.type,""),r.lc("innerHTML",n.name,r.tc)}}function Xi(t,e){1&t&&r.Pb(0,"div",12)}function Ki(t,e){if(1&t&&(r.Ub(0,"div",6),r.Ub(1,"div",7),r.Ac(2),r.Tb(),r.Ub(3,"div",8),r.yc(4,$i,1,4,"div",9),r.Tb(),r.yc(5,Xi,1,0,"div",10),r.Tb()),2&t){var n=e.$implicit,i=e.last;r.Cb(2),r.Bc(n.name),r.Cb(2),r.lc("ngForOf",n.children),r.Cb(1),r.lc("ngIf",!i)}}var Qi=new a.a.Renderer;Qi.link=function(t,e,n){var r=a.a.Renderer.prototype.link.call(Qi,t,e,n);return/^https:\/\//.test(t)||/^http:\/\//.test(t)?r.replace(""']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!#?\w+;)/,escapeReplaceNoEncode:/[<>"']|&(?!#?\w+;)/g,escapeReplacements:{"&":"&","<":"<",">":">",'"':""","'":"'"},transpose:function(t){if(0!==t.length)return t[0].map((function(e,n){return t.map((function(t){return t[n]}))}))},getEscapeReplacement:function(t){return this.escapeReplacements[t]},escape:function(t,e){if(e){if(this.escapeTest.test(t))return t.replace(this.escapeReplace,this.getEscapeReplacement.bind(this))}else if(this.escapeTestNoEncode.test(t))return t.replace(this.escapeReplaceNoEncode,this.getEscapeReplacement.bind(this));return t},unescaped:function(t){return t.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<").replace(/"/g,'"').replace(/'/g,"'")},toJson:function(t){var e,n={},r=[],i=[],o="{",s=a.a.lexer(t),l=_createForOfIteratorHelper(s);try{for(l.s();!(e=l.n()).done;){var u=e.value;switch(u.type){case"list_start":o+='"children": [';break;case"list_item_start":o+="{",u.task&&(o+='"checked": '.concat(u.checked,", "));break;case"text":var c=a.a.inlineLexer(u.text,s.links);c=this.unescaped(c),o+='"name": '.concat(JSON.stringify(c),",");break;case"list_item_end":o+="},";break;case"list_end":o+="]";break;case"table":var h=this.transpose(u.cells);r.push({header:u.header,cells:h});break;case"paragraph":if(u.text.startsWith("config:")){var f=u.text.split("config:")[1];n=JSON.parse(f)}break;case"space":break;default:console.log(u)}}}catch(p){l.e(p)}finally{l.f()}o=o.replace(/,]/g,"]").replace(/,}/g,"}").replace(/},}/g,"}}"),o+="}";try{var d=JSON.parse(o);i.push(d)}catch(g){console.log(o),console.error(g)}return{tables:r,config:n,lists:i}}},Na=["#F37C20","#E9BD1E","#00A2A1","#0062CE","#666666","#DC5332","#079948","#999999","#800080","#003366","#AA217E","#55acee","#444444","#61bb46","#007C78"],za=((na=function(){function t(){_classCallCheck(this,t),this.scrollToItem=0,this.headingChange=new r.n,this.markdownData=[],this.token=null,this.tokens=[],this.listQueue=[],this.slugger=new i.Slugger,this.colorsForIndex=Na,this.isPureParagraph=!0,this.lastHeading=0,this.headingIndex=0,this.headingMap={},this.indexHeadingMap={},this.scrolling=!1}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"ngOnChanges",value:function(t){var e=this,n=t.content,r=t.scrollToItem;if(n&&(this.content=n.currentValue,this.renderContent(this.content)),r){if(this.scrolling=!0,this.scrollToItem=r.currentValue,!this.virtualScroller)return;this.virtualScroller.scrollToIndex(this.headingMap[this.scrollToItem],!0,0,0,(function(){e.scrolling=!1}))}}},{key:"renderContent",value:function(t){this.headingIndex=0,this.headingMap={},this.markdownData=[];var e=a.a.lexer(t);for(this.tokens=e.reverse();this.next();)this.tok()}},{key:"next",value:function(){return this.token=this.tokens.pop(),this.token}},{key:"peek",value:function(){return this.tokens[this.tokens.length-1]||0}},{key:"parseText",value:function(){for(var t=this.token.text;"text"===this.peek().type;)t+="\n"+this.next().text;return t}},{key:"unescape",value:function(t){return t.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,(function(t,e){return"colon"===(e=e.toLowerCase())?":":"#"===e.charAt(0)?"x"===e.charAt(1)?String.fromCharCode(parseInt(e.substring(2),16)):String.fromCharCode(+e.substring(1)):""}))}},{key:"tok",value:function(){var t=this.token;switch(t.type){case"table":var e=this.buildTableCells(t);t.cells=e,this.markdownData.push(t);break;case"code":this.handleCode(t);break;case"space":return"";case"blockquote_start":var n="";for(this.isPureParagraph=!1;"blockquote_end"!==this.next().type;)n+=this.tok();this.isPureParagraph=!0,this.markdownData.push({type:"blockquote",text:n});break;case"paragraph":return this.handleParaGraph(t);case"text":return this.renderInline(t.text,this.tokens.links);case"heading":var r=this.renderInline(t.text,this.tokens.links);this.markdownData.push({type:"heading",depth:t.depth,text:r,headingIndex:this.headingIndex,anchor:this.slugger.slug(this.unescape(r))}),this.headingMap[this.headingIndex]=this.markdownData.length-1,this.indexHeadingMap[this.markdownData.length-1]=this.headingIndex,this.headingIndex++;break;case"list_start":var i=[],a=this.token.ordered,o=this.token.start;for(this.listQueue.push(1);"list_end"!==this.next().type;)i.push(this.tok());return this.listQueue.pop(),0===this.listQueue.length&&this.markdownData.push({type:"list",data:i,ordered:a}),{children:i,ordered:a,start:o};case"list_item_start":for(var s={name:"",children:[]},l=this.token.loose,u=this.token.checked,c=this.token.task;"list_item_end"!==this.next().type;)if(l||"text"!==this.token.type){var h=this.tok();h&&h.children?s.children=h.children:s.name+=h}else s.name+=this.renderInline(this.parseText(),this.tokens.links);return{body:s,task:c,checked:u};case"hr":this.markdownData.push(t);break;case"html":return t.text;default:this.markdownData.push(t)}}},{key:"buildTableCells",value:function(t){var e,n=[],r=_createForOfIteratorHelper(t.cells);try{for(r.s();!(e=r.n()).done;){var i,a=e.value,o=[],s=_createForOfIteratorHelper(a);try{for(s.s();!(i=s.n()).done;){var l=i.value;o.push(this.renderInline(l,this.tokens.links))}}catch(u){s.e(u)}finally{s.f()}n.push(o)}}catch(u){r.e(u)}finally{r.f()}return n}},{key:"handleParaGraph",value:function(t){var e=this.renderInline(t.text,this.tokens.links);return this.isPureParagraph&&this.markdownData.push({type:"paragraph",data:e}),e}},{key:"renderInline",value:function(t,e){var n=new a.a.Renderer,r=n.link;return n.link=function(t,e,i){return r.call(n,t,e,i).replace(/^ .list-style-item[_ngcontent-%COMP%]{width:320px;height:240px;font-size:1.2em;padding:3em 0 0}.list-style.list-style-group-square[_ngcontent-%COMP%] > .list-style-item[_ngcontent-%COMP%] .sub-item[_ngcontent-%COMP%] .list-style-item[_ngcontent-%COMP%], .list-style.list-style-group-square[_ngcontent-%COMP%] > .list-style-item.sub-item[_ngcontent-%COMP%] .list-style-item[_ngcontent-%COMP%]{font-size:.8em;width:auto}.ledge-render[_ngcontent-%COMP%], .ledge-render[_ngcontent-%COMP%] virtual-scroller[_ngcontent-%COMP%]{width:100%}.ledge-render[_ngcontent-%COMP%] virtual-scroller[_ngcontent-%COMP%] .render-item[_ngcontent-%COMP%]{display:block}.render-item[_ngcontent-%COMP%]{padding:0 2em}.card-column[_ngcontent-%COMP%]{padding:0 .5rem!important}ul[_ngcontent-%COMP%]{padding-left:1em}ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{white-space:pre-wrap}ul[_ngcontent-%COMP%] li.task-list-item[_ngcontent-%COMP%]{list-style:none}ul[_ngcontent-%COMP%] li.task-list-item[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{margin:0 .2em .25em -1.6em;vertical-align:middle}.step-line[_ngcontent-%COMP%]{display:flex}"],changeDetection:0}),na),Fa=((ea=function(){function t(e){_classCallCheck(this,t),this.dom=e}return _createClass2(t,[{key:"transform",value:function(t){return t?this.dom.bypassSecurityTrustHtml(t):""}}]),t}()).\u0275fac=function(t){return new(t||ea)(r.Ob(gt.b))},ea.\u0275pipe=r.Nb({name:"tohtml",type:ea,pure:!0}),ea),Ba=((ta=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var t=Object(k.init)(this.reporter.nativeElement),e=this.buildBarChartData(this.data);t.setOption(this.buildBarChartOption(e))}},{key:"getColorByIndex",value:function(t){return Object(w.scaleLinear)().domain([0,8]).range([Object(w.rgb)("#7753df"),Object(w.rgb)("#66C2A5")])(t)}},{key:"buildBarChartData",value:function(t){var e={title:t.header[0],barChart:{xAxis:[],yAxis:[]}};return e.barChart.xAxis=t.cells[0],this.buildYAxis(t,e),e}},{key:"buildYAxis",value:function(t,e){for(var n=t.cells.length,r=1;r0&&(a.children=this.transformTreeData(i.children)),n.push(a)}}catch(o){r.e(o)}finally{r.f()}return n}},Ya=((sa=function(){function t(){_classCallCheck(this,t),this.dataLevel=1,this.dataSize=1}return _createClass2(t,[{key:"ngOnInit",value:function(){this.chartData=ja.toTreeData(this.data);var t=(JSON.stringify(this.chartData).match(/:/g)||[]).length;this.dataSize=t,this.getDataLevel(this.chartData),this.chartOption=this.buildMindmapOption(this.chartData)}},{key:"ngAfterViewInit",value:function(){Object(k.init)(this.chart.nativeElement).setOption(this.chartOption)}},{key:"getDataLevel",value:function(t){this.dataLevel++,t.children&&this.getDataLevel(t.children)}},{key:"getHeight",value:function(){var t=320*(this.dataLevel+1);return t<800&&(t=800),{height:25*this.dataSize+"px",width:t+"px"}}},{key:"buildMindmapOption",value:function(t){return{toolbox:{feature:{saveAsImage:{}}},tooltip:{trigger:"item",triggerOn:"mousemove"},series:[{type:"tree",roam:"move",id:0,name:"tree1",data:[t],top:"12%",left:"20%",bottom:"12%",right:"40%",symbolSize:12,edgeShape:"polyline",edgeForkPosition:"63%",initialTreeDepth:3,lineStyle:{width:2},label:{position:"left",verticalAlign:"middle",align:"right",fontSize:14},leaves:{label:{position:"right",verticalAlign:"middle",align:"left"}},expandAndCollapse:!1,animationDuration:550,animationDurationUpdate:750}]}}}]),t}()).\u0275fac=function(t){return new(t||sa)},sa.\u0275cmp=r.Ib({type:sa,selectors:[["ledge-mindmap"]],viewQuery:function(t,e){var n;1&t&&r.Ec(ii,!0),2&t&&r.qc(n=r.dc())&&(e.chart=n.first)},inputs:{data:"data"},decls:2,vars:1,consts:[[1,"mindmap","chart",3,"ngStyle"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1),2&t&&r.lc("ngStyle",e.getHeight())},directives:[o.k],styles:[".chart[_ngcontent-%COMP%]{width:auto;height:auto;min-width:600px;min-height:800px;max-width:1600px}"]}),sa),Ha=((oa=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var t=Object(k.init)(this.reporter.nativeElement);try{t.setOption(JSON.parse(this.data))}catch(e){console.error(this.data)}}}]),t}()).\u0275fac=function(t){return new(t||oa)},oa.\u0275cmp=r.Ib({type:oa,selectors:[["ledge-pure-echarts"]],viewQuery:function(t,e){var n;1&t&&r.Ec(ii,!0),2&t&&r.qc(n=r.dc())&&(e.reporter=n.first)},inputs:{data:"data"},decls:2,vars:0,consts:[[1,"chart"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:[".chart[_ngcontent-%COMP%]{width:auto;height:auto;min-width:500px;min-height:500px;max-width:800px}"]}),oa),Ua=((aa=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){for(var t=Object(k.init)(this.reporter.nativeElement),e=ja.toTreeData(this.data),n=e.children.length,r=0;r/,"\n"),t.data.name}},n.push(r);var i=JSON.parse(JSON.stringify(e));i.label.position="left",n.push(i);var a=JSON.parse(JSON.stringify(e));a.label.position="right",n.push(a);for(var o=0;o=2&&this.buildSeriesData(a,n,r)}}return{indicator:e,legend:n,seriesData:r}}},{key:"buildSeriesData",value:function(t,e,n){for(var r=t[1].split(" -> "),i=0;i6),r.Cb(1),r.lc("ngIf",e.data.length<=6))},directives:[o.j,o.i],styles:["[_nghost-%COMP%]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap}.step-line[_ngcontent-%COMP%]{display:flex;align-items:flex-start;width:930px}.step-line-reverse[_ngcontent-%COMP%]{flex-direction:row-reverse}.step-line-wrap[_ngcontent-%COMP%]{flex-wrap:wrap;justify-content:center}.step-line[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;align-items:center}.step-line[_ngcontent-%COMP%] .step-item[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-width:154px;width:-webkit-max-content;width:-moz-max-content;width:max-content;height:60px;border-radius:30px;background-color:#111;font-size:18px;color:#fff;line-height:34px}.step-line[_ngcontent-%COMP%] .arrow-right[_ngcontent-%COMP%]{width:0;height:0;border:12px solid;margin:0 2px 0 14px;border-color:transparent transparent transparent #111}.step-line[_ngcontent-%COMP%] .arrow-left[_ngcontent-%COMP%]{width:0;height:0;border:12px solid;margin:0 14px 0 2px;border-color:transparent #111 transparent transparent}.step-line[_ngcontent-%COMP%] .arrow-down[_ngcontent-%COMP%]{width:0;height:0;border:12px solid;margin:14px 0 2px;border-color:#111 transparent transparent}"]}),la),Ka=["#e55852","#e98832","#f0d668","#47c0af","#387fd5","#7753df","#079948","#00A2A1","#666666","#F37C20"],Qa=((ga=function(){function t(){_classCallCheck(this,t),this.data={header:"",cells:[],index:-1},this.headerStyle={bg:"#fff",font:"#333"}}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"getHeaderStyle",value:function(){var t=this.data.index;return t||0===t||(t=Math.floor(10*Math.random())),{"background-color":this.headerStyle&&this.headerStyle.bg||Ka[t],color:this.headerStyle&&this.headerStyle.font||"#333"}}}]),t}()).\u0275fac=function(t){return new(t||ga)},ga.\u0275cmp=r.Ib({type:ga,selectors:[["ledge-card"]],inputs:{data:"data",headerStyle:"headerStyle"},decls:6,vars:3,consts:[[1,"card"],["role","table","aria-label","Destinations",1,"card-head",3,"ngStyle"],[1,"title"],[1,"card-body"],[4,"ngFor","ngForOf"]],template:function(t,e){1&t&&(r.Ub(0,"div",0),r.Ub(1,"div",1),r.Ub(2,"div",2),r.Ac(3),r.Tb(),r.Tb(),r.Ub(4,"div",3),r.yc(5,mi,2,1,"p",4),r.Tb(),r.Tb()),2&t&&(r.Cb(1),r.lc("ngStyle",e.getHeaderStyle()),r.Cb(2),r.Bc(e.data.header),r.Cb(2),r.lc("ngForOf",e.data.cells))},directives:[o.k,o.i],styles:[".card[_ngcontent-%COMP%]{position:relative;margin:0;padding:0;font-size:14px;font-variant:tabular-nums;box-sizing:border-box;line-height:1.5;list-style:none;background-color:#f3f4f5;border-radius:2px;transition:.3s;max-width:300px;min-width:140px;height:100%}.card-head[_ngcontent-%COMP%]{height:60px;padding:0 24px;color:#111;font-size:16px;border-bottom:1px solid #e8e8e8;text-align:center}.card-head[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:inline-block;flex:1;padding:13px 0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:18px;font-weight:600;font-stretch:normal;line-height:1.89;letter-spacing:.75px}.card-body[_ngcontent-%COMP%]{padding:20px 20px 0;zoom:1}.card-body[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;font-style:normal;line-height:1.57;letter-spacing:normal;text-align:center;color:#111;margin-bottom:19px}"]}),ga),Ja=((pa=function(){function t(e,n){_classCallCheck(this,t),this.renderer=e,this.cdr=n,this.data={header:[],cells:[]},this.config={rowHeight:"",column:4,colors:[]},this.column=4,this.rowHeight="430px",this.stepRowHeight="430px",this.rowNums=[],this.headers=[],this.itemWidth=288,this.arrowWidth=68}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"init",value:function(){this.headers=[],this.column=this.config.column||this.column;for(var t=this.data.header.length,e=Math.ceil(t/this.column),n=0,r=[];n4){var e=t/this.itemWidth;this.column="0."+String(e).split(".")[1]>"0.7"?Math.ceil(e):Math.floor(e)}this.init(),this.renderer.setStyle(this.tableStepEl.nativeElement,"width",this.column*this.itemWidth-this.arrowWidth+"px"),this.cdr.detectChanges()}},{key:"isShowIconBeforeCard",value:function(t,e,n,r,i,a){return(e+1)%2==0&&e*n+r!==t.header.length-1||!i&&a&&this.headers.length>1&&(e+1)%2==0}},{key:"isShowIconAfterCard",value:function(t,e,n,r){return(e+1)%2!=0&&e*n+r!==t.header.length-1}}]),t}()).\u0275fac=function(t){return new(t||pa)(r.Ob(r.E),r.Ob(r.h))},pa.\u0275cmp=r.Ib({type:pa,selectors:[["ledge-table-step"]],viewQuery:function(t,e){var n;1&t&&r.Ec(yi,!0),2&t&&r.qc(n=r.dc())&&(e.tableStepEl=n.first)},inputs:{data:"data",config:"config"},decls:3,vars:1,consts:[[1,"table-steps"],["tableStep",""],["class","step-row",3,"step-row-reverse","first-row","height",4,"ngFor","ngForOf"],[1,"step-row"],[4,"ngFor","ngForOf"],[1,"column"],["class","arrow",4,"ngIf"],[2,"height","100%",3,"headerStyle","data"],[1,"arrow"],["class","arrow-down-symbol",4,"ngIf"],[4,"ngIf"],[1,"arrow-down-symbol"],[1,"arrow-down"],[1,"rect-down"],[1,"arrow-left"],[1,"rect-right"],[1,"rect-left"],[1,"arrow-right"]],template:function(t,e){1&t&&(r.Ub(0,"div",0,1),r.yc(2,Ai,2,7,"div",2),r.Tb()),2&t&&(r.Cb(2),r.lc("ngForOf",e.headers))},directives:[o.i,o.j,Qa],styles:["[_nghost-%COMP%] ledge-card .card{min-width:220px}.table-steps[_ngcontent-%COMP%]{display:block}.step-row[_ngcontent-%COMP%]{display:flex;align-items:flex-start;height:430px;margin-bottom:15px}.step-row[_ngcontent-%COMP%] .column[_ngcontent-%COMP%]{display:flex;align-items:center;height:90%}.step-row-reverse[_ngcontent-%COMP%]{flex-direction:row-reverse}.step-row-reverse[_ngcontent-%COMP%] > .step-row-wrap[_ngcontent-%COMP%]{flex-direction:column-reverse}.step-row-wrap[_ngcontent-%COMP%]{flex-wrap:wrap;justify-content:center}.arrow-down-symbol[_ngcontent-%COMP%]{position:relative;left:18px}.arrow[_ngcontent-%COMP%]{position:relative;width:68px}.arrow-right[_ngcontent-%COMP%]{width:0;height:0;border:12px solid;position:absolute;left:30px;border-color:transparent transparent transparent #999aaa}.arrow-left[_ngcontent-%COMP%]{width:0;height:0;border:12px solid;position:absolute;right:30px;border-color:transparent #999aaa transparent transparent}.arrow-down[_ngcontent-%COMP%]{width:0;height:0;border:12px solid;position:absolute;top:30px;border-color:#999aaa transparent transparent}.rect-left[_ngcontent-%COMP%]{position:absolute;width:16px;height:12px;background-color:#999aaa;top:6px;left:18px}.rect-right[_ngcontent-%COMP%]{position:absolute;width:16px;height:12px;background-color:#999aaa;top:6px;right:18px}.rect-down[_ngcontent-%COMP%]{position:absolute;background-color:#999aaa;top:18px;left:6px;width:12px;height:18px}"]}),pa),to=((da=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"ngAfterViewInit",value:function(){var t=Object(k.init)(this.chart.nativeElement),e=this.buildOption(this.data[0]);t.setOption(e)}},{key:"buildOption",value:function(t){var e=[],n=[];if(!t.children)return{};var r,i=_createForOfIteratorHelper(t.children);try{for(i.s();!(r=i.n()).done;){var a=r.value.name.split(": ");e.push(a[0]),n.push({value:a[1],name:a[0]})}}catch(o){i.e(o)}finally{i.f()}return{title:{text:t.name,left:"center"},tooltip:{trigger:"item",formatter:"{a}
    {b} : {c} ({d}%)"},legend:{orient:"vertical",left:"right",data:e},series:[{name:t.name,type:"pie",radius:"60%",data:n,animation:!1,label:{normal:{show:!0,position:"inner",formatter:"{d}%"}}}]}}}]),t}()).\u0275fac=function(t){return new(t||da)},da.\u0275cmp=r.Ib({type:da,selectors:[["ledge-pie"]],viewQuery:function(t,e){var n;1&t&&r.Ec(ii,!0),2&t&&r.qc(n=r.dc())&&(e.chart=n.first)},inputs:{data:"data",config:"config"},decls:2,vars:0,consts:[[1,"pie","chart"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:[".chart[_ngcontent-%COMP%]{width:auto;height:auto;min-width:500px;min-height:500px}"]}),da),eo=((fa=function(){function t(){_classCallCheck(this,t),this.imagesShow={}}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"getImageUrl",value:function(t){return"https://phodal.github.io/logo/png/".concat(this.getItemName(t),".png")}},{key:"updateUrl",value:function(t,e){this.imagesShow[t]={showImage:!1}}},{key:"showImage",value:function(t){return void 0===this.imagesShow[t]||!(!this.imagesShow[t]||!this.imagesShow[t].showImage)}},{key:"getItemName",value:function(t){return t.toLowerCase().replace(/\s/g,"-")}}]),t}()).\u0275fac=function(t){return new(t||fa)},fa.\u0275cmp=r.Ib({type:fa,selectors:[["ledge-dev-process"]],inputs:{data:"data",config:"config"},decls:2,vars:1,consts:[[1,"dev-process"],["class","process-column",4,"ngFor","ngForOf"],[1,"process-column"],["class","section-block",4,"ngFor","ngForOf"],[1,"section-block"],[1,"section-name"],[1,"section-items"],["class","section-item",4,"ngFor","ngForOf"],[1,"section-item"],["class","pure-text",4,"ngIf"],[3,"src","alt","error",4,"ngIf"],[1,"pure-text"],[3,"src","alt","error"]],template:function(t,e){1&t&&(r.Ub(0,"div",0),r.yc(1,Di,4,5,"div",1),r.Tb()),2&t&&(r.Cb(1),r.lc("ngForOf",e.data))},directives:[o.i,o.j],styles:[".dev-process[_ngcontent-%COMP%]{display:flex}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%]{flex-direction:column;width:100%;padding:4px}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%] .column-title[_ngcontent-%COMP%]{text-align:center;color:#fff;padding:1em 0}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%] .section-block[_ngcontent-%COMP%]{flex:1;position:relative;margin-top:1em;background:#fff}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%] .section-block[_ngcontent-%COMP%] .section-name[_ngcontent-%COMP%]{top:-.5em;left:1em;padding:0 1em;position:absolute;background:#fff}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%] .section-block[_ngcontent-%COMP%] .section-items[_ngcontent-%COMP%]{border:1px solid #222;padding-top:.5em}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%] .section-block[_ngcontent-%COMP%] .section-items[_ngcontent-%COMP%] .section-item[_ngcontent-%COMP%]{display:inline-block}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%] .section-block[_ngcontent-%COMP%] .section-items[_ngcontent-%COMP%] .section-item[_ngcontent-%COMP%] .pure-text[_ngcontent-%COMP%]{padding:16px 8px}.dev-process[_ngcontent-%COMP%] .process-column[_ngcontent-%COMP%] .section-block[_ngcontent-%COMP%] .section-items[_ngcontent-%COMP%] .section-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:inline-block;width:60px;height:auto;margin:0}"]}),fa),no=((ha=function(){function t(){_classCallCheck(this,t),this.trData=[],this.currentLevel=0,this.customAxisLabels=[]}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"ngOnChanges",value:function(t){var e=this;t.data&&(this.data=t.data.currentValue,this.rebuildRadarData(),setTimeout((function(){e.renderData(e.trData)})))}},{key:"rebuildRadarData",value:function(){this.trData=[];var t,e=_createForOfIteratorHelper(this.data.slice(0,4));try{for(e.s();!(t=e.n()).done;){var n=t.value,r=[];this.currentLevel=0,this.customAxisLabels=[];var i,a=_createForOfIteratorHelper(n.children);try{for(a.s();!(i=a.n()).done;){var o=i.value,s=this.getLevelByName(o.name);if(o.children){var l,u=_createForOfIteratorHelper(o.children);try{for(u.s();!(l=u.n()).done;){var c=l.value;r.push({levelName:o.name,name:c.name,circle:s})}}catch(h){u.e(h)}finally{u.f()}}}}catch(h){a.e(h)}finally{a.f()}this.trData.push({name:n.name,items:r})}}catch(h){e.e(h)}finally{e.f()}}},{key:"getLevelByName",value:function(t){switch(t.toLowerCase()){case"adopt":this.currentLevel=1;break;case"trail":this.currentLevel=2;break;case"assess":this.currentLevel=3;break;case"hold":this.currentLevel=4;break;default:this.currentLevel++}return this.customAxisLabels.push(t),this.currentLevel}},{key:"renderData",value:function(t){var e=this.chartEl.nativeElement,n=[""].concat(this.customAxisLabels).reverse();this.config&&this.config.hiddenLegend&&(n=["","","","",""]);var r,i,a={w:600,h:600,margin:{top:10,right:20,bottom:10,left:10},levels:this.currentLevel+1,labelFactor:1.1,dotRadius:15,color:w.schemeCategory10};function o(t,e){return Math.random()*(e-t)+t}function s(t){Object(w.selectAll)(".active").classed("active",!1);var e=Object(w.select)(this).datum();return Object(w.selectAll)(".tech-circle").filter((function(t){return t===e})).classed("active",!0),Object(w.selectAll)(".legend li").filter((function(t){return t===e})).classed("active",!0),!0}Object(w.select)(e),function(t){var r=Object(w.keys)(t).length,i=Math.min(a.w/2,a.h/2),l=2*Math.PI/r,u=Object(w.scaleLinear)().range([0,i]).domain([0,1]),c=a.w+a.margin.left+a.margin.right,h=a.h+a.margin.top+a.margin.bottom,f=Object(w.select)(e).append("div").attr("id","radarChart").append("svg").attr("viewBox","0 0 ".concat(c," ").concat(h)).append("g").attr("transform","translate("+(a.w/2+a.margin.left)+","+(a.h/2+a.margin.top)+")"),d=f.append("g").attr("class","axisWrapper");d.selectAll(".levels").data(Object(w.range)(1,a.levels).reverse()).enter().append("circle").attr("class","gridCircle, color-1").attr("r",(function(t){return i/a.levels*(t+1)})).style("fill","transparent").style("stroke-dasharray","5,5"),d.selectAll(".axisLabel").data(Object(w.range)(1,a.levels+1).reverse()).enter().append("text").attr("class","axisLabel").attr("x",4).attr("y",(function(t){return-(2===t?0:t-1)*i/a.levels-12})).attr("dy","0.4em").text((function(t,e){return n[e]}));var p=d.selectAll(".axis").data(t).enter().append("g").attr("class","axis");p.append("line").attr("x1",0).attr("y1",0).attr("x2",(function(t,e){return u(1.1)*Math.cos(l*e-Math.PI/2)})).attr("y2",(function(t,e){return u(1.1)*Math.sin(l*e-Math.PI/2)})).attr("class","line, color-1").style("stroke-width","1px"),p.append("text").attr("class","axisLabel").attr("text-anchor","middle").attr("dy","0.35em").attr("x",(function(t,e){return u(a.labelFactor)*Math.cos(l*(e-1)-Math.PI/4)})).attr("y",(function(t,e){return u(a.labelFactor)*Math.sin(l*(e-1)-Math.PI/4)})).text((function(t){return t.name})),f.selectAll(".radarSections").data(t).enter().append("g").each((function(t,e){var n=Object(w.select)(this).selectAll(".radarCircle").data(t.items).enter().append("g").attr("transform",(function(n){var r,s,l,c,h=(r=e,s=t.circleCounts[n.circle],l=n.idInCircle,(c=Math.PI/2*(r-1))+(Math.PI/2*r-c)/(s+1)*l),f=function(t,e,n){var r=e.dotRadius/n/2,i=1/e.levels,a=r,s=i-r;return((t=1===t?o(0,1):t)+1)*i-o(a,s)}(n.circle,a,i);return"translate(".concat(u(f)*Math.cos(h-Math.PI/2),", ").concat(u(f)*Math.sin(h-Math.PI/2),")")})).attr("class","tech-circle").on("click",s).on("mouseover",(function(t){Object(w.selectAll)(".legend li").classed("active",!1).filter((function(e){return e.number===t.number})).classed("active",!0)}));n.append("circle").attr("class","radarCircle, color-"+(e+1)).attr("r",a.dotRadius).style("fill-opacity",.8).append("title").text((function(t){return t.name})),n.append("a").append("text").text((function(t){return t.number})).attr("class","dot").attr("fill","white").attr("text-anchor","middle").attr("dominant-baseline","central")}));var g=Object(w.select)(e).selectAll(".legend").data(t).join("div").attr("class",(function(t,e){return"legend legend-"+e}));g.append("h3").text((function(t){return t.name})).attr("id",(function(t){return t.name})).attr("class",(function(t,e){return"color-"+(e+1)})),g.append("ol").attr("start",(function(t){return t.items[0]?t.items[0].number:0})).selectAll("li").data((function(t){return t.items})).enter().append("li").append("a").on("click",s).text((function(t){return t.name}))}((i=1,(r=t).forEach((function(t){t.circleCounts={1:0,2:0,3:0,4:0},t.items.sort((function(t,e){return t.circle-e.circle})),t.items.forEach((function(e){e.idInCircle=++t.circleCounts[e.circle],e.number=i++}))})),r))}}]),t}()).\u0275fac=function(t){return new(t||ha)},ha.\u0275cmp=r.Ib({type:ha,selectors:[["ledge-tech-radar"]],viewQuery:function(t,e){var n;1&t&&r.Ec(ii,!0),2&t&&r.qc(n=r.dc())&&(e.chartEl=n.first)},inputs:{data:"data",config:"config"},features:[r.Ab],decls:2,vars:0,consts:[[1,"ledge-tech-radar"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:["[_nghost-%COMP%]{margin:0 auto;padding:0 20px;max-width:1200px}"]}),ha),ro=function(t){return t.UNTOUCHED="untouched",t.PROCESSING="processing",t.CURRENT="current",t.SUCCESS="success",t.ERROR="error",t.PENDING="pending",t}({}),io=function(t){return t.GREEN="#4A9900",t.RED="#C4000A",t.GRAY="#949393",t.WHITE="#FFFFFF",t}({}),ao=function(t){return t.checkMark="-2.00 2.80 -4.80 0.00 -5.73 0.933 -2.00 4.67 6.00 -3.33 5.07 -4.27",t.crossMark="4.67 -3.73 3.73 -4.67 0 -0.94 -3.73 -4.67 -4.67 -3.73 -0.94 0 -4.67 3.73 -3.73 4.67 0 0.94 3.73 4.67 4.67 3.73 0.94 0",t}({}),oo={connectionStrokeWidth:4,stateStrokeWidth:4,stateRadius:16,stageSpace:60,stageLabelHeight:30,stageLabelSize:"16px",jobHeight:60,jobLabelSize:"12px",startNodeRadius:12,startNodeSpace:40,endNodeRadius:12,endNodeSpace:40},so=((va=function(){function t(){_classCallCheck(this,t),this.data=[]}return _createClass2(t,[{key:"ngAfterViewInit",value:function(){this.config=Object.assign(Object.assign({},oo),this.config);var t=this.buildStages(),e=Object(w.select)(this.pipeline.nativeElement).append("svg").attr("width","100%").attr("viewBox",this.calculateViewBox(t));this.renderPipeline(e,t)}},{key:"calculateViewBox",value:function(t){var e=Object(w.max)(t.map((function(t){return t.jobs.length})));return"-20 0 ".concat(2*(this.config.startNodeRadius+this.config.startNodeSpace)*2+t.length*(2*(this.config.stageSpace+this.config.stateRadius+this.config.stateStrokeWidth))," ").concat(this.config.stageLabelHeight+e*(2*this.config.stateRadius+this.config.jobHeight))}},{key:"buildStages",value:function(){return this.data.map((function(t){var e=t.name,n=t.children;return{label:e,jobs:(void 0===n?[]:n).map((function(t){var e=_slicedToArray(t.name.split(":"),2);return{label:e[0],state:e[1]}}))}}))}},{key:"renderPipeline",value:function(t,e){var n=this,r=_toArray(this.generateTransformCoordinates(e)),i=r[0],a=_toArray(r.slice(1).reverse()),o=a[0],s=a.slice(1);this.renderStartNode(t.append("g").attr("transform","translate(".concat(i.x,", ").concat(i.y,")"))),s.reverse().forEach((function(r,i){var a=r.x,o=r.y;n.renderStage(t.append("g").attr("transform","translate(".concat(a,", ").concat(o,")")),e[i])})),this.renderEndNode(t.append("g").attr("transform","translate(".concat(o.x,", ").concat(o.y,")")))}},{key:"generateTransformCoordinates",value:function(t){var e=2*this.config.startNodeRadius+this.config.startNodeSpace,n=2*(this.config.stageSpace+this.config.stateRadius),r=[];t.forEach((function(t,e){r.push(n*e)}));var i=[{x:e+t.length*n,y:60}];return[].concat([{x:0,y:60}],r.map((function(t){return{x:t+e,y:60}})),i)}},{key:"renderStage",value:function(t,e){var n=this,r=_toArray(e.jobs),i=r[0],a=r.slice(1);this.renderFirstJob(t,i,a&&!!a.length),a.forEach((function(e,r){n.renderJob(t,e,r+1)})),t.append("text").attr("x",this.config.stageSpace+this.config.stateRadius).attr("y",-this.config.stageLabelHeight).attr("text-anchor","middle").attr("style","font-size: "+this.config.stageLabelSize).text(e.label)}},{key:"renderFirstJob",value:function(t,e,n){var r=Object(w.path)();r.moveTo(0,0),r.lineTo(2*(this.config.stageSpace+this.config.stateRadius),0),t.append("path").attr("stroke-width",this.config.connectionStrokeWidth).attr("stroke",io.GRAY).attr("d",r),this.renderState(t.append("g").attr("transform","translate(".concat(this.config.stageSpace,", 0)")),e.state),n&&t.append("text").attr("x",this.config.stageSpace+this.config.stateRadius).attr("y",this.config.stageLabelHeight).attr("text-anchor","middle").attr("style","font-size: "+this.config.jobLabelSize).text(e.label)}},{key:"renderJob",value:function(t,e,n){this.renderJobLine(t.append("g").attr("transform","translate(0, -".concat(this.config.stateRadius,")")).attr("fill","none").attr("stroke-width",this.config.connectionStrokeWidth).attr("stroke",io.GRAY),n),this.renderState(t.append("g").attr("transform","translate(".concat(this.config.stageSpace,", ").concat(n*(2*this.config.stateRadius+this.config.jobHeight),")")),e.state),t.append("text").attr("x",this.config.stageSpace+this.config.stateRadius).attr("y",n*(2*this.config.stateRadius+this.config.jobHeight)+this.config.stageLabelHeight).attr("style","font-size: "+this.config.jobLabelSize).attr("text-anchor","middle").text(e.label)}},{key:"renderJobLine",value:function(t,e){var n=Object(w.path)(),r=2*this.config.stateRadius;n.arc(0,r,this.config.stateRadius,3*Math.PI/2,0),n.arc(r,e*(r+this.config.jobHeight),this.config.stateRadius,2*Math.PI/2,1*Math.PI/2,!0),n.arc(2*this.config.stageSpace,e*(r+this.config.jobHeight),this.config.stateRadius,1*Math.PI/2,0,!0),n.arc(2*(this.config.stageSpace+this.config.stateRadius),r,this.config.stateRadius,2*Math.PI/2,3*Math.PI/2),t.append("path").attr("d",n)}},{key:"renderState",value:function(t,e){var n=this.getStateConfig(e),r=n.polygonPoints,i=n.circleStrokeWidth,a=n.circleStroke,o=n.circleFill,s=n.symbolStroke,l=n.symbolFill,u=Object(w.path)();u.arc(this.config.stateRadius,0,this.config.stateRadius,0,2*Math.PI),t.append("path").attr("stroke-width",i).attr("stroke",a).attr("fill",o).attr("d",u),t.append("g").attr("transform","translate(".concat(this.config.stateRadius,", 0)")).append("polygon").attr("points",r).attr("stroke",s).attr("fill",l)}},{key:"renderStartNode",value:function(t){var e=Object(w.path)();e.arc(this.config.startNodeRadius,0,this.config.startNodeRadius,0,2*Math.PI),t.append("path").attr("d",e).attr("fill",io.GRAY);var n=Object(w.path)();n.moveTo(2*this.config.startNodeRadius,0),n.lineTo(2*this.config.startNodeRadius+this.config.startNodeSpace,0),n.closePath(),t.append("path").attr("d",n).attr("stroke",io.GRAY).attr("stroke-width",this.config.connectionStrokeWidth),t.append("text").attr("x",this.config.startNodeRadius).attr("y",-this.config.stageLabelHeight).attr("text-anchor","middle").text("Start")}},{key:"renderEndNode",value:function(t){var e=Object(w.path)();e.arc(this.config.endNodeSpace+this.config.endNodeRadius,0,this.config.endNodeRadius,0,2*Math.PI),t.append("path").attr("d",e).attr("fill",io.GRAY);var n=Object(w.path)();n.moveTo(0,0),n.lineTo(this.config.endNodeSpace,0),n.closePath(),t.append("path").attr("d",n).attr("stroke",io.GRAY).attr("stroke-width",this.config.connectionStrokeWidth),t.append("text").attr("x",this.config.endNodeRadius+this.config.endNodeSpace).attr("y",-this.config.stageLabelHeight).attr("text-anchor","middle").text("End")}},{key:"getStateConfig",value:function(t){var e={polygonPoints:"",circleStrokeWidth:this.config.stateStrokeWidth,circleStroke:io.WHITE,circleFill:io.GREEN,symbolStrokeWidth:io.WHITE,symbolStroke:io.WHITE,symbolFill:io.WHITE};switch(t){case ro.SUCCESS:return Object.assign(Object.assign({},e),{polygonPoints:ao.checkMark,circleFill:io.GREEN,circleStroke:io.GREEN});case ro.ERROR:return Object.assign(Object.assign({},e),{polygonPoints:ao.crossMark,circleFill:io.RED,circleStroke:io.RED});case ro.UNTOUCHED:case ro.PROCESSING:case ro.CURRENT:case ro.PENDING:return Object.assign(Object.assign({},e),{circleFill:io.WHITE,circleStroke:io.GRAY})}}}]),t}()).\u0275fac=function(t){return new(t||va)},va.\u0275cmp=r.Ib({type:va,selectors:[["ledge-pipeline"]],viewQuery:function(t,e){var n;1&t&&r.Ec(Oi,!0),2&t&&r.qc(n=r.dc())&&(e.pipeline=n.first)},inputs:{data:"data",config:"config"},decls:2,vars:0,consts:[[1,"pipeline"],["pipeline",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:[".pipeline[_ngcontent-%COMP%]{margin:20px auto}.pipeline[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{box-sizing:border-box}"]}),va),lo=function t(e,n){_classCallCheck(this,t),this.name=e,this.tasks=n},uo=function t(e,n){_classCallCheck(this,t),this.name=e,this.columns=n},co=((ya=function(){function t(){_classCallCheck(this,t),this.board=new uo("",[])}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"ngOnChanges",value:function(t){this.updateKanbanData()}},{key:"updateKanbanData",value:function(){if(!(this.data.length<=0)){var t=this.data[0];this.board=new uo(t.name,[]);var e,n=_createForOfIteratorHelper(t.children);try{for(n.s();!(e=n.n()).done;){var r=e.value,i=new lo(r.name,[]);if(r.children){var a,o=_createForOfIteratorHelper(r.children);try{for(o.s();!(a=o.n()).done;){var s=a.value;i.tasks.push(s.name)}}catch(l){o.e(l)}finally{o.f()}}this.board.columns.push(i)}}catch(l){n.e(l)}finally{n.f()}}}},{key:"drop",value:function(t){var e,n,r,i,a,o;t.previousContainer===t.container?Ve(t.container.data,t.previousIndex,t.currentIndex):(e=t.previousContainer.data,n=t.container.data,r=t.previousIndex,i=t.currentIndex,a=je(r,e.length-1),o=je(i,n.length),e.length&&n.splice(o,0,e.splice(a,1)[0]))}}]),t}()).\u0275fac=function(t){return new(t||ya)},ya.\u0275cmp=r.Ib({type:ya,selectors:[["ledge-kanban"]],inputs:{data:"data",config:"config"},features:[r.Ab],decls:7,vars:2,consts:[[1,"board"],[1,"board-bar"],[1,"board-name"],[1,"board-wrapper"],["cdkDropListGroup","",1,"board-columns"],["class","board-column",4,"ngFor","ngForOf"],[1,"board-column"],[1,"column-title"],["cdkDropList","",1,"tasks-container",3,"cdkDropListData","cdkDropListDropped"],["class","task","cdkDrag","",4,"ngFor","ngForOf"],["cdkDrag","",1,"task"]],template:function(t,e){1&t&&(r.Ub(0,"div",0),r.Ub(1,"div",1),r.Ub(2,"p",2),r.Ac(3),r.Tb(),r.Tb(),r.Ub(4,"div",3),r.Ub(5,"div",4),r.yc(6,Li,5,3,"div",5),r.Tb(),r.Tb(),r.Tb()),2&t&&(r.Cb(3),r.Bc(e.board.name),r.Cb(3),r.lc("ngForOf",e.board.columns))},directives:[_n,o.i,xn,hn],styles:[".root[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.board[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-grow:1;min-width:0;min-height:0;background:#7753df}.board[_ngcontent-%COMP%] .board-bar[_ngcontent-%COMP%]{padding:8px 15px}.board[_ngcontent-%COMP%] .board-bar[_ngcontent-%COMP%] .board-name[_ngcontent-%COMP%]{font-size:20px;font-weight:700;color:#fff;text-align:left}.board[_ngcontent-%COMP%] .board-wrapper[_ngcontent-%COMP%]{display:flex;flex-grow:1;overflow-x:auto}.board[_ngcontent-%COMP%] .board-wrapper[_ngcontent-%COMP%] .board-columns[_ngcontent-%COMP%]{display:flex;flex-grow:1}.board[_ngcontent-%COMP%] .board-wrapper[_ngcontent-%COMP%] .board-columns[_ngcontent-%COMP%] .board-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-grow:1;flex-basis:0;min-width:250px;margin:12px;padding:12px;border-radius:4px;background:rgba(255,255,255,.5)}.board[_ngcontent-%COMP%] .board-wrapper[_ngcontent-%COMP%] .board-columns[_ngcontent-%COMP%] .board-column[_ngcontent-%COMP%]:not(:first-child){margin-left:0}.board[_ngcontent-%COMP%] .board-wrapper[_ngcontent-%COMP%] .board-columns[_ngcontent-%COMP%] .board-column[_ngcontent-%COMP%] .column-title[_ngcontent-%COMP%]{font-size:20px;font-weight:800;text-transform:uppercase;margin-bottom:20px}.tasks-container[_ngcontent-%COMP%]{flex-grow:1;overflow-y:auto}.task[_ngcontent-%COMP%]{display:flex;padding:15px 12px;background:#fff;border-bottom:1px solid #ddd;border-radius:4px;margin-bottom:15px;box-shadow:0 5px 5px -3px rgba(0,0,0,.05),0 3px 14px 2px rgba(0,0,0,.05)}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%], .tasks-container.cdk-drop-list-dragging[_ngcontent-%COMP%] .task[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform 250ms cubic-bezier(0,0,.2,1)}"]}),ya),ho=((ma=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"getItem",value:function(t){var e=this.storage.getItem(t);return e?JSON.parse(e):{}}},{key:"getItemString",value:function(t){return this.storage.getItem(t)}},{key:"setItemString",value:function(t,e){return this.storage.setItem(t,e)}},{key:"setItem",value:function(t,e){var n=e?JSON.stringify(e):"";return this.storage.setItem(t,n)}},{key:"storage",get:function(){return window.localStorage}}]),t}()).\u0275fac=function(t){return new(t||ma)},ma.\u0275prov=r.Kb({token:ma,factory:ma.\u0275fac}),ma),fo=((Sa=_a=function(){function t(e,n){_classCallCheck(this,t),this.formBuilder=e,this.storage=n,this.toDos=[],this.disableInput=!1,this.formChange=new r.n,this.unsubscribe=new T.a,this.disabled=!1}return _createClass2(t,[{key:"onChange",value:function(t){}},{key:"onTouched",value:function(){}},{key:"ngOnInit",value:function(){var t=this;this.form=this.formBuilder.group({todo:["",[x.i.required,x.i.minLength(2)]]}),this.form.valueChanges.subscribe((function(){t.formChange.emit(t.form)}))}},{key:"addToDo",value:function(t){this.toDos.push({id:Math.random(),checked:!1,name:t})}},{key:"ngOnDestroy",value:function(){this.unsubscribe.next(),this.unsubscribe.complete()}},{key:"completeChange",value:function(t,e){e.checked=t.checked,this.onChange(this.toDos)}},{key:"submitTodo",value:function(){this.form.valid&&(this.addToDo(this.form.value.todo),this.form.controls.todo.setValue(null))}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"writeValue",value:function(t){null!=t&&(this.toDos=t)}}]),t}()).\u0275fac=function(t){return new(t||Sa)(r.Ob(x.b),r.Ob(ho))},Sa.\u0275cmp=r.Ib({type:Sa,selectors:[["component-todo"]],inputs:{toDos:"toDos",disableInput:"disableInput",form:"form"},outputs:{formChange:"formChange"},features:[r.Bb([{provide:x.e,useExisting:Object(r.U)((function(){return _a})),multi:!0}])],decls:1,vars:1,consts:[[3,"complete",4,"ngFor","ngForOf"],[3,"checked","change"],[1,"title",3,"innerHTML"],["class","description",3,"innerHTML",4,"ngIf"],[1,"description",3,"innerHTML"]],template:function(t,e){1&t&&r.yc(0,Ni,4,5,"div",0),2&t&&r.lc("ngForOf",e.toDos)},directives:[o.i,On,o.j],styles:[".complete[_ngcontent-%COMP%]{text-decoration:line-through}.title[_ngcontent-%COMP%]{font-weight:300;font-size:14px}.description[_ngcontent-%COMP%]{font-weight:lighter;font-size:12px}"]}),Sa),po=((ka=function(){function t(){_classCallCheck(this,t),this.checklists=[],this.updateParent=new r.n}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"completeChange",value:function(t){this.updateParent.emit(t.checked)}},{key:"ngOnChanges",value:function(t){t.checklists&&(this.checklists=t.checklists.currentValue)}}]),t}()).\u0275fac=function(t){return new(t||ka)},ka.\u0275cmp=r.Ib({type:ka,selectors:[["component-checklist"]],inputs:{checklists:"checklists",name:"name"},outputs:{updateParent:"updateParent"},features:[r.Ab],decls:1,vars:1,consts:[[4,"ngIf"],["class","component-checklist",4,"ngFor","ngForOf"],[1,"component-checklist"],[1,"checklist-item",3,"checked","change"],[1,"title",3,"innerHTML"],["class","description",3,"innerHTML",4,"ngIf"],[3,"disableInput","toDos"],[1,"description",3,"innerHTML"]],template:function(t,e){1&t&&r.yc(0,Bi,2,1,"div",0),2&t&&r.lc("ngIf",e.checklists)},directives:[o.j,o.i,On,fo],styles:[".component-checklist[_ngcontent-%COMP%]{border:1px solid #eee;padding:8px 8px 0;margin-top:4px;border-radius:4px}.title[_ngcontent-%COMP%]{font-size:16px;padding:0;font-weight:300}.description[_ngcontent-%COMP%]{font-weight:lighter;font-size:12px}.checklist-item[_ngcontent-%COMP%]{height:24px;line-height:24px}"]}),ka),go=((wa=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"ngOnChanges",value:function(t){this.renderData()}},{key:"renderData",value:function(){this.title=encodeURIComponent(this.data[0].name);var t,e=[],n=_createForOfIteratorHelper(this.data[0].children);try{for(n.s();!(t=n.n()).done;){var r=t.value,i={name:r.name,description:"",subitems:[]};r.hasOwnProperty("checked")&&(i.checked=r.checked);var a,o=_createForOfIteratorHelper(r.children);try{for(o.s();!(a=o.n()).done;){var s=a.value,l=s.name.split("\uff1a"),u={name:l[0],description:l.length>1?l[1]:""};s.hasOwnProperty("checked")&&(u.checked=s.checked),i.subitems.push(u)}}catch(c){o.e(c)}finally{o.f()}e.push(i)}}catch(c){n.e(c)}finally{n.f()}this.checklists=e}}]),t}()).\u0275fac=function(t){return new(t||wa)},wa.\u0275cmp=r.Ib({type:wa,selectors:[["ledge-checklist"]],inputs:{data:"data",config:"config"},features:[r.Ab],decls:1,vars:1,consts:[["class","ledge-checklist",3,"checklists","name",4,"ngIf"],[1,"ledge-checklist",3,"checklists","name"]],template:function(t,e){1&t&&r.yc(0,Vi,1,2,"component-checklist",0),2&t&&r.lc("ngIf",e.checklists)},directives:[o.j,po],styles:[""]}),wa),vo=((xa=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"ngOnInit",value:function(){var t=this;Nn.a.mermaidAPI.initialize({theme:"default",gantt:{titleTopMargin:25,barHeight:48,barGap:4,topPadding:50,leftPadding:75,gridLineStartPadding:35,fontSize:18,fontFamily:'"Open-Sans", "sans-serif"',numberSectionStyles:4,axisFormat:"%Y-%m-%d"}}),Nn.a.mermaidAPI.render("mermaid-"+Math.random().toString(32).slice(2),this.data,(function(e){t.code=e}))}}]),t}()).\u0275fac=function(t){return new(t||xa)},xa.\u0275cmp=r.Ib({type:xa,selectors:[["ledge-mermaid"]],inputs:{data:"data"},decls:2,vars:3,consts:[[1,"mermaid-graph",3,"innerHTML"]],template:function(t,e){1&t&&(r.Pb(0,"div",0),r.hc(1,"tohtml")),2&t&&r.lc("innerHTML",r.ic(1,1,e.code),r.tc)},pipes:[Fa],styles:[""]}),xa),mo=((ba=function(){function t(){_classCallCheck(this,t),this.childLevel=0}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var t=Object(k.init)(this.chart.nativeElement),e=this.setValue(this.data,0),n=this.buildOption(e);t.setOption(n)}},{key:"buildOption",value:function(t){return{visualMap:{type:"continuous",min:0,max:10,inRange:{color:["#2D5F73","#538EA6","#F2D1B3","#F2B8A2","#F28C8C"]}},series:{type:"sunburst",data:t,radius:[0,"90%"],label:{rotate:"radial"}}}}},{key:"setValue",value:function(t,e){this.childLevel++;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var i=n.value;i.children?this.setValue(i.children,e):i.value=1,i.name&&i.name.endsWith("*")&&(i.itemStyle={color:"#F54F4A"})}}catch(a){r.e(a)}finally{r.f()}return this.childLevel--,t}}]),t}()).\u0275fac=function(t){return new(t||ba)},ba.\u0275cmp=r.Ib({type:ba,selectors:[["ledge-sunburst"]],viewQuery:function(t,e){var n;1&t&&r.Ec(ii,!0),2&t&&r.qc(n=r.dc())&&(e.chart=n.first)},inputs:{data:"data",config:"config"},decls:2,vars:0,consts:[[1,"ledge-sunburst","chart"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:[".ledge-sunburst[_ngcontent-%COMP%]{width:auto;height:auto;min-width:960px;min-height:960px;max-width:1200px}"]}),ba),yo=((Ta=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var t=this.data[0],e=function(){var t,e,n,r=50,i=[],a=[],o=void 0,s=1200,l=800,u=function(t){return t.children},c=function(t){return t.depth>=1&&t.amount?t.name+":"+t.amount:t.name},h=function(t){},f=Object(w.scaleLog)().domain([1,5]).range([60,30]),d=Object(w.forceSimulation)().force("center",Object(w.forceCenter)(s/2,l/2)).force("link",Object(w.forceLink)().distance((function(t){return(t.target.maxChildIdx+1)*f(t.depth+1)}))).on("tick",(function(){var a,o,u=6*this.alpha();i.forEach((function(t){t.root&&(t.x=s-(r+n.getBBox().width)),t.tail&&(t.x=r,t.y=l/2),1===t.depth&&(t.y=-1===t.region?r:l-r,t.x-=10*u),t.vertical&&(t.y+=u*t.region),t.depth&&(t.x-=u),t.between&&(a=t.between[0],o=t.between[1],t.x=o.x-(1+t.childIdx)*(o.x-a.x)/(o.maxChildIdx+1),t.y=o.y-(1+t.childIdx)*(o.y-a.y)/(o.maxChildIdx+1)),h(t)})),t.call(m),e.call(v)})),p=function(r){a=[],i=[],function t(e){i.push(e);var n,r,o=0,s=[e,e.connector],l=[{source:e,target:e.connector,arrow:!0,depth:e.depth||0}];return e.parent?(e.connector.maxChildIdx=0,e.connector.totalLinks=[]):(i.push(n={tail:!0}),s=[n,e],l[0].source=n,l[0].target=e,e.horizontal=!0,e.vertical=!1,e.depth=0,e.root=!0,e.totalLinks=[]),e.linkCount=1,(u(e)||[]).forEach((function(a,u){a.parent=e,a.depth=(e.depth||0)+1,a.childIdx=u,a.region=1&u?e.region?e.region:1:e.region?e.region:-1,a.horizontal=!e.horizontal,a.vertical=!e.vertical,e.root&&n&&!n.tail?(i.push(a.connector={between:s,childIdx:n.childIdx}),n=null):i.push(n=a.connector={between:s,childIdx:o++}),l.push({source:a,target:a.connector,depth:a.depth}),r=t(a),e.linkCount+=r,s[1].totalLinks.push(r)})),s[1].maxChildIdx=o,Array.prototype.unshift.apply(a,l),e.linkCount}(r.datum()),d.nodes(i).force("link",Object(w.forceLink)().links(a)),(e=r.selectAll(".link").data(a).enter().append("line").attr("class",(function(t){return"link link-"+t.depth})).attr("marker-end",(function(t){return t.arrow?"url(#arrow)":null}))).exit().remove(),(t=r.selectAll(".node").data(i).enter().append("g").attr("class",(function(t){return"node"+(t.root?" root":"")})).append("text").attr("class",(function(t){return"label-"+t.depth})).attr("stroke",(function(t){if(t.color)return t.color})).attr("text-anchor",(function(t){return t.depth?t.horizontal?"end":"middle":"start"})).attr("dy",(function(t){return t.horizontal?".35em":1===t.region?"1em":"-.2em"})).text(c)).exit().remove(),t.on("mousedown",(function(){w.event.stopPropagation()})),n=r.select(".root").node()};function g(t){return isFinite(t)?t:0}function v(t){t.attr("x1",(function(t){return g(t.source.x)})).attr("y1",(function(t){return g(t.source.y)})).attr("x2",(function(t){return g(t.target.x)})).attr("y2",(function(t){return g(t.target.y)}))}function m(t){t.attr("transform",(function(t){return"translate("+t.x+","+t.y+")"}))}return p.links=function(){return a},p.nodes=function(){return i},p.force=function(){return d},p.defaultArrow=function(t){t.selectAll("defs").data([1]).enter().append("defs").selectAll("marker#arrow").data([1]).enter().append("marker").attr("id","arrow").attr("viewBox","0 -5 10 10").attr("refX",10).attr("refY",0).attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M0,-5L10,0L0,5")},p.margin=function(t){return r=t,o},p.children=function(t){return u=t,o},p.label=function(t){return c=t,o},p._perNodeTick=function(t){return h=t,o},p.setWidthHeight=function(t,e){s=t,l=e,d.force("center",Object(w.forceCenter)(s/2,l/2))},p}(),n=1200,r=800;this.config&&(this.config.width&&(n=this.config.width),this.config.height&&(r=this.config.height)),e.setWidthHeight(n,r),Object(w.select)(this.chart.nativeElement).append("svg").attr("width",n).attr("height",r).datum(t).call(e.defaultArrow).call(e),e.force().restart()}}]),t}()).\u0275fac=function(t){return new(t||Ta)},Ta.\u0275cmp=r.Ib({type:Ta,selectors:[["ledge-fish-bone"]],viewQuery:function(t,e){var n;1&t&&r.Ec(ii,!0),2&t&&r.qc(n=r.dc())&&(e.chart=n.first)},inputs:{data:"data",config:"config"},decls:2,vars:0,consts:[[1,"ledge-fish-bone","chart"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:[".ledge-fish-bone[_ngcontent-%COMP%]{width:auto;height:auto;min-width:500px;min-height:500px;max-width:800px}"]}),Ta),_o=((Aa=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"ngAfterViewInit",value:function(){var t=S.a.init(this.chartEl.nativeElement),e=this.buildOption(this.data);t.setOption(e)}},{key:"buildOption",value:function(t){var e=this.buildSeriesData(JSON.parse(JSON.stringify(t)));return{title:{top:30,left:"center",name:t.header[0]},visualMap:{min:0,max:100,calculable:!0,orient:"vertical",left:"90%",top:"35%",inRange:{color:["white","rgb(166, 202, 102)"]}},grid:{top:"10%",left:"20%"},xAxis:{type:"category",position:"top",data:t.header.slice(1),axisLabel:{fontSize:14},splitArea:{show:!1}},yAxis:{type:"category",axisLabel:{fontSize:14},data:t.cells[0].reverse(),splitArea:{show:!0}},series:[{type:"heatmap",data:e,label:{show:!0,color:"#000",formatter:function(t){return t.value[2]+"%"}},emphasis:{itemStyle:{shadowBlur:5,shadowColor:"white"}}}]}}},{key:"buildSeriesData",value:function(t){var e=[];t.cells.shift();for(var n=t.cells[0].length,r=0;r1&&(this.item.chartValue=parseInt(t[1],10))}},{key:"registerOnChange",value:function(t){this.onChange=t,this.itemChange.emit=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"writeValue",value:function(t){null!=t&&(this.item=t)}},{key:"updateValue",value:function(t){this.itemChange.emit(this.item)}}]),t}()).\u0275fac=function(t){return new(t||Ma)},Ma.\u0275cmp=r.Ib({type:Ma,selectors:[["component-rating-item"]],inputs:{item:"item"},outputs:{itemChange:"itemChange"},features:[r.Bb([{provide:x.e,useExisting:Object(r.U)((function(){return Ea})),multi:!0}])],decls:3,vars:3,consts:[["min","1","max","5","step","1",3,"ngModel","ngModelChange","change"]],template:function(t,e){1&t&&(r.Ub(0,"span"),r.Ac(1),r.Tb(),r.Ub(2,"mat-slider",0),r.cc("ngModelChange",(function(t){return e.item.chartValue=t}))("change",(function(t){return e.updateValue(t)})),r.Tb()),2&t&&(r.Cb(1),r.Dc("",e.item.displayName," : ",e.item.chartValue,""),r.Cb(1),r.lc("ngModel",e.item.chartValue))},directives:[Ut,x.f,x.g],styles:["[_nghost-%COMP%]{font-size:16px}"]}),Ma),wo=((La=Ia=function(){function t(){_classCallCheck(this,t),this.dataChange=new r.n,this.isParent=!1,this.disabled=!1}return _createClass2(t,[{key:"onChange",value:function(t){}},{key:"onTouched",value:function(t){}},{key:"ngOnInit",value:function(){}},{key:"registerOnChange",value:function(t){this.onChange=t}},{key:"registerOnTouched",value:function(t){this.onTouched=t}},{key:"setDisabledState",value:function(t){this.disabled=t}},{key:"writeValue",value:function(t){null!==t&&(this.data=t)}},{key:"changeForm",value:function(t,e,n){e.name=e.displayName+": "+e.chartValue,this.data[n]=e,this.dataChange.emit(this.data)}}]),t}()).\u0275fac=function(t){return new(t||La)},La.\u0275cmp=r.Ib({type:La,selectors:[["component-rating"]],inputs:{isParent:"isParent",data:"data",instanceKey:"instanceKey"},outputs:{dataChange:"dataChange"},features:[r.Bb([{provide:x.e,useExisting:Object(r.U)((function(){return Ia})),multi:!0}])],decls:1,vars:1,consts:[["id","markdown-rating",4,"ngIf"],["id","markdown-rating"],[4,"ngFor","ngForOf"],[3,"item","itemChange"],[3,"disableInput","toDos",4,"ngIf"],[3,"disableInput","toDos"]],template:function(t,e){1&t&&r.yc(0,qi,2,1,"div",0),2&t&&r.lc("ngIf",e.data)},directives:[o.j,o.i,xo,fo],styles:["ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:1.2em}ul[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{font-size:1em;line-height:1.2em!important;margin-left:2em}"]}),La),ko=((Pa=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"ngOnInit",value:function(){}},{key:"ngOnChanges",value:function(t){var e=this;t.data&&(this.data=t.data.currentValue,setTimeout((function(){e.render(e.data[0])})))}},{key:"render",value:function(t){var e=this.chartEl.nativeElement,n=800,r=960;this.config&&(this.config.height&&(n=this.config.height),this.config.width&&(r=this.config.width));var i,a=r-90-90,o=n-20-30,s=Object(w.select)(e).append("svg").attr("width",a+90+90).attr("height",o+20+30).append("g").attr("transform","translate(90,20)"),l=0,u=Object(w.tree)().size([o,a]);(i=Object(w.hierarchy)(t,(function(t){return t.children}))).x0=o/2,i.y0=0,this.config&&this.config.collapse&&i.children.forEach((function t(e){e.children&&(e._children=e.children,e._children.forEach(t),e.children=null)})),function t(e){var n=u(i),r=n.descendants(),a=n.descendants().slice(1);r.forEach((function(t){t.y=180*t.depth}));var o=s.selectAll("g.node").data(r,(function(t){return t.id||(t.id=++l)})),c=o.enter().append("g").attr("class","node").attr("transform",(function(t){return"translate("+e.y0+","+e.x0+")"})).on("click",(function(e){e.children?(e._children=e.children,e.children=null):(e.children=e._children,e._children=null),t(e)}));c.append("circle").attr("class","node").attr("r",1e-6).style("fill",(function(t){return t._children?"lightsteelblue":"#fff"})),c.append("text").attr("dy",".35em").attr("x",(function(t){return t.children||t._children?-13:13})).attr("text-anchor",(function(t){return t.children||t._children?"end":"start"})).text((function(t){return t.data.name}));var h=c.merge(o);h.transition().duration(750).attr("transform",(function(t){return"translate("+t.y+","+t.x+")"})),h.select("circle.node").attr("r",10).style("fill",(function(t){return t._children?"lightsteelblue":"#fff"})).attr("cursor","pointer");var f=o.exit().transition().duration(750).attr("transform",(function(t){return"translate("+e.y+","+e.x+")"})).remove();f.select("circle").attr("r",1e-6),f.select("text").style("fill-opacity",1e-6);var d=s.selectAll("path.link").data(a,(function(t){return t.id}));function p(t,e){return"M ".concat(t.y," ").concat(t.x,"\n C ").concat((t.y+e.y)/2," ").concat(t.x,",\n ").concat((t.y+e.y)/2," ").concat(e.x,",\n ").concat(e.y," ").concat(e.x)}d.enter().insert("path","g").attr("class","link").attr("d",(function(t){var n={x:e.x0,y:e.y0};return p(n,n)})).merge(d).transition().duration(750).attr("d",(function(t){return p(t,t.parent)})),d.exit().transition().duration(750).attr("d",(function(t){var n={x:e.x,y:e.y};return p(n,n)})).remove(),r.forEach((function(t){t.x0=t.x,t.y0=t.y}))}(i)}}]),t}()).\u0275fac=function(t){return new(t||Pa)},Pa.\u0275cmp=r.Ib({type:Pa,selectors:[["ledge-tree"]],viewQuery:function(t,e){var n;1&t&&r.Ec(ii,!0),2&t&&r.qc(n=r.dc())&&(e.chartEl=n.first)},inputs:{data:"data",config:"config"},features:[r.Ab],decls:2,vars:0,consts:[[1,"ledge-tree"],["chart",""]],template:function(t,e){1&t&&r.Pb(0,"div",0,1)},styles:["[_nghost-%COMP%]{min-height:800px}"]}),Pa),So=((Oa=function(){function t(){_classCallCheck(this,t),this.regex=/\[(\d+)\]\s?(.*)/,this.items=[]}return _createClass2(t,[{key:"ngOnInit",value:function(){var t=this;this.data&&(this.regex.test(this.data[0].children[0].name)&&this.data.map((function(e){e.children.map((function(e){var n=t.regex.exec(e.name);n&&n.length>=2&&(e.type="type_"+n[1],e.name=n[2])}))})),this.items=this.data)}}]),t}()).\u0275fac=function(t){return new(t||Oa)},Oa.\u0275cmp=r.Ib({type:Oa,selectors:[["ledge-process-step"]],inputs:{data:"data",config:"config"},decls:4,vars:2,consts:[[1,"markdown-process-step"],["class","step-heads",4,"ngIf"],[1,"process-step-columns"],["class","process-step-column",4,"ngFor","ngForOf"],[1,"step-heads"],[3,"class",4,"ngFor","ngForOf"],[1,"process-step-column"],[1,"process-title"],[1,"process-body"],[3,"class","innerHTML",4,"ngFor","ngForOf"],["class","step-symbol",4,"ngIf"],[3,"innerHTML"],[1,"step-symbol"]],template:function(t,e){1&t&&(r.Ub(0,"div",0),r.yc(1,Zi,2,1,"div",1),r.Ub(2,"div",2),r.yc(3,Ki,6,3,"div",3),r.Tb(),r.Tb()),2&t&&(r.Cb(1),r.lc("ngIf",e.config.heads),r.Cb(2),r.lc("ngForOf",e.items))},directives:[o.j,o.i],styles:[".type_0.ledge-type[_ngcontent-%COMP%]{background:#f37c20}.type_0.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #f37c20}.type_1.ledge-type[_ngcontent-%COMP%]{background:#e9bd1e}.type_1.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #e9bd1e}.type_2.ledge-type[_ngcontent-%COMP%]{background:#00a2a1}.type_2.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #00a2a1}.type_3.ledge-type[_ngcontent-%COMP%]{background:#0062ce}.type_3.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #0062ce}.type_4.ledge-type[_ngcontent-%COMP%]{background:#666}.type_4.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #666}.type_5.ledge-type[_ngcontent-%COMP%]{background:#dc5332}.type_5.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #dc5332}.type_6.ledge-type[_ngcontent-%COMP%]{background:#079948}.type_6.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #079948}.type_7.ledge-type[_ngcontent-%COMP%]{background:#999}.type_7.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #999}.type_8.ledge-type[_ngcontent-%COMP%]{background:purple}.type_8.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid purple}.type_9.ledge-type[_ngcontent-%COMP%]{background:#036}.type_9.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #036}.type_10.ledge-type[_ngcontent-%COMP%]{background:#aa217e}.type_10.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #aa217e}.type_11.ledge-type[_ngcontent-%COMP%]{background:#55acee}.type_11.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #55acee}.type_12.ledge-type[_ngcontent-%COMP%]{background:#444}.type_12.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #444}.type_13.ledge-type[_ngcontent-%COMP%]{background:#61bb46}.type_13.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #61bb46}.type_14.ledge-type[_ngcontent-%COMP%]{background:#007c78}.type_14.ledge-type[_ngcontent-%COMP%]:after{border-left:22px solid #007c78}.markdown-process-step[_ngcontent-%COMP%]{display:flex;margin:2em auto;flex:1;flex-direction:column;position:relative}.step-heads[_ngcontent-%COMP%]{height:32px}.ledge-type[_ngcontent-%COMP%]{padding:6px 10px;border-radius:6px;margin-left:6px}.process-step-columns[_ngcontent-%COMP%]{top:2em;display:flex;flex-direction:row;justify-content:space-between}"]}),Oa),Co=((Da=function t(){_classCallCheck(this,t)}).\u0275mod=r.Mb({type:Da}),Da.\u0275inj=r.Lb({factory:function(t){return new(t||Da)},providers:[ho],imports:[[o.b,x.c,x.h,Za,y]]}),Da)},NmYn:function(t,e,n){var r;t.exports=(r=function(){var t=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010c":"C","\u010d":"c","\u010e":"D","\u010f":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011a":"E","\u011b":"e","\u011e":"G","\u011f":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012a":"i","\u012b":"i","\u012e":"I","\u012f":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013b":"L","\u013c":"l","\u013d":"L","\u013e":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015a":"S","\u015b":"s","\u015e":"S","\u015f":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016a":"u","\u016b":"u","\u016e":"U","\u016f":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017a":"z","\u017b":"Z","\u017c":"z","\u017d":"Z","\u017e":"z","\u0192":"f","\u01a0":"O","\u01a1":"o","\u01af":"U","\u01b0":"u","\u01c8":"LJ","\u01c9":"lj","\u01cb":"NJ","\u01cc":"nj","\u0218":"S","\u0219":"s","\u021a":"T","\u021b":"t","\u02da":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038a":"I","\u038c":"O","\u038e":"Y","\u038f":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039a":"K","\u039b":"L","\u039c":"M","\u039d":"N","\u039e":"3","\u039f":"O","\u03a0":"P","\u03a1":"R","\u03a3":"S","\u03a4":"T","\u03a5":"Y","\u03a6":"F","\u03a7":"X","\u03a8":"PS","\u03a9":"W","\u03aa":"I","\u03ab":"Y","\u03ac":"a","\u03ad":"e","\u03ae":"h","\u03af":"i","\u03b0":"y","\u03b1":"a","\u03b2":"b","\u03b3":"g","\u03b4":"d","\u03b5":"e","\u03b6":"z","\u03b7":"h","\u03b8":"8","\u03b9":"i","\u03ba":"k","\u03bb":"l","\u03bc":"m","\u03bd":"n","\u03be":"3","\u03bf":"o","\u03c0":"p","\u03c1":"r","\u03c2":"s","\u03c3":"s","\u03c4":"t","\u03c5":"y","\u03c6":"f","\u03c7":"x","\u03c8":"ps","\u03c9":"w","\u03ca":"i","\u03cb":"y","\u03cc":"o","\u03cd":"y","\u03ce":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040a":"NJ","\u040b":"C","\u040f":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041a":"K","\u041b":"L","\u041c":"M","\u041d":"N","\u041e":"O","\u041f":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042a":"U","\u042b":"Y","\u042c":"","\u042d":"E","\u042e":"Yu","\u042f":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043a":"k","\u043b":"l","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044a":"u","\u044b":"y","\u044c":"","\u044d":"e","\u044e":"yu","\u044f":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045a":"nj","\u045b":"c","\u045d":"u","\u045f":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049a":"KH","\u049b":"kh","\u04a2":"NG","\u04a3":"ng","\u04ae":"UE","\u04af":"ue","\u04b0":"U","\u04b1":"u","\u04ba":"H","\u04bb":"h","\u04d8":"AE","\u04d9":"ae","\u04e8":"OE","\u04e9":"oe","\u0e3f":"baht","\u10d0":"a","\u10d1":"b","\u10d2":"g","\u10d3":"d","\u10d4":"e","\u10d5":"v","\u10d6":"z","\u10d7":"t","\u10d8":"i","\u10d9":"k","\u10da":"l","\u10db":"m","\u10dc":"n","\u10dd":"o","\u10de":"p","\u10df":"zh","\u10e0":"r","\u10e1":"s","\u10e2":"t","\u10e3":"u","\u10e4":"f","\u10e5":"k","\u10e6":"gh","\u10e7":"q","\u10e8":"sh","\u10e9":"ch","\u10ea":"ts","\u10eb":"dz","\u10ec":"ts","\u10ed":"ch","\u10ee":"kh","\u10ef":"j","\u10f0":"h","\u1e80":"W","\u1e81":"w","\u1e82":"W","\u1e83":"w","\u1e84":"W","\u1e85":"w","\u1e9e":"SS","\u1ea0":"A","\u1ea1":"a","\u1ea2":"A","\u1ea3":"a","\u1ea4":"A","\u1ea5":"a","\u1ea6":"A","\u1ea7":"a","\u1ea8":"A","\u1ea9":"a","\u1eaa":"A","\u1eab":"a","\u1eac":"A","\u1ead":"a","\u1eae":"A","\u1eaf":"a","\u1eb0":"A","\u1eb1":"a","\u1eb2":"A","\u1eb3":"a","\u1eb4":"A","\u1eb5":"a","\u1eb6":"A","\u1eb7":"a","\u1eb8":"E","\u1eb9":"e","\u1eba":"E","\u1ebb":"e","\u1ebc":"E","\u1ebd":"e","\u1ebe":"E","\u1ebf":"e","\u1ec0":"E","\u1ec1":"e","\u1ec2":"E","\u1ec3":"e","\u1ec4":"E","\u1ec5":"e","\u1ec6":"E","\u1ec7":"e","\u1ec8":"I","\u1ec9":"i","\u1eca":"I","\u1ecb":"i","\u1ecc":"O","\u1ecd":"o","\u1ece":"O","\u1ecf":"o","\u1ed0":"O","\u1ed1":"o","\u1ed2":"O","\u1ed3":"o","\u1ed4":"O","\u1ed5":"o","\u1ed6":"O","\u1ed7":"o","\u1ed8":"O","\u1ed9":"o","\u1eda":"O","\u1edb":"o","\u1edc":"O","\u1edd":"o","\u1ede":"O","\u1edf":"o","\u1ee0":"O","\u1ee1":"o","\u1ee2":"O","\u1ee3":"o","\u1ee4":"U","\u1ee5":"u","\u1ee6":"U","\u1ee7":"u","\u1ee8":"U","\u1ee9":"u","\u1eea":"U","\u1eeb":"u","\u1eec":"U","\u1eed":"u","\u1eee":"U","\u1eef":"u","\u1ef0":"U","\u1ef1":"u","\u1ef2":"Y","\u1ef3":"y","\u1ef4":"Y","\u1ef5":"y","\u1ef6":"Y","\u1ef7":"y","\u1ef8":"Y","\u1ef9":"y","\u2018":"\'","\u2019":"\'","\u201c":"\\"","\u201d":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20a0":"ecu","\u20a2":"cruzeiro","\u20a3":"french franc","\u20a4":"lira","\u20a5":"mill","\u20a6":"naira","\u20a7":"peseta","\u20a8":"rupee","\u20a9":"won","\u20aa":"new shequel","\u20ab":"dong","\u20ac":"euro","\u20ad":"kip","\u20ae":"tugrik","\u20af":"drachma","\u20b0":"penny","\u20b1":"peso","\u20b2":"guarani","\u20b3":"austral","\u20b4":"hryvnia","\u20b5":"cedi","\u20b8":"kazakhstani tenge","\u20b9":"indian rupee","\u20bd":"russian ruble","\u20bf":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221e":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\ufdfc":"rial"}'),e=JSON.parse('{"vi":{"\u0110":"D","\u0111":"d"}}');function n(n,r){if("string"!=typeof n)throw new Error("slugify: string argument expected");var i=e[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},a=r.replacement||"-",o=n.split("").reduce((function(e,n){return e+(i[n]||t[n]||n)}),"").replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"").trim().replace(new RegExp("[\\s"+a+"]+","g"),a);return r.lower&&(o=o.toLowerCase()),r.strict&&(o=o.replace(new RegExp("[^a-zA-Z0-9"+a+"]","g"),"")),o}return n.extend=function(e){for(var n in e)t[n]=e[n]},n})(),t.exports.default=r()},Npjl:function(t,e){t.exports=function(t,e){return null==t?void 0:t[e]}},NykK:function(t,e,n){var r=n("nmnc"),i=n("AP2z"),a=n("KfNM"),o=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":o&&o in Object(t)?i(t):a(t)}},O0oS:function(t,e,n){var r=n("Cwc5"),i=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();t.exports=i},O7RO:function(t,e,n){var r=n("CMye"),i=n("7GkX");t.exports=function(t){for(var e=i(t),n=e.length;n--;){var a=e[n],o=t[a];e[n]=[a,o,r(o)]}return e}},OBhP:function(t,e,n){var r=n("fmRc"),i=n("gFfm"),a=n("MrPd"),o=n("WwFo"),s=n("Dw+G"),l=n("5Tg0"),u=n("Q1l4"),c=n("VOtZ"),h=n("EEGq"),f=n("qZTm"),d=n("G6z8"),p=n("QqLw"),g=n("yHx3"),v=n("wrZu"),m=n("+iFO"),y=n("Z0cm"),_=n("DSRE"),b=n("zEVN"),x=n("GoyQ"),w=n("1+5i"),k=n("7GkX"),S={};S["[object Arguments]"]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object DataView]"]=S["[object Boolean]"]=S["[object Date]"]=S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Map]"]=S["[object Number]"]=S["[object Object]"]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object Symbol]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Error]"]=S["[object Function]"]=S["[object WeakMap]"]=!1,t.exports=function t(e,n,C,A,T,E){var M,I=1&n,D=2&n,O=4&n;if(C&&(M=T?C(e,A,T,E):C(e)),void 0!==M)return M;if(!x(e))return e;var P=y(e);if(P){if(M=g(e),!I)return u(e,M)}else{var L=p(e),R="[object Function]"==L||"[object GeneratorFunction]"==L;if(_(e))return l(e,I);if("[object Object]"==L||"[object Arguments]"==L||R&&!T){if(M=D||R?{}:m(e),!I)return D?h(e,s(M,e)):c(e,o(M,e))}else{if(!S[L])return T?e:{};M=v(e,L,I)}}E||(E=new r);var N=E.get(e);if(N)return N;E.set(e,M),w(e)?e.forEach((function(r){M.add(t(r,n,C,r,e,E))})):b(e)&&e.forEach((function(r,i){M.set(i,t(r,n,C,i,e,E))}));var z=O?D?d:f:D?keysIn:k,F=P?void 0:z(e);return i(F||e,(function(r,i){F&&(r=e[i=r]),a(M,i,t(r,n,C,i,e,E))})),M}},OELB:function(t,e,n){var r=n("bYtY"),i=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d\d)(?::(\d\d)(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function a(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}e.linearMap=function(t,e,n,r){var i=e[1]-e[0],a=n[1]-n[0];if(0===i)return 0===a?n[0]:(n[0]+n[1])/2;if(r)if(i>0){if(t<=e[0])return n[0];if(t>=e[1])return n[1]}else{if(t>=e[0])return n[0];if(t<=e[1])return n[1]}else{if(t===e[0])return n[0];if(t===e[1])return n[1]}return(t-e[0])/i*a+n[0]},e.parsePercent=function(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return"string"==typeof t?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n},e.round=function(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t},e.asc=function(t){return t.sort((function(t,e){return t-e})),t},e.getPrecision=function(t){if(t=+t,isNaN(t))return 0;for(var e=1,n=0;Math.round(t*e)/e!==t;)e*=10,n++;return n},e.getPrecisionSafe=function(t){var e=t.toString(),n=e.indexOf("e");if(n>0){var r=+e.slice(n+1);return r<0?-r:0}var i=e.indexOf(".");return i<0?0:e.length-1-i},e.getPixelPrecision=function(t,e){var n=Math.log,r=Math.LN10,i=Math.floor(n(t[1]-t[0])/r),a=Math.round(n(Math.abs(e[1]-e[0]))/r),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20},e.getPercentWithPrecision=function(t,e,n){if(!t[e])return 0;var i=r.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===i)return 0;for(var a=Math.pow(10,n),o=r.map(t,(function(t){return(isNaN(t)?0:t)/i*a*100})),s=100*a,l=r.map(o,(function(t){return Math.floor(t)})),u=r.reduce(l,(function(t,e){return t+e}),0),c=r.map(o,(function(t,e){return t-l[e]}));uh&&(h=c[d],f=d);++l[f],c[f]=0,++u}return l[e]/a},e.MAX_SAFE_INTEGER=9007199254740991,e.remRadian=function(t){var e=2*Math.PI;return(t%e+e)%e},e.isRadianAroundZero=function(t){return t>-1e-4&&t<1e-4},e.parseDate=function(t){if(t instanceof Date)return t;if("string"==typeof t){var e=i.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,+e[7]||0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,+e[7]||0)}return null==t?new Date(NaN):new Date(Math.round(t))},e.quantity=function(t){return Math.pow(10,a(t))},e.quantityExponent=a,e.nice=function(t,e){var n=a(t),r=Math.pow(10,n),i=t/r;return t=(e?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*r,n>=-20?+t.toFixed(n<0?-n:0):t},e.quantile=function(t,e){var n=(t.length-1)*e+1,r=Math.floor(n),i=+t[r-1],a=n-r;return a?i+a*(t[r]-i):i},e.reformIntervals=function(t){t.sort((function(t,e){return function t(e,n,r){return e.interval[r]=0}},OFL0:function(t,e,n){var r=n("lvO4"),i=n("4sDh");t.exports=function(t,e){return null!=t&&i(t,e,r)}},OKJ2:function(t,e,n){var r=n("KxfA").retrieveRawValue,i=n("7aKB"),a=i.getTooltipMarker,o=i.formatTpl,s=n("4NO4").getTooltipRenderMode,l=/\{@(.+?)\}/g;t.exports={getDataParams:function(t,e){var n=this.getData(e),r=this.getRawValue(t,e),i=n.getRawIndex(t),o=n.getName(t),l=n.getRawDataItem(t),u=n.getItemVisual(t,"color"),c=n.getItemVisual(t,"borderColor"),h=this.ecModel.getComponent("tooltip"),f=h&&h.get("renderMode"),d=s(f),p=this.mainType,g="series"===p,v=n.userOutput;return{componentType:p,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:g?this.subType:null,seriesIndex:this.seriesIndex,seriesId:g?this.id:null,seriesName:g?this.name:null,name:o,dataIndex:i,data:l,dataType:e,value:r,color:u,borderColor:c,dimensionNames:v?v.dimensionNames:null,encode:v?v.encode:null,marker:a({color:u,renderMode:d}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(t,e,n,i,a){e=e||"normal";var s=this.getData(n),u=s.getItemModel(t),c=this.getDataParams(t,n);null!=i&&c.value instanceof Array&&(c.value=c.value[i]);var h=u.get("normal"===e?[a||"label","formatter"]:[e,a||"label","formatter"]);return"function"==typeof h?(c.status=e,c.dimensionIndex=i,h(c)):"string"==typeof h?o(h,c).replace(l,(function(e,n){var i=n.length;return"["===n.charAt(0)&&"]"===n.charAt(i-1)&&(n=+n.slice(1,i-1)),r(s,t,n)})):void 0},getRawValue:function(t,e){return r(this.getData(e),t)},formatTooltip:function(){}}},"OOL/":function(t,e,n){var r=n("b5wT"),i=n("HzoJ"),a=n("2fNS"),o=n("81LO");t.exports=function t(e,n,s,l){var u=e.children(n),c=e.node(n),h=c?c.borderLeft:void 0,f=c?c.borderRight:void 0,d={};h&&(u=r.filter(u,(function(t){return t!==h&&t!==f})));var p=i(e,u);r.forEach(p,(function(n){if(e.children(n.v).length){var i=t(e,n.v,s,l);d[n.v]=i,r.has(i,"barycenter")&&(o=i,r.isUndefined((a=n).barycenter)?(a.barycenter=o.barycenter,a.weight=o.weight):(a.barycenter=(a.barycenter*a.weight+o.barycenter*o.weight)/(a.weight+o.weight),a.weight+=o.weight))}var a,o}));var g=a(p,s);!function(t,e){r.forEach(t,(function(t){t.vs=r.flatten(t.vs.map((function(t){return e[t]?e[t].vs:t})),!0)}))}(g,d);var v=o(g,l);if(h&&(v.vs=r.flatten([h,v.vs,f],!0),e.predecessors(h).length)){var m=e.node(e.predecessors(h)[0]),y=e.node(e.predecessors(f)[0]);r.has(v,"barycenter")||(v.barycenter=0,v.weight=0),v.barycenter=(v.barycenter*v.weight+m.order+y.order)/(v.weight+2),v.weight+=2}return v}},OQFs:function(t,e,n){var r=n("KCsZ")([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);t.exports={getLineStyle:function(t){var e=r(this,t);return e.lineDash=this.getLineDash(e.lineWidth),e},getLineDash:function(t){null==t&&(t=1);var e=this.get("type"),n=Math.max(t,2),r=4*t;return"solid"!==e&&null!=e&&("dashed"===e?[r,r]:[n,n])}}},OS9S:function(t,e,n){var r=n("bYtY").inherits,i=n("Gev7"),a=n("mFDi");function o(t){i.call(this,t),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}o.prototype.incremental=!0,o.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},o.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.dirty()},o.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n0?100:20}},getFirstTargetAxisModel:function(){var t;return c((function(e){if(null==t){var n=this.get(e.axisIndex);n.length&&(t=this.dependentModels[e.axis][n[0]])}}),this),t},eachTargetAxis:function(t,e){var n=this.ecModel;c((function(r){u(this.get(r.axisIndex),(function(i){t.call(e,r,i,this,n)}),this)}),this)},getAxisProxy:function(t,e){return this._axisProxies[t+"_"+e]},getAxisModel:function(t,e){var n=this.getAxisProxy(t,e);return n&&n.getAxisModel()},setRawRange:function(t){var e=this.option,n=this.settledOption;u([["start","startValue"],["end","endValue"]],(function(r){null==t[r[0]]&&null==t[r[1]]||(e[r[0]]=n[r[0]]=t[r[0]],e[r[1]]=n[r[1]]=t[r[1]])}),this),d(this,t)},setCalculatedRange:function(t){var e=this.option;u(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},getPercentRange:function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},getValueRange:function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},findRepresentativeAxisProxy:function(t){if(t)return t.__dzAxisProxy;var e=this._axisProxies;for(var n in e)if(e.hasOwnProperty(n)&&e[n].hostedBy(this))return e[n];for(var n in e)if(e.hasOwnProperty(n)&&!e[n].hostedBy(this))return e[n]},getRangePropMode:function(){return this._rangePropMode.slice()}});function f(t){var e={};return u(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}function d(t,e){var n=t._rangePropMode,r=t.get("rangeMode");u([["start","startValue"],["end","endValue"]],(function(t,i){var a=null!=e[t[0]],o=null!=e[t[1]];a&&!o?n[i]="percent":!a&&o?n[i]="value":r?n[i]=r[i]:a&&(n[i]="percent")}))}t.exports=h},"P/G1":function(t,e,n){var r=n("JmpY"),i=n("7GkX");t.exports=function(t){return null==t?[]:r(t,i(t))}},P47w:function(t,e,n){var r=n("hydK").createElement,i=n("IMiH"),a=n("mFDi"),o=n("Fofx"),s=n("6GrX"),l=n("pzxd"),u=n("dqUG"),c=i.CMD,h=Array.prototype.join,f=Math.round,d=Math.sin,p=Math.cos,g=Math.PI,v=2*Math.PI,m=180/g;function y(t){return f(1e4*t)/1e4}function _(t){return t<1e-4&&t>-1e-4}function b(t,e){e&&x(t,"transform","matrix("+h.call(e,",")+")")}function x(t,e,n){(!n||"linear"!==n.type&&"radial"!==n.type)&&t.setAttribute(e,n)}function w(t,e,n,r){if(function(t,e){var n=e?t.textFill:t.fill;return null!=n&&"none"!==n}(e,n)){var i=n?e.textFill:e.fill;x(t,"fill",i="transparent"===i?"none":i),x(t,"fill-opacity",null!=e.fillOpacity?e.fillOpacity*e.opacity:e.opacity)}else x(t,"fill","none");if(function(t,e){var n=e?t.textStroke:t.stroke;return null!=n&&"none"!==n}(e,n)){var a=n?e.textStroke:e.stroke;x(t,"stroke",a="transparent"===a?"none":a),x(t,"stroke-width",(n?e.textStrokeWidth:e.lineWidth)/(!n&&e.strokeNoScale?r.getLineScale():1)),x(t,"paint-order",n?"stroke":"fill"),x(t,"stroke-opacity",null!=e.strokeOpacity?e.strokeOpacity:e.opacity),e.lineDash?(x(t,"stroke-dasharray",e.lineDash.join(",")),x(t,"stroke-dashoffset",f(e.lineDashOffset||0))):x(t,"stroke-dasharray",""),e.lineCap&&x(t,"stroke-linecap",e.lineCap),e.lineJoin&&x(t,"stroke-linejoin",e.lineJoin),e.miterLimit&&x(t,"stroke-miterlimit",e.miterLimit)}else x(t,"stroke","none")}var k={brush:function(t){var e=t.style,n=t.__svgEl;n||(n=r("path"),t.__svgEl=n),t.path||t.createPathProxy();var i=t.path;if(t.__dirtyPath){i.beginPath(),i.subPixelOptimize=!1,t.buildPath(i,t.shape),t.__dirtyPath=!1;var a=function(t){for(var e=[],n=t.data,r=t.len(),i=0;i=v:-x>=v),A=x>0?x%v:x%v+v,T=!1;T=!!C||!_(S)&&A>=g==!!k;var E=y(s+u*p(b)),M=y(l+h*d(b));C&&(x=k?v-1e-4:1e-4-v,T=!0,9===i&&e.push("M",E,M));var I=y(s+u*p(b+x)),D=y(l+h*d(b+x));e.push("A",y(u),y(h),f(w*m),+T,+k,I,D);break;case c.Z:a="Z";break;case c.R:I=y(n[i++]),D=y(n[i++]);var O=y(n[i++]),P=y(n[i++]);e.push("M",I,D,"L",I+O,D,"L",I+O,D+P,"L",I,D+P,"L",I,D)}a&&e.push(a);for(var L=0;LN){for(;Lt[1])break;n.push({color:this.getControllerVisual(a,"color",e),offset:i/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},_createBarPoints:function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},_createBarGroup:function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new s.Group("horizontal"!==e||n?"horizontal"===e&&n?{scale:"bottom"===t?[-1,1]:[1,1],rotation:-Math.PI/2}:"vertical"!==e||n?{scale:"left"===t?[1,1]:[-1,1]}:{scale:"left"===t?[1,-1]:[-1,-1]}:{scale:"bottom"===t?[1,1]:[-1,1],rotation:Math.PI/2})},_updateHandle:function(t,e){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,a=n.handleLabels;d([0,1],(function(o){var l=i[o];l.setStyle("fill",e.handlesColor[o]),l.position[1]=t[o];var u=s.applyTransform(n.handleLabelPoints[o],s.getTransform(l,this.group));a[o].setStyle({x:u[0],y:u[1],text:r.formatValueText(this._dataInterval[o]),textVerticalAlign:"middle",textAlign:this._applyTransform("horizontal"===this._orient?0===o?"bottom":"top":"left",n.barGroup)})}),this)}},_showIndicator:function(t,e,n,r){var i=this.visualMapModel,a=i.getExtent(),o=i.itemSize,l=f(t,a,[0,o[1]],!0),u=this._shapes,c=u.indicator;if(c){c.position[1]=l,c.attr("invisible",!1),c.setShape("points",function(t,e,n,r){return t?[[0,-p(e,g(n,0))],[6,0],[0,p(e,g(r-n,0))]]:[[0,0],[5,-5],[5,5]]}(!!n,r,l,o[1]));var h=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0});c.setStyle("fill",h);var d=s.applyTransform(u.indicatorLabelPoint,s.getTransform(c,this.group)),v=u.indicatorLabel;v.attr("invisible",!1);var m=this._applyTransform("left",u.barGroup),y=this._orient;v.setStyle({text:(n||"")+i.formatValueText(e),textVerticalAlign:"horizontal"===y?m:"middle",textAlign:"horizontal"===y?"center":m,x:d[0],y:d[1]})}},_enableHoverLinkToSeries:function(){var t=this;this._shapes.barGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,r=t._applyTransform([e.offsetX,e.offsetY],t._shapes.barGroup,!0,!0);r[1]=p(g(0,r[1]),n[1]),t._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},_enableHoverLinkFromSeries:function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},_doHoverLinkToSeries:function(t,e){var n=this.visualMapModel;if(n.option.hoverLink){var r=[0,n.itemSize[1]],i=n.getExtent();t=p(g(r[0],t),r[1]);var a=function(t,e,n){var r=6,i=t.get("hoverLinkDataSize");return i&&(r=f(i,e,n,!0)/2),r}(n,i,r),o=[t-a,t+a],s=f(t,r,i,!0),l=[f(o[0],r,i,!0),f(o[1],r,i,!0)];o[0]r[1]&&(l[1]=1/0),e&&(l[0]===-1/0?this._showIndicator(s,l[1],"< ",a):l[1]===1/0?this._showIndicator(s,l[0],"> ",a):this._showIndicator(s,s,"\u2248 ",a));var u=this._hoverLinkDataIndices,d=[];(e||y(n))&&(d=this._hoverLinkDataIndices=n.findTargetDataIndices(l));var v=h.compressBatches(u,d);this._dispatchHighDown("downplay",c.makeHighDownBatch(v[0],n)),this._dispatchHighDown("highlight",c.makeHighDownBatch(v[1],n))}},_hoverLinkFromSeriesMouseOver:function(t){var e=t.target,n=this.visualMapModel;if(e&&null!=e.dataIndex){var r=this.ecModel.getSeriesByIndex(e.seriesIndex);if(n.isTargetSeries(r)){var i=r.getData(e.dataType),a=i.get(n.getDataDimension(i),e.dataIndex,!0);isNaN(a)||this._showIndicator(a,a)}}},_hideIndicator:function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0)},_clearHoverLinkToSeries:function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",c.makeHighDownBatch(t,this.visualMapModel)),t.length=0},_clearHoverLinkFromSeries:function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},_applyTransform:function(t,e,n,i){var a=s.getTransform(e,i?null:this.group);return s[r.isArray(t)?"applyTransform":"transformDirection"](t,a,n)},_dispatchHighDown:function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},dispose:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},remove:function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()}});function m(t,e,n,r){return new s.Polygon({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){a.stop(t.event)},ondragend:r})}function y(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function _(t){return"vertical"===t?"ns-resize":"ew-resize"}t.exports=v},ProS:function(t,e,n){n("Tghj");var r=n("aX58"),i=n("bYtY"),a=n("Qe9p"),o=n("ItGF"),s=n("BPZU"),l=n("H6uX"),u=n("fmMI"),c=n("hD7B"),h=n("IDmD"),f=n("ypgQ"),d=n("+wW9"),p=n("0V0F"),g=n("bLfw"),v=n("T4UG"),m=n("sS/r"),y=n("6Ic6"),_=n("IwbS"),b=n("4NO4"),x=n("iLNv").throttle,w=n("/WM3"),k=n("uAnK"),S=n("mYwL"),C=n("af/B"),A=n("xTNl"),T=n("8hn6");n("A1Ka");var E=n("7DRL"),M=i.assert,I=i.each,D=i.isFunction,O=i.isObject,P=g.parseClassType,L="__flagInMainProcess",R=/^[a-zA-Z0-9_]+$/;function N(t,e){return function(n,r,i){!e&&this._disposed||(n=n&&n.toLowerCase(),l.prototype[t].call(this,n,r,i))}}function z(){l.call(this)}function F(t,e,n){n=n||{},"string"==typeof e&&(e=lt[e]),this._dom=t;var a=this._zr=r.init(t,{renderer:n.renderer||"canvas",devicePixelRatio:n.devicePixelRatio,width:n.width,height:n.height});this._throttledZrFlush=x(i.bind(a.flush,a),17),(e=i.clone(e))&&d(e,!0),this._theme=e,this._chartsViews=[],this._chartsMap={},this._componentsViews=[],this._componentsMap={},this._coordSysMgr=new h;var o,u,f=this._api=(u=(o=this)._coordSysMgr,i.extend(new c(o),{getCoordinateSystems:i.bind(u.getCoordinateSystems,u),getComponentByElement:function(t){for(;t;){var e=t.__ecComponentInfo;if(null!=e)return o._model.getComponent(e.mainType,e.index);t=t.parent}}}));function p(t,e){return t.__prio-e.__prio}s(st,p),s(it,p),this._scheduler=new C(this,f,it,st),l.call(this,this._ecEventProcessor=new et),this._messageCenter=new z,this._initEvents(),this.resize=i.bind(this.resize,this),this._pendingActions=[],a.animation.on("frame",this._onframe,this),function(t,e){t.on("rendered",(function(){e.trigger("rendered"),!t.animation.isFinished()||e.__optionUpdated||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))}(a,this),i.setAsPrimitive(this)}z.prototype.on=N("on",!0),z.prototype.off=N("off",!0),z.prototype.one=N("one",!0),i.mixin(z,l);var B=F.prototype;function V(t,e,n){if(!this._disposed){var r,i=this._model,a=this._coordSysMgr.getCoordinateSystems();e=b.parseFinder(i,e);for(var o=0;o0&&t.unfinished);t.unfinished||this._zr.flush()}}},B.getDom=function(){return this._dom},B.getZr=function(){return this._zr},B.setOption=function(t,e,n){if(!this._disposed){var r;if(O(e)&&(n=e.lazyUpdate,r=e.silent,e=e.notMerge),this[L]=!0,!this._model||e){var i=new f(this._api),a=this._theme,o=this._model=new u;o.scheduler=this._scheduler,o.init(null,null,a,i)}this._model.setOption(t,at),n?(this.__optionUpdated={silent:r},this[L]=!1):(Y(this),j.update.call(this),this._zr.flush(),this.__optionUpdated=!1,this[L]=!1,q.call(this,r),W.call(this,r))}},B.setTheme=function(){console.error("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},B.getModel=function(){return this._model},B.getOption=function(){return this._model&&this._model.getOption()},B.getWidth=function(){return this._zr.getWidth()},B.getHeight=function(){return this._zr.getHeight()},B.getDevicePixelRatio=function(){return this._zr.painter.dpr||window.devicePixelRatio||1},B.getRenderedCanvas=function(t){if(o.canvasSupported)return(t=t||{}).pixelRatio=t.pixelRatio||1,t.backgroundColor=t.backgroundColor||this._model.get("backgroundColor"),this._zr.painter.getRenderedCanvas(t)},B.getSvgDataUrl=function(){if(o.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return i.each(e,(function(t){t.stopAnimation(!0)})),t.painter.pathToDataUrl()}},B.getDataURL=function(t){if(!this._disposed){var e=this._model,n=[],r=this;I((t=t||{}).excludeComponents,(function(t){e.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(n.push(e),e.group.ignore=!0)}))}));var i="svg"===this._zr.painter.getType()?this.getSvgDataUrl():this.getRenderedCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return I(n,(function(t){t.group.ignore=!1})),i}},B.getConnectedDataURL=function(t){if(!this._disposed&&o.canvasSupported){var e=this.group,n=Math.min,a=Math.max;if(ht[e]){var s=1/0,l=1/0,u=-1/0,c=-1/0,h=[],f=t&&t.pixelRatio||1;i.each(ct,(function(r,o){if(r.group===e){var f=r.getRenderedCanvas(i.clone(t)),d=r.getDom().getBoundingClientRect();s=n(d.left,s),l=n(d.top,l),u=a(d.right,u),c=a(d.bottom,c),h.push({dom:f,left:d.left,top:d.top})}}));var d=(u*=f)-(s*=f),p=(c*=f)-(l*=f),g=i.createCanvas();g.width=d,g.height=p;var v=r.init(g);return t.connectedBackgroundColor&&v.add(new _.Rect({shape:{x:0,y:0,width:d,height:p},style:{fill:t.connectedBackgroundColor}})),I(h,(function(t){var e=new _.Image({style:{x:t.left*f-s,y:t.top*f-l,image:t.dom}});v.add(e)})),v.refreshImmediately(),g.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}},B.convertToPixel=i.curry(V,"convertToPixel"),B.convertFromPixel=i.curry(V,"convertFromPixel"),B.containPixel=function(t,e){var n;if(!this._disposed)return t=b.parseFinder(this._model,t),i.each(t,(function(t,r){r.indexOf("Models")>=0&&i.each(t,(function(t){var i=t.coordinateSystem;if(i&&i.containPoint)n|=!!i.containPoint(e);else if("seriesModels"===r){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(n|=a.containPoint(e,t))}}),this)}),this),!!n},B.getVisual=function(t,e){var n=(t=b.parseFinder(this._model,t,{defaultMainType:"series"})).seriesModel.getData(),r=t.hasOwnProperty("dataIndexInside")?t.dataIndexInside:t.hasOwnProperty("dataIndex")?n.indexOfRawIndex(t.dataIndex):null;return null!=r?n.getItemVisual(r,e):n.getVisual(e)},B.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},B.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]};var j={prepareAndUpdate:function(t){Y(this),j.update.call(this,t)},update:function(t){var e=this._model,n=this._api,r=this._zr,i=this._coordSysMgr,s=this._scheduler;if(e){s.restoreData(e,t),s.performSeriesTasks(e),i.create(e,n),s.performDataProcessorTasks(e,t),U(this,e),i.update(e,n),$(e),s.performVisualTasks(e,t),X(this,e,n,t);var l=e.get("backgroundColor")||"transparent";if(o.canvasSupported)r.setBackgroundColor(l);else{var u=a.parse(l);l=a.stringify(u,"rgb"),0===u[3]&&(l="transparent")}Q(e,n)}},updateTransform:function(t){var e=this._model,n=this,r=this._api;if(e){var a=[];e.eachComponent((function(i,o){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(o,e,r,t);l&&l.update&&a.push(s)}else a.push(s)}));var o=i.createHashMap();e.eachSeries((function(i){var a=n._chartsMap[i.__viewId];if(a.updateTransform){var s=a.updateTransform(i,e,r,t);s&&s.update&&o.set(i.uid,1)}else o.set(i.uid,1)})),$(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0,dirtyMap:o}),K(n,e,0,t,o),Q(e,this._api)}},updateView:function(t){var e=this._model;e&&(y.markUpdateMethod(t,"updateView"),$(e),this._scheduler.performVisualTasks(e,t,{setDirty:!0}),X(this,this._model,this._api,t),Q(e,this._api))},updateVisual:function(t){j.update.call(this,t)},updateLayout:function(t){j.update.call(this,t)}};function Y(t){var e=t._model,n=t._scheduler;n.restorePipelines(e),n.prepareStageTasks(),Z(t,"component",e,n),Z(t,"chart",e,n),n.plan()}function H(t,e,n,r,a){var o=t._model;if(r){var s={};s[r+"Id"]=n[r+"Id"],s[r+"Index"]=n[r+"Index"],s[r+"Name"]=n[r+"Name"];var l={mainType:r,query:s};a&&(l.subType=a);var u=n.excludeSeriesId;null!=u&&(u=i.createHashMap(b.normalizeToArray(u))),o&&o.eachComponent(l,(function(e){u&&null!=u.get(e.id)||c(t["series"===r?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else I(t._componentsViews.concat(t._chartsViews),c);function c(r){r&&r.__alive&&r[e]&&r[e](r.__model,o,t._api,n)}}function U(t,e){var n=t._chartsMap,r=t._scheduler;e.eachSeries((function(t){r.updateStreamModes(t,n[t.__viewId])}))}function G(t,e){var n=t.type,r=t.escapeConnect,a=nt[n],o=a.actionInfo,s=(o.update||"update").split(":"),l=s.pop();s=null!=s[0]&&P(s[0]),this[L]=!0;var u=[t],c=!1;t.batch&&(c=!0,u=i.map(t.batch,(function(e){return(e=i.defaults(i.extend({},e),t)).batch=null,e})));var h,f=[],d="highlight"===n||"downplay"===n;I(u,(function(t){(h=(h=a.action(t,this._model,this._api))||i.extend({},t)).type=o.event||h.type,f.push(h),d?H(this,l,t,"series"):s&&H(this,l,t,s.main,s.sub)}),this),"none"===l||d||s||(this.__optionUpdated?(Y(this),j.update.call(this,t),this.__optionUpdated=!1):j[l].call(this,t)),h=c?{type:o.event||n,escapeConnect:r,batch:f}:f[0],this[L]=!1,!e&&this._messageCenter.trigger(h.type,h)}function q(t){for(var e=this._pendingActions;e.length;){var n=e.shift();G.call(this,n,t)}}function W(t){!t&&this.trigger("updated")}function Z(t,e,n,r){for(var i="component"===e,a=i?t._componentsViews:t._chartsViews,o=i?t._componentsMap:t._chartsMap,s=t._zr,l=t._api,u=0;ue.get("hoverLayerThreshold")&&!o.node&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.group.traverse((function(t){t.useHoverLayer=!0}))}}))}(t,e),k(t._zr.dom,e)}function Q(t,e){I(ot,(function(n){n(t,e)}))}B.resize=function(t){if(!this._disposed){this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),r=t&&t.silent;this[L]=!0,n&&Y(this),j.update.call(this),this[L]=!1,q.call(this,r),W.call(this,r)}}},B.showLoading=function(t,e){if(!this._disposed&&(O(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),ut[t])){var n=ut[t](this._api,e),r=this._zr;this._loadingFX=n,r.add(n)}},B.hideLoading=function(){this._disposed||(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},B.makeActionFromEvent=function(t){var e=i.extend({},t);return e.type=rt[t.type],e},B.dispatchAction=function(t,e){this._disposed||(O(e)||(e={silent:!!e}),nt[t.type]&&this._model&&(this[L]?this._pendingActions.push(t):(G.call(this,t,e.silent),e.flush?this._zr.flush(!0):!1!==e.flush&&o.browser.weChat&&this._throttledZrFlush(),q.call(this,e.silent),W.call(this,e.silent))))},B.appendData=function(t){if(!this._disposed){var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0}},B.on=N("on",!1),B.off=N("off",!1),B.one=N("one",!1);var J=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function tt(t,e){var n=t.get("z"),r=t.get("zlevel");e.group.traverse((function(t){"group"!==t.type&&(null!=n&&(t.z=n),null!=r&&(t.zlevel=r))}))}function et(){}B._initEvents=function(){I(J,(function(t){var e=function(e){var n,r=this.getModel(),a=e.target;if("globalout"===t)n={};else if(a&&null!=a.dataIndex){var o=a.dataModel||r.getSeriesByIndex(a.seriesIndex);n=o&&o.getDataParams(a.dataIndex,a.dataType,a)||{}}else a&&a.eventData&&(n=i.extend({},a.eventData));if(n){var s=n.componentType,l=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=n.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),c=u&&this["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];n.event=e,n.type=t,this._ecEventProcessor.eventInfo={targetEl:a,packedEvent:n,model:u,view:c},this.trigger(t,n)}};e.zrEventfulCallAtLast=!0,this._zr.on(t,e,this)}),this),I(rt,(function(t,e){this._messageCenter.on(e,(function(t){this.trigger(e,t)}),this)}),this)},B.isDisposed=function(){return this._disposed},B.clear=function(){this._disposed||this.setOption({series:[]},!0)},B.dispose=function(){if(!this._disposed){this._disposed=!0,b.setAttribute(this.getDom(),pt,"");var t=this._api,e=this._model;I(this._componentsViews,(function(n){n.dispose(e,t)})),I(this._chartsViews,(function(n){n.dispose(e,t)})),this._zr.dispose(),delete ct[this.id]}},i.mixin(F,l),et.prototype={constructor:et,normalizeQuery:function(t){var e={},n={},r={};if(i.isString(t)){var a=P(t);e.mainType=a.main||null,e.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};i.each(t,(function(t,i){for(var a=!1,l=0;l0&&c===i.length-u.length){var h=i.slice(0,c);"data"!==h&&(e.mainType=h,e[u.toLowerCase()]=t,a=!0)}}s.hasOwnProperty(i)&&(n[i]=t,a=!0),a||(r[i]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:r}},filter:function(t,e,n){var r=this.eventInfo;if(!r)return!0;var i=r.targetEl,a=r.packedEvent,o=r.model,s=r.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return c(l,o,"mainType")&&c(l,o,"subType")&&c(l,o,"index","componentIndex")&&c(l,o,"name")&&c(l,o,"id")&&c(u,a,"name")&&c(u,a,"dataIndex")&&c(u,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,i,a));function c(t,e,n,r){return null==t[n]||e[r||n]===t[n]}},afterTrigger:function(){this.eventInfo=null}};var nt={},rt={},it=[],at=[],ot=[],st=[],lt={},ut={},ct={},ht={},ft=new Date-0,dt=new Date-0,pt="_echarts_instance_";function gt(t){ht[t]=!1}var vt=gt;function mt(t){return ct[b.getAttribute(t,pt)]}function yt(t,e){lt[t]=e}function _t(t){at.push(t)}function bt(t,e){kt(it,t,e,1e3)}function xt(t,e,n){"function"==typeof e&&(n=e,e="");var r=O(t)?t.type:[t,t={event:e}][0];t.event=(t.event||r).toLowerCase(),e=t.event,M(R.test(r)&&R.test(e)),nt[r]||(nt[r]={action:n,actionInfo:t}),rt[e]=r}function wt(t,e){kt(st,t,e,3e3,"visual")}function kt(t,e,n,r,i){(D(e)||O(e))&&(n=e,e=r);var a=C.wrapStageHandler(n,i);return a.__prio=e,a.__raw=n,t.push(a),a}function St(t,e){ut[t]=e}wt(2e3,w),_t(d),bt(900,p),St("default",S),xt({type:"highlight",event:"highlight",update:"highlight"},i.noop),xt({type:"downplay",event:"downplay",update:"downplay"},i.noop),yt("light",A),yt("dark",T),e.version="4.7.0",e.dependencies={zrender:"4.3.0"},e.PRIORITY={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:3500,COMPONENT:4e3,BRUSH:5e3}},e.init=function(t,e,n){var r=mt(t);if(r)return r;var i=new F(t,e,n);return i.id="ec_"+ft++,ct[i.id]=i,b.setAttribute(t,pt,i.id),function(t){var e="__connectUpdateStatus";function n(t,n){for(var r=0;rMath.abs(o)*u?(s<0&&(u=-u),n=0===s?0:u*o/s,r=u):(o<0&&(l=-l),n=l,r=0===o?0:l*s/o),{x:i+n,y:a+r}}},QUw5:function(t,e,n){var r=n("OlYY").extend({type:"dataZoom.select"});t.exports=r},QcOe:function(t,e,n){var r=n("GoyQ"),i=n("6sVZ"),a=n("7Ix3"),o=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return a(t);var e=i(t),n=[];for(var s in t)("constructor"!=s||!e&&o.call(t,s))&&n.push(s);return n}},Qe9p:function(t,e,n){var r=n("1RvN"),i={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function a(t){return(t=Math.round(t))<0?0:t>255?255:t}function o(t){return t<0?0:t>1?1:t}function s(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function l(t){return t.length&&"%"===t.charAt(t.length-1)?o(parseFloat(t)/100):o(parseFloat(t))}function u(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function c(t,e,n){return t+(e-t)*n}function h(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new r(20),p=null;function g(t,e){p&&f(p,e),p=d.put(t,p||e.slice())}function v(t,e){if(t){e=e||[];var n=d.get(t);if(n)return f(e,n);var r,a=(t+="").replace(/ /g,"").toLowerCase();if(a in i)return f(e,i[a]),g(t,e),e;if("#"===a.charAt(0))return 4===a.length?(r=parseInt(a.substr(1),16))>=0&&r<=4095?(h(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,1),g(t,e),e):void h(e,0,0,0,1):7===a.length?(r=parseInt(a.substr(1),16))>=0&&r<=16777215?(h(e,(16711680&r)>>16,(65280&r)>>8,255&r,1),g(t,e),e):void h(e,0,0,0,1):void 0;var o=a.indexOf("("),u=a.indexOf(")");if(-1!==o&&u+1===a.length){var c=a.substr(0,o),p=a.substr(o+1,u-(o+1)).split(","),v=1;switch(c){case"rgba":if(4!==p.length)return void h(e,0,0,0,1);v=l(p.pop());case"rgb":return 3!==p.length?void h(e,0,0,0,1):(h(e,s(p[0]),s(p[1]),s(p[2]),v),g(t,e),e);case"hsla":return 4!==p.length?void h(e,0,0,0,1):(p[3]=l(p[3]),m(p,e),g(t,e),e);case"hsl":return 3!==p.length?void h(e,0,0,0,1):(m(p,e),g(t,e),e);default:return}}h(e,0,0,0,1)}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,r=l(t[1]),i=l(t[2]),o=i<=.5?i*(r+1):i+r-i*r,s=2*i-o;return h(e=e||[],a(255*u(s,o,n+1/3)),a(255*u(s,o,n)),a(255*u(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function y(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var r=t*(e.length-1),i=Math.floor(r),s=Math.ceil(r),l=e[i],u=e[s],h=r-i;return n[0]=a(c(l[0],u[0],h)),n[1]=a(c(l[1],u[1],h)),n[2]=a(c(l[2],u[2],h)),n[3]=o(c(l[3],u[3],h)),n}}var _=y;function b(t,e,n){if(e&&e.length&&t>=0&&t<=1){var r=t*(e.length-1),i=Math.floor(r),s=Math.ceil(r),l=v(e[i]),u=v(e[s]),h=r-i,f=w([a(c(l[0],u[0],h)),a(c(l[1],u[1],h)),a(c(l[2],u[2],h)),o(c(l[3],u[3],h))],"rgba");return n?{color:f,leftIndex:i,rightIndex:s,value:r}:f}}var x=b;function w(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}e.parse=v,e.lift=function(t,e){var n=v(t);if(n){for(var r=0;r<3;r++)n[r]=e<0?n[r]*(1-e)|0:(255-n[r])*e+n[r]|0,n[r]>255?n[r]=255:t[r]<0&&(n[r]=0);return w(n,4===n.length?"rgba":"rgb")}},e.toHex=function(t){var e=v(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)},e.fastLerp=y,e.fastMapToColor=_,e.lerp=b,e.mapToColor=x,e.modifyHSL=function(t,e,n,r){if(t=v(t))return t=function(t){if(t){var e,n,r=t[0]/255,i=t[1]/255,a=t[2]/255,o=Math.min(r,i,a),s=Math.max(r,i,a),l=s-o,u=(s+o)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+o):l/(2-s-o);var c=((s-r)/6+l/2)/l,h=((s-i)/6+l/2)/l,f=((s-a)/6+l/2)/l;r===s?e=f-h:i===s?e=1/3+c-f:a===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}(t),null!=e&&(t[0]=(i=e,(i=Math.round(i))<0?0:i>360?360:i)),null!=n&&(t[1]=l(n)),null!=r&&(t[2]=l(r)),w(m(t),"rgba");var i},e.modifyAlpha=function(t,e){if((t=v(t))&&null!=e)return t[3]=o(e),w(t,"rgba")},e.stringify=w},QkVE:function(t,e,n){var r=n("EpBk");t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},QkVN:function(t,e,n){var r=n("+Qka"),i=n("LsHQ")((function(t,e,n){r(t,e,n)}));t.exports=i},QoRX:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n=0?this._tryShow(n,r):"leave"===e&&this._hide(r))}),this))},_keepShow:function(){var t=this._tooltipModel,e=this._ecModel,n=this._api;if(null!=this._lastX&&null!=this._lastY&&"none"!==t.get("triggerOn")){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY})}))}},manuallyShowTip:function(t,e,n,r){if(r.from!==this.uid&&!a.node){var i=S(r,n);this._ticket="";var o=r.dataByCoordSys;if(r.tooltip&&null!=r.x&&null!=r.y){var s=x;s.position=[r.x,r.y],s.update(),s.tooltip=r.tooltip,this._tryShow({offsetX:r.x,offsetY:r.y,target:s},i)}else if(o)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:r.dataByCoordSys,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,r))return;var l=h(r,e),u=l.point[0],c=l.point[1];null!=u&&null!=c&&this._tryShow({offsetX:u,offsetY:c,position:r.position,target:l.el},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},manuallyHideTip:function(t,e,n,r){!this._alwaysShowContent&&this._tooltipModel&&this._tooltipContent.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=null,r.from!==this.uid&&this._hide(S(r,n))},_manuallyAxisShowTip:function(t,e,n,r){var i=r.seriesIndex,a=r.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=a&&null!=o){var s=e.getSeriesByIndex(i);if(s&&"axis"===(t=k([s.getData().getItemModel(a),s,(s.coordinateSystem||{}).model,t])).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:a,position:r.position}),!0}},_tryShow:function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;r&&r.length?this._showAxisTooltip(r,t):n&&null!=n.dataIndex?(this._lastDataByCoordSys=null,this._showSeriesItemTooltip(t,n,e)):n&&n.tooltip?(this._lastDataByCoordSys=null,this._showComponentItemTooltip(t,n,e)):(this._lastDataByCoordSys=null,this._hide(e))}},_showOrMove:function(t,e){var n=t.get("showDelay");e=i.bind(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},_showAxisTooltip:function(t,e){var n=this._ecModel,r=[e.offsetX,e.offsetY],a=[],o=[],s=k([e.tooltipOption,this._tooltipModel]),u=this._renderMode,c=this._newLine,h={};_(t,(function(t){_(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value,s=[];if(e&&null!=r){var f=v.getValueLabel(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt);i.each(t.seriesDataIndices,(function(a){var l=n.getSeriesByIndex(a.seriesIndex),c=a.dataIndexInside,d=l&&l.getDataParams(c);if(d.axisDim=t.axisDim,d.axisIndex=t.axisIndex,d.axisType=t.axisType,d.axisId=t.axisId,d.axisValue=g.getAxisRawValue(e.axis,r),d.axisValueLabel=f,d){o.push(d);var p,v=l.formatTooltip(c,!0,null,u);i.isObject(v)?(p=v.html,i.merge(h,v.markers)):p=v,s.push(p)}}));var d=f;a.push("html"!==u?s.join(c):(d?l.encodeHTML(d)+c:"")+s.join(c))}}))}),this),a.reverse(),a=a.join(this._newLine+this._newLine);var f=e.position;this._showOrMove(s,(function(){this._updateContentNotChangedOnAxis(t)?this._updatePosition(s,f,r[0],r[1],this._tooltipContent,o):this._showTooltipContent(s,a,o,Math.random(),r[0],r[1],f,void 0,h)}))},_showSeriesItemTooltip:function(t,e,n){var r=e.seriesIndex,a=this._ecModel.getSeriesByIndex(r),o=e.dataModel||a,s=e.dataIndex,l=e.dataType,u=o.getData(),c=k([u.getItemModel(s),o,a&&(a.coordinateSystem||{}).model,this._tooltipModel]),h=c.get("trigger");if(null==h||"item"===h){var f,d,p=o.getDataParams(s,l),g=o.formatTooltip(s,!1,l,this._renderMode);i.isObject(g)?(f=g.html,d=g.markers):(f=g,d=null);var v="item_"+o.name+"_"+s;this._showOrMove(c,(function(){this._showTooltipContent(c,f,p,v,t.offsetX,t.offsetY,t.position,t.target,d)})),n({type:"showTip",dataIndexInside:s,dataIndex:u.getRawIndex(s),seriesIndex:r,from:this.uid})}},_showComponentItemTooltip:function(t,e,n){var r=e.tooltip;"string"==typeof r&&(r={content:r,formatter:r});var i=new d(r,this._tooltipModel,this._ecModel),a=i.get("content"),o=Math.random();this._showOrMove(i,(function(){this._showTooltipContent(i,a,i.get("formatterParams")||{},o,t.offsetX,t.offsetY,t.position,e)})),n({type:"showTip",from:this.uid})},_showTooltipContent:function(t,e,n,r,i,a,o,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent,h=t.get("formatter");o=o||t.get("position");var f=e;if(h&&"string"==typeof h)f=l.formatTpl(h,n,!0);else if("function"==typeof h){var d=y((function(e,r){e===this._ticket&&(c.setContent(r,u,t),this._updatePosition(t,o,i,a,c,n,s))}),this);this._ticket=r,f=h(n,r,d)}c.setContent(f,u,t),c.show(t),this._updatePosition(t,o,i,a,c,n,s)}},_updatePosition:function(t,e,n,r,a,o,s){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=a.getSize(),h=t.get("align"),d=t.get("verticalAlign"),p=s&&s.getBoundingRect().clone();if(s&&p.applyTransform(s.transform),"function"==typeof e&&(e=e([n,r],o,a.el,p,{viewSize:[l,u],contentSize:c.slice()})),i.isArray(e))n=b(e[0],l),r=b(e[1],u);else if(i.isObject(e)){e.width=c[0],e.height=c[1];var g=f.getLayoutRect(e,{width:l,height:u});n=g.x,r=g.y,h=null,d=null}else if("string"==typeof e&&s){var v=function(t,e,n){var r=n[0],i=n[1],a=0,o=0,s=e.width,l=e.height;switch(t){case"inside":a=e.x+s/2-r/2,o=e.y+l/2-i/2;break;case"top":a=e.x+s/2-r/2,o=e.y-i-5;break;case"bottom":a=e.x+s/2-r/2,o=e.y+l+5;break;case"left":a=e.x-r-5,o=e.y+l/2-i/2;break;case"right":a=e.x+s+5,o=e.y+l/2-i/2}return[a,o]}(e,p,c);n=v[0],r=v[1]}else v=function(t,e,n,r,i,a,o){var s=n.getOuterSize(),l=s.width,u=s.height;return null!=a&&(t+l+a>r?t-=l+a:t+=a),null!=o&&(e+u+o>i?e-=u+o:e+=o),[t,e]}(n,r,a,l,u,h?null:20,d?null:20),n=v[0],r=v[1];h&&(n-=C(h)?c[0]/2:"right"===h?c[0]:0),d&&(r-=C(d)?c[1]/2:"bottom"===d?c[1]:0),t.get("confine")&&(v=function(t,e,n,r,i){var a=n.getOuterSize(),o=a.width,s=a.height;return t=Math.min(t+o,r)-o,e=Math.min(e+s,i)-s,[t=Math.max(t,0),e=Math.max(e,0)]}(n,r,a,l,u),n=v[0],r=v[1]),a.moveTo(n,r)},_updateContentNotChangedOnAxis:function(t){var e=this._lastDataByCoordSys,n=!!e&&e.length===t.length;return n&&_(e,(function(e,r){var i=e.dataByAxis||{},a=(t[r]||{}).dataByAxis||[];(n&=i.length===a.length)&&_(i,(function(t,e){var r=a[e]||{},i=t.seriesDataIndices||[],o=r.seriesDataIndices||[];(n&=t.value===r.value&&t.axisType===r.axisType&&t.axisId===r.axisId&&i.length===o.length)&&_(i,(function(t,e){var r=o[e];n&=t.seriesIndex===r.seriesIndex&&t.dataIndex===r.dataIndex}))}))})),this._lastDataByCoordSys=t,!!n},_hide:function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},dispose:function(t,e){a.node||(this._tooltipContent.dispose(),p.unregister("itemTooltip",e))}});function k(t){for(var e=t.pop();t.length;){var n=t.pop();n&&(d.isInstance(n)&&(n=n.get("tooltip",!0)),"string"==typeof n&&(n={formatter:n}),e=new d(n,e,e.ecModel))}return e}function S(t,e){return t.dispatchAction||i.bind(e.dispatchAction,e)}function C(t){return"center"===t||"middle"===t}t.exports=w},Qxkt:function(t,e,n){var r=n("bYtY"),i=n("ItGF"),a=n("4NO4").makeInner,o=n("Yl7c"),s=o.enableClassExtend,l=o.enableClassCheck,u=n("OQFs"),c=n("m9t5"),h=n("/iHx"),f=n("VR9l"),d=r.mixin,p=a();function g(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}function v(t,e,n){for(var r=0;r0}t.exports=function(t,e,r,i){var a,o,s,l,u,c,h,f,d,p,g,v,m;if(p=(a=e.y-t.y)*i.x+(s=t.x-e.x)*i.y+(u=e.x*t.y-t.x*e.y),!(0!==(d=a*r.x+s*r.y+u)&&0!==p&&n(d,p)||(f=(o=i.y-r.y)*e.x+(l=r.x-i.x)*e.y+(c=i.x*r.y-r.x*i.y),0!==(h=o*t.x+l*t.y+c)&&0!==f&&n(h,f)||0==(g=a*l-o*s))))return v=Math.abs(g/2),{x:(m=s*c-l*u)<0?(m-v)/g:(m+v)/g,y:(m=o*u-a*c)<0?(m-v)/g:(m+v)/g}}},RPvy:function(t,e,n){var r=n("ProS"),i=n("VaxA");r.registerAction({type:"sunburstRootToNode",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var r=i.retrieveTargetInfo(t,["sunburstRootToNode"],e);if(r){var a=e.getViewRoot();a&&(t.direction=i.aboveViewRoot(a,r.node)?"rollUp":"drillDown"),e.resetViewRoot(r.node)}}))})),r.registerAction({type:"sunburstHighlight",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var r=i.retrieveTargetInfo(t,["sunburstHighlight"],e);r&&(t.highlight=r.node)}))})),r.registerAction({type:"sunburstUnhighlight",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){t.unhighlight=!0}))}))},RSch:function(t,e,n){var r=n("IwbS"),i=n("bYtY");function a(t,e,n){r.Group.call(this),this._createPolyline(t,e,n)}var o=a.prototype;o._createPolyline=function(t,e,n){var i=t.getItemLayout(e),a=new r.Polyline({shape:{points:i}});this.add(a),this._updateCommonStl(t,e,n)},o.updateData=function(t,e,n){var i=t.hostModel,a=this.childAt(0),o={shape:{points:t.getItemLayout(e)}};r.updateProps(a,o,i,e),this._updateCommonStl(t,e,n)},o._updateCommonStl=function(t,e,n){var a=this.childAt(0),o=t.getItemModel(e),s=t.getItemVisual(e,"color"),l=n&&n.lineStyle,u=n&&n.hoverLineStyle;n&&!t.hasItemOption||(l=o.getModel("lineStyle").getLineStyle(),u=o.getModel("emphasis.lineStyle").getLineStyle()),a.useStyle(i.defaults({strokeNoScale:!0,fill:"none",stroke:s},l)),a.hoverStyle=u,r.setHoverStyle(this)},o.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},i.inherits(a,r.Group),t.exports=a},RVb6:function(t,e,n){"use strict";var r=n(1),i="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~".split(""),a="0123456789".split(""),o="CDEHKMPRTUWXY012458".split(""),s=function(t,e){for(var n=e.length,i=Math.floor(65536/n)*n-1,a=2*Math.ceil(1.1*t),o="",s=0;si||(o+=e[c%n],s++)}return o},l=[void 0,"hex","base64","url-safe","numeric","distinguishable"];t.exports=function(t){var e=t.length,n=t.type,u=t.characters;if(!(e>=0&&Number.isFinite(e)))throw new TypeError("Expected a `length` to be a non-negative finite number");if(void 0!==n&&void 0!==u)throw new TypeError("Expected either `type` or `characters`");if(void 0!==u&&"string"!=typeof u)throw new TypeError("Expected `characters` to be string");if(!l.includes(n))throw new TypeError("Unknown type: "+n);if(void 0===n&&void 0===u&&(n="hex"),"hex"===n||void 0===n&&void 0===u)return r.randomBytes(Math.ceil(.5*e)).toString("hex").slice(0,e);if("base64"===n)return r.randomBytes(Math.ceil(.75*e)).toString("base64").slice(0,e);if("url-safe"===n)return s(e,i);if("numeric"===n)return s(e,a);if("distinguishable"===n)return s(e,o);if(0===u.length)throw new TypeError("Expected `characters` string length to be greater than or equal to 1");if(u.length>65536)throw new TypeError("Expected `characters` string length to be less or equal to 65536");return s(e,u.split(""))}},RXMa:function(t,e,n){var r=n("y+Vt").extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=2*Math.PI;t.moveTo(n+e.r,r),t.arc(n,r,e.r,0,i,!1),t.moveTo(n+e.r0,r),t.arc(n,r,e.r0,0,i,!0)}});t.exports=r},RYnF:function(t,e){function n(){var t={};t._next=t._prev=t,this._sentinel=t}function r(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function i(t,e){if("_next"!==t&&"_prev"!==t)return e}t.exports=n,n.prototype.dequeue=function(){var t=this._sentinel,e=t._prev;if(e!==t)return r(e),e},n.prototype.enqueue=function(t){var e=this._sentinel;t._prev&&t._next&&r(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e},n.prototype.toString=function(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,i)),n=n._prev;return"["+t.join(", ")+"]"}},Re5C:function(t,e,n){"use strict";var r=n("b5wT"),i=n("tQ6r");t.exports={run:function(t){t.graph().dummyChains=[],r.forEach(t.edges(),(function(e){!function(t,e){var n,r,a,o=e.v,s=t.node(o).rank,l=e.w,u=t.node(l).rank,c=e.name,h=t.edge(e),f=h.labelRank;if(u!==s+1){for(t.removeEdge(e),a=0,++s;s=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},pointToData:function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},dataToPoint:function(t){var e=this.getAxis(),n=this.getRect(),r=[],i="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),r[i]=e.toGlobalCoord(e.dataToCoord(+t)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r}},t.exports=s},S0uN:function(t,e,n){var r=n("0uVh"),i=n("GmSr");t.exports=function(t){var e=r.parse(t,{startRule:"graphStmt"});return i(e)}},"SA4+":function(t,e,n){n("Tghj");var r=n("ProS"),i=n("IwbS"),a=n("zYTA"),o=n("bYtY"),s=r.extendChartView({type:"heatmap",render:function(t,e,n){var r;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(r=e)}))})),this.group.removeAll(),this._incrementalDisplayable=null;var i=t.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):function(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}(i)&&this._renderOnGeo(i,t,r,n)},incrementalPrepareRender:function(t,e,n){this.group.removeAll()},incrementalRender:function(t,e,n,r){e.coordinateSystem&&this._renderOnCartesianAndCalendar(e,r,t.start,t.end,!0)},_renderOnCartesianAndCalendar:function(t,e,n,r,a){var s,l,u=t.coordinateSystem;if("cartesian2d"===u.type){var c=u.getAxis("x"),h=u.getAxis("y");s=c.getBandWidth(),l=h.getBandWidth()}for(var f=this.group,d=t.getData(),p=t.getModel("itemStyle").getItemStyle(["color"]),g=t.getModel("emphasis.itemStyle").getItemStyle(),v=t.getModel("label"),m=t.getModel("emphasis.label"),y=u.type,_="cartesian2d"===y?[d.mapDimension("x"),d.mapDimension("y"),d.mapDimension("value")]:[d.mapDimension("time"),d.mapDimension("value")],b=n;b=e[0]&&t<=e[1]}}(x,n.option.range):function(t,e,n){var r=t[1]-t[0],i=(e=o.map(e,(function(e){return{interval:[(e.interval[0]-t[0])/r,(e.interval[1]-t[0])/r]}}))).length,a=0;return function(t){for(var r=a;r=0;r--){var o;if((o=e[r].interval)[0]<=t&&t<=o[1]){a=r;break}}return r>=0&&r=0?r+=g:r-=g:b>=0?r-=g:r+=g}return r}t.exports=function(t,e){var n=[],o=r.quadraticSubdivide,s=[[],[],[]],l=[[],[]],u=[];e/=2,t.eachEdge((function(t,r){var c=t.getLayout(),h=t.getVisual("fromSymbol"),d=t.getVisual("toSymbol");c.__original||(c.__original=[i.clone(c[0]),i.clone(c[1])],c[2]&&c.__original.push(i.clone(c[2])));var p=c.__original;if(null!=c[2]){if(i.copy(s[0],p[0]),i.copy(s[1],p[2]),i.copy(s[2],p[1]),h&&"none"!==h){var g=a(t.node1),v=f(s,p[0],g*e);o(s[0][0],s[1][0],s[2][0],v,n),s[0][0]=n[3],s[1][0]=n[4],o(s[0][1],s[1][1],s[2][1],v,n),s[0][1]=n[3],s[1][1]=n[4]}d&&"none"!==d&&(g=a(t.node2),v=f(s,p[1],g*e),o(s[0][0],s[1][0],s[2][0],v,n),s[1][0]=n[1],s[2][0]=n[2],o(s[0][1],s[1][1],s[2][1],v,n),s[1][1]=n[1],s[2][1]=n[2]),i.copy(c[0],s[0]),i.copy(c[1],s[2]),i.copy(c[2],s[1])}else i.copy(l[0],p[0]),i.copy(l[1],p[1]),i.sub(u,l[1],l[0]),i.normalize(u,u),h&&"none"!==h&&(g=a(t.node1),i.scaleAndAdd(l[0],l[0],u,g*e)),d&&"none"!==d&&(g=a(t.node2),i.scaleAndAdd(l[1],l[1],u,-g*e)),i.copy(c[0],l[0]),i.copy(c[1],l[1])}))}},SKAX:function(t,e,n){var r=n("JC6p"),i=n("lQqw")(r);t.exports=i},SKnc:function(t,e,n){var r=n("bYtY"),i=n("QuXc"),a=function(t,e,n,r,a,o){this.x=null==t?0:t,this.y=null==e?0:e,this.x2=null==n?1:n,this.y2=null==r?0:r,this.type="linear",this.global=o||!1,i.call(this,a)};a.prototype={constructor:a},r.inherits(a,i),t.exports=a},"SKx+":function(t,e,n){var r=n("ProS").extendComponentModel({type:"axisPointer",coordSysAxesInfo:null,defaultOption:{show:"auto",triggerOn:null,zlevel:0,z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#aaa",width:1,type:"solid"},shadowStyle:{color:"rgba(150,150,150,0.3)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,shadowBlur:3,shadowColor:"#aaa"},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}}});t.exports=r},SMc4:function(t,e,n){var r=n("bYtY"),i=n("bLfw"),a=n("nkfE"),o=n("ICMv"),s=i.extend({type:"cartesian2dAxis",axis:null,init:function(){s.superApply(this,"init",arguments),this.resetRange()},mergeOption:function(){s.superApply(this,"mergeOption",arguments),this.resetRange()},restoreData:function(){s.superApply(this,"restoreData",arguments),this.resetRange()},getCoordSysModel:function(){return this.ecModel.queryComponents({mainType:"grid",index:this.option.gridIndex,id:this.option.gridId})[0]}});function l(t,e){return e.type||(e.data?"category":"value")}r.merge(s.prototype,o);var u={offset:0};a("x",s,l,u),a("y",s,l,u),t.exports=s},SUKs:function(t,e,n){var r=function(){};1===n("LPTA").debugMode&&(r=console.error),t.exports=r},Sdz8:function(t,e){t.exports=function(t,e,n,r){var i=t.x,a=t.y,o=i-r.x,s=a-r.y,l=Math.sqrt(e*e*s*s+n*n*o*o),u=Math.abs(e*n*o/l);r.x3?1.4:i>1?1.2:1.1;d(this,"zoom","zoomOnMouseWheel",t,{scale:r>0?s:1/s,originX:a,originY:o})}if(n){var l=Math.abs(r);d(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(r>0?1:-1)*(l>3?.4:l>1?.15:.05),originX:a,originY:o})}}}function f(t){o.isTaken(this._zr,"globalPan")||d(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY})}function d(t,e,n,r,i){t.pointerChecker&&t.pointerChecker(r,i.originX,i.originY)&&(a.stop(r.event),p(t,e,n,r,i))}function p(t,e,n,i,a){a.isAvailableBehavior=r.bind(g,null,n,i),t.trigger(e,a)}function g(t,e,n){var i=n[t];return!t||i&&(!r.isString(i)||e.event[i+"Key"])}r.mixin(s,i),t.exports=s},Sj9i:function(t,e,n){var r=n("QBsz"),i=r.create,a=r.distSquare,o=Math.pow,s=Math.sqrt,l=s(3),u=i(),c=i(),h=i();function f(t){return t>-1e-8&&t<1e-8}function d(t){return t>1e-8||t<-1e-8}function p(t,e,n,r,i){var a=1-i;return a*a*(a*t+3*i*e)+i*i*(i*r+3*a*n)}function g(t,e,n,r){var i=1-r;return i*(i*t+2*r*e)+r*r*n}e.cubicAt=p,e.cubicDerivativeAt=function(t,e,n,r,i){var a=1-i;return 3*(((e-t)*a+2*(n-e)*i)*a+(r-n)*i*i)},e.cubicRootAt=function(t,e,n,r,i,a){var u=r+3*(e-n)-t,c=3*(n-2*e+t),h=3*(e-t),d=t-i,p=c*c-3*u*h,g=c*h-9*u*d,v=h*h-3*c*d,m=0;if(f(p)&&f(g))f(c)?a[0]=0:(E=-h/c)>=0&&E<=1&&(a[m++]=E);else{var y=g*g-4*p*v;if(f(y)){var _=g/p,b=-_/2;(E=-c/u+_)>=0&&E<=1&&(a[m++]=E),b>=0&&b<=1&&(a[m++]=b)}else if(y>0){var x=s(y),w=p*c+1.5*u*(-g+x),k=p*c+1.5*u*(-g-x);(E=(-c-((w=w<0?-o(-w,1/3):o(w,1/3))+(k=k<0?-o(-k,1/3):o(k,1/3))))/(3*u))>=0&&E<=1&&(a[m++]=E)}else{var S=(2*p*c-3*u*g)/(2*s(p*p*p)),C=Math.acos(S)/3,A=s(p),T=Math.cos(C),E=(-c-2*A*T)/(3*u),M=(b=(-c+A*(T+l*Math.sin(C)))/(3*u),(-c+A*(T-l*Math.sin(C)))/(3*u));E>=0&&E<=1&&(a[m++]=E),b>=0&&b<=1&&(a[m++]=b),M>=0&&M<=1&&(a[m++]=M)}}return m},e.cubicExtrema=function(t,e,n,r,i){var a=6*n-12*e+6*t,o=9*e+3*r-3*t-9*n,l=3*e-3*t,u=0;if(f(o))d(a)&&(h=-l/a)>=0&&h<=1&&(i[u++]=h);else{var c=a*a-4*o*l;if(f(c))i[0]=-a/(2*o);else if(c>0){var h,p=s(c),g=(-a-p)/(2*o);(h=(-a+p)/(2*o))>=0&&h<=1&&(i[u++]=h),g>=0&&g<=1&&(i[u++]=g)}}return u},e.cubicSubdivide=function(t,e,n,r,i,a){var o=(e-t)*i+t,s=(n-e)*i+e,l=(r-n)*i+n,u=(s-o)*i+o,c=(l-s)*i+s,h=(c-u)*i+u;a[0]=t,a[1]=o,a[2]=u,a[3]=h,a[4]=h,a[5]=c,a[6]=l,a[7]=r},e.cubicProjectPoint=function(t,e,n,r,i,o,l,f,d,g,v){var m,y,_,b,x,w=.005,k=1/0;u[0]=d,u[1]=g;for(var S=0;S<1;S+=.05)c[0]=p(t,n,i,l,S),c[1]=p(e,r,o,f,S),(b=a(u,c))=0&&b=0&&h<=1&&(i[u++]=h);else{var c=o*o-4*a*l;if(f(c))(h=-o/(2*a))>=0&&h<=1&&(i[u++]=h);else if(c>0){var h,p=s(c),g=(-o-p)/(2*a);(h=(-o+p)/(2*a))>=0&&h<=1&&(i[u++]=h),g>=0&&g<=1&&(i[u++]=g)}}return u},e.quadraticExtremum=function(t,e,n){var r=t+n-2*e;return 0===r?.5:(t-e)/r},e.quadraticSubdivide=function(t,e,n,r,i){var a=(e-t)*r+t,o=(n-e)*r+e,s=(o-a)*r+a;i[0]=t,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=n},e.quadraticProjectPoint=function(t,e,n,r,i,o,l,f,d){var p,v=.005,m=1/0;u[0]=l,u[1]=f;for(var y=0;y<1;y+=.05)c[0]=g(t,n,i,y),c[1]=g(e,r,o,y),(w=a(u,c))=0&&w=0;--r)if(e[r]===t)return!0;return!1}),n):null:n[0]},f.prototype.update=function(t,e){if(t){var n=this.getDefs(!1);if(t[this._domName]&&n.contains(t[this._domName]))"function"==typeof e&&e(t);else{var r=this.add(t);r&&(t[this._domName]=r)}}},f.prototype.addDom=function(t){this.getDefs(!0).appendChild(t)},f.prototype.removeDom=function(t){var e=this.getDefs(!1);e&&t[this._domName]&&(e.removeChild(t[this._domName]),t[this._domName]=null)},f.prototype.getDoms=function(){var t=this.getDefs(!1);if(!t)return[];var e=[];return i.each(this._tagNames,(function(n){var r=t.getElementsByTagName(n);e=e.concat([].slice.call(r))})),e},f.prototype.markAllUnused=function(){var t=this.getDoms(),e=this;i.each(t,(function(t){t[e._markLabel]="0"}))},f.prototype.markUsed=function(t){t&&(t[this._markLabel]="1")},f.prototype.removeUnused=function(){var t=this.getDefs(!1);if(t){var e=this.getDoms(),n=this;i.each(e,(function(e){"1"!==e[n._markLabel]&&t.removeChild(e)}))}},f.prototype.getSvgProxy=function(t){return t instanceof a?u:t instanceof o?c:t instanceof s?h:u},f.prototype.getTextSvgElement=function(t){return t.__textSvgEl},f.prototype.getSvgElement=function(t){return t.__svgEl},t.exports=f},Swgg:function(t,e,n){var r=n("fc+c").extend({type:"dataZoom.select"});t.exports=r},Sxd8:function(t,e,n){var r=n("ZCgT");t.exports=function(t){var e=r(t),n=e%1;return e==e?n?e-n:e:0}},T1AV:function(t,e,n){var r=n("t2Dn"),i=n("5Tg0"),a=n("yP5f"),o=n("Q1l4"),s=n("+iFO"),l=n("03A+"),u=n("Z0cm"),c=n("3L66"),h=n("DSRE"),f=n("lSCD"),d=n("GoyQ"),p=n("YO3V"),g=n("c6wG"),v=n("itsj"),m=n("jeLo");t.exports=function(t,e,n,y,_,b,x){var w=v(t,n),k=v(e,n),S=x.get(k);if(S)r(t,n,S);else{var C=b?b(w,k,n+"",t,e,x):void 0,A=void 0===C;if(A){var T=u(k),E=!T&&h(k),M=!T&&!E&&g(k);C=k,T||E||M?u(w)?C=w:c(w)?C=o(w):E?(A=!1,C=i(k,!0)):M?(A=!1,C=a(k,!0)):C=[]:p(k)||l(k)?(C=w,l(w)?C=m(w):d(w)&&!f(w)||(C=s(k))):A=!1}A&&(x.set(k,C),_(C,k,y,b,x),x.delete(k)),r(t,n,C)}}},T4UG:function(t,e,n){n("Tghj");var r=n("bYtY"),i=n("ItGF"),a=n("7aKB"),o=a.formatTime,s=a.encodeHTML,l=a.addCommas,u=a.getTooltipMarker,c=n("4NO4"),h=n("bLfw"),f=n("5Hur"),d=n("OKJ2"),p=n("+TT/"),g=p.getLayoutParams,v=p.mergeLayoutParam,m=n("9H2F").createTask,y=n("D5nY"),_=y.prepareSource,b=y.getSource,x=n("KxfA").retrieveRawValue,w=c.makeInner(),k=h.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(t,e,n,r){this.seriesIndex=this.componentIndex,this.dataTask=m({count:C,reset:A}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),_(this);var i=this.getInitialData(t,n);E(i,this),this.dataTask.context.data=i,w(this).dataBeforeProcessed=i,S(this)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?g(t):{},a=this.subType;h.hasClass(a)&&(a+="Series"),r.merge(t,e.getTheme().get(this.subType)),r.merge(t,this.getDefaultOption()),c.defaultEmphasis(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&v(t,i,n)},mergeOption:function(t,e){t=r.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=this.layoutMode;n&&v(this.option,t,n),_(this);var i=this.getInitialData(t,e);E(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,w(this).dataBeforeProcessed=i,S(this)},fillDataTextStyle:function(t){if(t&&!r.isTypedArray(t))for(var e=["show"],n=0;n":"\n",f="richText"===i,d={},p=0,g=this.getData(),v=g.mapDimension("defaultedTooltip",!0),m=v.length,y=this.getRawValue(t),_=r.isArray(y),b=g.getItemVisual(t,"color");r.isObject(b)&&b.colorStops&&(b=(b.colorStops[0]||{}).color),b=b||"transparent";var w,k=(m>1||_&&!m?function(n){var c=r.reduce(n,(function(t,e,n){var r=g.getDimensionInfo(n);return t|(r&&!1!==r.tooltip&&null!=r.displayName)}),0),h=[];function m(t,n){var r=g.getDimensionInfo(n);if(r&&!1!==r.otherDims.tooltip){var v=r.type,m="sub"+a.seriesIndex+"at"+p,y=u({color:b,type:"subItem",renderMode:i,markerId:m}),_=(c?("string"==typeof y?y:y.content)+s(r.displayName||"-")+": ":"")+s("ordinal"===v?t+"":"time"===v?e?"":o("yyyy/MM/dd hh:mm:ss",t):l(t));_&&h.push(_),f&&(d[m]=b,++p)}}v.length?r.each(v,(function(e){m(x(g,t,e),e)})):r.each(n,m);var y=c?f?"\n":"
    ":"",_=y+h.join(y||", ");return{renderMode:i,content:_,style:d}}(y):(w=m?x(g,t,v[0]):_?y[0]:y,{renderMode:i,content:s(l(w)),style:d})).content,S=a.seriesIndex+"at"+p,C=u({color:b,type:"item",renderMode:i,markerId:S});d[S]=b,++p;var A=g.getName(t),T=this.name;c.isNameSpecified(this)||(T=""),T=T?s(T)+(e?": ":h):"";var E="string"==typeof C?C:C.content;return{html:e?E+T+k:T+E+(A?s(A)+": "+k:k),markers:d}},isAnimationEnabled:function(){if(i.node)return!1;var t=this.getShallow("animation");return t&&this.getData().count()>this.getShallow("animationThreshold")&&(t=!1),t},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(t,e,n){var r=this.ecModel,i=f.getColorFromPalette.call(this,t,e,n);return i||(i=r.getColorFromPalette(t,e,n)),i},coordDimToDataDim:function(t){return this.getRawData().mapDimension(t,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});function S(t){var e=t.name;c.isNameSpecified(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimension("seriesName",!0),i=[];return r.each(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function C(t){return t.model.getRawData().count()}function A(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),T}function T(t,e){t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function E(t,e){r.each(t.CHANGABLE_METHODS,(function(n){t.wrapMethod(n,r.curry(M,e))}))}function M(t){var e=I(t);e&&e.setOutputEnd(this.count())}function I(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(t.uid))}return r}}r.mixin(k,d),r.mixin(k,f),t.exports=k},T6xi:function(t,e,n){var r=n("YgsL"),i=n("nCxF");e.buildPath=function(t,e,n){var a=e.points,o=e.smooth;if(a&&a.length>=2){if(o&&"spline"!==o){var s=i(a,o,n,e.smoothConstraint);t.moveTo(a[0][0],a[0][1]);for(var l=a.length,u=0;u<(n?l:l-1);u++){var c=s[2*u],h=s[2*u+1],f=a[(u+1)%l];t.bezierCurveTo(c[0],c[1],h[0],h[1],f[0],f[1])}}else{"spline"===o&&(a=r(a,n)),t.moveTo(a[0][0],a[0][1]),u=1;for(var d=a.length;u0?o:s)}function r(t,e){return e.get(t>0?i:a)}}};t.exports=l},TP7S:function(t,e){t.exports=function(t){return void 0===t}},TWL2:function(t,e,n){var r=n("IwbS"),i=n("bYtY"),a=n("6Ic6");function o(t,e){r.Group.call(this);var n=new r.Polygon,i=new r.Polyline,a=new r.Text;this.add(n),this.add(i),this.add(a),this.highDownOnUpdate=function(t,e){"emphasis"===e?(i.ignore=i.hoverIgnore,a.ignore=a.hoverIgnore):(i.ignore=i.normalIgnore,a.ignore=a.normalIgnore)},this.updateData(t,e,!0)}var s=o.prototype,l=["itemStyle","opacity"];s.updateData=function(t,e,n){var a=this.childAt(0),o=t.hostModel,s=t.getItemModel(e),u=t.getItemLayout(e),c=t.getItemModel(e).get(l);c=null==c?1:c,a.useStyle({}),n?(a.setShape({points:u.points}),a.setStyle({opacity:0}),r.initProps(a,{style:{opacity:c}},o,e)):r.updateProps(a,{style:{opacity:c},shape:{points:u.points}},o,e);var h=s.getModel("itemStyle"),f=t.getItemVisual(e,"color");a.setStyle(i.defaults({lineJoin:"round",fill:f},h.getItemStyle(["opacity"]))),a.hoverStyle=h.getModel("emphasis").getItemStyle(),this._updateLabel(t,e),r.setHoverStyle(this)},s._updateLabel=function(t,e){var n=this.childAt(1),i=this.childAt(2),a=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e).label,l=t.getItemVisual(e,"color");r.updateProps(n,{shape:{points:s.linePoints||s.linePoints}},a,e),r.updateProps(i,{style:{x:s.x,y:s.y}},a,e),i.attr({rotation:s.rotation,origin:[s.x,s.y],z2:10});var u=o.getModel("label"),c=o.getModel("emphasis.label"),h=o.getModel("labelLine"),f=o.getModel("emphasis.labelLine");l=t.getItemVisual(e,"color"),r.setLabelStyle(i.style,i.hoverStyle={},u,c,{labelFetcher:t.hostModel,labelDataIndex:e,defaultText:t.getName(e),autoColor:l,useInsideStyle:!!s.inside},{textAlign:s.textAlign,textVerticalAlign:s.verticalAlign}),i.ignore=i.normalIgnore=!u.get("show"),i.hoverIgnore=!c.get("show"),n.ignore=n.normalIgnore=!h.get("show"),n.hoverIgnore=!f.get("show"),n.setStyle({stroke:l}),n.setStyle(h.getModel("lineStyle").getLineStyle()),n.hoverStyle=f.getModel("lineStyle").getLineStyle()},i.inherits(o,r.Group);var u=a.extend({type:"funnel",render:function(t,e,n){var r=t.getData(),i=this._data,a=this.group;r.diff(i).add((function(t){var e=new o(r,t);r.setItemGraphicEl(t,e),a.add(e)})).update((function(t,e){var n=i.getItemGraphicEl(e);n.updateData(r,t),a.add(n),r.setItemGraphicEl(t,n)})).remove((function(t){var e=i.getItemGraphicEl(t);a.remove(e)})).execute(),this._data=r},remove:function(){this.group.removeAll(),this._data=null},dispose:function(){}});t.exports=u},TYVI:function(t,e,n){var r=n("5GtS"),i=n("T4UG").extend({type:"series.gauge",getInitialData:function(t,e){return r(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}}});t.exports=i},TYy9:function(t,e,n){var r=n("XGnz");t.exports=function(t){return null!=t&&t.length?r(t,1):[]}},Tghj:function(t,e){var n;"undefined"!=typeof window?n=window.__DEV__:"undefined"!=typeof global&&(n=global.__DEV__),void 0===n&&(n=!0),e.__DEV__=n},ThAp:function(t,e,n){var r=n("bYtY"),i=n("5GtS"),a=n("T4UG"),o=n("7aKB"),s=o.encodeHTML,l=o.addCommas,u=n("cCMj"),c=n("KxfA").retrieveRawAttr,h=n("W4dC"),f=n("D5nY").makeSeriesEncodeForNameBased,d=a.extend({type:"series.map",dependencies:["geo"],layoutMode:"box",needsDrawMap:!1,seriesGroup:[],getInitialData:function(t){for(var e=i(this,{coordDimensions:["value"],encodeDefaulter:r.curry(f,this)}),n=e.mapDimension("value"),a=r.createHashMap(),o=[],s=[],l=0,u=e.count();l"+s(r+" : "+n)},getTooltipPosition:function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,r=n.getRegion(e);return r&&n.dataToPoint(r.center)}},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},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)"}}}});r.mixin(d,u),t.exports=d},TkdX:function(t,e,n){var r=n("bYtY"),i=n("IwbS");function a(t,e,n){i.Group.call(this);var r=new i.Sector({z2:2});r.seriesIndex=e.seriesIndex;var a=new i.Text({z2:4,silent:t.getModel("label").get("silent")});function o(){a.ignore=a.hoverIgnore}function s(){a.ignore=a.normalIgnore}this.add(r),this.add(a),this.updateData(!0,t,"normal",e,n),this.on("emphasis",o).on("normal",s).on("mouseover",o).on("mouseout",s)}var o=a.prototype;o.updateData=function(t,e,n,a,o){this.node=e,e.piece=this,a=a||this._seriesModel,o=o||this._ecModel;var s=this.childAt(0);s.dataIndex=e.dataIndex;var l=e.getModel(),u=e.getLayout(),c=r.extend({},u);c.label=null;var h=function(t,e,n){var i=t.getVisual("color"),a=t.getVisual("visualMeta");a&&0!==a.length||(i=null);var o=t.getModel("itemStyle").get("color");if(o)return o;if(i)return i;if(0===t.depth)return n.option.color[0];var s=n.option.color.length;return n.option.color[function(t){for(var e=t;e.depth>1;)e=e.parentNode;var n=t.getAncestors()[0];return r.indexOf(n.children,e)}(t)%s]}(e,0,o);!function(t,e,n){e.getData().setItemVisual(t.dataIndex,"color",n)}(e,a,h);var f,d=l.getModel("itemStyle").getItemStyle();if("normal"===n)f=d;else{var p=l.getModel(n+".itemStyle").getItemStyle();f=r.merge(p,d)}f=r.defaults({lineJoin:"bevel",fill:f.fill||h},f),t?(s.setShape(c),s.shape.r=u.r0,i.updateProps(s,{shape:{r:u.r}},a,e.dataIndex),s.useStyle(f)):"object"==typeof f.fill&&f.fill.type||"object"==typeof s.style.fill&&s.style.fill.type?(i.updateProps(s,{shape:c},a),s.useStyle(f)):i.updateProps(s,{shape:c,style:f},a),this._updateLabel(a,h,n);var g=l.getShallow("cursor");if(g&&s.attr("cursor",g),t){var v=a.getShallow("highlightPolicy");this._initEvents(s,e,a,v)}this._seriesModel=a||this._seriesModel,this._ecModel=o||this._ecModel},o.onEmphasis=function(t){var e=this;this.node.hostTree.root.eachNode((function(n){var r,i,a;n.piece&&(e.node===n?n.piece.updateData(!1,n,"emphasis"):(r=n,i=e.node,"none"!==(a=t)&&("self"===a?r===i:"ancestor"===a?r===i||r.isAncestorOf(i):r===i||r.isDescendantOf(i))?n.piece.childAt(0).trigger("highlight"):"none"!==t&&n.piece.childAt(0).trigger("downplay")))}))},o.onNormal=function(){this.node.hostTree.root.eachNode((function(t){t.piece&&t.piece.updateData(!1,t,"normal")}))},o.onHighlight=function(){this.updateData(!1,this.node,"highlight")},o.onDownplay=function(){this.updateData(!1,this.node,"downplay")},o._updateLabel=function(t,e,n){var a=this.node.getModel(),o=a.getModel("label"),s="normal"===n||"emphasis"===n?o:a.getModel(n+".label"),l=a.getModel("emphasis.label"),u=r.retrieve(t.getFormattedLabel(this.node.dataIndex,n,null,null,"label"),this.node.name);!1===w("show")&&(u="");var c=this.node.getLayout(),h=s.get("minAngle");null==h&&(h=o.get("minAngle")),null!=(h=h/180*Math.PI)&&Math.abs(c.endAngle-c.startAngle)Math.PI/2?"right":"left"):_&&"center"!==_?"left"===_?(d=c.r0+y,p>Math.PI/2&&(_="right")):"right"===_&&(d=c.r-y,p>Math.PI/2&&(_="left")):(d=(c.r+c.r0)/2,_="center"),f.attr("style",{text:u,textAlign:_,textVerticalAlign:w("verticalAlign")||"middle",opacity:w("opacity")}),f.attr("position",[d*g+c.cx,d*v+c.cy]);var b=w("rotate"),x=0;function w(t){var e=s.get(t);return null==e?o.get(t):e}"radial"===b?(x=-p)<-Math.PI/2&&(x+=Math.PI):"tangential"===b?(x=Math.PI/2-p)>Math.PI/2?x-=Math.PI:x<-Math.PI/2&&(x+=Math.PI):"number"==typeof b&&(x=b*Math.PI/180),f.attr("rotation",x)},o._initEvents=function(t,e,n,r){t.off("mouseover").off("mouseout").off("emphasis").off("normal");var i=this,a=function(){i.onEmphasis(r)},o=function(){i.onNormal()};n.isAnimationEnabled()&&t.on("mouseover",a).on("mouseout",o).on("emphasis",a).on("normal",o).on("downplay",(function(){i.onDownplay()})).on("highlight",(function(){i.onHighlight()}))},r.inherits(a,i.Group),t.exports=a},Tp9H:function(t,e,n){var r=n("ItGF"),i=n("Kagy"),a=n("IUWy"),o=i.toolbox.saveAsImage;function s(t){this.model=t}s.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:o.title,type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],pixelRatio:1,lang:o.lang.slice()},s.prototype.unusable=!r.canvasSupported,s.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",a=n.get("type",!0)||"png",o=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")});if("function"!=typeof MouseEvent||r.browser.ie||r.browser.edge)if(window.navigator.msSaveOrOpenBlob){for(var s=atob(o.split(",")[1]),l=s.length,u=new Uint8Array(l);l--;)u[l]=s.charCodeAt(l);var c=new Blob([u]);window.navigator.msSaveOrOpenBlob(c,i+"."+a)}else{var h=n.get("lang"),f='';window.open().document.write(f)}else{var d=document.createElement("a");d.download=i+"."+a,d.target="_blank",d.href=o;var p=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});d.dispatchEvent(p)}},a.register("saveAsImage",s),t.exports=s},Txda:function(t,e,n){var r=n("3y7U");t.exports=function(t,e){return r(t,e,"post")}},"U/Mo":function(t,e){e.getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,r=e.scale,i=r&&r[0]||1;return((e.getZoom()-1)*n+1)/i},e.getSymbolSize=function(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}},U4bP:function(t,e,n){t.exports={node:n("YLuR"),circle:n("3th9"),ellipse:n("Sdz8"),polygon:n("Kq0i"),rect:n("QRi6")}},UMpK:function(t,e,n){var r=n("gFfm"),i=n("dTAl"),a=n("JC6p"),o=n("ut/Y"),s=n("LcsW"),l=n("Z0cm"),u=n("DSRE"),c=n("lSCD"),h=n("GoyQ"),f=n("c6wG");t.exports=function(t,e,n){var d=l(t),p=d||u(t)||f(t);if(e=o(e,4),null==n){var g=t&&t.constructor;n=p?d?new g:[]:h(t)&&c(g)?i(s(t)):{}}return(p?r:a)(t,(function(t,r,i){return e(n,t,r,i)})),n}},"UNi/":function(t,e){t.exports=function(t,e){for(var n=-1,r=Array(t);++n=0},e.createNameEach=o,e.eachAxisDim=s,e.createLinkedNodesFinder=function(t,e,n){return function(a){var o,s={nodes:[],records:{}};if(e((function(t){s.records[t.name]={}})),!a)return s;i(a,s);do{o=!1,t(l)}while(o);function l(t){!function(t,e){return r.indexOf(e.nodes,t)>=0}(t,s)&&function(t,i){var a=!1;return e((function(e){r.each(n(t,e)||[],(function(t){i.records[e.name][t]&&(a=!0)}))})),a}(t,s)&&(i(t,s),o=!0)}return s};function i(t,i){i.nodes.push(t),e((function(e){r.each(n(t,e)||[],(function(t){i.records[e.name][t]=!0}))}))}}},UfWW:function(t,e,n){var r=n("KwMD"),i=n("ut/Y"),a=n("Sxd8"),o=Math.max;t.exports=function(t,e,n){var s=null==t?0:t.length;if(!s)return-1;var l=null==n?0:a(n);return l<0&&(l=o(s+l,0)),r(t,i(e,3),l)}},UnoB:function(t,e,n){var r=n("bYtY"),i=n("OELB");function a(t,e,n){if(t.count())for(var i,a=e.coordinateSystem,o=e.getLayerSeries(),s=t.mapDimension("single"),l=t.mapDimension("value"),u=r.map(o,(function(e){return r.map(e.indices,(function(e){var n=a.dataToPoint(t.get(s,e));return n[1]=t.get(l,e),n}))})),c=function(t){for(var e=t.length,n=t[0].length,r=[],i=[],a=0,o={},s=0;sa&&(a=u),r.push(u)}for(var c=0;ca&&(a=f)}return o.y0=i,o.max=a,o}(u),h=c.y0,f=n/c.max,d=o.length,p=o[0].indices.length,g=0;g":!0,"<":!0,"^":!0,",":!0,";":!0,"=":!0,"|":!0,"&":!0,"!":!0,"?":!0,":":!0,"(":!0,"{":!0,"[":!0},y={return:!0,yield:!0,await:!0,typeof:!0,void:!0,instanceof:!0,delete:!0,in:!0,new:!0,of:!0};function _(t,e,n){for(var r in t){if(!t.hasOwnProperty(r))break;r in e==0&&(e[r]=n)}}var b=void 0,x=void 0,w=/[^\s/]/,k=/[a-z]/,S=/\s/,C=/[\r\n]/,A=/\${pos}/g,T={object:!0,function:!0};function E(t,r,o,h){b=b||e.symbols||"a-z",x=x||e.snakeskinRgxp||new RegExp("[!$"+b+"_]","i");var f=e.cache,d=e.content,v=Boolean(r&&T[void 0===r?"undefined":n(r)]),E=v?Object(r):{};function M(t){return E["@label"]?E["@label"].replace(A,t):"__ESCAPER_QUOT__"+t+"_"}var I=!1;"boolean"==typeof r&&(I=Boolean(r)),"@comments"in E&&(_(l,E,E["@comments"]),_(s,E,E["@comments"]),delete E["@comments"]),"@strings"in E&&(_(i,E,E["@strings"]),delete E["@strings"]),"@literals"in E&&(_(a,E,E["@literals"]),delete E["@literals"]),"@all"in E&&(_(c,E,E["@all"]),delete E["@all"]);for(var D="",O=-1;++O2&&l[B])&&(E[B]&&(U=t.substring(V,Z+1),-1===E[B]?G="":(G=M(R.length),R.push(U)),t=t.substring(0,V)+G+t.substring(Z+1),Z+=G.length-U.length),B=!1);else{if(!N){if("/"===$&&((s[K]||l[K])&&(B=s[Q]||l[Q]?Q:K),B)){V=Z;continue}m[$]||y[W]?(z=!0,W=""):w.test($)&&(z=!1),k.test($)?q+=$:(W=q,q="");var J=!1;h&&("|"===$&&x.test(X)?(H=!0,z=!1,J=!0):H&&S.test($)&&(H=!1,z=!0,J=!0)),J||(m[$]?z=!0:w.test($)&&(z=!1))}if("/"!==N||F||("["===$?j=!0:"]"===$&&(j=!1)),!N&&Y&&("}"===$?Y--:"{"===$&&Y++,Y||($="`")),"`"!==N||F||"${"!==K||($="`",Z++,Y++),!c[$]||"/"===$&&!z||N){if(N&&("\\"===$||F))F=!F;else if(c[$]&&N===$&&!F&&("/"!==N||!j)){if("/"===$)for(var tt=-1;++tte}},VFCP:function(t,e,n){n("dBmv"),n("KamJ")},VJLA:function(t,e,n){var r=n("MrPd"),i=n("1w02");t.exports=function(t,e){return i(t||[],e||[],r)}},VOtZ:function(t,e,n){var r=n("juv8"),i=n("MvSz");t.exports=function(t,e){return r(t,i(t),e)}},VPsl:function(t,e){t.exports=function(t){t.eachSeriesByType("map",(function(t){var e=t.get("color"),n=t.getModel("itemStyle"),r=n.get("areaColor"),i=n.get("color")||e[t.seriesIndex%e.length];t.getData().setVisual({areaColor:r,color:i})}))}},VR9l:function(t,e,n){var r=n("KCsZ")([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]);t.exports={getItemStyle:function(t,e){var n=r(this,t,e),i=this.getBorderLineDash();return i&&(n.lineDash=i),n},getBorderLineDash:function(){var t=this.get("borderType");return"solid"===t||null==t?null:"dashed"===t?[5,5]:[1,1]}}},VRyK:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n("HDdC"),i=n("z+Ro"),a=n("bHdf"),o=n("yCtX");function s(){for(var t=arguments.length,e=new Array(t),n=0;n1&&"number"==typeof e[e.length-1]&&(s=e.pop())):"number"==typeof u&&(s=e.pop()),null===l&&1===e.length&&e[0]instanceof r.a?e[0]:Object(a.a)(s)(Object(o.a)(e,l))}},VSLf:function(t,e,n){n("I+Bx"),n("F0hE"),n("bBKM")},VXYp:function(t,e,n){var r=n("bYtY"),i=n("SgGq"),a=n("iLNv"),o="\0_ec_dataZoom_roams";function s(t){var e=t.getZr();return e[o]||(e[o]={})}function l(t){r.each(t,(function(e,n){e.count||(e.controller.dispose(),delete t[n])}))}function u(t,e){t.dispatchAction({type:"dataZoom",batch:e})}e.register=function(t,e){var n=s(t),o=e.dataZoomId,c=e.coordId;r.each(n,(function(t,n){var i=t.dataZoomInfos;i[o]&&r.indexOf(e.allCoordIds,c)<0&&(delete i[o],t.count--)})),l(n);var h=n[c];h||((h=n[c]={coordId:c,dataZoomInfos:{},count:0}).controller=function(t,e){var n=new i(t.getZr());return r.each(["pan","zoom","scrollMove"],(function(t){n.on(t,(function(n){var i=[];r.each(e.dataZoomInfos,(function(r){if(n.isAvailableBehavior(r.dataZoomModel.option)){var a=(r.getRange||{})[t],o=a&&a(e.controller,n);!r.dataZoomModel.get("disabled",!0)&&o&&i.push({dataZoomId:r.dataZoomId,start:o[0],end:o[1]})}})),i.length&&e.dispatchAction(i)}))})),n}(t,h),h.dispatchAction=r.curry(u,t)),!h.dataZoomInfos[o]&&h.count++,h.dataZoomInfos[o]=e;var f,d,p,g=(d={type_true:2,type_move:1,type_false:0,type_undefined:-1},p=!0,r.each(h.dataZoomInfos,(function(t){var e=t.dataZoomModel,n=!e.get("disabled",!0)&&(!e.get("zoomLock",!0)||"move");d["type_"+n]>d["type_"+f]&&(f=n),p&=e.get("preventDefaultMouseMove",!0)})),{controlType:f,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!p}});h.controller.enable(g.controlType,g.opt),h.controller.setPointerChecker(e.containsPoint),a.createOrUpdate(h,"dispatchAction",e.dataZoomModel.get("throttle",!0),"fixRate")},e.unregister=function(t,e){var n=s(t);r.each(n,(function(t){t.controller.dispose();var n=t.dataZoomInfos;n[e]&&(delete n[e],t.count--)})),l(n)},e.generateCoordId=function(t){return t.type+"\0_"+t.id}},VaNO:function(t,e){t.exports=function(t){return this.__data__.has(t)}},VaxA:function(t,e,n){var r=n("bYtY");function i(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}e.retrieveTargetInfo=function(t,e,n){if(t&&r.indexOf(e,t.type)>=0){var i=n.getData().tree.root,a=t.targetNode;if("string"==typeof a&&(a=i.getNodeById(a)),a&&i.contains(a))return{node:a};var o=t.targetNodeId;if(null!=o&&(a=i.getNodeById(o)))return{node:a}}},e.getPathToRoot=i,e.aboveViewRoot=function(t,e){var n=i(t);return r.indexOf(n,e)>=0},e.wrapTreePathInfo=function(t,e){for(var n=[];t;){var r=t.dataIndex;n.push({name:t.name,dataIndex:r,value:e.getRawValue(r)}),t=t.parentNode}return n.reverse(),n}},"Ve/E":function(t,e,n){var r;if(!r)try{r=n("VphZ")}catch(i){}r||(r=window.d3),t.exports=r},Vi4m:function(t,e,n){var r=n("bYtY");t.exports=function(t){null!=t&&r.extend(this,t),this.otherDims={}}},VpOo:function(t,e){e.buildPath=function(t,e){var n,r,i,a,o,s=e.x,l=e.y,u=e.width,c=e.height,h=e.r;u<0&&(s+=u,u=-u),c<0&&(l+=c,c=-c),"number"==typeof h?n=r=i=a=h:h instanceof Array?1===h.length?n=r=i=a=h[0]:2===h.length?(n=i=h[0],r=a=h[1]):3===h.length?(n=h[0],r=a=h[1],i=h[2]):(n=h[0],r=h[1],i=h[2],a=h[3]):n=r=i=a=0,n+r>u&&(n*=u/(o=n+r),r*=u/o),i+a>u&&(i*=u/(o=i+a),a*=u/o),r+i>c&&(r*=c/(o=r+i),i*=c/o),n+a>c&&(n*=c/(o=n+a),a*=c/o),t.moveTo(s+n,l),t.lineTo(s+u-r,l),0!==r&&t.arc(s+u-r,l+r,r,-Math.PI/2,0),t.lineTo(s+u,l+c-i),0!==i&&t.arc(s+u-i,l+c-i,i,0,Math.PI/2),t.lineTo(s+a,l+c),0!==a&&t.arc(s+a,l+c-a,a,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}},VphZ:function(t,e,n){"use strict";n.r(e);var r=function(t,e){return te?1:t>=e?0:NaN},i=function(t){var e;return 1===t.length&&(e=t,t=function(t,n){return r(e(t),n)}),{left:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;t(e[a],n)<0?r=a+1:i=a}return r},right:function(e,n,r,i){for(null==r&&(r=0),null==i&&(i=e.length);r>>1;t(e[a],n)>0?i=a:r=a+1}return r}}},a=i(r),o=a.right,s=a.left,l=o,u=function(t,e){null==e&&(e=c);for(var n=0,r=t.length-1,i=t[0],a=new Array(r<0?0:r);nt?1:e>=t?0:NaN},d=function(t){return null===t?NaN:+t},p=function(t,e){var n,r,i=t.length,a=0,o=-1,s=0,l=0;if(null==e)for(;++o1)return l/(a-1)},g=function(t,e){var n=p(t,e);return n?Math.sqrt(n):n},v=function(t,e){var n,r,i,a=t.length,o=-1;if(null==e){for(;++o=n)for(r=i=n;++on&&(r=n),i=n)for(r=i=n;++on&&(r=n),i0)return[t];if((r=e0)for(t=Math.ceil(t/o),e=Math.floor(e/o),a=new Array(i=Math.ceil(e-t+1));++s=0?(a>=k?10:a>=S?5:a>=C?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(a>=k?10:a>=S?5:a>=C?2:1)}function E(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/i;return a>=k?i*=10:a>=S?i*=5:a>=C&&(i*=2),eh;)f.pop(),--d;var p,g=new Array(d+1);for(i=0;i<=d;++i)(p=g[i]=[]).x0=i>0?f[i-1]:c,p.x1=i=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,a=Math.floor(i),o=+n(t[a],a,t);return o+(+n(t[a+1],a+1,t)-o)*(i-a)}},O=function(t,e,n){return t=_.call(t,d).sort(r),Math.ceil((n-e)/(2*(D(t,.75)-D(t,.25))*Math.pow(t.length,-1/3)))},P=function(t,e,n){return Math.ceil((n-e)/(3.5*g(t)*Math.pow(t.length,-1/3)))},L=function(t,e){var n,r,i=t.length,a=-1;if(null==e){for(;++a=n)for(r=n;++ar&&(r=n)}else for(;++a=n)for(r=n;++ar&&(r=n);return r},R=function(t,e){var n,r=t.length,i=r,a=-1,o=0;if(null==e)for(;++a=0;)for(e=(r=t[i]).length;--e>=0;)n[--o]=r[e];return n},F=function(t,e){var n,r,i=t.length,a=-1;if(null==e){for(;++a=n)for(r=n;++an&&(r=n)}else for(;++a=n)for(r=n;++an&&(r=n);return r},B=function(t,e){for(var n=e.length,r=new Array(n);n--;)r[n]=t[e[n]];return r},V=function(t,e){if(n=t.length){var n,i,a=0,o=0,s=t[o];for(null==e&&(e=r);++a=0&&(n=t.slice(r+1),t=t.slice(0,r)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function lt(t,e){for(var n,r=0,i=t.length;r0)for(var n,r,i=new Array(n),a=0;ae?1:t>=e?0:NaN}mt.prototype={constructor:mt,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var xt="http://www.w3.org/1999/xhtml",wt={svg:"http://www.w3.org/2000/svg",xhtml:xt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},kt=function(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),wt.hasOwnProperty(e)?{space:wt[e],local:t}:t};function St(t){return function(){this.removeAttribute(t)}}function Ct(t){return function(){this.removeAttributeNS(t.space,t.local)}}function At(t,e){return function(){this.setAttribute(t,e)}}function Tt(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Et(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function Mt(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}var It=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function Dt(t){return function(){this.style.removeProperty(t)}}function Ot(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Pt(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function Lt(t,e){return t.style.getPropertyValue(e)||It(t).getComputedStyle(t,null).getPropertyValue(e)}function Rt(t){return function(){delete this[t]}}function Nt(t,e){return function(){this[t]=e}}function zt(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function Ft(t){return t.trim().split(/^|\s+/)}function Bt(t){return t.classList||new Vt(t)}function Vt(t){this._node=t,this._names=Ft(t.getAttribute("class")||"")}function jt(t,e){for(var n=Bt(t),r=-1,i=e.length;++r=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var ne=function(t){var e=kt(t);return(e.local?ee:te)(e)};function re(){return null}function ie(){var t=this.parentNode;t&&t.removeChild(this)}function ae(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function oe(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}var se={},le=null;function ue(t,e,n){return t=ce(t,e,n),function(e){var n=e.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||t.call(this,e)}}function ce(t,e,n){return function(r){var i=le;le=r;try{t.call(this,this.__data__,e,n)}finally{le=i}}}function he(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function fe(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,a=e.length;r=x&&(x=b+1);!(_=m[x])&&++x=0;)(r=i[a])&&(o&&4^r.compareDocumentPosition(o)&&o.parentNode.insertBefore(r,o),o=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=bt);for(var n=this._groups,r=n.length,i=new Array(r),a=0;a1?this.each((null==e?Dt:"function"==typeof e?Pt:Ot)(t,e,null==n?"":n)):Lt(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?Rt:"function"==typeof e?zt:Nt)(t,e)):this.node()[t]},classed:function(t,e){var n=Ft(t+"");if(arguments.length<2){for(var r=Bt(this.node()),i=-1,a=n.length;++i>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Ge(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Ge(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Le.exec(t))?new Ze(e[1],e[2],e[3],1):(e=Re.exec(t))?new Ze(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Ne.exec(t))?Ge(e[1],e[2],e[3],e[4]):(e=ze.exec(t))?Ge(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Fe.exec(t))?Qe(e[1],e[2]/100,e[3]/100,1):(e=Be.exec(t))?Qe(e[1],e[2]/100,e[3]/100,e[4]):Ve.hasOwnProperty(t)?Ue(Ve[t]):"transparent"===t?new Ze(NaN,NaN,NaN,0):null}function Ue(t){return new Ze(t>>16&255,t>>8&255,255&t,1)}function Ge(t,e,n,r){return r<=0&&(t=e=n=NaN),new Ze(t,e,n,r)}function qe(t){return t instanceof Me||(t=He(t)),t?new Ze((t=t.rgb()).r,t.g,t.b,t.opacity):new Ze}function We(t,e,n,r){return 1===arguments.length?qe(t):new Ze(t,e,n,null==r?1:r)}function Ze(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function $e(){return"#"+Ke(this.r)+Ke(this.g)+Ke(this.b)}function Xe(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function Ke(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function Qe(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new en(t,e,n,r)}function Je(t){if(t instanceof en)return new en(t.h,t.s,t.l,t.opacity);if(t instanceof Me||(t=He(t)),!t)return new en;if(t instanceof en)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),a=Math.max(e,n,r),o=NaN,s=a-i,l=(a+i)/2;return s?(o=e===a?(n-r)/s+6*(n0&&l<1?0:o,new en(o,s,l,t.opacity)}function tn(t,e,n,r){return 1===arguments.length?Je(t):new en(t,e,n,null==r?1:r)}function en(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function nn(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function rn(t,e,n,r,i){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*r+o*i)/6}Te(Me,He,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:je,formatHex:je,formatHsl:function(){return Je(this).formatHsl()},formatRgb:Ye,toString:Ye}),Te(Ze,We,Ee(Me,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new Ze(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new Ze(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:$e,formatHex:$e,formatRgb:Xe,toString:Xe})),Te(en,tn,Ee(Me,{brighter:function(t){return t=null==t?1/.7:Math.pow(1/.7,t),new en(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?.7:Math.pow(.7,t),new en(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new Ze(nn(t>=240?t-240:t+120,i,r),nn(t,i,r),nn(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var an=function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],a=t[r+1];return rn((n-r/e)*e,r>0?t[r-1]:2*i-a,i,a,r180||n<-180?n-360*Math.round(n/360):n):sn(isNaN(t)?e:t)}function cn(t,e){var n=e-t;return n?ln(t,n):sn(isNaN(t)?e:t)}var hn=function t(e){var n=function(t){return 1==(t=+t)?cn:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):sn(isNaN(e)?n:e)}}(e);function r(t,e){var r=n((t=We(t)).r,(e=We(e)).r),i=n(t.g,e.g),a=n(t.b,e.b),o=cn(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=a(e),t.opacity=o(e),t+""}}return r.gamma=t,r}(1);function fn(t){return function(e){var n,r,i=e.length,a=new Array(i),o=new Array(i),s=new Array(i);for(n=0;na&&(i=e.slice(a,i),s[o]?s[o]+=i:s[++o]=i),(n=n[0])===(r=r[0])?s[o]?s[o]+=r:s[++o]=r:(s[++o]=null,l.push({i:o,x:wn(n,r)})),a=Cn.lastIndex;return a=0&&e._call.call(null,t),e=e._next;--On}function Gn(){Nn=(Rn=Fn.now())+zn,On=Pn=0;try{Un()}finally{On=0,function(){for(var t,e,n=_n,r=1/0;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:_n=e);bn=t,Wn(r)}(),Nn=0}}function qn(){var t=Fn.now(),e=t-Rn;e>1e3&&(zn-=e,Rn=t)}function Wn(t){On||(Pn&&(Pn=clearTimeout(Pn)),t-Nn>24?(t<1/0&&(Pn=setTimeout(Gn,t-Fn.now()-zn)),Ln&&(Ln=clearInterval(Ln))):(Ln||(Rn=Fn.now(),Ln=setInterval(qn,1e3)),On=1,Bn(Gn)))}Yn.prototype=Hn.prototype={constructor:Yn,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Vn():+n)+(null==e?0:+e),this._next||bn===this||(bn?bn._next=this:_n=this,bn=this),this._call=t,this._time=n,Wn()},stop:function(){this._call&&(this._call=null,this._time=1/0,Wn())}};var Zn=function(t,e,n){var r=new Yn;return r.restart((function(n){r.stop(),t(n+e)}),e=null==e?0:+e,n),r},$n=ct("start","end","cancel","interrupt"),Xn=[],Kn=function(t,e,n,r,i,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function a(l){var u,c,h,f;if(1!==n.state)return s();for(u in i)if((f=i[u]).name===n.name){if(3===f.state)return Zn(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[u]):+u0)throw new Error("too late; already scheduled");return n}function Jn(t,e){var n=tr(t,e);if(n.state>3)throw new Error("too late; already running");return n}function tr(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}var er,nr,rr,ir,ar=function(t,e){var n,r,i,a=t.__transition,o=!0;if(a){for(i in e=null==e?null:e+"",a)(n=a[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[i]):o=!1;o&&delete t.__transition}},or=180/Math.PI,sr={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},lr=function(t,e,n,r,i,a){var o,s,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*n+e*r)&&(n-=t*l,r-=e*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),t*r180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(i(n)+"rotate(",null,r)-2,x:wn(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(a.rotate,o.rotate,s,l),function(t,e,n,a){t!==e?a.push({i:n.push(i(n)+"skewX(",null,r)-2,x:wn(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(a.skewX,o.skewX,s,l),function(t,e,n,r,a,o){if(t!==n||e!==r){var s=a.push(i(a)+"scale(",null,",",null,")");o.push({i:s-4,x:wn(t,n)},{i:s-2,x:wn(e,r)})}else 1===n&&1===r||a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,s,l),a=o=null,function(t){for(var e,n=-1,r=l.length;++n=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?Qn:Jn;return function(){var o=a(this,t),s=o.on;s!==r&&(i=(r=s).copy()).on(e,n),o.on=i}}var Or=xe.prototype.constructor;function Pr(t){return function(){this.style.removeProperty(t)}}function Lr(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}function Rr(t,e,n){var r,i;function a(){var a=e.apply(this,arguments);return a!==i&&(r=(i=a)&&Lr(t,a,n)),r}return a._value=e,a}function Nr(t){return function(e){this.textContent=t.call(this,e)}}function zr(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&Nr(r)),e}return r._value=t,r}var Fr=0;function Br(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function Vr(t){return xe().transition(t)}function jr(){return++Fr}var Yr=xe.prototype;function Hr(t){return t*t*t}function Ur(t){return--t*t*t+1}function Gr(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}Br.prototype=Vr.prototype={constructor:Br,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=ft(t));for(var r=this._groups,i=r.length,a=new Array(i),o=0;o1&&n.name===e)return new Br([[t]],Zr,e,+r);return null},Xr=function(t){return function(){return t}},Kr=function(t,e,n){this.target=t,this.type=e,this.selection=n};function Qr(){le.stopImmediatePropagation()}var Jr=function(){le.preventDefault(),le.stopImmediatePropagation()},ti={name:"drag"},ei={name:"space"},ni={name:"handle"},ri={name:"center"};function ii(t){return[+t[0],+t[1]]}function ai(t){return[ii(t[0]),ii(t[1])]}function oi(t){return function(e){return In(e,le.touches,t)}}var si={name:"x",handles:["w","e"].map(gi),input:function(t,e){return null==t?null:[[+t[0],e[0][1]],[+t[1],e[1][1]]]},output:function(t){return t&&[t[0][0],t[1][0]]}},li={name:"y",handles:["n","s"].map(gi),input:function(t,e){return null==t?null:[[e[0][0],+t[0]],[e[1][0],+t[1]]]},output:function(t){return t&&[t[0][1],t[1][1]]}},ui={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(gi),input:function(t){return null==t?null:ai(t)},output:function(t){return t}},ci={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},hi={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},fi={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},di={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},pi={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function gi(t){return{type:t}}function vi(){return!le.ctrlKey&&!le.button}function mi(){var t=this.ownerSVGElement||this;return t.hasAttribute("viewBox")?[[(t=t.viewBox.baseVal).x,t.y],[t.x+t.width,t.y+t.height]]:[[0,0],[t.width.baseVal.value,t.height.baseVal.value]]}function yi(){return navigator.maxTouchPoints||"ontouchstart"in this}function _i(t){for(;!t.__brush;)if(!(t=t.parentNode))return;return t.__brush}function bi(t){return t[0][0]===t[1][0]||t[0][1]===t[1][1]}function xi(t){var e=t.__brush;return e?e.dim.output(e.selection):null}function wi(){return Ci(si)}function ki(){return Ci(li)}var Si=function(){return Ci(ui)};function Ci(t){var e,n=mi,r=vi,i=yi,a=!0,o=ct("start","brush","end"),s=6;function l(e){var n=e.property("__brush",g).selectAll(".overlay").data([gi("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",ci.overlay).merge(n).each((function(){var t=_i(this).extent;we(this).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1])})),e.selectAll(".selection").data([gi("selection")]).enter().append("rect").attr("class","selection").attr("cursor",ci.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var r=e.selectAll(".handle").data(t.handles,(function(t){return t.type}));r.exit().remove(),r.enter().append("rect").attr("class",(function(t){return"handle handle--"+t.type})).attr("cursor",(function(t){return ci[t.type]})),e.each(u).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",f).filter(i).on("touchstart.brush",f).on("touchmove.brush",d).on("touchend.brush touchcancel.brush",p).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function u(){var t=we(this),e=_i(this).selection;e?(t.selectAll(".selection").style("display",null).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1]),t.selectAll(".handle").style("display",null).attr("x",(function(t){return"e"===t.type[t.type.length-1]?e[1][0]-s/2:e[0][0]-s/2})).attr("y",(function(t){return"s"===t.type[0]?e[1][1]-s/2:e[0][1]-s/2})).attr("width",(function(t){return"n"===t.type||"s"===t.type?e[1][0]-e[0][0]+s:s})).attr("height",(function(t){return"e"===t.type||"w"===t.type?e[1][1]-e[0][1]+s:s}))):t.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function c(t,e,n){return!n&&t.__brush.emitter||new h(t,e)}function h(t,e){this.that=t,this.args=e,this.state=t.__brush,this.active=0}function f(){if((!e||le.touches)&&r.apply(this,arguments)){var n,i,o,s,l,h,f,d,p,g,v,m=this,y=le.target.__data__.type,_="selection"===(a&&le.metaKey?y="overlay":y)?ti:a&&le.altKey?ri:ni,b=t===li?null:di[y],x=t===si?null:pi[y],w=_i(m),k=w.extent,S=w.selection,C=k[0][0],A=k[0][1],T=k[1][0],E=k[1][1],M=0,I=0,D=b&&x&&a&&le.shiftKey,O=le.touches?oi(le.changedTouches[0].identifier):Dn,P=O(m),L=P,R=c(m,arguments,!0).beforestart();"overlay"===y?(S&&(p=!0),w.selection=S=[[n=t===li?C:P[0],o=t===si?A:P[1]],[l=t===li?T:n,f=t===si?E:o]]):(n=S[0][0],o=S[0][1],l=S[1][0],f=S[1][1]),i=n,s=o,h=l,d=f;var N=we(m).attr("pointer-events","none"),z=N.selectAll(".overlay").attr("cursor",ci[y]);if(le.touches)R.moved=B,R.ended=j;else{var F=we(le.view).on("mousemove.brush",B,!0).on("mouseup.brush",j,!0);a&&F.on("keydown.brush",Y,!0).on("keyup.brush",H,!0),Ce(le.view)}Qr(),ar(m),u.call(m),R.start()}function B(){var t=O(m);!D||g||v||(Math.abs(t[0]-L[0])>Math.abs(t[1]-L[1])?v=!0:g=!0),L=t,p=!0,Jr(),V()}function V(){var t;switch(M=L[0]-P[0],I=L[1]-P[1],_){case ei:case ti:b&&(M=Math.max(C-n,Math.min(T-l,M)),i=n+M,h=l+M),x&&(I=Math.max(A-o,Math.min(E-f,I)),s=o+I,d=f+I);break;case ni:b<0?(M=Math.max(C-n,Math.min(T-n,M)),i=n+M,h=l):b>0&&(M=Math.max(C-l,Math.min(T-l,M)),i=n,h=l+M),x<0?(I=Math.max(A-o,Math.min(E-o,I)),s=o+I,d=f):x>0&&(I=Math.max(A-f,Math.min(E-f,I)),s=o,d=f+I);break;case ri:b&&(i=Math.max(C,Math.min(T,n-M*b)),h=Math.max(C,Math.min(T,l+M*b))),x&&(s=Math.max(A,Math.min(E,o-I*x)),d=Math.max(A,Math.min(E,f+I*x)))}h0&&(n=i-M),x<0?f=d-I:x>0&&(o=s-I),_=ei,z.attr("cursor",ci.selection),V());break;default:return}Jr()}function H(){switch(le.keyCode){case 16:D&&(g=v=D=!1,V());break;case 18:_===ri&&(b<0?l=h:b>0&&(n=i),x<0?f=d:x>0&&(o=s),_=ni,V());break;case 32:_===ei&&(le.altKey?(b&&(l=h-M*b,n=i+M*b),x&&(f=d-I*x,o=s+I*x),_=ri):(b<0?l=h:b>0&&(n=i),x<0?f=d:x>0&&(o=s),_=ni),z.attr("cursor",ci[y]),V());break;default:return}Jr()}}function d(){c(this,arguments).moved()}function p(){c(this,arguments).ended()}function g(){var e=this.__brush||{selection:null};return e.extent=ai(n.apply(this,arguments)),e.dim=t,e}return l.move=function(e,n){e.selection?e.on("start.brush",(function(){c(this,arguments).beforestart().start()})).on("interrupt.brush end.brush",(function(){c(this,arguments).end()})).tween("brush",(function(){var e=this,r=e.__brush,i=c(e,arguments),a=r.selection,o=t.input("function"==typeof n?n.apply(this,arguments):n,r.extent),s=Tn(a,o);function l(t){r.selection=1===t&&null===o?null:s(t),u.call(e),i.brush()}return null!==a&&null!==o?l:l(1)})):e.each((function(){var e=this,r=arguments,i=e.__brush,a=t.input("function"==typeof n?n.apply(e,r):n,i.extent),o=c(e,r).beforestart();ar(e),i.selection=null===a?null:a,u.call(e),o.start().brush().end()}))},l.clear=function(t){l.move(t,null)},h.prototype={beforestart:function(){return 1==++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting?(this.starting=!1,this.emit("start")):this.emit("brush"),this},brush:function(){return this.emit("brush"),this},end:function(){return 0==--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(e){pe(new Kr(l,e,t.output(this.state.selection)),o.apply,o,[e,this.that,this.args])}},l.extent=function(t){return arguments.length?(n="function"==typeof t?t:Xr(ai(t)),l):n},l.filter=function(t){return arguments.length?(r="function"==typeof t?t:Xr(!!t),l):r},l.touchable=function(t){return arguments.length?(i="function"==typeof t?t:Xr(!!t),l):i},l.handleSize=function(t){return arguments.length?(s=+t,l):s},l.keyModifiers=function(t){return arguments.length?(a=!!t,l):a},l.on=function(){var t=o.on.apply(o,arguments);return t===o?l:t},l}var Ai=Math.cos,Ti=Math.sin,Ei=Math.PI,Mi=Ei/2,Ii=2*Ei,Di=Math.max;function Oi(t){return function(e,n){return t(e.source.value+e.target.value,n.source.value+n.target.value)}}var Pi=function(){var t=0,e=null,n=null,r=null;function i(i){var a,o,s,l,u,c,h=i.length,f=[],d=w(h),p=[],g=[],v=g.groups=new Array(h),m=new Array(h*h);for(a=0,u=-1;++u1e-6)if(Math.abs(c*s-l*u)>1e-6&&i){var f=n-a,d=r-o,p=s*s+l*l,g=f*f+d*d,v=Math.sqrt(p),m=Math.sqrt(h),y=i*Math.tan((Ni-Math.acos((p+h-g)/(2*v*m)))/2),_=y/m,b=y/v;Math.abs(_-1)>1e-6&&(this._+="L"+(t+_*u)+","+(e+_*c)),this._+="A"+i+","+i+",0,0,"+ +(c*f>u*d)+","+(this._x1=t+b*s)+","+(this._y1=e+b*l)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,r,i,a){t=+t,e=+e,a=!!a;var o=(n=+n)*Math.cos(r),s=n*Math.sin(r),l=t+o,u=e+s,c=1^a,h=a?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+u:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-u)>1e-6)&&(this._+="L"+l+","+u),n&&(h<0&&(h=h%zi+zi),h>Fi?this._+="A"+n+","+n+",0,1,"+c+","+(t-o)+","+(e-s)+"A"+n+","+n+",0,1,"+c+","+(this._x1=l)+","+(this._y1=u):h>1e-6&&(this._+="A"+n+","+n+",0,"+ +(h>=Ni)+","+c+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var ji=Vi;function Yi(t){return t.source}function Hi(t){return t.target}function Ui(t){return t.radius}function Gi(t){return t.startAngle}function qi(t){return t.endAngle}var Wi=function(){var t=Yi,e=Hi,n=Ui,r=Gi,i=qi,a=null;function o(){var o,s=Li.call(arguments),l=t.apply(this,s),u=e.apply(this,s),c=+n.apply(this,(s[0]=l,s)),h=r.apply(this,s)-Mi,f=i.apply(this,s)-Mi,d=c*Ai(h),p=c*Ti(h),g=+n.apply(this,(s[0]=u,s)),v=r.apply(this,s)-Mi,m=i.apply(this,s)-Mi;if(a||(a=o=ji()),a.moveTo(d,p),a.arc(0,0,c,h,f),h===v&&f===m||(a.quadraticCurveTo(0,0,g*Ai(v),g*Ti(v)),a.arc(0,0,g,v,m)),a.quadraticCurveTo(0,0,d,p),a.closePath(),o)return a=null,o+""||null}return o.radius=function(t){return arguments.length?(n="function"==typeof t?t:Ri(+t),o):n},o.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:Ri(+t),o):r},o.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:Ri(+t),o):i},o.source=function(e){return arguments.length?(t=e,o):t},o.target=function(t){return arguments.length?(e=t,o):e},o.context=function(t){return arguments.length?(a=null==t?null:t,o):a},o};function Zi(){}function $i(t,e){var n=new Zi;if(t instanceof Zi)t.each((function(t,e){n.set(e,t)}));else if(Array.isArray(t)){var r,i=-1,a=t.length;if(null==e)for(;++i=r.length)return null!=t&&n.sort(t),null!=e?e(n):n;for(var l,u,c,h=-1,f=n.length,d=r[i++],p=Xi(),g=o();++hr.length)return n;var o,s=i[a-1];return null!=e&&a>=r.length?o=n.entries():(o=[],n.each((function(e,n){o.push({key:n,values:t(e,a)})}))),null!=s?o.sort((function(t,e){return s(t.key,e.key)})):o}(a(t,0,ta,ea),0)},key:function(t){return r.push(t),n},sortKeys:function(t){return i[r.length-1]=t,n},sortValues:function(e){return t=e,n},rollup:function(t){return e=t,n}}};function Qi(){return{}}function Ji(t,e,n){t[e]=n}function ta(){return Xi()}function ea(t,e,n){t.set(e,n)}function na(){}var ra=Xi.prototype;function ia(t,e){var n=new na;if(t instanceof na)t.each((function(t){n.add(t)}));else if(t){var r=-1,i=t.length;if(null==e)for(;++r6/29*(6/29)*(6/29)?Math.pow(t,1/3):t/(6/29*3*(6/29))+4/29}function va(t){return t>6/29?t*t*t:6/29*3*(6/29)*(t-4/29)}function ma(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ya(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function _a(t){if(t instanceof wa)return new wa(t.h,t.c,t.l,t.opacity);if(t instanceof pa||(t=ha(t)),0===t.a&&0===t.b)return new wa(NaN,0r!=d>r&&n<(f-u)*(r-c)/(d-c)+u&&(i=-i)}return i}function Na(t,e,n){var r,i,a,o;return function(t,e,n){return(e[0]-t[0])*(n[1]-t[1])==(n[0]-t[0])*(e[1]-t[1])}(t,e,n)&&(i=t[r=+(t[0]===e[0])],o=e[r],i<=(a=n[r])&&a<=o||o<=a&&a<=i)}var za=function(){},Fa=[[],[[[1,1.5],[.5,1]]],[[[1.5,1],[1,1.5]]],[[[1.5,1],[.5,1]]],[[[1,.5],[1.5,1]]],[[[1,1.5],[.5,1]],[[1,.5],[1.5,1]]],[[[1,.5],[1,1.5]]],[[[1,.5],[.5,1]]],[[[.5,1],[1,.5]]],[[[1,1.5],[1,.5]]],[[[.5,1],[1,.5]],[[1.5,1],[1,1.5]]],[[[1.5,1],[1,.5]]],[[[.5,1],[1.5,1]]],[[[1,1.5],[1.5,1]]],[[[.5,1],[1,1.5]]],[]],Ba=function(){var t=1,e=1,n=M,r=s;function i(t){var e=n(t);if(Array.isArray(e))e=e.slice().sort(Oa);else{var r=v(t),i=r[0],o=r[1];e=E(i,o,e),e=w(Math.floor(i/e)*e,Math.floor(o/e)*e,e)}return e.map((function(e){return a(t,e)}))}function a(n,i){var a=[],s=[];return function(n,r,i){var a,s,l,u,c,h=new Array,f=new Array;for(a=s=-1,Fa[(l=n[0]>=r)<<1].forEach(d);++a=r)<<1].forEach(d);for(Fa[l<<0].forEach(d);++s=r)<<1|(u=n[s*t]>=r)<<2].forEach(d);++a=r)<<1|(u=n[s*t+a+1]>=r)<<2|c<<3].forEach(d);Fa[l|u<<3].forEach(d)}for(a=-1,Fa[(u=n[s*t]>=r)<<2].forEach(d);++a=r)<<2|c<<3].forEach(d);function d(t){var e,n,r=[t[0][0]+a,t[0][1]+s],l=[t[1][0]+a,t[1][1]+s],u=o(r),c=o(l);(e=f[u])?(n=h[c])?(delete f[e.end],delete h[n.start],e===n?(e.ring.push(l),i(e.ring)):h[e.start]=f[n.end]={start:e.start,end:n.end,ring:e.ring.concat(n.ring)}):(delete f[e.end],e.ring.push(l),f[e.end=c]=e):(e=h[c])?(n=f[u])?(delete h[e.start],delete f[n.end],e===n?(e.ring.push(l),i(e.ring)):h[n.start]=f[e.end]={start:n.start,end:e.end,ring:n.ring.concat(e.ring)}):(delete h[e.start],e.ring.unshift(r),h[e.start=u]=e):h[u]=f[c]={start:u,end:c,ring:[r,l]}}Fa[u<<3].forEach(d)}(n,i,(function(t){r(t,n,i),function(t){for(var e=0,n=t.length,r=t[n-1][1]*t[0][0]-t[n-1][0]*t[0][1];++e0?a.push([t]):s.push(t)})),s.forEach((function(t){for(var e,n=0,r=a.length;n0&&o0&&s0&&a>0))throw new Error("invalid size");return t=r,e=a,i},i.thresholds=function(t){return arguments.length?(n="function"==typeof t?t:Array.isArray(t)?Pa(Da.call(t)):Pa(t),i):n},i.smooth=function(t){return arguments.length?(r=t?s:za,i):r===s},i};function Va(t,e,n){for(var r=t.width,i=t.height,a=1+(n<<1),o=0;o=n&&(s>=a&&(l-=t.data[s-a+o*r]),e.data[s-n+o*r]=l/Math.min(s+1,r-1+a-s,a))}function ja(t,e,n){for(var r=t.width,i=t.height,a=1+(n<<1),o=0;o=n&&(s>=a&&(l-=t.data[o+(s-a)*r]),e.data[o+(s-n)*r]=l/Math.min(s+1,i-1+a-s,a))}function Ya(t){return t[0]}function Ha(t){return t[1]}function Ua(){return 1}var Ga=function(){var t=Ya,e=Ha,n=Ua,r=960,i=500,a=20,o=2,s=3*a,l=r+2*s>>o,u=i+2*s>>o,c=Pa(20);function h(r){var i=new Float32Array(l*u),h=new Float32Array(l*u);r.forEach((function(r,a,c){var h=+t(r,a,c)+s>>o,f=+e(r,a,c)+s>>o,d=+n(r,a,c);h>=0&&h=0&&f>o),ja({width:l,height:u,data:h},{width:l,height:u,data:i},a>>o),Va({width:l,height:u,data:i},{width:l,height:u,data:h},a>>o),ja({width:l,height:u,data:h},{width:l,height:u,data:i},a>>o),Va({width:l,height:u,data:i},{width:l,height:u,data:h},a>>o),ja({width:l,height:u,data:h},{width:l,height:u,data:i},a>>o);var d=c(i);if(!Array.isArray(d)){var p=L(i);d=E(0,p,d),(d=w(0,Math.floor(p/d)*d,d)).shift()}return Ba().thresholds(d).size([l,u])(i).map(f)}function f(t){return t.value*=Math.pow(2,-2*o),t.coordinates.forEach(d),t}function d(t){t.forEach(p)}function p(t){t.forEach(g)}function g(t){t[0]=t[0]*Math.pow(2,o)-s,t[1]=t[1]*Math.pow(2,o)-s}function v(){return l=r+2*(s=3*a)>>o,u=i+2*s>>o,h}return h.x=function(e){return arguments.length?(t="function"==typeof e?e:Pa(+e),h):t},h.y=function(t){return arguments.length?(e="function"==typeof t?t:Pa(+t),h):e},h.weight=function(t){return arguments.length?(n="function"==typeof t?t:Pa(+t),h):n},h.size=function(t){if(!arguments.length)return[r,i];var e=Math.ceil(t[0]),n=Math.ceil(t[1]);if(!(e>=0||e>=0))throw new Error("invalid size");return r=e,i=n,v()},h.cellSize=function(t){if(!arguments.length)return 1<=1))throw new Error("invalid cell size");return o=Math.floor(Math.log(t)/Math.LN2),v()},h.thresholds=function(t){return arguments.length?(c="function"==typeof t?t:Array.isArray(t)?Pa(Da.call(t)):Pa(t),h):c},h.bandwidth=function(t){if(!arguments.length)return Math.sqrt(a*(a+1));if(!((t=+t)>=0))throw new Error("invalid bandwidth");return a=Math.round((Math.sqrt(4*t*t+1)-1)/2),v()},h},qa=function(t){return function(){return t}};function Wa(t,e,n,r,i,a,o,s,l,u){this.target=t,this.type=e,this.subject=n,this.identifier=r,this.active=i,this.x=a,this.y=o,this.dx=s,this.dy=l,this._=u}function Za(){return!le.ctrlKey&&!le.button}function $a(){return this.parentNode}function Xa(t){return null==t?{x:le.x,y:le.y}:t}function Ka(){return navigator.maxTouchPoints||"ontouchstart"in this}Wa.prototype.on=function(){var t=this._.on.apply(this._,arguments);return t===this._?this:t};var Qa=function(){var t,e,n,r,i=Za,a=$a,o=Xa,s=Ka,l={},u=ct("start","drag","end"),c=0,h=0;function f(t){t.on("mousedown.drag",d).filter(s).on("touchstart.drag",v).on("touchmove.drag",m).on("touchend.drag touchcancel.drag",y).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function d(){if(!r&&i.apply(this,arguments)){var o=_("mouse",a.apply(this,arguments),Dn,this,arguments);o&&(we(le.view).on("mousemove.drag",p,!0).on("mouseup.drag",g,!0),Ce(le.view),ke(),n=!1,t=le.clientX,e=le.clientY,o("start"))}}function p(){if(Se(),!n){var r=le.clientX-t,i=le.clientY-e;n=r*r+i*i>h}l.mouse("drag")}function g(){we(le.view).on("mousemove.drag mouseup.drag",null),Ae(le.view,n),Se(),l.mouse("end")}function v(){if(i.apply(this,arguments)){var t,e,n=le.changedTouches,r=a.apply(this,arguments),o=n.length;for(t=0;t=a?l=!0:10===(r=t.charCodeAt(o++))?u=!0:13===r&&(u=!0,10===t.charCodeAt(o)&&++o),t.slice(i+1,e-1).replace(/""/g,'"')}for(;o9999?"+"+ro(e,6):ro(e,4))+"-"+ro(t.getUTCMonth()+1,2)+"-"+ro(t.getUTCDate(),2)+(a?"T"+ro(n,2)+":"+ro(r,2)+":"+ro(i,2)+"."+ro(a,3)+"Z":i?"T"+ro(n,2)+":"+ro(r,2)+":"+ro(i,2)+"Z":r||n?"T"+ro(n,2)+":"+ro(r,2)+"Z":"")}(t):e.test(t+="")?'"'+t.replace(/"/g,'""')+'"':t}return{parse:function(t,e){var n,i,a=r(t,(function(t,r){if(n)return n(t,r-1);i=t,n=e?function(t,e){var n=eo(t);return function(r,i){return e(n(r),i,t)}}(t,e):eo(t)}));return a.columns=i||[],a},parseRows:r,format:function(e,n){return null==n&&(n=no(e)),[n.map(o).join(t)].concat(i(e,n)).join("\n")},formatBody:function(t,e){return null==e&&(e=no(t)),i(t,e).join("\n")},formatRows:function(t){return t.map(a).join("\n")},formatRow:a,formatValue:o}},ao=io(","),oo=ao.parse,so=ao.parseRows,lo=ao.format,uo=ao.formatBody,co=ao.formatRows,ho=ao.formatRow,fo=ao.formatValue,po=io("\t"),go=po.parse,vo=po.parseRows,mo=po.format,yo=po.formatBody,_o=po.formatRows,bo=po.formatRow,xo=po.formatValue;function wo(t){for(var e in t){var n,r,i=t[e].trim();if(i)if("true"===i)i=!0;else if("false"===i)i=!1;else if("NaN"===i)i=NaN;else if(isNaN(n=+i)){if(!(r=i.match(/^([-+]\d{2})?\d{4}(-\d{2}(-\d{2})?)?(T\d{2}:\d{2}(:\d{2}(\.\d{3})?)?(Z|[-+]\d{2}:\d{2})?)?$/)))continue;ko&&r[4]&&!r[7]&&(i=i.replace(/-/g,"/").replace(/T/," ")),i=new Date(i)}else i=n;else i=null;t[e]=i}return t}var ko=new Date("2019-01-01T00:00").getHours()||new Date("2019-07-01T00:00").getHours();function So(t){return+t}function Co(t){return t*t}function Ao(t){return t*(2-t)}function To(t){return((t*=2)<=1?t*t:--t*(2-t)+1)/2}var Eo=function t(e){function n(t){return Math.pow(t,e)}return e=+e,n.exponent=t,n}(3),Mo=function t(e){function n(t){return 1-Math.pow(1-t,e)}return e=+e,n.exponent=t,n}(3),Io=function t(e){function n(t){return((t*=2)<=1?Math.pow(t,e):2-Math.pow(2-t,e))/2}return e=+e,n.exponent=t,n}(3),Do=Math.PI,Oo=Do/2;function Po(t){return 1-Math.cos(t*Oo)}function Lo(t){return Math.sin(t*Oo)}function Ro(t){return(1-Math.cos(Do*t))/2}function No(t){return Math.pow(2,10*t-10)}function zo(t){return 1-Math.pow(2,-10*t)}function Fo(t){return((t*=2)<=1?Math.pow(2,10*t-10):2-Math.pow(2,10-10*t))/2}function Bo(t){return 1-Math.sqrt(1-t*t)}function Vo(t){return Math.sqrt(1- --t*t)}function jo(t){return((t*=2)<=1?1-Math.sqrt(1-t*t):Math.sqrt(1-(t-=2)*t)+1)/2}function Yo(t){return 1-Ho(1-t)}function Ho(t){return(t=+t)<4/11?7.5625*t*t:t<8/11?7.5625*(t-=6/11)*t+.75:t<10/11?7.5625*(t-=9/11)*t+.9375:7.5625*(t-=21/22)*t+63/64}function Uo(t){return((t*=2)<=1?1-Ho(1-t):Ho(t-1)+1)/2}var Go=function t(e){function n(t){return t*t*((e+1)*t-e)}return e=+e,n.overshoot=t,n}(1.70158),qo=function t(e){function n(t){return--t*t*((e+1)*t+e)+1}return e=+e,n.overshoot=t,n}(1.70158),Wo=function t(e){function n(t){return((t*=2)<1?t*t*((e+1)*t-e):(t-=2)*t*((e+1)*t+e)+2)/2}return e=+e,n.overshoot=t,n}(1.70158),Zo=2*Math.PI,$o=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Zo);function i(t){return e*Math.pow(2,10*--t)*Math.sin((r-t)/n)}return i.amplitude=function(e){return t(e,n*Zo)},i.period=function(n){return t(e,n)},i}(1,.3),Xo=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Zo);function i(t){return 1-e*Math.pow(2,-10*(t=+t))*Math.sin((t+r)/n)}return i.amplitude=function(e){return t(e,n*Zo)},i.period=function(n){return t(e,n)},i}(1,.3),Ko=function t(e,n){var r=Math.asin(1/(e=Math.max(1,e)))*(n/=Zo);function i(t){return((t=2*t-1)<0?e*Math.pow(2,10*t)*Math.sin((r-t)/n):2-e*Math.pow(2,-10*t)*Math.sin((r+t)/n))/2}return i.amplitude=function(e){return t(e,n*Zo)},i.period=function(n){return t(e,n)},i}(1,.3);function Qo(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.blob()}var Jo=function(t,e){return fetch(t,e).then(Qo)};function ts(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.arrayBuffer()}var es=function(t,e){return fetch(t,e).then(ts)};function ns(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}var rs=function(t,e){return fetch(t,e).then(ns)};function is(t){return function(e,n,r){return 2===arguments.length&&"function"==typeof n&&(r=n,n=void 0),rs(e,n).then((function(e){return t(e,r)}))}}function as(t,e,n,r){3===arguments.length&&"function"==typeof n&&(r=n,n=void 0);var i=io(t);return rs(e,n).then((function(t){return i.parse(t,r)}))}var os=is(oo),ss=is(go),ls=function(t,e){return new Promise((function(n,r){var i=new Image;for(var a in e)i[a]=e[a];i.onerror=r,i.onload=function(){n(i)},i.src=t}))};function us(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.json()}var cs=function(t,e){return fetch(t,e).then(us)};function hs(t){return function(e,n){return rs(e,n).then((function(e){return(new DOMParser).parseFromString(e,t)}))}}var fs=hs("application/xml"),ds=hs("text/html"),ps=hs("image/svg+xml"),gs=function(t,e){var n;function r(){var r,i,a=n.length,o=0,s=0;for(r=0;r=(a=(g+m)/2))?g=a:m=a,(c=n>=(o=(v+y)/2))?v=o:y=o,i=d,!(d=d[h=c<<1|u]))return i[h]=p,t;if(s=+t._x.call(null,d.data),l=+t._y.call(null,d.data),e===s&&n===l)return p.next=d,i?i[h]=p:t._root=p,t;do{i=i?i[h]=new Array(4):t._root=new Array(4),(u=e>=(a=(g+m)/2))?g=a:m=a,(c=n>=(o=(v+y)/2))?v=o:y=o}while((h=c<<1|u)==(f=(l>=o)<<1|s>=a));return i[f]=d,i[h]=p,t}var _s=function(t,e,n,r,i){this.node=t,this.x0=e,this.y0=n,this.x1=r,this.y1=i};function bs(t){return t[0]}function xs(t){return t[1]}function ws(t,e,n){var r=new ks(null==e?bs:e,null==n?xs:n,NaN,NaN,NaN,NaN);return null==t?r:r.addAll(t)}function ks(t,e,n,r,i,a){this._x=t,this._y=e,this._x0=n,this._y0=r,this._x1=i,this._y1=a,this._root=void 0}function Ss(t){for(var e={data:t.data},n=e;t=t.next;)n=n.next={data:t.data};return e}var Cs=ws.prototype=ks.prototype;function As(t){return t.x+t.vx}function Ts(t){return t.y+t.vy}Cs.copy=function(){var t,e,n=new ks(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=Ss(r),n;for(t=[{source:r,target:n._root=new Array(4)}];r=t.pop();)for(var i=0;i<4;++i)(e=r.source[i])&&(e.length?t.push({source:e,target:r.target[i]=new Array(4)}):r.target[i]=Ss(e));return n},Cs.add=function(t){var e=+this._x.call(null,t),n=+this._y.call(null,t);return ys(this.cover(e,n),e,n,t)},Cs.addAll=function(t){var e,n,r,i,a=t.length,o=new Array(a),s=new Array(a),l=1/0,u=1/0,c=-1/0,h=-1/0;for(n=0;nc&&(c=r),ih&&(h=i));if(l>c||u>h)return this;for(this.cover(l,u).cover(c,h),n=0;nt||t>=i||r>e||e>=a;)switch(s=(ef||(a=l.y0)>d||(o=l.x1)=m)<<1|t>=v)&&(l=p[p.length-1],p[p.length-1]=p[p.length-1-u],p[p.length-1-u]=l)}else{var y=t-+this._x.call(null,g.data),_=e-+this._y.call(null,g.data),b=y*y+_*_;if(b=(s=(p+v)/2))?p=s:v=s,(c=o>=(l=(g+m)/2))?g=l:m=l,e=d,!(d=d[h=c<<1|u]))return this;if(!d.length)break;(e[h+1&3]||e[h+2&3]||e[h+3&3])&&(n=e,f=h)}for(;d.data!==t;)if(r=d,!(d=d.next))return this;return(i=d.next)&&delete d.next,r?(i?r.next=i:delete r.next,this):e?(i?e[h]=i:delete e[h],(d=e[0]||e[1]||e[2]||e[3])&&d===(e[3]||e[2]||e[1]||e[0])&&!d.length&&(n?n[f]=d:this._root=d),this):(this._root=i,this)},Cs.removeAll=function(t){for(var e=0,n=t.length;el+d||iu+d||as.index){var p=l-o.x-o.vx,g=u-o.y-o.vy,v=p*p+g*g;vt.r&&(t.r=t[e].r)}function s(){if(e){var r,i,a=e.length;for(n=new Array(a),r=0;r1?(null==n?s.remove(t):s.set(t,d(n)),e):s.get(t)},find:function(e,n,r){var i,a,o,s,l,u=0,c=t.length;for(null==r?r=1/0:r*=r,u=0;u1?(u.on(t,n),e):u.on(t)}}},Ns=function(){var t,e,n,r,i=vs(-30),a=1,o=1/0,s=.81;function l(r){var i,a=t.length,o=ws(t,Os,Ps).visitAfter(c);for(n=r,i=0;i=o)){(t.data!==e||t.next)&&(0===c&&(d+=(c=ms())*c),0===h&&(d+=(h=ms())*h),d1?r[0]+r.slice(2):r,+t.slice(n+1)]},js=function(t){return(t=Vs(Math.abs(t)))?t[1]:NaN},Ys=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Hs(t){if(!(e=Ys.exec(t)))throw new Error("invalid format: "+t);var e;return new Us({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function Us(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}Hs.prototype=Us.prototype,Us.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Gs,qs,Ws,Zs,$s=function(t,e){var n=Vs(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},Xs={"%":function(t,e){return(100*t).toFixed(e)},b:function(t){return Math.round(t).toString(2)},c:function(t){return t+""},d:function(t){return Math.round(t).toString(10)},e:function(t,e){return t.toExponential(e)},f:function(t,e){return t.toFixed(e)},g:function(t,e){return t.toPrecision(e)},o:function(t){return Math.round(t).toString(8)},p:function(t,e){return $s(100*t,e)},r:$s,s:function(t,e){var n=Vs(t,e);if(!n)return t+"";var r=n[0],i=n[1],a=i-(Gs=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,o=r.length;return a===o?r:a>o?r+new Array(a-o+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Vs(t,Math.max(0,e+a-1))[0]},X:function(t){return Math.round(t).toString(16).toUpperCase()},x:function(t){return Math.round(t).toString(16)}},Ks=function(t){return t},Qs=Array.prototype.map,Js=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"],tl=function(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?Ks:(e=Qs.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,a=[],o=0,s=e[0],l=0;i>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),a.push(t.substring(i-=s,i+s)),!((l+=s+1)>r));)s=e[o=(o+1)%e.length];return a.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",o=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Ks:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Qs.call(t.numerals,String)),l=void 0===t.percent?"%":t.percent+"",u=void 0===t.minus?"-":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function h(t){var e=(t=Hs(t)).fill,n=t.align,h=t.sign,f=t.symbol,d=t.zero,p=t.width,g=t.comma,v=t.precision,m=t.trim,y=t.type;"n"===y?(g=!0,y="g"):Xs[y]||(void 0===v&&(v=12),m=!0,y="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var _="$"===f?i:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",b="$"===f?a:/[%p]/.test(y)?l:"",x=Xs[y],w=/[defgprs%]/.test(y);function k(t){var i,a,l,f=_,k=b;if("c"===y)k=x(t)+k,t="";else{var S=(t=+t)<0||1/t<0;if(t=isNaN(t)?c:x(Math.abs(t),v),m&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),S&&0==+t&&"+"!==h&&(S=!1),f=(S?"("===h?h:u:"-"===h||"("===h?"":h)+f,k=("s"===y?Js[8+Gs/3]:"")+k+(S&&"("===h?")":""),w)for(i=-1,a=t.length;++i(l=t.charCodeAt(i))||l>57){k=(46===l?o+t.slice(i+1):t.slice(i))+k,t=t.slice(0,i);break}}g&&!d&&(t=r(t,1/0));var C=f.length+t.length+k.length,A=C>1)+f+t+k+A.slice(C);break;default:t=A+f+t+k}return s(t)}return v=void 0===v?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),k.toString=function(){return t+""},k}return{format:h,formatPrefix:function(t,e){var n=h(((t=Hs(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(js(e)/3))),i=Math.pow(10,-r),a=Js[8+r/3];return function(t){return n(i*t)+a}}}};function el(t){return qs=tl(t),Ws=qs.format,Zs=qs.formatPrefix,qs}el({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"});var nl=function(t){return Math.max(0,-js(Math.abs(t)))},rl=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(js(e)/3)))-js(Math.abs(t)))},il=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,js(e)-js(t))+1},al=function(){return new ol};function ol(){this.reset()}ol.prototype={constructor:ol,reset:function(){this.s=this.t=0},add:function(t){ll(sl,t,this.t),ll(this,sl.s,this.s),this.s?this.t+=sl.t:this.s=sl.t},valueOf:function(){return this.s}};var sl=new ol;function ll(t,e,n){var r=t.s=e+n,i=r-e;t.t=e-(r-i)+(n-i)}var ul=Math.PI,cl=ul/2,hl=ul/4,fl=2*ul,dl=180/ul,pl=ul/180,gl=Math.abs,vl=Math.atan,ml=Math.atan2,yl=Math.cos,_l=Math.ceil,bl=Math.exp,xl=(Math,Math.log),wl=Math.pow,kl=Math.sin,Sl=Math.sign||function(t){return t>0?1:t<0?-1:0},Cl=Math.sqrt,Al=Math.tan;function Tl(t){return t>1?0:t<-1?ul:Math.acos(t)}function El(t){return t>1?cl:t<-1?-cl:Math.asin(t)}function Ml(t){return(t=kl(t/2))*t}function Il(){}function Dl(t,e){t&&Pl.hasOwnProperty(t.type)&&Pl[t.type](t,e)}var Ol={Feature:function(t,e){Dl(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r=0?1:-1,i=r*n,a=yl(e=(e*=pl)/2+hl),o=kl(e),s=Vl*o,l=Bl*a+s*yl(i),u=s*r*kl(i);Yl.add(ml(u,l)),Fl=t,Bl=a,Vl=o}var $l=function(t){return Hl.reset(),jl(t,Ul),2*Hl};function Xl(t){return[ml(t[1],t[0]),El(t[2])]}function Kl(t){var e=t[0],n=t[1],r=yl(n);return[r*yl(e),r*kl(e),kl(n)]}function Ql(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function Jl(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function tu(t,e){t[0]+=e[0],t[1]+=e[1],t[2]+=e[2]}function eu(t,e){return[t[0]*e,t[1]*e,t[2]*e]}function nu(t){var e=Cl(t[0]*t[0]+t[1]*t[1]+t[2]*t[2]);t[0]/=e,t[1]/=e,t[2]/=e}var ru,iu,au,ou,su,lu,uu,cu,hu,fu,du=al(),pu={point:gu,lineStart:mu,lineEnd:yu,polygonStart:function(){pu.point=_u,pu.lineStart=bu,pu.lineEnd=xu,du.reset(),Ul.polygonStart()},polygonEnd:function(){Ul.polygonEnd(),pu.point=gu,pu.lineStart=mu,pu.lineEnd=yu,Yl<0?(ru=-(au=180),iu=-(ou=90)):du>1e-6?ou=90:du<-1e-6&&(iu=-90),fu[0]=ru,fu[1]=au},sphere:function(){ru=-(au=180),iu=-(ou=90)}};function gu(t,e){hu.push(fu=[ru=t,au=t]),eou&&(ou=e)}function vu(t,e){var n=Kl([t*pl,e*pl]);if(cu){var r=Jl(cu,n),i=Jl([r[1],-r[0],0],r);nu(i),i=Xl(i);var a,o=t-su,s=o>0?1:-1,l=i[0]*dl*s,u=gl(o)>180;u^(s*suou&&(ou=a):u^(s*su<(l=(l+360)%360-180)&&lou&&(ou=e)),u?twu(ru,au)&&(au=t):wu(t,au)>wu(ru,au)&&(ru=t):au>=ru?(tau&&(au=t)):t>su?wu(ru,t)>wu(ru,au)&&(au=t):wu(t,au)>wu(ru,au)&&(ru=t)}else hu.push(fu=[ru=t,au=t]);eou&&(ou=e),cu=n,su=t}function mu(){pu.point=vu}function yu(){fu[0]=ru,fu[1]=au,pu.point=gu,cu=null}function _u(t,e){if(cu){var n=t-su;du.add(gl(n)>180?n+(n>0?360:-360):n)}else lu=t,uu=e;Ul.point(t,e),vu(t,e)}function bu(){Ul.lineStart()}function xu(){_u(lu,uu),Ul.lineEnd(),gl(du)>1e-6&&(ru=-(au=180)),fu[0]=ru,fu[1]=au,cu=null}function wu(t,e){return(e-=t)<0?e+360:e}function ku(t,e){return t[0]-e[0]}function Su(t,e){return t[0]<=t[1]?t[0]<=e&&e<=t[1]:ewu(r[0],r[1])&&(r[1]=i[1]),wu(i[0],r[1])>wu(r[0],r[1])&&(r[0]=i[0])):a.push(r=i);for(o=-1/0,e=0,r=a[n=a.length-1];e<=n;r=i,++e)(s=wu(r[1],(i=a[e])[0]))>o&&(o=s,ru=i[0],au=r[1])}return hu=fu=null,ru===1/0||iu===1/0?[[NaN,NaN],[NaN,NaN]]:[[ru,iu],[au,ou]]},Yu={sphere:Il,point:Hu,lineStart:Gu,lineEnd:Zu,polygonStart:function(){Yu.lineStart=$u,Yu.lineEnd=Xu},polygonEnd:function(){Yu.lineStart=Gu,Yu.lineEnd=Zu}};function Hu(t,e){t*=pl;var n=yl(e*=pl);Uu(n*yl(t),n*kl(t),kl(e))}function Uu(t,e,n){++Cu,Tu+=(t-Tu)/Cu,Eu+=(e-Eu)/Cu,Mu+=(n-Mu)/Cu}function Gu(){Yu.point=qu}function qu(t,e){t*=pl;var n=yl(e*=pl);Fu=n*yl(t),Bu=n*kl(t),Vu=kl(e),Yu.point=Wu,Uu(Fu,Bu,Vu)}function Wu(t,e){t*=pl;var n=yl(e*=pl),r=n*yl(t),i=n*kl(t),a=kl(e),o=ml(Cl((o=Bu*a-Vu*i)*o+(o=Vu*r-Fu*a)*o+(o=Fu*i-Bu*r)*o),Fu*r+Bu*i+Vu*a);Au+=o,Iu+=o*(Fu+(Fu=r)),Du+=o*(Bu+(Bu=i)),Ou+=o*(Vu+(Vu=a)),Uu(Fu,Bu,Vu)}function Zu(){Yu.point=Hu}function $u(){Yu.point=Ku}function Xu(){Qu(Nu,zu),Yu.point=Hu}function Ku(t,e){Nu=t,zu=e,t*=pl,e*=pl,Yu.point=Qu;var n=yl(e);Fu=n*yl(t),Bu=n*kl(t),Vu=kl(e),Uu(Fu,Bu,Vu)}function Qu(t,e){t*=pl;var n=yl(e*=pl),r=n*yl(t),i=n*kl(t),a=kl(e),o=Bu*a-Vu*i,s=Vu*r-Fu*a,l=Fu*i-Bu*r,u=Cl(o*o+s*s+l*l),c=El(u),h=u&&-c/u;Pu+=h*o,Lu+=h*s,Ru+=h*l,Au+=c,Iu+=c*(Fu+(Fu=r)),Du+=c*(Bu+(Bu=i)),Ou+=c*(Vu+(Vu=a)),Uu(Fu,Bu,Vu)}var Ju=function(t){Cu=Au=Tu=Eu=Mu=Iu=Du=Ou=Pu=Lu=Ru=0,jl(t,Yu);var e=Pu,n=Lu,r=Ru,i=e*e+n*n+r*r;return i<1e-12&&(e=Iu,n=Du,r=Ou,Au<1e-6&&(e=Tu,n=Eu,r=Mu),(i=e*e+n*n+r*r)<1e-12)?[NaN,NaN]:[ml(n,e)*dl,El(r/Cl(i))*dl]},tc=function(t){return function(){return t}},ec=function(t,e){function n(n,r){return n=t(n,r),e(n[0],n[1])}return t.invert&&e.invert&&(n.invert=function(n,r){return(n=e.invert(n,r))&&t.invert(n[0],n[1])}),n};function nc(t,e){return[gl(t)>ul?t+Math.round(-t/fl)*fl:t,e]}function rc(t,e,n){return(t%=fl)?e||n?ec(ac(t),oc(e,n)):ac(t):e||n?oc(e,n):nc}function ic(t){return function(e,n){return[(e+=t)>ul?e-fl:e<-ul?e+fl:e,n]}}function ac(t){var e=ic(t);return e.invert=ic(-t),e}function oc(t,e){var n=yl(t),r=kl(t),i=yl(e),a=kl(e);function o(t,e){var o=yl(e),s=yl(t)*o,l=kl(t)*o,u=kl(e),c=u*n+s*r;return[ml(l*i-c*a,s*n-u*r),El(c*i+l*a)]}return o.invert=function(t,e){var o=yl(e),s=yl(t)*o,l=kl(t)*o,u=kl(e),c=u*i-l*a;return[ml(l*i+u*a,s*n+c*r),El(c*n-s*r)]},o}nc.invert=nc;var sc=function(t){function e(e){return(e=t(e[0]*pl,e[1]*pl))[0]*=dl,e[1]*=dl,e}return t=rc(t[0]*pl,t[1]*pl,t.length>2?t[2]*pl:0),e.invert=function(e){return(e=t.invert(e[0]*pl,e[1]*pl))[0]*=dl,e[1]*=dl,e},e};function lc(t,e,n,r,i,a){if(n){var o=yl(e),s=kl(e),l=r*n;null==i?(i=e+r*fl,a=e-l/2):(i=uc(o,i),a=uc(o,a),(r>0?ia)&&(i+=r*fl));for(var u,c=i;r>0?c>a:c1&&e.push(e.pop().concat(e.shift()))},result:function(){var n=e;return e=[],t=null,n}}},fc=function(t,e){return gl(t[0]-e[0])<1e-6&&gl(t[1]-e[1])<1e-6};function dc(t,e,n,r){this.x=t,this.z=e,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}var pc=function(t,e,n,r,i){var a,o,s=[],l=[];if(t.forEach((function(t){if(!((e=t.length-1)<=0)){var e,n,r=t[0],o=t[e];if(fc(r,o)){for(i.lineStart(),a=0;a=0;--a)i.point((c=u[a])[0],c[1]);else r(f.x,f.p.x,-1,i);f=f.p}u=(f=f.o).z,d=!d}while(!f.v);i.lineEnd()}}};function gc(t){if(e=t.length){for(var e,n,r=0,i=t[0];++r=0?1:-1,C=S*k,A=C>ul,T=g*x;if(vc.add(ml(T*S*kl(C),v*w+T*yl(C))),o+=A?k+S*fl:k,A^d>=n^_>=n){var E=Jl(Kl(f),Kl(y));nu(E);var M=Jl(a,E);nu(M);var I=(A^k>=0?-1:1)*El(M[2]);(r>I||r===I&&(E[0]||E[1]))&&(s+=A^k>=0?1:-1)}}return(o<-1e-6||o<1e-6&&vc<-1e-6)^1&s},_c=function(t,e,n,r){return function(i){var a,o,s,l=e(i),u=hc(),c=e(u),h=!1,f={point:d,lineStart:g,lineEnd:v,polygonStart:function(){f.point=m,f.lineStart=y,f.lineEnd=_,o=[],a=[]},polygonEnd:function(){f.point=d,f.lineStart=g,f.lineEnd=v,o=z(o);var t=yc(a,r);o.length?(h||(i.polygonStart(),h=!0),pc(o,xc,t,n,i)):t&&(h||(i.polygonStart(),h=!0),i.lineStart(),n(null,null,1,i),i.lineEnd()),h&&(i.polygonEnd(),h=!1),o=a=null},sphere:function(){i.polygonStart(),i.lineStart(),n(null,null,1,i),i.lineEnd(),i.polygonEnd()}};function d(e,n){t(e,n)&&i.point(e,n)}function p(t,e){l.point(t,e)}function g(){f.point=p,l.lineStart()}function v(){f.point=d,l.lineEnd()}function m(t,e){s.push([t,e]),c.point(t,e)}function y(){c.lineStart(),s=[]}function _(){m(s[0][0],s[0][1]),c.lineEnd();var t,e,n,r,l=c.clean(),f=u.result(),d=f.length;if(s.pop(),a.push(s),s=null,d)if(1&l){if((e=(n=f[0]).length-1)>0){for(h||(i.polygonStart(),h=!0),i.lineStart(),t=0;t1&&2&l&&f.push(f.pop().concat(f.shift())),o.push(f.filter(bc))}return f}};function bc(t){return t.length>1}function xc(t,e){return((t=t.x)[0]<0?t[1]-cl-1e-6:cl-t[1])-((e=e.x)[0]<0?e[1]-cl-1e-6:cl-e[1])}var wc=_c((function(){return!0}),(function(t){var e,n=NaN,r=NaN,i=NaN;return{lineStart:function(){t.lineStart(),e=1},point:function(a,o){var s=a>0?ul:-ul,l=gl(a-n);gl(l-ul)<1e-6?(t.point(n,r=(r+o)/2>0?cl:-cl),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),t.point(a,r),e=0):i!==s&&l>=ul&&(gl(n-i)<1e-6&&(n-=1e-6*i),gl(a-s)<1e-6&&(a-=1e-6*s),r=function(t,e,n,r){var i,a,o=kl(t-n);return gl(o)>1e-6?vl((kl(e)*(a=yl(r))*kl(n)-kl(r)*(i=yl(e))*kl(t))/(i*a*o)):(e+r)/2}(n,r,a,o),t.point(i,r),t.lineEnd(),t.lineStart(),t.point(s,r),e=0),t.point(n=a,r=o),i=s},lineEnd:function(){t.lineEnd(),n=r=NaN},clean:function(){return 2-e}}}),(function(t,e,n,r){var i;if(null==t)r.point(-ul,i=n*cl),r.point(0,i),r.point(ul,i),r.point(ul,0),r.point(ul,-i),r.point(0,-i),r.point(-ul,-i),r.point(-ul,0),r.point(-ul,i);else if(gl(t[0]-e[0])>1e-6){var a=t[0]0,i=gl(e)>1e-6;function a(t,n){return yl(t)*yl(n)>e}function o(t,n,r){var i=[1,0,0],a=Jl(Kl(t),Kl(n)),o=Ql(a,a),s=a[0],l=o-s*s;if(!l)return!r&&t;var u=e*o/l,c=-e*s/l,h=Jl(i,a),f=eu(i,u);tu(f,eu(a,c));var d=h,p=Ql(f,d),g=Ql(d,d),v=p*p-g*(Ql(f,f)-1);if(!(v<0)){var m=Cl(v),y=eu(d,(-p-m)/g);if(tu(y,f),y=Xl(y),!r)return y;var _,b=t[0],x=n[0],w=t[1],k=n[1];x0^y[1]<(gl(y[0]-b)<1e-6?w:k):w<=y[1]&&y[1]<=k:S>ul^(b<=y[0]&&y[0]<=x)){var A=eu(d,(-p+m)/g);return tu(A,f),[y,Xl(A)]}}}function s(e,n){var i=r?t:ul-t,a=0;return e<-i?a|=1:e>i&&(a|=2),n<-i?a|=4:n>i&&(a|=8),a}return _c(a,(function(t){var e,n,l,u,c;return{lineStart:function(){u=l=!1,c=1},point:function(h,f){var d,p=[h,f],g=a(h,f),v=r?g?0:s(h,f):g?s(h+(h<0?ul:-ul),f):0;if(!e&&(u=l=g)&&t.lineStart(),g!==l&&(!(d=o(e,p))||fc(e,d)||fc(p,d))&&(p[0]+=1e-6,p[1]+=1e-6,g=a(p[0],p[1])),g!==l)c=0,g?(t.lineStart(),d=o(p,e),t.point(d[0],d[1])):(d=o(e,p),t.point(d[0],d[1]),t.lineEnd()),e=d;else if(i&&e&&r^g){var m;v&n||!(m=o(p,e,!0))||(c=0,r?(t.lineStart(),t.point(m[0][0],m[0][1]),t.point(m[1][0],m[1][1]),t.lineEnd()):(t.point(m[1][0],m[1][1]),t.lineEnd(),t.lineStart(),t.point(m[0][0],m[0][1])))}!g||e&&fc(e,p)||t.point(p[0],p[1]),e=p,l=g,n=v},lineEnd:function(){l&&t.lineEnd(),e=null},clean:function(){return c|(u&&l)<<1}}}),(function(e,r,i,a){lc(a,t,n,i,e,r)}),r?[0,-t]:[-ul,t-ul])};function Sc(t,e,n,r){function i(i,a){return t<=i&&i<=n&&e<=a&&a<=r}function a(i,a,s,u){var c=0,h=0;if(null==i||(c=o(i,s))!==(h=o(a,s))||l(i,a)<0^s>0)do{u.point(0===c||3===c?t:n,c>1?r:e)}while((c=(c+s+4)%4)!==h);else u.point(a[0],a[1])}function o(r,i){return gl(r[0]-t)<1e-6?i>0?0:3:gl(r[0]-n)<1e-6?i>0?2:1:gl(r[1]-e)<1e-6?i>0?1:0:i>0?3:2}function s(t,e){return l(t.x,e.x)}function l(t,e){var n=o(t,1),r=o(e,1);return n!==r?n-r:0===n?e[1]-t[1]:1===n?t[0]-e[0]:2===n?t[1]-e[1]:e[0]-t[0]}return function(o){var l,u,c,h,f,d,p,g,v,m,y,_=o,b=hc(),x={point:w,lineStart:function(){x.point=k,u&&u.push(c=[]),m=!0,v=!1,p=g=NaN},lineEnd:function(){l&&(k(h,f),d&&v&&b.rejoin(),l.push(b.result())),x.point=w,v&&_.lineEnd()},polygonStart:function(){_=b,l=[],u=[],y=!0},polygonEnd:function(){var e=function(){for(var e=0,n=0,i=u.length;nr&&(f-a)*(r-o)>(d-o)*(t-a)&&++e:d<=r&&(f-a)*(r-o)<(d-o)*(t-a)&&--e;return e}(),n=y&&e,i=(l=z(l)).length;(n||i)&&(o.polygonStart(),n&&(o.lineStart(),a(null,null,1,o),o.lineEnd()),i&&pc(l,s,e,a,o),o.polygonEnd()),_=o,l=u=c=null}};function w(t,e){i(t,e)&&_.point(t,e)}function k(a,o){var s=i(a,o);if(u&&c.push([a,o]),m)h=a,f=o,d=s,m=!1,s&&(_.lineStart(),_.point(a,o));else if(s&&v)_.point(a,o);else{var l=[p=Math.max(-1e9,Math.min(1e9,p)),g=Math.max(-1e9,Math.min(1e9,g))],b=[a=Math.max(-1e9,Math.min(1e9,a)),o=Math.max(-1e9,Math.min(1e9,o))];!function(t,e,n,r,i,a){var o,s=t[0],l=t[1],u=0,c=1,h=e[0]-s,f=e[1]-l;if(o=n-s,h||!(o>0)){if(o/=h,h<0){if(o0){if(o>c)return;o>u&&(u=o)}if(o=i-s,h||!(o<0)){if(o/=h,h<0){if(o>c)return;o>u&&(u=o)}else if(h>0){if(o0)){if(o/=f,f<0){if(o0){if(o>c)return;o>u&&(u=o)}if(o=a-l,f||!(o<0)){if(o/=f,f<0){if(o>c)return;o>u&&(u=o)}else if(f>0){if(o0&&(t[0]=s+u*h,t[1]=l+u*f),c<1&&(e[0]=s+c*h,e[1]=l+c*f),!0}}}}}(l,b,t,e,n,r)?s&&(_.lineStart(),_.point(a,o),y=!1):(v||(_.lineStart(),_.point(l[0],l[1])),_.point(b[0],b[1]),s||_.lineEnd(),y=!1)}p=a,g=o,v=s}return x}}var Cc,Ac,Tc,Ec=function(){var t,e,n,r=0,i=0,a=960,o=500;return n={stream:function(n){return t&&e===n?t:t=Sc(r,i,a,o)(e=n)},extent:function(s){return arguments.length?(r=+s[0][0],i=+s[0][1],a=+s[1][0],o=+s[1][1],t=e=null,n):[[r,i],[a,o]]}}},Mc=al(),Ic={sphere:Il,point:Il,lineStart:function(){Ic.point=Oc,Ic.lineEnd=Dc},lineEnd:Il,polygonStart:Il,polygonEnd:Il};function Dc(){Ic.point=Ic.lineEnd=Il}function Oc(t,e){Cc=t*=pl,Ac=kl(e*=pl),Tc=yl(e),Ic.point=Pc}function Pc(t,e){t*=pl;var n=kl(e*=pl),r=yl(e),i=gl(t-Cc),a=yl(i),o=r*kl(i),s=Tc*n-Ac*r*a,l=Ac*n+Tc*r*a;Mc.add(ml(Cl(o*o+s*s),l)),Cc=t,Ac=n,Tc=r}var Lc=function(t){return Mc.reset(),jl(t,Ic),+Mc},Rc=[null,null],Nc={type:"LineString",coordinates:Rc},zc=function(t,e){return Rc[0]=t,Rc[1]=e,Lc(Nc)},Fc={Feature:function(t,e){return Vc(t.geometry,e)},FeatureCollection:function(t,e){for(var n=t.features,r=-1,i=n.length;++r0&&(i=zc(t[a],t[a-1]))>0&&n<=i&&r<=i&&(n+r-i)*(1-Math.pow((n-r)/i,2))<1e-12*i)return!0;n=r}return!1}function Hc(t,e){return!!yc(t.map(Uc),Gc(e))}function Uc(t){return(t=t.map(Gc)).pop(),t}function Gc(t){return[t[0]*pl,t[1]*pl]}var qc=function(t,e){return(t&&Fc.hasOwnProperty(t.type)?Fc[t.type]:Vc)(t,e)};function Wc(t,e,n){var r=w(t,e-1e-6,n).concat(e);return function(t){return r.map((function(e){return[t,e]}))}}function Zc(t,e,n){var r=w(t,e-1e-6,n).concat(e);return function(t){return r.map((function(e){return[e,t]}))}}function $c(){var t,e,n,r,i,a,o,s,l,u,c,h,f=10,d=f,p=90,g=360,v=2.5;function m(){return{type:"MultiLineString",coordinates:y()}}function y(){return w(_l(r/p)*p,n,p).map(c).concat(w(_l(s/g)*g,o,g).map(h)).concat(w(_l(e/f)*f,t,f).filter((function(t){return gl(t%p)>1e-6})).map(l)).concat(w(_l(a/d)*d,i,d).filter((function(t){return gl(t%g)>1e-6})).map(u))}return m.lines=function(){return y().map((function(t){return{type:"LineString",coordinates:t}}))},m.outline=function(){return{type:"Polygon",coordinates:[c(r).concat(h(o).slice(1),c(n).reverse().slice(1),h(s).reverse().slice(1))]}},m.extent=function(t){return arguments.length?m.extentMajor(t).extentMinor(t):m.extentMinor()},m.extentMajor=function(t){return arguments.length?(s=+t[0][1],o=+t[1][1],(r=+t[0][0])>(n=+t[1][0])&&(t=r,r=n,n=t),s>o&&(t=s,s=o,o=t),m.precision(v)):[[r,s],[n,o]]},m.extentMinor=function(n){return arguments.length?(a=+n[0][1],i=+n[1][1],(e=+n[0][0])>(t=+n[1][0])&&(n=e,e=t,t=n),a>i&&(n=a,a=i,i=n),m.precision(v)):[[e,a],[t,i]]},m.step=function(t){return arguments.length?m.stepMajor(t).stepMinor(t):m.stepMinor()},m.stepMajor=function(t){return arguments.length?(p=+t[0],g=+t[1],m):[p,g]},m.stepMinor=function(t){return arguments.length?(f=+t[0],d=+t[1],m):[f,d]},m.precision=function(f){return arguments.length?(v=+f,l=Wc(a,i,90),u=Zc(e,t,v),c=Wc(s,o,90),h=Zc(r,n,v),m):v},m.extentMajor([[-180,-89.999999],[180,89.999999]]).extentMinor([[-180,-80.000001],[180,80.000001]])}function Xc(){return $c()()}var Kc,Qc,Jc,th,eh=function(t,e){var n=t[0]*pl,r=t[1]*pl,i=e[0]*pl,a=e[1]*pl,o=yl(r),s=kl(r),l=yl(a),u=kl(a),c=o*yl(n),h=o*kl(n),f=l*yl(i),d=l*kl(i),p=2*El(Cl(Ml(a-r)+o*l*Ml(i-n))),g=kl(p),v=p?function(t){var e=kl(t*=p)/g,n=kl(p-t)/g,r=n*c+e*f,i=n*h+e*d,a=n*s+e*u;return[ml(i,r)*dl,ml(a,Cl(r*r+i*i))*dl]}:function(){return[n*dl,r*dl]};return v.distance=p,v},nh=function(t){return t},rh=al(),ih=al(),ah={point:Il,lineStart:Il,lineEnd:Il,polygonStart:function(){ah.lineStart=oh,ah.lineEnd=uh},polygonEnd:function(){ah.lineStart=ah.lineEnd=ah.point=Il,rh.add(gl(ih)),ih.reset()},result:function(){var t=rh/2;return rh.reset(),t}};function oh(){ah.point=sh}function sh(t,e){ah.point=lh,Kc=Jc=t,Qc=th=e}function lh(t,e){ih.add(th*t-Jc*e),Jc=t,th=e}function uh(){lh(Kc,Qc)}var ch,hh,fh,dh,ph=ah,gh=1/0,vh=gh,mh=-gh,yh=mh,_h={point:function(t,e){tmh&&(mh=t),eyh&&(yh=e)},lineStart:Il,lineEnd:Il,polygonStart:Il,polygonEnd:Il,result:function(){var t=[[gh,vh],[mh,yh]];return mh=yh=-(vh=gh=1/0),t}},bh=0,xh=0,wh=0,kh=0,Sh=0,Ch=0,Ah=0,Th=0,Eh=0,Mh={point:Ih,lineStart:Dh,lineEnd:Lh,polygonStart:function(){Mh.lineStart=Rh,Mh.lineEnd=Nh},polygonEnd:function(){Mh.point=Ih,Mh.lineStart=Dh,Mh.lineEnd=Lh},result:function(){var t=Eh?[Ah/Eh,Th/Eh]:Ch?[kh/Ch,Sh/Ch]:wh?[bh/wh,xh/wh]:[NaN,NaN];return bh=xh=wh=kh=Sh=Ch=Ah=Th=Eh=0,t}};function Ih(t,e){bh+=t,xh+=e,++wh}function Dh(){Mh.point=Oh}function Oh(t,e){Mh.point=Ph,Ih(fh=t,dh=e)}function Ph(t,e){var n=t-fh,r=e-dh,i=Cl(n*n+r*r);kh+=i*(fh+t)/2,Sh+=i*(dh+e)/2,Ch+=i,Ih(fh=t,dh=e)}function Lh(){Mh.point=Ih}function Rh(){Mh.point=zh}function Nh(){Fh(ch,hh)}function zh(t,e){Mh.point=Fh,Ih(ch=fh=t,hh=dh=e)}function Fh(t,e){var n=t-fh,r=e-dh,i=Cl(n*n+r*r);kh+=i*(fh+t)/2,Sh+=i*(dh+e)/2,Ch+=i,Ah+=(i=dh*t-fh*e)*(fh+t),Th+=i*(dh+e),Eh+=3*i,Ih(fh=t,dh=e)}var Bh=Mh;function Vh(t){this._context=t}Vh.prototype={_radius:4.5,pointRadius:function(t){return this._radius=t,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._context.moveTo(t,e),this._point=1;break;case 1:this._context.lineTo(t,e);break;default:this._context.moveTo(t+this._radius,e),this._context.arc(t,e,this._radius,0,fl)}},result:Il};var jh,Yh,Hh,Uh,Gh,qh=al(),Wh={point:Il,lineStart:function(){Wh.point=Zh},lineEnd:function(){jh&&$h(Yh,Hh),Wh.point=Il},polygonStart:function(){jh=!0},polygonEnd:function(){jh=null},result:function(){var t=+qh;return qh.reset(),t}};function Zh(t,e){Wh.point=$h,Yh=Uh=t,Hh=Gh=e}function $h(t,e){qh.add(Cl((Uh-=t)*Uh+(Gh-=e)*Gh)),Uh=t,Gh=e}var Xh=Wh;function Kh(){this._string=[]}function Qh(t){return"m0,"+t+"a"+t+","+t+" 0 1,1 0,"+-2*t+"a"+t+","+t+" 0 1,1 0,"+2*t+"z"}Kh.prototype={_radius:4.5,_circle:Qh(4.5),pointRadius:function(t){return(t=+t)!==this._radius&&(this._radius=t,this._circle=null),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(t,e){switch(this._point){case 0:this._string.push("M",t,",",e),this._point=1;break;case 1:this._string.push("L",t,",",e);break;default:null==this._circle&&(this._circle=Qh(this._radius)),this._string.push("M",t,",",e,this._circle)}},result:function(){if(this._string.length){var t=this._string.join("");return this._string=[],t}return null}};var Jh=function(t,e){var n,r,i=4.5;function a(t){return t&&("function"==typeof i&&r.pointRadius(+i.apply(this,arguments)),jl(t,n(r))),r.result()}return a.area=function(t){return jl(t,n(ph)),ph.result()},a.measure=function(t){return jl(t,n(Xh)),Xh.result()},a.bounds=function(t){return jl(t,n(_h)),_h.result()},a.centroid=function(t){return jl(t,n(Bh)),Bh.result()},a.projection=function(e){return arguments.length?(n=null==e?(t=null,nh):(t=e).stream,a):t},a.context=function(t){return arguments.length?(r=null==t?(e=null,new Kh):new Vh(e=t),"function"!=typeof i&&r.pointRadius(i),a):e},a.pointRadius=function(t){return arguments.length?(i="function"==typeof t?t:(r.pointRadius(+t),+t),a):i},a.projection(t).context(e)},tf=function(t){return{stream:ef(t)}};function ef(t){return function(e){var n=new nf;for(var r in t)n[r]=t[r];return n.stream=e,n}}function nf(){}function rf(t,e,n){var r=t.clipExtent&&t.clipExtent();return t.scale(150).translate([0,0]),null!=r&&t.clipExtent(null),jl(n,t.stream(_h)),e(_h.result()),null!=r&&t.clipExtent(r),t}function af(t,e,n){return rf(t,(function(n){var r=e[1][0]-e[0][0],i=e[1][1]-e[0][1],a=Math.min(r/(n[1][0]-n[0][0]),i/(n[1][1]-n[0][1])),o=+e[0][0]+(r-a*(n[1][0]+n[0][0]))/2,s=+e[0][1]+(i-a*(n[1][1]+n[0][1]))/2;t.scale(150*a).translate([o,s])}),n)}function of(t,e,n){return af(t,[[0,0],e],n)}function sf(t,e,n){return rf(t,(function(n){var r=+e,i=r/(n[1][0]-n[0][0]),a=(r-i*(n[1][0]+n[0][0]))/2,o=-i*n[0][1];t.scale(150*i).translate([a,o])}),n)}function lf(t,e,n){return rf(t,(function(n){var r=+e,i=r/(n[1][1]-n[0][1]),a=-i*n[0][0],o=(r-i*(n[1][1]+n[0][1]))/2;t.scale(150*i).translate([a,o])}),n)}nf.prototype={constructor:nf,point:function(t,e){this.stream.point(t,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var uf=yl(30*pl),cf=function(t,e){return+e?function(t,e){function n(r,i,a,o,s,l,u,c,h,f,d,p,g,v){var m=u-r,y=c-i,_=m*m+y*y;if(_>4*e&&g--){var b=o+f,x=s+d,w=l+p,k=Cl(b*b+x*x+w*w),S=El(w/=k),C=gl(gl(w)-1)<1e-6||gl(a-h)<1e-6?(a+h)/2:ml(x,b),A=t(C,S),T=A[0],E=A[1],M=T-r,I=E-i,D=y*M-m*I;(D*D/_>e||gl((m*M+y*I)/_-.5)>.3||o*f+s*d+l*p2?t[2]%360*pl:0,M()):[v*dl,m*dl,y*dl]},T.angle=function(t){return arguments.length?(_=t%360*pl,M()):_*dl},T.reflectX=function(t){return arguments.length?(b=t?-1:1,M()):b<0},T.reflectY=function(t){return arguments.length?(x=t?-1:1,M()):x<0},T.precision=function(t){return arguments.length?(o=cf(s,A=t*t),I()):Cl(A)},T.fitExtent=function(t,e){return af(T,t,e)},T.fitSize=function(t,e){return of(T,t,e)},T.fitWidth=function(t,e){return sf(T,t,e)},T.fitHeight=function(t,e){return lf(T,t,e)},function(){return e=t.apply(this,arguments),T.invert=e.invert&&E,M()}}function vf(t){var e=0,n=ul/3,r=gf(t),i=r(e,n);return i.parallels=function(t){return arguments.length?r(e=t[0]*pl,n=t[1]*pl):[e*dl,n*dl]},i}function mf(t,e){var n=kl(t),r=(n+kl(e))/2;if(gl(r)<1e-6)return function(t){var e=yl(t);function n(t,n){return[t*e,kl(n)/e]}return n.invert=function(t,n){return[t/e,El(n*e)]},n}(t);var i=1+n*(2*r-n),a=Cl(i)/r;function o(t,e){var n=Cl(i-2*r*kl(e))/r;return[n*kl(t*=r),a-n*yl(t)]}return o.invert=function(t,e){var n=a-e,o=ml(t,gl(n))*Sl(n);return n*r<0&&(o-=ul*Sl(t)*Sl(n)),[o/r,El((i-(t*t+n*n)*r*r)/(2*r))]},o}var yf=function(){return vf(mf).scale(155.424).center([0,33.6442])},_f=function(){return yf().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},bf=function(){var t,e,n,r,i,a,o=_f(),s=yf().rotate([154,0]).center([-2,58.5]).parallels([55,65]),l=yf().rotate([157,0]).center([-3,19.9]).parallels([8,18]),u={point:function(t,e){a=[t,e]}};function c(t){var e=t[0],o=t[1];return a=null,n.point(e,o),a||(r.point(e,o),a)||(i.point(e,o),a)}function h(){return t=e=null,c}return c.invert=function(t){var e=o.scale(),n=o.translate(),r=(t[0]-n[0])/e,i=(t[1]-n[1])/e;return(i>=.12&&i<.234&&r>=-.425&&r<-.214?s:i>=.166&&i<.234&&r>=-.214&&r<-.115?l:o).invert(t)},c.stream=function(n){return t&&e===n?t:(r=[o.stream(e=n),s.stream(n),l.stream(n)],i=r.length,t={point:function(t,e){for(var n=-1;++n0?e<1e-6-cl&&(e=1e-6-cl):e>cl-1e-6&&(e=cl-1e-6);var n=i/wl(If(e),r);return[n*kl(r*t),i-n*yl(r*t)]}return a.invert=function(t,e){var n=i-e,a=Sl(r)*Cl(t*t+n*n),o=ml(t,gl(n))*Sl(n);return n*r<0&&(o-=ul*Sl(t)*Sl(n)),[o/r,2*vl(wl(i/a,1/r))-cl]},a}var Of=function(){return vf(Df).scale(109.5).parallels([30,30])};function Pf(t,e){return[t,e]}Pf.invert=Pf;var Lf=function(){return pf(Pf).scale(152.63)};function Rf(t,e){var n=yl(t),r=t===e?kl(t):(n-yl(e))/(e-t),i=n/r+t;if(gl(r)<1e-6)return Pf;function a(t,e){var n=i-e,a=r*t;return[n*kl(a),i-n*yl(a)]}return a.invert=function(t,e){var n=i-e,a=ml(t,gl(n))*Sl(n);return n*r<0&&(a-=ul*Sl(t)*Sl(n)),[a/r,i-Sl(r)*Cl(t*t+n*n)]},a}var Nf=function(){return vf(Rf).scale(131.154).center([0,13.9389])},zf=1.340264,Ff=-.081106,Bf=893e-6,Vf=.003796,jf=Cl(3)/2;function Yf(t,e){var n=El(jf*kl(e)),r=n*n,i=r*r*r;return[t*yl(n)/(jf*(zf+3*Ff*r+i*(7*Bf+9*Vf*r))),n*(zf+Ff*r+i*(Bf+Vf*r))]}Yf.invert=function(t,e){for(var n,r=e,i=r*r,a=i*i*i,o=0;o<12&&(a=(i=(r-=n=(r*(zf+Ff*i+a*(Bf+Vf*i))-e)/(zf+3*Ff*i+a*(7*Bf+9*Vf*i)))*r)*i*i,!(gl(n)<1e-12));++o);return[jf*t*(zf+3*Ff*i+a*(7*Bf+9*Vf*i))/yl(r),El(kl(r)/jf)]};var Hf=function(){return pf(Yf).scale(177.158)};function Uf(t,e){var n=yl(e),r=yl(t)*n;return[n*kl(t)/r,kl(e)/r]}Uf.invert=wf(vl);var Gf=function(){return pf(Uf).scale(144.049).clipAngle(60)},qf=function(){var t,e,n,r,i,a,o,s=1,l=0,u=0,c=1,h=1,f=0,d=null,p=1,g=1,v=ef({point:function(t,e){var n=_([t,e]);this.stream.point(n[0],n[1])}}),m=nh;function y(){return p=s*c,g=s*h,a=o=null,_}function _(n){var r=n[0]*p,i=n[1]*g;if(f){var a=i*t-r*e;r=r*t+i*e,i=a}return[r+l,i+u]}return _.invert=function(n){var r=n[0]-l,i=n[1]-u;if(f){var a=i*t+r*e;r=r*t-i*e,i=a}return[r/p,i/g]},_.stream=function(t){return a&&o===t?a:a=v(m(o=t))},_.postclip=function(t){return arguments.length?(m=t,d=n=r=i=null,y()):m},_.clipExtent=function(t){return arguments.length?(m=null==t?(d=n=r=i=null,nh):Sc(d=+t[0][0],n=+t[0][1],r=+t[1][0],i=+t[1][1]),y()):null==d?null:[[d,n],[r,i]]},_.scale=function(t){return arguments.length?(s=+t,y()):s},_.translate=function(t){return arguments.length?(l=+t[0],u=+t[1],y()):[l,u]},_.angle=function(n){return arguments.length?(e=kl(f=n%360*pl),t=yl(f),y()):f*dl},_.reflectX=function(t){return arguments.length?(c=t?-1:1,y()):c<0},_.reflectY=function(t){return arguments.length?(h=t?-1:1,y()):h<0},_.fitExtent=function(t,e){return af(_,t,e)},_.fitSize=function(t,e){return of(_,t,e)},_.fitWidth=function(t,e){return sf(_,t,e)},_.fitHeight=function(t,e){return lf(_,t,e)},_};function Wf(t,e){var n=e*e,r=n*n;return[t*(.8707-.131979*n+r*(r*(.003971*n-.001529*r)-.013791)),e*(1.007226+n*(.015085+r*(.028874*n-.044475-.005916*r)))]}Wf.invert=function(t,e){var n,r=e,i=25;do{var a=r*r,o=a*a;r-=n=(r*(1.007226+a*(.015085+o*(.028874*a-.044475-.005916*o)))-e)/(1.007226+a*(.045255+o*(.259866*a-.311325-.005916*11*o)))}while(gl(n)>1e-6&&--i>0);return[t/(.8707+(a=r*r)*(a*(a*a*a*(.003971-.001529*a)-.013791)-.131979)),r]};var Zf=function(){return pf(Wf).scale(175.295)};function $f(t,e){return[yl(e)*kl(t),kl(e)]}$f.invert=wf(El);var Xf=function(){return pf($f).scale(249.5).clipAngle(90.000001)};function Kf(t,e){var n=yl(e),r=1+yl(t)*n;return[n*kl(t)/r,kl(e)/r]}Kf.invert=wf((function(t){return 2*vl(t)}));var Qf=function(){return pf(Kf).scale(250).clipAngle(142)};function Jf(t,e){return[xl(Al((cl+e)/2)),-t]}Jf.invert=function(t,e){return[-e,2*vl(bl(t))-cl]};var td=function(){var t=Mf(Jf),e=t.center,n=t.rotate;return t.center=function(t){return arguments.length?e([-t[1],t[0]]):[(t=e())[1],-t[0]]},t.rotate=function(t){return arguments.length?n([t[0],t[1],t.length>2?t[2]+90:90]):[(t=n())[0],t[1],t[2]-90]},n([0,0,90]).scale(159.155)};function ed(t,e){return t.parent===e.parent?1:2}function nd(t,e){return t+e.x}function rd(t,e){return Math.max(t,e.y)}var id=function(){var t=ed,e=1,n=1,r=!1;function i(i){var a,o=0;i.eachAfter((function(e){var n=e.children;n?(e.x=function(t){return t.reduce(nd,0)/t.length}(n),e.y=function(t){return 1+t.reduce(rd,0)}(n)):(e.x=a?o+=t(e,a):0,e.y=0,a=e)}));var s=function(t){for(var e;e=t.children;)t=e[0];return t}(i),l=function(t){for(var e;e=t.children;)t=e[e.length-1];return t}(i),u=s.x-t(s,l)/2,c=l.x+t(l,s)/2;return i.eachAfter(r?function(t){t.x=(t.x-i.x)*e,t.y=(i.y-t.y)*n}:function(t){t.x=(t.x-u)/(c-u)*e,t.y=(1-(i.y?t.y/i.y:1))*n})}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i};function ad(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function od(t,e){var n,r,i,a,o,s=new cd(t),l=+t.value&&(s.value=t.value),u=[s];for(null==e&&(e=sd);n=u.pop();)if(l&&(n.value=+n.data.value),(i=e(n.data))&&(o=i.length))for(n.children=new Array(o),a=o-1;a>=0;--a)u.push(r=n.children[a]=new cd(i[a])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(ud)}function sd(t){return t.children}function ld(t){t.data=t.data.data}function ud(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function cd(t){this.data=t,this.depth=this.height=0,this.parent=null}cd.prototype=od.prototype={constructor:cd,count:function(){return this.eachAfter(ad)},each:function(t){var e,n,r,i,a=this,o=[a];do{for(e=o.reverse(),o=[];a=e.pop();)if(t(a),n=a.children)for(r=0,i=n.length;r=0;--n)i.push(e[n]);return this},sum:function(t){return this.eachAfter((function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n}))},sort:function(t){return this.eachBefore((function(e){e.children&&e.children.sort(t)}))},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;for(t=n.pop(),e=r.pop();t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)r.push(e=e.parent);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){var t=[];return this.each((function(e){t.push(e)})),t},leaves:function(){var t=[];return this.eachBefore((function(e){e.children||t.push(e)})),t},links:function(){var t=this,e=[];return t.each((function(n){n!==t&&e.push({source:n.parent,target:n})})),e},copy:function(){return od(this).eachBefore(ld)}};var hd=Array.prototype.slice,fd=function(t){for(var e,n,r=0,i=(t=function(t){for(var e,n,r=t.length;r;)n=Math.random()*r--|0,e=t[r],t[r]=t[n],t[n]=e;return t}(hd.call(t))).length,a=[];r0&&n*n>r*r+i*i}function vd(t,e){for(var n=0;n(o*=o)?(r=(u+o-i)/(2*u),a=Math.sqrt(Math.max(0,o/u-r*r)),n.x=t.x-r*s-a*l,n.y=t.y-r*l+a*s):(r=(u+i-o)/(2*u),a=Math.sqrt(Math.max(0,i/u-r*r)),n.x=e.x+r*s-a*l,n.y=e.y+r*l+a*s)):(n.x=e.x+n.r,n.y=e.y)}function xd(t,e){var n=t.r+e.r-1e-6,r=e.x-t.x,i=e.y-t.y;return n>0&&n*n>r*r+i*i}function wd(t){var e=t._,n=t.next._,r=e.r+n.r,i=(e.x*n.r+n.x*e.r)/r,a=(e.y*n.r+n.y*e.r)/r;return i*i+a*a}function kd(t){this._=t,this.next=null,this.previous=null}function Sd(t){if(!(i=t.length))return 0;var e,n,r,i,a,o,s,l,u,c,h;if((e=t[0]).x=0,e.y=0,!(i>1))return e.r;if(e.x=-(n=t[1]).r,n.x=e.r,n.y=0,!(i>2))return e.r+n.r;bd(n,e,r=t[2]),e=new kd(e),n=new kd(n),r=new kd(r),e.next=r.previous=n,n.next=e.previous=r,r.next=n.previous=e;t:for(s=3;s0)throw new Error("cycle");return a}return n.id=function(e){return arguments.length?(t=Td(e),n):t},n.parentId=function(t){return arguments.length?(e=Td(t),n):e},n};function Hd(t,e){return t.parent===e.parent?1:2}function Ud(t){var e=t.children;return e?e[0]:t.t}function Gd(t){var e=t.children;return e?e[e.length-1]:t.t}function qd(t,e,n){var r=n/(e.i-t.i);e.c-=r,e.s+=n,t.c+=r,e.z+=n,e.m+=n}function Wd(t,e,n){return t.a.parent===e.parent?t.a:n}function Zd(t,e){this._=t,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=e}Zd.prototype=Object.create(cd.prototype);var $d=function(){var t=Hd,e=1,n=1,r=null;function i(i){var l=function(t){for(var e,n,r,i,a,o=new Zd(t,0),s=[o];e=s.pop();)if(r=e._.children)for(e.children=new Array(a=r.length),i=a-1;i>=0;--i)s.push(n=e.children[i]=new Zd(r[i],i)),n.parent=e;return(o.parent=new Zd(null,0)).children=[o],o}(i);if(l.eachAfter(a),l.parent.m=-l.z,l.eachBefore(o),r)i.eachBefore(s);else{var u=i,c=i,h=i;i.eachBefore((function(t){t.xc.x&&(c=t),t.depth>h.depth&&(h=t)}));var f=u===c?1:t(u,c)/2,d=f-u.x,p=e/(c.x+f+d),g=n/(h.depth||1);i.eachBefore((function(t){t.x=(t.x+d)*p,t.y=t.depth*g}))}return i}function a(e){var n=e.children,r=e.parent.children,i=e.i?r[e.i-1]:null;if(n){!function(t){for(var e,n=0,r=0,i=t.children,a=i.length;--a>=0;)(e=i[a]).z+=n,e.m+=n,n+=e.s+(r+=e.c)}(e);var a=(n[0].z+n[n.length-1].z)/2;i?(e.z=i.z+t(e._,i._),e.m=e.z-a):e.z=a}else i&&(e.z=i.z+t(e._,i._));e.parent.A=function(e,n,r){if(n){for(var i,a=e,o=e,s=n,l=a.parent.children[0],u=a.m,c=o.m,h=s.m,f=l.m;s=Gd(s),a=Ud(a),s&&a;)l=Ud(l),(o=Gd(o)).a=e,(i=s.z+h-a.z-u+t(s._,a._))>0&&(qd(Wd(s,e,r),e,i),u+=i,c+=i),h+=s.m,u+=a.m,f+=l.m,c+=o.m;s&&!Gd(o)&&(o.t=s,o.m+=h-c),a&&!Ud(l)&&(l.t=a,l.m+=u-f,r=e)}return r}(e,i,e.parent.A||r[0])}function o(t){t._.x=t.z+t.parent.m,t.m+=t.parent.m}function s(t){t.x*=e,t.y=t.depth*n}return i.separation=function(e){return arguments.length?(t=e,i):t},i.size=function(t){return arguments.length?(r=!1,e=+t[0],n=+t[1],i):r?null:[e,n]},i.nodeSize=function(t){return arguments.length?(r=!0,e=+t[0],n=+t[1],i):r?[e,n]:null},i},Xd=function(t,e,n,r,i){for(var a,o=t.children,s=-1,l=o.length,u=t.value&&(i-n)/t.value;++sf&&(f=s),v=c*c*g,(d=Math.max(f/v,v/h))>p){c-=s;break}p=d}m.push(o={value:c,dice:l1?e:1)},n}(Kd),tp=function(){var t=Jd,e=!1,n=1,r=1,i=[0],a=Ed,o=Ed,s=Ed,l=Ed,u=Ed;function c(t){return t.x0=t.y0=0,t.x1=n,t.y1=r,t.eachBefore(h),i=[0],e&&t.eachBefore(Rd),t}function h(e){var n=i[e.depth],r=e.x0+n,c=e.y0+n,h=e.x1-n,f=e.y1-n;h=n-1){var c=s[e];return c.x0=i,c.y0=a,c.x1=o,void(c.y1=l)}for(var h=u[e],f=r/2+h,d=e+1,p=n-1;d>>1;u[g]l-a){var y=(i*m+o*v)/r;t(e,d,v,i,a,y,l),t(d,n,m,y,a,o,l)}else{var _=(a*m+l*v)/r;t(e,d,v,i,a,o,_),t(d,n,m,i,_,o,l)}}(0,l,t.value,e,n,r,i)},np=function(t,e,n,r,i){(1&t.depth?Xd:Nd)(t,e,n,r,i)},rp=function t(e){function n(t,n,r,i,a){if((o=t._squarify)&&o.ratio===e)for(var o,s,l,u,c,h=-1,f=o.length,d=t.value;++h1?e:1)},n}(Kd),ip=function(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}},ap=function(t,e){var n=un(+t,+e);return function(t){var e=n(t);return e-360*Math.floor(e/360)}},op=function(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}},sp=Math.SQRT2;function lp(t){return((t=Math.exp(t))+1/t)/2}var up=function(t,e){var n,r,i=t[0],a=t[1],o=t[2],s=e[2],l=e[0]-i,u=e[1]-a,c=l*l+u*u;if(c<1e-12)r=Math.log(s/o)/sp,n=function(t){return[i+t*l,a+t*u,o*Math.exp(sp*t*r)]};else{var h=Math.sqrt(c),f=(s*s-o*o+4*c)/(2*o*2*h),d=(s*s-o*o-4*c)/(2*s*2*h),p=Math.log(Math.sqrt(f*f+1)-f),g=Math.log(Math.sqrt(d*d+1)-d);r=(g-p)/sp,n=function(t){var e,n=t*r,s=lp(p),c=o/(2*h)*(s*(e=sp*n+p,((e=Math.exp(2*e))-1)/(e+1))-function(t){return((t=Math.exp(t))-1/t)/2}(p));return[i+c*l,a+c*u,o*s/lp(sp*n+p)]}}return n.duration=1e3*r,n};function cp(t){return function(e,n){var r=t((e=tn(e)).h,(n=tn(n)).h),i=cn(e.s,n.s),a=cn(e.l,n.l),o=cn(e.opacity,n.opacity);return function(t){return e.h=r(t),e.s=i(t),e.l=a(t),e.opacity=o(t),e+""}}}var hp=cp(un),fp=cp(cn);function dp(t,e){var n=cn((t=da(t)).l,(e=da(e)).l),r=cn(t.a,e.a),i=cn(t.b,e.b),a=cn(t.opacity,e.opacity);return function(e){return t.l=n(e),t.a=r(e),t.b=i(e),t.opacity=a(e),t+""}}function pp(t){return function(e,n){var r=t((e=xa(e)).h,(n=xa(n)).h),i=cn(e.c,n.c),a=cn(e.l,n.l),o=cn(e.opacity,n.opacity);return function(t){return e.h=r(t),e.c=i(t),e.l=a(t),e.opacity=o(t),e+""}}}var gp=pp(un),vp=pp(cn);function mp(t){return function e(n){function r(e,r){var i=t((e=Ma(e)).h,(r=Ma(r)).h),a=cn(e.s,r.s),o=cn(e.l,r.l),s=cn(e.opacity,r.opacity);return function(t){return e.h=i(t),e.s=a(t),e.l=o(Math.pow(t,n)),e.opacity=s(t),e+""}}return n=+n,r.gamma=e,r}(1)}var yp=mp(un),_p=mp(cn);function bp(t,e){for(var n=0,r=e.length-1,i=e[0],a=new Array(r<0?0:r);n1&&((n=t[a[o-1]])[0]-(e=t[a[o-2]])[0])*((r=t[s])[1]-e[1])-(n[1]-e[1])*(r[0]-e[0])<=0;)--o;a[o++]=s}return a.slice(0,o)}var Ap=function(t){if((n=t.length)<3)return null;var e,n,r=new Array(n),i=new Array(n);for(e=0;e=0;--e)u.push(t[r[a[e]][2]]);for(e=+s;es!=u>s&&o<(l-n)*(s-r)/(u-r)+n&&(c=!c),l=n,u=r;return c},Ep=function(t){for(var e,n,r=-1,i=t.length,a=t[i-1],o=a[0],s=a[1],l=0;++r1);return t+n*a*Math.sqrt(-2*Math.log(i)/i)}}return n.source=t,n}(Mp),Op=function t(e){function n(){var t=Dp.source(e).apply(this,arguments);return function(){return Math.exp(t())}}return n.source=t,n}(Mp),Pp=function t(e){function n(t){return function(){for(var n=0,r=0;rr&&(e=n,n=r,r=e),function(t){return Math.max(n,Math.min(r,t))}}function Kp(t,e,n){var r=t[0],i=t[1],a=e[0],o=e[1];return i2?Qp:Kp,i=a=null,h}function h(e){return isNaN(e=+e)?n:(i||(i=r(o.map(t),s,l)))(t(u(e)))}return h.invert=function(n){return u(e((a||(a=r(s,o.map(t),wn)))(n)))},h.domain=function(t){return arguments.length?(o=Bp.call(t,qp),u===Zp||(u=Xp(o)),c()):o.slice()},h.range=function(t){return arguments.length?(s=Vp.call(t),c()):s.slice()},h.rangeRound=function(t){return s=Vp.call(t),l=op,c()},h.clamp=function(t){return arguments.length?(u=t?Xp(o):Zp,h):u!==Zp},h.interpolate=function(t){return arguments.length?(l=t,c()):l},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,r){return t=n,e=r,c()}}function eg(t,e){return tg()(t,e)}var ng=function(t,e,n,r){var i,a=E(t,e,n);switch((r=Hs(null==r?",f":r)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=rl(a,o))||(r.precision=i),Zs(r,o);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=il(a,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=nl(a))||(r.precision=i-2*("%"===r.type))}return Ws(r)};function rg(t){var e=t.domain;return t.ticks=function(t){var n=e();return A(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return ng(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i=e(),a=0,o=i.length-1,s=i[a],l=i[o];return l0?r=T(s=Math.floor(s/r)*r,l=Math.ceil(l/r)*r,n):r<0&&(r=T(s=Math.ceil(s*r)/r,l=Math.floor(l*r)/r,n)),r>0?(i[a]=Math.floor(s/r)*r,i[o]=Math.ceil(l/r)*r,e(i)):r<0&&(i[a]=Math.ceil(s*r)/r,i[o]=Math.floor(l*r)/r,e(i)),t},t}function ig(){var t=eg(Zp,Zp);return t.copy=function(){return Jp(t,ig())},Np.apply(t,arguments),rg(t)}function ag(t){var e;function n(t){return isNaN(t=+t)?e:t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Bp.call(e,qp),n):t.slice()},n.unknown=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return ag(t).unknown(e)},t=arguments.length?Bp.call(t,qp):[0,1],rg(n)}var og=function(t,e){var n,r=0,i=(t=t.slice()).length-1,a=t[r],o=t[i];return o0){for(;fl)break;g.push(h)}}else for(;f=1;--c)if(!((h=u*c)l)break;g.push(h)}}else g=A(f,d,Math.min(d-f,p)).map(n);return r?g.reverse():g},r.tickFormat=function(t,i){if(null==i&&(i=10===a?".0e":","),"function"!=typeof i&&(i=Ws(i)),t===1/0)return i;null==t&&(t=10);var o=Math.max(1,a*t/r.ticks().length);return function(t){var r=t/n(Math.round(e(t)));return r*a0?i[r-1]:e[0],r=r?[i[r-1],n]:[i[o-1],i[o]]},o.unknown=function(e){return arguments.length?(t=e,o):o},o.thresholds=function(){return i.slice()},o.copy=function(){return Ag().domain([e,n]).range(a).unknown(t)},Np.apply(rg(o),arguments)}function Tg(){var t,e=[.5],n=[0,1],r=1;function i(i){return i<=i?n[l(e,i,0,r)]:t}return i.domain=function(t){return arguments.length?(e=Vp.call(t),r=Math.min(e.length,n.length-1),i):e.slice()},i.range=function(t){return arguments.length?(n=Vp.call(t),r=Math.min(e.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return Tg().domain(e).range(n).unknown(t)},Np.apply(i,arguments)}var Eg=new Date,Mg=new Date;function Ig(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e0))return s;do{s.push(o=new Date(+n)),e(n,a),t(n)}while(o=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return Eg.setTime(+e),Mg.setTime(+r),t(Eg),t(Mg),Math.floor(n(Eg,Mg))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var Dg=Ig((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));Dg.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ig((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};var Og=Dg,Pg=Dg.range,Lg=Ig((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()})),Rg=Lg,Ng=Lg.range;function zg(t){return Ig((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/6048e5}))}var Fg=zg(0),Bg=zg(1),Vg=zg(2),jg=zg(3),Yg=zg(4),Hg=zg(5),Ug=zg(6),Gg=Fg.range,qg=Bg.range,Wg=Vg.range,Zg=jg.range,$g=Yg.range,Xg=Hg.range,Kg=Ug.range,Qg=Ig((function(t){t.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+e)}),(function(t,e){return(e-t-6e4*(e.getTimezoneOffset()-t.getTimezoneOffset()))/864e5}),(function(t){return t.getDate()-1})),Jg=Qg,tv=Qg.range,ev=Ig((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())}),(function(t,e){t.setTime(+t+36e5*e)}),(function(t,e){return(e-t)/36e5}),(function(t){return t.getHours()})),nv=ev,rv=ev.range,iv=Ig((function(t){t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())}),(function(t,e){t.setTime(+t+6e4*e)}),(function(t,e){return(e-t)/6e4}),(function(t){return t.getMinutes()})),av=iv,ov=iv.range,sv=Ig((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+1e3*e)}),(function(t,e){return(e-t)/1e3}),(function(t){return t.getUTCSeconds()})),lv=sv,uv=sv.range,cv=Ig((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));cv.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ig((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):cv:null};var hv=cv,fv=cv.range;function dv(t){return Ig((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/6048e5}))}var pv=dv(0),gv=dv(1),vv=dv(2),mv=dv(3),yv=dv(4),_v=dv(5),bv=dv(6),xv=pv.range,wv=gv.range,kv=vv.range,Sv=mv.range,Cv=yv.range,Av=_v.range,Tv=bv.range,Ev=Ig((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/864e5}),(function(t){return t.getUTCDate()-1})),Mv=Ev,Iv=Ev.range,Dv=Ig((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));Dv.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ig((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};var Ov=Dv,Pv=Dv.range;function Lv(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Rv(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Nv(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function zv(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,a=t.days,o=t.shortDays,s=t.months,l=t.shortMonths,u=$v(i),c=Xv(i),h=$v(a),f=Xv(a),d=$v(o),p=Xv(o),g=$v(s),v=Xv(s),m=$v(l),y=Xv(l),_={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return l[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:mm,e:mm,f:wm,H:ym,I:_m,j:bm,L:xm,m:km,M:Sm,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Qm,s:Jm,S:Cm,u:Am,U:Tm,V:Em,w:Mm,W:Im,x:null,X:null,y:Dm,Y:Om,Z:Pm,"%":Km},b={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Lm,e:Lm,f:Bm,H:Rm,I:Nm,j:zm,L:Fm,m:Vm,M:jm,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Qm,s:Jm,S:Ym,u:Hm,U:Um,V:Gm,w:qm,W:Wm,x:null,X:null,y:Zm,Y:$m,Z:Xm,"%":Km},x={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=p[r[0].toLowerCase()],n+r[0].length):-1},A:function(t,e,n){var r=h.exec(e.slice(n));return r?(t.w=f[r[0].toLowerCase()],n+r[0].length):-1},b:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=y[r[0].toLowerCase()],n+r[0].length):-1},B:function(t,e,n){var r=g.exec(e.slice(n));return r?(t.m=v[r[0].toLowerCase()],n+r[0].length):-1},c:function(t,n,r){return S(t,e,n,r)},d:sm,e:sm,f:dm,H:um,I:um,j:lm,L:fm,m:om,M:cm,p:function(t,e,n){var r=u.exec(e.slice(n));return r?(t.p=c[r[0].toLowerCase()],n+r[0].length):-1},q:am,Q:gm,s:vm,S:hm,u:Qv,U:Jv,V:tm,w:Kv,W:em,x:function(t,e,r){return S(t,n,e,r)},X:function(t,e,n){return S(t,r,e,n)},y:rm,Y:nm,Z:im,"%":pm};function w(t,e){return function(n){var r,i,a,o=[],s=-1,l=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++s53)return null;"w"in a||(a.w=1),"Z"in a?(i=(r=Rv(Nv(a.y,0,1))).getUTCDay(),r=i>4||0===i?gv.ceil(r):gv(r),r=Mv.offset(r,7*(a.V-1)),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(i=(r=Lv(Nv(a.y,0,1))).getDay(),r=i>4||0===i?Bg.ceil(r):Bg(r),r=Jg.offset(r,7*(a.V-1)),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),i="Z"in a?Rv(Nv(a.y,0,1)).getUTCDay():Lv(Nv(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,Rv(a)):Lv(a)}}function S(t,e,n,r){for(var i,a,o=0,s=e.length,l=n.length;o=l)return-1;if(37===(i=e.charCodeAt(o++))){if(i=e.charAt(o++),!(a=x[i in Hv?e.charAt(o++):i])||(r=a(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return _.x=w(n,_),_.X=w(r,_),_.c=w(e,_),b.x=w(n,b),b.X=w(r,b),b.c=w(e,b),{format:function(t){var e=w(t+="",_);return e.toString=function(){return t},e},parse:function(t){var e=k(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},utcParse:function(t){var e=k(t+="",!0);return e.toString=function(){return t},e}}}var Fv,Bv,Vv,jv,Yv,Hv={"-":"",_:" ",0:"0"},Uv=/^\s*\d+/,Gv=/^%/,qv=/[\\^$*+?|[\]().{}]/g;function Wv(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",a=i.length;return r+(a68?1900:2e3),n+r[0].length):-1}function im(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function am(t,e,n){var r=Uv.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function om(t,e,n){var r=Uv.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function sm(t,e,n){var r=Uv.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function lm(t,e,n){var r=Uv.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function um(t,e,n){var r=Uv.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function cm(t,e,n){var r=Uv.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function hm(t,e,n){var r=Uv.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function fm(t,e,n){var r=Uv.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function dm(t,e,n){var r=Uv.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function pm(t,e,n){var r=Gv.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function gm(t,e,n){var r=Uv.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function vm(t,e,n){var r=Uv.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function mm(t,e){return Wv(t.getDate(),e,2)}function ym(t,e){return Wv(t.getHours(),e,2)}function _m(t,e){return Wv(t.getHours()%12||12,e,2)}function bm(t,e){return Wv(1+Jg.count(Og(t),t),e,3)}function xm(t,e){return Wv(t.getMilliseconds(),e,3)}function wm(t,e){return xm(t,e)+"000"}function km(t,e){return Wv(t.getMonth()+1,e,2)}function Sm(t,e){return Wv(t.getMinutes(),e,2)}function Cm(t,e){return Wv(t.getSeconds(),e,2)}function Am(t){var e=t.getDay();return 0===e?7:e}function Tm(t,e){return Wv(Fg.count(Og(t)-1,t),e,2)}function Em(t,e){var n=t.getDay();return t=n>=4||0===n?Yg(t):Yg.ceil(t),Wv(Yg.count(Og(t),t)+(4===Og(t).getDay()),e,2)}function Mm(t){return t.getDay()}function Im(t,e){return Wv(Bg.count(Og(t)-1,t),e,2)}function Dm(t,e){return Wv(t.getFullYear()%100,e,2)}function Om(t,e){return Wv(t.getFullYear()%1e4,e,4)}function Pm(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+Wv(e/60|0,"0",2)+Wv(e%60,"0",2)}function Lm(t,e){return Wv(t.getUTCDate(),e,2)}function Rm(t,e){return Wv(t.getUTCHours(),e,2)}function Nm(t,e){return Wv(t.getUTCHours()%12||12,e,2)}function zm(t,e){return Wv(1+Mv.count(Ov(t),t),e,3)}function Fm(t,e){return Wv(t.getUTCMilliseconds(),e,3)}function Bm(t,e){return Fm(t,e)+"000"}function Vm(t,e){return Wv(t.getUTCMonth()+1,e,2)}function jm(t,e){return Wv(t.getUTCMinutes(),e,2)}function Ym(t,e){return Wv(t.getUTCSeconds(),e,2)}function Hm(t){var e=t.getUTCDay();return 0===e?7:e}function Um(t,e){return Wv(pv.count(Ov(t)-1,t),e,2)}function Gm(t,e){var n=t.getUTCDay();return t=n>=4||0===n?yv(t):yv.ceil(t),Wv(yv.count(Ov(t),t)+(4===Ov(t).getUTCDay()),e,2)}function qm(t){return t.getUTCDay()}function Wm(t,e){return Wv(gv.count(Ov(t)-1,t),e,2)}function Zm(t,e){return Wv(t.getUTCFullYear()%100,e,2)}function $m(t,e){return Wv(t.getUTCFullYear()%1e4,e,4)}function Xm(){return"+0000"}function Km(){return"%"}function Qm(t){return+t}function Jm(t){return Math.floor(+t/1e3)}function ty(t){return Fv=zv(t),Bv=Fv.format,Vv=Fv.parse,jv=Fv.utcFormat,Yv=Fv.utcParse,Fv}function ey(t){return new Date(t)}function ny(t){return t instanceof Date?+t:+new Date(+t)}function ry(t,e,n,r,a,o,s,l,u){var c=eg(Zp,Zp),h=c.invert,f=c.domain,d=u(".%L"),p=u(":%S"),g=u("%I:%M"),v=u("%I %p"),m=u("%a %d"),y=u("%b %d"),_=u("%B"),b=u("%Y"),x=[[s,1,1e3],[s,5,5e3],[s,15,15e3],[s,30,3e4],[o,1,6e4],[o,5,3e5],[o,15,9e5],[o,30,18e5],[a,1,36e5],[a,3,108e5],[a,6,216e5],[a,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function w(i){return(s(i)1)&&(t-=Math.floor(t));var e=Math.abs(t-.5);return G_.h=360*t-100,G_.s=1.5-1.5*e,G_.l=.8-.9*e,G_+""},W_=We(),Z_=Math.PI/3,$_=2*Math.PI/3,X_=function(t){var e;return t=(.5-t)*Math.PI,W_.r=255*(e=Math.sin(t))*e,W_.g=255*(e=Math.sin(t+Z_))*e,W_.b=255*(e=Math.sin(t+$_))*e,W_+""},K_=function(t){return t=Math.max(0,Math.min(1,t)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+t*(1172.33-t*(10793.56-t*(33300.12-t*(38394.49-14825.05*t)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+t*(557.33+t*(1225.33-t*(3574.96-t*(1073.77+707.56*t)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+t*(3211.1-t*(15327.97-t*(27814-t*(22569.18-6838.66*t)))))))+")"};function Q_(t){var e=t.length;return function(n){return t[Math.max(0,Math.min(e-1,Math.floor(n*e)))]}}var J_=Q_(My("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),tb=Q_(My("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),eb=Q_(My("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),nb=Q_(My("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),rb=function(t){return we(ne(t).call(document.documentElement))},ib=0;function ab(){return new ob}function ob(){this._="@"+(++ib).toString(36)}ob.prototype=ab.prototype={constructor:ob,get:function(t){for(var e=this._;!(e in t);)if(!(t=t.parentNode))return;return t[e]},set:function(t,e){return t[this._]=e},remove:function(t){return this._ in t&&delete t[this._]},toString:function(){return this._}};var sb=function(t){return"string"==typeof t?new _e([document.querySelectorAll(t)],[document.documentElement]):new _e([null==t?[]:t],ye)},lb=function(t,e){null==e&&(e=En().touches);for(var n=0,r=e?e.length:0,i=new Array(r);n1?0:t<-1?mb:Math.acos(t)}function xb(t){return t>=1?yb:t<=-1?-yb:Math.asin(t)}function wb(t){return t.innerRadius}function kb(t){return t.outerRadius}function Sb(t){return t.startAngle}function Cb(t){return t.endAngle}function Ab(t){return t&&t.padAngle}function Tb(t,e,n,r,i,a,o,s){var l=n-t,u=r-e,c=o-i,h=s-a,f=h*l-c*u;if(!(f*f<1e-12))return[t+(f=(c*(e-a)-h*(t-i))/f)*l,e+f*u]}function Eb(t,e,n,r,i,a,o){var s=t-n,l=e-r,u=(o?a:-a)/vb(s*s+l*l),c=u*l,h=-u*s,f=t+c,d=e+h,p=n+c,g=r+h,v=(f+p)/2,m=(d+g)/2,y=p-f,_=g-d,b=y*y+_*_,x=i-a,w=f*g-p*d,k=(_<0?-1:1)*vb(db(0,x*x*b-w*w)),S=(w*_-y*k)/b,C=(-w*y-_*k)/b,A=(w*_+y*k)/b,T=(-w*y+_*k)/b,E=S-v,M=C-m,I=A-v,D=T-m;return E*E+M*M>I*I+D*D&&(S=A,C=T),{cx:S,cy:C,x01:-c,y01:-h,x11:S*(i/x-1),y11:C*(i/x-1)}}var Mb=function(){var t=wb,e=kb,n=ub(0),r=null,i=Sb,a=Cb,o=Ab,s=null;function l(){var l,u,c=+t.apply(this,arguments),h=+e.apply(this,arguments),f=i.apply(this,arguments)-yb,d=a.apply(this,arguments)-yb,p=cb(d-f),g=d>f;if(s||(s=l=ji()),h1e-12)if(p>_b-1e-12)s.moveTo(h*fb(f),h*gb(f)),s.arc(0,0,h,f,d,!g),c>1e-12&&(s.moveTo(c*fb(d),c*gb(d)),s.arc(0,0,c,d,f,g));else{var v,m,y=f,_=d,b=f,x=d,w=p,k=p,S=o.apply(this,arguments)/2,C=S>1e-12&&(r?+r.apply(this,arguments):vb(c*c+h*h)),A=pb(cb(h-c)/2,+n.apply(this,arguments)),T=A,E=A;if(C>1e-12){var M=xb(C/c*gb(S)),I=xb(C/h*gb(S));(w-=2*M)>1e-12?(b+=M*=g?1:-1,x-=M):(w=0,b=x=(f+d)/2),(k-=2*I)>1e-12?(y+=I*=g?1:-1,_-=I):(k=0,y=_=(f+d)/2)}var D=h*fb(y),O=h*gb(y),P=c*fb(x),L=c*gb(x);if(A>1e-12){var R,N=h*fb(_),z=h*gb(_),F=c*fb(b),B=c*gb(b);if(p1e-12?E>1e-12?(v=Eb(F,B,D,O,h,E,g),m=Eb(N,z,P,L,h,E,g),s.moveTo(v.cx+v.x01,v.cy+v.y01),E1e-12&&w>1e-12?T>1e-12?(v=Eb(P,L,N,z,c,-T,g),m=Eb(D,O,F,B,c,-T,g),s.lineTo(v.cx+v.x01,v.cy+v.y01),T=c;--h)s.point(v[h],m[h]);s.lineEnd(),s.areaEnd()}g&&(v[u]=+t(f,u,l),m[u]=+n(f,u,l),s.point(e?+e(f,u,l):v[u],r?+r(f,u,l):m[u]))}if(d)return s=null,d+""||null}function u(){return Lb().defined(i).curve(o).context(a)}return l.x=function(n){return arguments.length?(t="function"==typeof n?n:ub(+n),e=null,l):t},l.x0=function(e){return arguments.length?(t="function"==typeof e?e:ub(+e),l):t},l.x1=function(t){return arguments.length?(e=null==t?null:"function"==typeof t?t:ub(+t),l):e},l.y=function(t){return arguments.length?(n="function"==typeof t?t:ub(+t),r=null,l):n},l.y0=function(t){return arguments.length?(n="function"==typeof t?t:ub(+t),l):n},l.y1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:ub(+t),l):r},l.lineX0=l.lineY0=function(){return u().x(t).y(n)},l.lineY1=function(){return u().x(t).y(r)},l.lineX1=function(){return u().x(e).y(n)},l.defined=function(t){return arguments.length?(i="function"==typeof t?t:ub(!!t),l):i},l.curve=function(t){return arguments.length?(o=t,null!=a&&(s=o(a)),l):o},l.context=function(t){return arguments.length?(null==t?a=s=null:s=o(a=t),l):a},l},Nb=function(t,e){return et?1:e>=t?0:NaN},zb=function(t){return t},Fb=function(){var t=zb,e=Nb,n=null,r=ub(0),i=ub(_b),a=ub(0);function o(o){var s,l,u,c,h,f=o.length,d=0,p=new Array(f),g=new Array(f),v=+r.apply(this,arguments),m=Math.min(_b,Math.max(-_b,i.apply(this,arguments)-v)),y=Math.min(Math.abs(m)/f,a.apply(this,arguments)),_=y*(m<0?-1:1);for(s=0;s0&&(d+=h);for(null!=e?p.sort((function(t,n){return e(g[t],g[n])})):null!=n&&p.sort((function(t,e){return n(o[t],o[e])})),s=0,u=d?(m-f*_)/d:0;s0?h*u:0)+_,padAngle:y};return g}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:ub(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,n=null,o):e},o.sort=function(t){return arguments.length?(n=t,e=null,o):n},o.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:ub(+t),o):r},o.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:ub(+t),o):i},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:ub(+t),o):a},o},Bb=jb(Db);function Vb(t){this._curve=t}function jb(t){function e(e){return new Vb(t(e))}return e._curve=t,e}function Yb(t){var e=t.curve;return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t.curve=function(t){return arguments.length?e(jb(t)):e()._curve},t}Vb.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(t,e){this._curve.point(e*Math.sin(t),e*-Math.cos(t))}};var Hb=function(){return Yb(Lb().curve(Bb))},Ub=function(){var t=Rb().curve(Bb),e=t.curve,n=t.lineX0,r=t.lineX1,i=t.lineY0,a=t.lineY1;return t.angle=t.x,delete t.x,t.startAngle=t.x0,delete t.x0,t.endAngle=t.x1,delete t.x1,t.radius=t.y,delete t.y,t.innerRadius=t.y0,delete t.y0,t.outerRadius=t.y1,delete t.y1,t.lineStartAngle=function(){return Yb(n())},delete t.lineX0,t.lineEndAngle=function(){return Yb(r())},delete t.lineX1,t.lineInnerRadius=function(){return Yb(i())},delete t.lineY0,t.lineOuterRadius=function(){return Yb(a())},delete t.lineY1,t.curve=function(t){return arguments.length?e(jb(t)):e()._curve},t},Gb=function(t,e){return[(e=+e)*Math.cos(t-=Math.PI/2),e*Math.sin(t)]},qb=Array.prototype.slice;function Wb(t){return t.source}function Zb(t){return t.target}function $b(t){var e=Wb,n=Zb,r=Ob,i=Pb,a=null;function o(){var o,s=qb.call(arguments),l=e.apply(this,s),u=n.apply(this,s);if(a||(a=o=ji()),t(a,+r.apply(this,(s[0]=l,s)),+i.apply(this,s),+r.apply(this,(s[0]=u,s)),+i.apply(this,s)),o)return a=null,o+""||null}return o.source=function(t){return arguments.length?(e=t,o):e},o.target=function(t){return arguments.length?(n=t,o):n},o.x=function(t){return arguments.length?(r="function"==typeof t?t:ub(+t),o):r},o.y=function(t){return arguments.length?(i="function"==typeof t?t:ub(+t),o):i},o.context=function(t){return arguments.length?(a=null==t?null:t,o):a},o}function Xb(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e=(e+r)/2,n,e,i,r,i)}function Kb(t,e,n,r,i){t.moveTo(e,n),t.bezierCurveTo(e,n=(n+i)/2,r,n,r,i)}function Qb(t,e,n,r,i){var a=Gb(e,n),o=Gb(e,n=(n+i)/2),s=Gb(r,n),l=Gb(r,i);t.moveTo(a[0],a[1]),t.bezierCurveTo(o[0],o[1],s[0],s[1],l[0],l[1])}function Jb(){return $b(Xb)}function tx(){return $b(Kb)}function ex(){var t=$b(Qb);return t.angle=t.x,delete t.x,t.radius=t.y,delete t.y,t}var nx={draw:function(t,e){var n=Math.sqrt(e/mb);t.moveTo(n,0),t.arc(0,0,n,0,_b)}},rx={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},ix=Math.sqrt(1/3),ax=2*ix,ox={draw:function(t,e){var n=Math.sqrt(e/ax),r=n*ix;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},sx=Math.sin(mb/10)/Math.sin(7*mb/10),lx=Math.sin(_b/10)*sx,ux=-Math.cos(_b/10)*sx,cx={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=lx*n,i=ux*n;t.moveTo(0,-n),t.lineTo(r,i);for(var a=1;a<5;++a){var o=_b*a/5,s=Math.cos(o),l=Math.sin(o);t.lineTo(l*n,-s*n),t.lineTo(s*r-l*i,l*r+s*i)}t.closePath()}},hx={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},fx=Math.sqrt(3),dx={draw:function(t,e){var n=-Math.sqrt(e/(3*fx));t.moveTo(0,2*n),t.lineTo(-fx*n,-n),t.lineTo(fx*n,-n),t.closePath()}},px=Math.sqrt(3)/2,gx=1/Math.sqrt(12),vx=3*(gx/2+1),mx={draw:function(t,e){var n=Math.sqrt(e/vx),r=n/2,i=n*gx,a=r,o=n*gx+n,s=-a,l=o;t.moveTo(r,i),t.lineTo(a,o),t.lineTo(s,l),t.lineTo(-.5*r-px*i,px*r+-.5*i),t.lineTo(-.5*a-px*o,px*a+-.5*o),t.lineTo(-.5*s-px*l,px*s+-.5*l),t.lineTo(-.5*r+px*i,-.5*i-px*r),t.lineTo(-.5*a+px*o,-.5*o-px*a),t.lineTo(-.5*s+px*l,-.5*l-px*s),t.closePath()}},yx=[nx,rx,ox,hx,cx,dx,mx],_x=function(){var t=ub(nx),e=ub(64),n=null;function r(){var r;if(n||(n=r=ji()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return r.type=function(e){return arguments.length?(t="function"==typeof e?e:ub(e),r):t},r.size=function(t){return arguments.length?(e="function"==typeof t?t:ub(+t),r):e},r.context=function(t){return arguments.length?(n=null==t?null:t,r):n},r},bx=function(){};function xx(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function wx(t){this._context=t}wx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:xx(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:xx(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var kx=function(t){return new wx(t)};function Sx(t){this._context=t}Sx.prototype={areaStart:bx,areaEnd:bx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:xx(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var Cx=function(t){return new Sx(t)};function Ax(t){this._context=t}Ax.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:xx(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};var Tx=function(t){return new Ax(t)};function Ex(t,e){this._basis=new wx(t),this._beta=e}Ex.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var r,i=t[0],a=e[0],o=t[n]-i,s=e[n]-a,l=-1;++l<=n;)this._basis.point(this._beta*t[l]+(1-this._beta)*(i+(r=l/n)*o),this._beta*e[l]+(1-this._beta)*(a+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};var Mx=function t(e){function n(t){return 1===e?new wx(t):new Ex(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function Ix(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function Dx(t,e){this._context=t,this._k=(1-e)/6}Dx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Ix(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Ix(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Ox=function t(e){function n(t){return new Dx(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Px(t,e){this._context=t,this._k=(1-e)/6}Px.prototype={areaStart:bx,areaEnd:bx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Ix(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Lx=function t(e){function n(t){return new Px(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Rx(t,e){this._context=t,this._k=(1-e)/6}Rx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Ix(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Nx=function t(e){function n(t){return new Rx(t,e)}return n.tension=function(e){return t(+e)},n}(0);function zx(t,e,n){var r=t._x1,i=t._y1,a=t._x2,o=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);r=(r*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,i=(i*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>1e-12){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*u+t._x1*t._l23_2a-e*t._l12_2a)/c,o=(o*u+t._y1*t._l23_2a-n*t._l12_2a)/c}t._context.bezierCurveTo(r,i,a,o,t._x2,t._y2)}function Fx(t,e){this._context=t,this._alpha=e}Fx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:zx(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Bx=function t(e){function n(t){return e?new Fx(t,e):new Dx(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Vx(t,e){this._context=t,this._alpha=e}Vx.prototype={areaStart:bx,areaEnd:bx,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:zx(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var jx=function t(e){function n(t){return e?new Vx(t,e):new Px(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Yx(t,e){this._context=t,this._alpha=e}Yx.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,r=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:zx(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};var Hx=function t(e){function n(t){return e?new Yx(t,e):new Rx(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Ux(t){this._context=t}Ux.prototype={areaStart:bx,areaEnd:bx,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}};var Gx=function(t){return new Ux(t)};function qx(t){return t<0?-1:1}function Wx(t,e,n){var r=t._x1-t._x0,i=e-t._x1,a=(t._y1-t._y0)/(r||i<0&&-0),o=(n-t._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(qx(a)+qx(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Zx(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function $x(t,e,n){var r=t._x0,i=t._x1,a=t._y1,o=(i-r)/3;t._context.bezierCurveTo(r+o,t._y0+o*e,i-o,a-o*n,i,a)}function Xx(t){this._context=t}function Kx(t){this._context=new Qx(t)}function Qx(t){this._context=t}function Jx(t){return new Xx(t)}function tw(t){return new Kx(t)}function ew(t){this._context=t}function nw(t){var e,n,r=t.length-1,i=new Array(r),a=new Array(r),o=new Array(r);for(i[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e=0;--e)i[e]=(o[e]-i[e+1])/a[e];for(a[r-1]=(t[r]+i[r-1])/2,e=0;e=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};var aw=function(t){return new iw(t,.5)};function ow(t){return new iw(t,0)}function sw(t){return new iw(t,1)}var lw=function(t,e){if((i=t.length)>1)for(var n,r,i,a=1,o=t[e[0]],s=o.length;a=0;)n[e]=e;return n};function cw(t,e){return t[e]}var hw=function(){var t=ub([]),e=uw,n=lw,r=cw;function i(i){var a,o,s=t.apply(this,arguments),l=i.length,u=s.length,c=new Array(u);for(a=0;a0){for(var n,r,i,a=0,o=t[0].length;a0)for(var n,r,i,a,o,s,l=0,u=t[e[0]].length;l0?(r[0]=a,r[1]=a+=i):i<0?(r[1]=o,r[0]=o+=i):(r[0]=0,r[1]=i)},pw=function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],a=i.length;r0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,a=0,o=1;oa&&(a=e,r=n);return r}var yw=function(t){var e=t.map(_w);return uw(t).sort((function(t,n){return e[t]-e[n]}))};function _w(t){for(var e,n=0,r=-1,i=t.length;++r0)){if(a/=f,f<0){if(a0){if(a>h)return;a>c&&(c=a)}if(a=r-l,f||!(a<0)){if(a/=f,f<0){if(a>h)return;a>c&&(c=a)}else if(f>0){if(a0)){if(a/=d,d<0){if(a0){if(a>h)return;a>c&&(c=a)}if(a=i-u,d||!(a<0)){if(a/=d,d<0){if(a>h)return;a>c&&(c=a)}else if(d>0){if(a0||h<1)||(c>0&&(t[0]=[l+c*f,u+c*d]),h<1&&(t[1]=[l+h*f,u+h*d]),!0)}}}}}function Bw(t,e,n,r,i){var a=t[1];if(a)return!0;var o,s,l=t[0],u=t.left,c=t.right,h=u[0],f=u[1],d=c[0],p=c[1],g=(h+d)/2;if(p===f){if(g=r)return;if(h>d){if(l){if(l[1]>=i)return}else l=[g,n];a=[g,i]}else{if(l){if(l[1]1)if(h>d){if(l){if(l[1]>=i)return}else l=[(n-s)/o,n];a=[(i-s)/o,i]}else{if(l){if(l[1]=r)return}else l=[e,o*e+s];a=[r,o*r+s]}else{if(l){if(l[0]=-sk)){var d=l*l+u*u,p=c*c+h*h,g=(h*d-u*p)/f,v=(l*p-c*d)/f,m=Uw.pop()||new Gw;m.arc=t,m.site=i,m.x=g+o,m.y=(m.cy=v+s)+Math.sqrt(g*g+v*v),t.circle=m;for(var y=null,_=ik._;_;)if(m.y<_.y||m.y===_.y&&m.x<=_.x){if(!_.L){y=_.P;break}_=_.L}else{if(!_.R){y=_;break}_=_.R}ik.insert(y,m),y||(Hw=m)}}}}function Ww(t){var e=t.circle;e&&(e.P||(Hw=e.N),ik.remove(e),Uw.push(e),Iw(e),t.circle=null)}var Zw=[];function $w(){Iw(this),this.edge=this.site=this.circle=null}function Xw(t){var e=Zw.pop()||new $w;return e.site=t,e}function Kw(t){Ww(t),nk.remove(t),Zw.push(t),Iw(t)}function Qw(t){var e=t.circle,n=e.x,r=e.cy,i=[n,r],a=t.P,o=t.N,s=[t];Kw(t);for(var l=a;l.circle&&Math.abs(n-l.circle.x)ok)s=s.L;else{if(!((i=a-ek(s,o))>ok)){r>-ok?(e=s.P,n=s):i>-ok?(e=s,n=s.N):e=n=s;break}if(!s.R){e=s;break}s=s.R}!function(t){rk[t.index]={site:t,halfedges:[]}}(t);var l=Xw(t);if(nk.insert(e,l),e||n){if(e===n)return Ww(e),n=Xw(e.site),nk.insert(l,n),l.edge=n.edge=Rw(e.site,l.site),qw(e),void qw(n);if(n){Ww(e),Ww(n);var u=e.site,c=u[0],h=u[1],f=t[0]-c,d=t[1]-h,p=n.site,g=p[0]-c,v=p[1]-h,m=2*(f*v-d*g),y=f*f+d*d,_=g*g+v*v,b=[(v*y-d*_)/m+c,(f*_-g*y)/m+h];zw(n.edge,u,p,b),l.edge=Rw(u,t,null,b),n.edge=Rw(t,p,null,b),qw(e),qw(n)}else l.edge=Rw(e.site,l.site)}}function tk(t,e){var n=t.site,r=n[0],i=n[1],a=i-e;if(!a)return r;var o=t.P;if(!o)return-1/0;var s=(n=o.site)[0],l=n[1],u=l-e;if(!u)return s;var c=s-r,h=1/a-1/u,f=c/u;return h?(-f+Math.sqrt(f*f-2*h*(c*c/(-2*u)-l+u/2+i-a/2)))/h+r:(r+s)/2}function ek(t,e){var n=t.N;if(n)return tk(n,e);var r=t.site;return r[1]===e?r[0]:1/0}var nk,rk,ik,ak,ok=1e-6,sk=1e-12;function lk(t,e){return e[1]-t[1]||e[0]-t[0]}function uk(t,e){var n,r,i,a=t.sort(lk).pop();for(ak=[],rk=new Array(t.length),nk=new Lw,ik=new Lw;;)if(i=Hw,a&&(!i||a[1]ok||Math.abs(i[0][1]-i[1][1])>ok)||delete ak[a]}(o,s,l,u),function(t,e,n,r){var i,a,o,s,l,u,c,h,f,d,p,g,v=rk.length,m=!0;for(i=0;iok||Math.abs(g-f)>ok)&&(l.splice(s,0,ak.push(Nw(o,d,Math.abs(p-t)ok?[t,Math.abs(h-t)ok?[Math.abs(f-r)ok?[n,Math.abs(h-n)ok?[Math.abs(f-e)=s)return null;var l=t-i.site[0],u=e-i.site[1],c=l*l+u*u;do{i=a.cells[r=o],o=null,i.halfedges.forEach((function(n){var r=a.edges[n],s=r.left;if(s!==i.site&&s||(s=r.right)){var l=t-s[0],u=e-s[1],h=l*l+u*u;hr?(r+i)/2:Math.min(0,r)||Math.max(0,i),o>a?(a+o)/2:Math.min(0,a)||Math.max(0,o))}var Sk=function(){var t,e,n=yk,r=_k,i=kk,a=xk,o=wk,s=[0,1/0],l=[[-1/0,-1/0],[1/0,1/0]],u=250,c=up,h=ct("start","zoom","end"),f=0;function d(t){t.property("__zoom",bk).on("wheel.zoom",b).on("mousedown.zoom",x).on("dblclick.zoom",w).filter(o).on("touchstart.zoom",k).on("touchmove.zoom",S).on("touchend.zoom touchcancel.zoom",C).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(t,e){return(e=Math.max(s[0],Math.min(s[1],e)))===t.k?t:new dk(e,t.x,t.y)}function g(t,e,n){var r=e[0]-n[0]*t.k,i=e[1]-n[1]*t.k;return r===t.x&&i===t.y?t:new dk(t.k,r,i)}function v(t){return[(+t[0][0]+ +t[1][0])/2,(+t[0][1]+ +t[1][1])/2]}function m(t,e,n){t.on("start.zoom",(function(){y(this,arguments).start()})).on("interrupt.zoom end.zoom",(function(){y(this,arguments).end()})).tween("zoom",(function(){var t=this,i=arguments,a=y(t,i),o=r.apply(t,i),s=null==n?v(o):"function"==typeof n?n.apply(t,i):n,l=Math.max(o[1][0]-o[0][0],o[1][1]-o[0][1]),u=t.__zoom,h="function"==typeof e?e.apply(t,i):e,f=c(u.invert(s).concat(l/u.k),h.invert(s).concat(l/h.k));return function(t){if(1===t)t=h;else{var e=f(t),n=l/e[2];t=new dk(n,s[0]-e[0]*n,s[1]-e[1]*n)}a.zoom(null,t)}}))}function y(t,e,n){return!n&&t.__zooming||new _(t,e)}function _(t,e){this.that=t,this.args=e,this.active=0,this.extent=r.apply(t,e),this.taps=0}function b(){if(n.apply(this,arguments)){var t=y(this,arguments),e=this.__zoom,r=Math.max(s[0],Math.min(s[1],e.k*Math.pow(2,a.apply(this,arguments)))),o=Dn(this);if(t.wheel)t.mouse[0][0]===o[0]&&t.mouse[0][1]===o[1]||(t.mouse[1]=e.invert(t.mouse[0]=o)),clearTimeout(t.wheel);else{if(e.k===r)return;t.mouse=[o,e.invert(o)],ar(this),t.start()}mk(),t.wheel=setTimeout(u,150),t.zoom("mouse",i(g(p(e,r),t.mouse[0],t.mouse[1]),t.extent,l))}function u(){t.wheel=null,t.end()}}function x(){if(!e&&n.apply(this,arguments)){var t=y(this,arguments,!0),r=we(le.view).on("mousemove.zoom",u,!0).on("mouseup.zoom",c,!0),a=Dn(this),o=le.clientX,s=le.clientY;Ce(le.view),vk(),t.mouse=[a,this.__zoom.invert(a)],ar(this),t.start()}function u(){if(mk(),!t.moved){var e=le.clientX-o,n=le.clientY-s;t.moved=e*e+n*n>f}t.zoom("mouse",i(g(t.that.__zoom,t.mouse[0]=Dn(t.that),t.mouse[1]),t.extent,l))}function c(){r.on("mousemove.zoom mouseup.zoom",null),Ae(le.view,t.moved),mk(),t.end()}}function w(){if(n.apply(this,arguments)){var t=this.__zoom,e=Dn(this),a=t.invert(e),o=t.k*(le.shiftKey?.5:2),s=i(g(p(t,o),e,a),r.apply(this,arguments),l);mk(),u>0?we(this).transition().duration(u).call(m,s,e):we(this).call(d.transform,s)}}function k(){if(n.apply(this,arguments)){var e,r,i,a,o=le.touches,s=o.length,l=y(this,arguments,le.changedTouches.length===s);for(vk(),r=0;r0&&a(c)?n>1?t(c,n-1,a,o,s):r(s,c):o||(s[s.length]=c)}return s}},XKAG:function(t,e,n){var r=n("ut/Y"),i=n("MMmD"),a=n("7GkX");t.exports=function(t){return function(e,n,o){var s=Object(e);if(!i(e)){var l=r(n,3);e=a(e),n=function(t){return l(s[t],t,s)}}var u=t(e,n,o);return u>-1?s[l?e[u]:u]:void 0}}},XNiG:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return c}));var r=n("HDdC"),i=n("7o/Q"),a=n("quSY"),o=n("9ppp"),s=n("Ylt2"),l=n("2QA8"),u=function(t){_inherits(n,t);var e=_createSuper(n);function n(t){var r;return _classCallCheck(this,n),(r=e.call(this,t)).destination=t,r}return n}(i.a),c=function(){var t=function(t){_inherits(n,t);var e=_createSuper(n);function n(){var t;return _classCallCheck(this,n),(t=e.call(this)).observers=[],t.closed=!1,t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return _createClass2(n,[{key:l.a,value:function(){return new u(this)}},{key:"lift",value:function(t){var e=new h(this,this);return e.operator=t,e}},{key:"next",value:function(t){if(this.closed)throw new o.a;if(!this.isStopped)for(var e=this.observers,n=e.length,r=e.slice(),i=0;i=0;s--)null==n[s]&&(delete i[e[s]],e.pop())}(i):c(i,!0):(r.assert("linear"!==e||i.dataExtent),c(i))};l.prototype={constructor:l,mapValueToVisual:function(t){var e=this._normalizeData(t);return this._doMap(e,t)},getNormalizer:function(){return r.bind(this._normalizeData,this)}};var u=l.visualHandlers={color:{applyVisual:d("color"),getColorMapper:function(){var t=this.option;return r.bind("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),p.call(this,t)}:function(e,n,r){var a=!!r;return!n&&(e=this._normalizeData(e)),r=i.fastLerp(e,t.parsedVisual,r),a?r:i.stringify(r,"rgba")},this)},_doMap:{linear:function(t){return i.stringify(i.fastLerp(t,this.option.parsedVisual),"rgba")},category:p,piecewise:function(t,e){var n=m.call(this,e);return null==n&&(n=i.stringify(i.fastLerp(t,this.option.parsedVisual),"rgba")),n},fixed:g}},colorHue:h((function(t,e){return i.modifyHSL(t,e)})),colorSaturation:h((function(t,e){return i.modifyHSL(t,null,e)})),colorLightness:h((function(t,e){return i.modifyHSL(t,null,null,e)})),colorAlpha:h((function(t,e){return i.modifyAlpha(t,e)})),opacity:{applyVisual:d("opacity"),_doMap:v([0,1])},liftZ:{applyVisual:d("liftZ"),_doMap:{linear:g,category:g,piecewise:g,fixed:g}},symbol:{applyVisual:function(t,e,n){var i=this.mapValueToVisual(t);if(r.isString(i))n("symbol",i);else if(s(i))for(var a in i)i.hasOwnProperty(a)&&n(a,i[a])},_doMap:{linear:f,category:p,piecewise:function(t,e){var n=m.call(this,e);return null==n&&(n=f.call(this,t)),n},fixed:g}},symbolSize:{applyVisual:d("symbolSize"),_doMap:v([0,1])}};function c(t,e){var n=t.visual,i=[];r.isObject(n)?o(n,(function(t){i.push(t)})):null!=n&&i.push(n),e||1!==i.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(i[1]=i[0]),y(t,i)}function h(t){return{applyVisual:function(e,n,r){e=this.mapValueToVisual(e),r("color",t(n("color"),e))},_doMap:v([0,1])}}function f(t){var e=this.option.visual;return e[Math.round(a(t,[0,1],[0,e.length-1],!0))]||{}}function d(t){return function(e,n,r){r(t,this.mapValueToVisual(e))}}function p(t){var e=this.option.visual;return e[this.option.loop&&-1!==t?t%e.length:t]}function g(){return this.option.visual[0]}function v(t){return{linear:function(e){return a(e,t,this.option.visual,!0)},category:p,piecewise:function(e,n){var r=m.call(this,n);return null==r&&(r=a(e,t,this.option.visual,!0)),r},fixed:g}}function m(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var r=n[l.findPieceIndex(t,n)];if(r&&r.visual)return r.visual[this.type]}}function y(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=r.map(e,(function(t){return i.parse(t)}))),e}var _={linear:function(t){return a(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=l.findPieceIndex(t,e,!0);if(null!=n)return a(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?-1:e},fixed:r.noop};function b(t,e,n){return t?e<=n:e=0){var i="touchend"!==r?e.targetTouches[0]:e.changedTouches[0];i&&h(t,i,e,n)}else h(t,e,e,n),e.zrDelta=e.wheelDelta?e.wheelDelta/120:-(e.detail||0)/3;var a=e.button;return null==e.which&&void 0!==a&&u.test(e.type)&&(e.which=1&a?1:2&a?3:4&a?2:0),e},e.addEventListener=function(t,e,n,r){l?t.addEventListener(e,n,r):t.attachEvent("on"+e,n)},e.removeEventListener=function(t,e,n,r){l?t.removeEventListener(e,n,r):t.detachEvent("on"+e,n)},e.stop=p,e.isMiddleOrRightButtonOnMouseUpDown=function(t){return 2===t.which||3===t.which},e.notLeftMouse=function(t){return t.which>1}},YLuR:function(t,e){t.exports=function(t,e){return t.intersect(e)}},YNf1:function(t,e,n){var r=n("IwbS"),i=n("6Ic6").extend({type:"parallel",init:function(){this._dataGroup=new r.Group,this.group.add(this._dataGroup)},render:function(t,e,n,i){var u=this._dataGroup,c=t.getData(),h=this._data,f=t.coordinateSystem,d=f.dimensions,p=s(t);if(c.diff(h).add((function(t){l(o(c,u,t,d,f),c,t,p)})).update((function(e,n){var o=h.getItemGraphicEl(n),s=a(c,e,d,f);c.setItemGraphicEl(e,o),r.updateProps(o,{shape:{points:s}},i&&!1===i.animation?null:t,e),l(o,c,e,p)})).remove((function(t){var e=h.getItemGraphicEl(t);u.remove(e)})).execute(),!this._initialized){this._initialized=!0;var g=function(t,e,n){var i=t.model,a=t.getRect(),o=new r.Rect({shape:{x:a.x,y:a.y,width:a.width,height:a.height}}),s="horizontal"===i.get("layout")?"width":"height";return o.setShape(s,0),r.initProps(o,{shape:{width:a.width,height:a.height}},e,(function(){setTimeout((function(){u.removeClipPath()}))})),o}(f,t);u.setClipPath(g)}this._data=c},incrementalPrepareRender:function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},incrementalRender:function(t,e,n){for(var r=e.getData(),i=e.coordinateSystem,a=i.dimensions,u=s(e),c=t.start;c65535?p:v}var y=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_rawData","_chunkSize","_chunkCount","_dimValueGetter","_count","_rawCount","_nameDimIdx","_idDimIdx"],_=["_extent","_approximateExtent","_rawExtent"];function b(t,e){r.each(y.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,r.each(_,(function(n){t[n]=r.clone(e[n])})),t._calculationInfo=r.extend(e._calculationInfo)}var x=function(t,e){t=t||["x","y"];for(var n={},i=[],a={},o=0;o=0?this._indices[t]:-1}function E(t,e){var n=t._idList[e];return null==n&&(n=C(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n}function M(t){return r.isArray(t)||(t=[t]),t}function I(t,e){var n=t.dimensions,i=new x(r.map(n,t.getDimensionInfo,t),t.hostModel);b(i,t);for(var a=i._storage={},o=t._storage,s=0;s=0?(a[l]=D(o[l]),i._rawExtent[l]=[1/0,-1/0],i._extent[l]=null):a[l]=o[l])}return i}function D(t){for(var e,n,r=new Array(t.length),i=0;i_[1]&&(_[1]=y)}e&&(this._nameList[f]=e[d])}this._rawCount=this._count=l,this._extent={},S(this)},w._initDataFromProvider=function(t,e){if(!(t>=e)){for(var n,r=this._chunkSize,i=this._rawData,a=this._storage,o=this.dimensions,s=o.length,l=this._dimensionInfos,u=this._nameList,c=this._idList,h=this._rawExtent,f=this._nameRepeatCount={},d=this._chunkCount,p=0;pA[1]&&(A[1]=C)}if(!i.pure){var T=u[m];if(v&&null==T)if(null!=v.name)u[m]=T=v.name;else if(null!=n){var E=o[n],M=a[E][y];if(M){T=M[_];var I=l[E].ordinalMeta;I&&I.categories.length&&(T=I.categories[T])}}var D=null==v?null:v.id;null==D&&null!=T&&(f[T]=f[T]||0,D=T,f[T]>0&&(D+="__ec__"+f[T]),f[T]++),null!=D&&(c[m]=D)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent={},S(this)}},w.count=function(){return this._count},w.getIndices=function(){var t=this._indices;if(t){var e=this._count;if((r=t.constructor)===Array){i=new r(e);for(var n=0;n=0&&e=0&&ea&&(a=s)}return this._extent[t]=n=[i,a],n},w.getApproximateExtent=function(t){return t=this.getDimension(t),this._approximateExtent[t]||this.getDataExtent(t)},w.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},w.getCalculationInfo=function(t){return this._calculationInfo[t]},w.setCalculationInfo=function(t,e){f(t)?r.extend(this._calculationInfo,t):this._calculationInfo[t]=e},w.getSum=function(t){var e=0;if(this._storage[t])for(var n=0,r=this.count();n=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return a;i=a-1}}return-1},w.indicesOfNearest=function(t,e,n){var r=[];if(!this._storage[t])return r;null==n&&(n=1/0);for(var i=1/0,a=-1,o=0,s=0,l=this.count();s=0&&a<0)&&(i=c,a=u,o=0),u===a&&(r[o++]=s))}return r.length=o,r},w.getRawIndex=A,w.getRawDataItem=function(t){if(this._rawData.persistent)return this._rawData.getItem(this.getRawIndex(t));for(var e=[],n=0;n=l&&C<=u||isNaN(C))&&(a[o++]=h),h++;c=!0}else if(2===r){f=this._storage[s];var y=this._storage[e[1]],_=t[e[1]][0],b=t[e[1]][1];for(d=0;d=l&&C<=u||isNaN(C))&&(w>=_&&w<=b||isNaN(w))&&(a[o++]=h),h++}}c=!0}}if(!c)if(1===r)for(v=0;v=l&&C<=u||isNaN(C))&&(a[o++]=k)}else for(v=0;vt[E][1])&&(S=!1)}S&&(a[o++]=this.getRawIndex(v))}return ow[1]&&(w[1]=x)}}}return a},w.downSample=function(t,e,n,r){for(var i=I(this,[t]),a=i._storage,o=[],s=Math.floor(1/e),l=a[t],u=this.count(),c=this._chunkSize,h=i._rawExtent[t],f=new(m(this))(u),d=0,p=0;pu-p&&(o.length=s=u-p);for(var g=0;gh[1]&&(h[1]=_),f[d++]=b}return i._count=d,i._indices=f,i.getRawIndex=T,i},w.getItemModel=function(t){var e=this.hostModel;return new i(this.getRawDataItem(t),e,e&&e.ecModel)},w.diff=function(t){var e=this;return new a(t?t.getIndices():[],this.getIndices(),(function(e){return E(t,e)}),(function(t){return E(e,t)}))},w.getVisual=function(t){var e=this._visual;return e&&e[t]},w.setVisual=function(t,e){if(f(t))for(var n in t)t.hasOwnProperty(n)&&this.setVisual(n,t[n]);else this._visual=this._visual||{},this._visual[t]=e},w.setLayout=function(t,e){if(f(t))for(var n in t)t.hasOwnProperty(n)&&this.setLayout(n,t[n]);else this._layout[t]=e},w.getLayout=function(t){return this._layout[t]},w.getItemLayout=function(t){return this._itemLayouts[t]},w.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?r.extend(this._itemLayouts[t]||{},e):e},w.clearItemLayouts=function(){this._itemLayouts.length=0},w.getItemVisual=function(t,e,n){var r=this._itemVisuals[t],i=r&&r[e];return null!=i||n?i:this.getVisual(e)},w.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{},i=this.hasItemVisual;if(this._itemVisuals[t]=r,f(e))for(var a in e)e.hasOwnProperty(a)&&(r[a]=e[a],i[a]=!0);else r[e]=n,i[e]=!0},w.clearAllVisual=function(){this._visual={},this._itemVisuals=[],this.hasItemVisual={}};var O=function(t){t.seriesIndex=this.seriesIndex,t.dataIndex=this.dataIndex,t.dataType=this.dataType};w.setItemGraphicEl=function(t,e){var n=this.hostModel;e&&(e.dataIndex=t,e.dataType=this.dataType,e.seriesIndex=n&&n.seriesIndex,"group"===e.type&&e.traverse(O,e)),this._graphicEls[t]=e},w.getItemGraphicEl=function(t){return this._graphicEls[t]},w.eachItemGraphicEl=function(t,e){r.each(this._graphicEls,(function(n,r){n&&t&&t.call(e,n,r)}))},w.cloneShallow=function(t){if(!t){var e=r.map(this.dimensions,this.getDimensionInfo,this);t=new x(e,this.hostModel)}return t._storage=this._storage,b(t,this),t._indices=this._indices?new(0,this._indices.constructor)(this._indices):null,t.getRawIndex=t._indices?T:A,t},w.wrapMethod=function(t,e){var n=this[t];"function"==typeof n&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(r.slice(arguments)))})},w.TRANSFERABLE_METHODS=["cloneShallow","downSample","map"],w.CHANGABLE_METHODS=["filterSelf","selectRange"],t.exports=x},Yen4:function(t,e,n){var r=n("M96O"),i=n("lnHP"),a=n("AevD");t.exports=function(t,e){var n,o=new i,s={},l=new a;function u(t){var r=t.v===n?t.w:t.v,i=l.priority(r);if(void 0!==i){var a=e(t);a0;){if(n=l.removeMin(),r.has(s,n))o.setEdge(n,s[n]);else{if(c)throw new Error("Input graph is not connected: "+t);c=!0}t.nodeEdges(n).forEach(u)}return o}},YgsL:function(t,e,n){var r=n("QBsz").distance;function i(t,e,n,r,i,a,o){var s=.5*(n-t),l=.5*(r-e);return(2*(e-n)+s+l)*o+(-3*(e-n)-2*s-l)*a+s*i+e}t.exports=function(t,e){for(var n=t.length,a=[],o=0,s=1;sn-2?n-1:d+1],h=t[d>n-3?n-1:d+2]);var v=p*p,m=p*v;a.push([i(u[0],g[0],c[0],h[0],p,v,m),i(u[1],g[1],c[1],h[1],p,v,m)])}return a}},Yl7c:function(t,e,n){n("Tghj");var r=n("bYtY"),i="___EC__COMPONENT__CONTAINER___";function a(t){var e={main:"",sub:""};return t&&(t=t.split("."),e.main=t[0]||"",e.sub=t[1]||""),e}var o=0;function s(t,e){var n=r.slice(arguments,2);return this.superClass.prototype[e].apply(t,n)}function l(t,e,n){return this.superClass.prototype[e].apply(t,n)}e.parseClassType=a,e.enableClassExtend=function(t,e){t.$constructor=t,t.extend=function(t){var e=this,n=function(){t.$constructor?t.$constructor.apply(this,arguments):e.apply(this,arguments)};return r.extend(n.prototype,t),n.extend=this.extend,n.superCall=s,n.superApply=l,r.inherits(n,this),n.superClass=e,n}},e.enableClassCheck=function(t){var e=["__\0is_clz",o++,Math.random().toFixed(3)].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}},e.enableClassManagement=function(t,e){e=e||{};var n={};if(t.registerClass=function(t,e){return e&&(function(t){r.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}(e),(e=a(e)).sub?e.sub!==i&&((function(t){var e=n[t.main];return e&&e[i]||((e=n[t.main]={})[i]=!0),e}(e))[e.sub]=t):n[e.main]=t),t},t.getClass=function(t,e,r){var a=n[t];if(a&&a[i]&&(a=e?a[e]:null),r&&!a)throw new Error(e?"Component "+t+"."+(e||"")+" not exists. Load it first.":t+".type should be specified.");return a},t.getClassesByMainType=function(t){t=a(t);var e=[],o=n[t.main];return o&&o[i]?r.each(o,(function(t,n){n!==i&&e.push(t)})):e.push(o),e},t.hasClass=function(t){return t=a(t),!!n[t.main]},t.getAllClassMainTypes=function(){var t=[];return r.each(n,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){t=a(t);var e=n[t.main];return e&&e[i]},t.parseClassType=a,e.registerWhenExtend){var o=t.extend;o&&(t.extend=function(e){var n=o.call(this,e);return t.registerClass(n,e.type)})}return t},e.setReadOnly=function(t,e){}},Ylt2:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;return _classCallCheck(this,n),(i=e.call(this)).subject=t,i.subscriber=r,i.closed=!1,i}return _createClass2(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var t=this.subject,e=t.observers;if(this.subject=null,e&&0!==e.length&&!t.isStopped&&!t.closed){var n=e.indexOf(this.subscriber);-1!==n&&e.splice(n,1)}}}}]),n}(n("quSY").a)},Ynxi:function(t,e,n){var r=n("bYtY"),i=n("ProS"),a=n("IwbS"),o=n("+TT/").getLayoutRect;i.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"}}}),i.extendComponentView({type:"title",render:function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,s=t.getModel("textStyle"),l=t.getModel("subtextStyle"),u=t.get("textAlign"),c=r.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),h=new a.Text({style:a.setTextStyle({},s,{text:t.get("text"),textFill:s.getTextColor()},{disableBox:!0}),z2:10}),f=h.getBoundingRect(),d=t.get("subtext"),p=new a.Text({style:a.setTextStyle({},l,{text:d,textFill:l.getTextColor(),y:f.height+t.get("itemGap"),textVerticalAlign:"top"},{disableBox:!0}),z2:10}),g=t.get("link"),v=t.get("sublink"),m=t.get("triggerEvent",!0);h.silent=!g&&!m,p.silent=!v&&!m,g&&h.on("click",(function(){window.open(g,"_"+t.get("target"))})),v&&p.on("click",(function(){window.open(v,"_"+t.get("subtarget"))})),h.eventData=p.eventData=m?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(h),d&&i.add(p);var y=i.getBoundingRect(),_=t.getBoxLayoutParams();_.width=y.width,_.height=y.height;var b=o(_,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));u||("middle"===(u=t.get("left")||t.get("right"))&&(u="center"),"right"===u?b.x+=b.width:"center"===u&&(b.x+=b.width/2)),c||("center"===(c=t.get("top")||t.get("bottom"))&&(c="middle"),"bottom"===c?b.y+=b.height:"middle"===c&&(b.y+=b.height/2),c=c||"top"),i.attr("position",[b.x,b.y]);var x={textAlign:u,textVerticalAlign:c};h.setStyle(x),p.setStyle(x),y=i.getBoundingRect();var w=b.margin,k=t.getItemStyle(["color","opacity"]);k.fill=t.get("backgroundColor");var S=new a.Rect({shape:{x:y.x-w[3],y:y.y-w[0],width:y.width+w[1]+w[3],height:y.height+w[0]+w[2],r:t.get("borderRadius")},style:k,subPixelOptimize:!0,silent:!0});i.add(S)}}})},YuTi:function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},Z0cm:function(t,e){t.exports=Array.isArray},Z1HP:function(t,e,n){var r=n("ycre"),i=n("quyA"),a=n("q4HE");t.exports=function(t){return i(t)?a(t):r(t)}},Z1r0:function(t,e){t.exports=function(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),r=t.getGraph().data,i=n.mapArray(n.getName);r.filterSelf((function(t){var n=r.getItemModel(t).getShallow("category");if(null!=n){"number"==typeof n&&(n=i[n]);for(var a=0;a0?1:-1,o=r.height>0?1:-1;return{x:r.x+a*i/2,y:r.y+o*i/2,width:r.width-a*i,height:r.height-o*i}},polar:function(t,e,n){var r=t.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle}}};function S(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function C(t,e,n,r,s,l,u,c){var h=e.getItemVisual(n,"color"),f=e.getItemVisual(n,"opacity"),d=e.getVisual("borderColor"),p=r.getModel("itemStyle"),g=r.getModel("emphasis.itemStyle").getBarItemStyle();c||t.setShape("r",p.get("barBorderRadius")||0),t.useStyle(i.defaults({stroke:S(s)?"none":d,fill:S(s)?"none":h,opacity:f},p.getBarItemStyle()));var v=r.getShallow("cursor");v&&t.attr("cursor",v),c||o(t.style,g,r,h,l,n,u?s.height>0?"bottom":"top":s.width>0?"left":"right"),S(s)&&(g.fill=g.stroke="none"),a.setHoverStyle(t,g)}var A=u.extend({type:"largeBar",shape:{points:[]},buildPath:function(t,e){for(var n=e.points,r=this.__startPoint,i=this.__baseDimIdx,a=0;a=h&&m<=f&&(l<=y?c>=l&&c<=y:c>=y&&c<=l))return o[d]}return-1}(this,t.offsetX,t.offsetY);this.dataIndex=e>=0?e:null}),30,!1);function M(t,e,n){var r,i="polar"===n.type;return r=i?n.getArea():n.grid.getRect(),i?{cx:r.cx,cy:r.cy,r0:t?r.r0:e.r0,r:t?r.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}:{x:t?e.x:r.x,y:t?r.y:e.y,width:t?e.width:r.width,height:t?r.height:e.height}}t.exports=v},ZCgT:function(t,e,n){var r=n("tLB3");t.exports=function(t){return t?(t=r(t))===1/0||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},ZCpW:function(t,e,n){var r=n("lm/5"),i=n("O7RO"),a=n("IOzZ");t.exports=function(t){var e=i(t);return 1==e.length&&e[0][2]?a(e[0][0],e[0][1]):function(n){return n===t||r(n,t,e)}}},ZJr7:function(t,e,n){"use strict";var r=n("NmYn"),i=n("V8sP"),a=n("ueK4");function o(t,e,n){if(!t)return t;if(!e)return t;"string"==typeof n&&(n={keyframes:n}),n||(n={keyframes:!1}),t=s(t,e+" $1$2");var i=e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");t=(t=(t=(t=t.replace(new RegExp("("+i+")\\s*\\1(?=[\\s\\r\\n,{])","g"),"$1")).replace(new RegExp("("+i+")\\s*:host","g"),"$1")).replace(new RegExp("("+i+")\\s*@","g"),"@")).replace(new RegExp("("+i+")\\s*:root","g"),":root");for(var a,o=[],l=/@keyframes\s+([a-zA-Z0-9_-]+)\s*{/g;null!==(a=l.exec(t));)o.indexOf(a[1])<0&&o.push(a[1]);var u=r(e);return o.forEach((function(e){var r=(!0===n.keyframes?u+"-":"string"==typeof n.keyframes?n.keyframes:"")+e;t=(t=t.replace(new RegExp("(@keyframes\\s+)"+e+"(\\s*{)","g"),"$1"+r+"$2")).replace(new RegExp("(animation(?:-name)?\\s*:[^;]*\\s*)"+e+"([\\s;}])","g"),"$1"+r+"$2")})),t=t.replace(new RegExp("("+i+" )(\\s*(?:to|from|[+-]?(?:(?:\\.\\d+)|(?:\\d+(?:\\.\\d*)?))%))(?=[\\s\\r\\n,{])","g"),"$2")}function s(t,e){var n=[];return t=a(t),t=(t=i.replace(t,!0,n)).replace(/([^\r\n,{}]+)(,(?=[^}]*{)|\s*{)/g,e),i.paste(t,n)}t.exports=o,o.replace=s},ZUHj:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n("51Dv"),i=n("SeVD"),a=n("HDdC");function o(t,e,n,o){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new r.a(t,n,o);if(!s.closed)return e instanceof a.a?e.subscribe(s):Object(i.a)(e)(s)}},ZWlE:function(t,e,n){var r=n("bYtY"),i=n("4NO4");t.exports=function(t){!function(t){if(!t.parallel){var e=!1;r.each(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}}(t),function(t){var e=i.normalizeToArray(t.parallelAxis);r.each(e,(function(e){if(r.isObject(e)){var n=e.parallelIndex||0,a=i.normalizeToArray(t.parallel)[n];a&&a.parallelAxisDefault&&r.merge(e,a.parallelAxisDefault,!1)}}))}(t)}},ZWtO:function(t,e,n){var r=n("4uTw"),i=n("9Nap");t.exports=function(t,e){for(var n=0,a=(e=r(e,t)).length;null!=t&&n>1)%2;o.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",i[l]+":0",r[1-s]+":auto",i[1-l]+":auto",""].join("!important;"),t.appendChild(o),n.push(o)}return n}(e,l),l,o);if(u)return u(t,n,a),!0}return!1}function s(t){return"CANVAS"===t.nodeName.toUpperCase()}e.transformLocalCoord=function(t,e,n,r,i){return o(a,e,r,i,!0)&&o(t,n,a[0],a[1])},e.transformCoordWithViewport=o,e.isCanvasEl=s},Znkb:function(t,e,n){n("Tghj");var r=n("ProS"),i=n("zTMp"),a=r.extendComponentView({type:"axis",_axisPointer:null,axisPointerClass:null,render:function(t,e,n,r){this.axisPointerClass&&i.fixValue(t),a.superApply(this,"render",arguments),o(this,t,0,n,0,!0)},updateAxisPointer:function(t,e,n,r,i){o(this,t,0,n,0,!1)},remove:function(t,e){var n=this._axisPointer;n&&n.remove(e),a.superApply(this,"remove",arguments)},dispose:function(t,e){s(this,e),a.superApply(this,"dispose",arguments)}});function o(t,e,n,r,o,l){var u=a.getAxisPointerClass(t.axisPointerClass);if(u){var c=i.getAxisPointerModel(e);c?(t._axisPointer||(t._axisPointer=new u)).render(e,c,r,l):s(t,r)}}function s(t,e,n){var r=t._axisPointer;r&&r.dispose(e,n),t._axisPointer=null}var l=[];a.registerAxisPointerClass=function(t,e){l[t]=e},a.getAxisPointerClass=function(t){return t&&l[t]},t.exports=a},ZqQs:function(t,e,n){var r=n("bYtY");function i(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},o=i.normal||(i.normal={}),s={normal:1,emphasis:1};r.each(i,(function(t,e){s[e]||a(o,e)||(o[e]=t)})),n.label&&!a(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function a(t,e){return t.hasOwnProperty(e)}t.exports=function(t){var e=t&&t.timeline;r.isArray(e)||(e=e?[e]:[]),r.each(e,(function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};if(n[e]&&(t.axisType=n[e],delete t.type),i(t),a(t,"controlPosition")){var o=t.controlStyle||(t.controlStyle={});a(o,"position")||(o.position=t.controlPosition),"none"!==o.position||a(o,"show")||(o.show=!1,delete o.position),delete t.controlPosition}r.each(t.data||[],(function(t){r.isObject(t)&&!r.isArray(t)&&(!a(t,"value")&&a(t,"name")&&(t.value=t.name),i(t))}))}(t)}))}},ZtTi:function(t,e,n){"use strict";var r=n("QRi6"),i=n("Sdz8"),a=n("3th9"),o=n("Kq0i");t.exports={rect:function(t,e,n){var i=t.insert("rect",":first-child").attr("rx",n.rx).attr("ry",n.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return n.intersect=function(t){return r(n,t)},i},ellipse:function(t,e,n){var r=e.width/2,a=e.height/2,o=t.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",r).attr("ry",a);return n.intersect=function(t){return i(n,r,a,t)},o},circle:function(t,e,n){var r=Math.max(e.width,e.height)/2,i=t.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",r);return n.intersect=function(t){return a(n,r,t)},i},diamond:function(t,e,n){var r=e.width*Math.SQRT2/2,i=e.height*Math.SQRT2/2,a=[{x:0,y:-i},{x:-r,y:0},{x:0,y:i},{x:r,y:0}],s=t.insert("polygon",":first-child").attr("points",a.map((function(t){return t.x+","+t.y})).join(" "));return n.intersect=function(t){return o(n,a,t)},s}}},Zvw2:function(t,e,n){var r=n("bYtY"),i=n("hM6l"),a=function(t,e,n,r,a){i.call(this,t,e,n),this.type=r||"value",this.position=a||"bottom",this.orient=null};a.prototype={constructor:a,model:null,isHorizontal:function(){var t=this.position;return"top"===t||"bottom"===t},pointToData:function(t,e){return this.coordinateSystem.pointToData(t,e)[0]},toGlobalCoord:null,toLocalCoord:null},r.inherits(a,i),t.exports=a},ZzYp:function(t,e,n){var r=n("M96O");t.exports=function(t,e,n){return function(t,e,n){var r={},i=t.nodes();return i.forEach((function(t){r[t]={},r[t][t]={distance:0},i.forEach((function(e){t!==e&&(r[t][e]={distance:Number.POSITIVE_INFINITY})})),n(t).forEach((function(n){var i=n.v===t?n.w:n.v,a=e(n);r[t][i]={distance:a,predecessor:t}}))})),i.forEach((function(t){var e=r[t];i.forEach((function(n){var a=r[n];i.forEach((function(n){var r=e[n],i=a[n],o=a[t].distance+r.distance;o0;){this._tweensAddedDuringUpdate={};for(var r=0;r1?1:n),this._valuesEnd)if(void 0!==this._valuesStart[e]){var i=this._valuesStart[e]||0,a=this._valuesEnd[e];a instanceof Array?this._object[e]=this._interpolationFunction(a,r):("string"==typeof a&&(a="+"===a.charAt(0)||"-"===a.charAt(0)?i+parseFloat(a):parseFloat(a)),"number"==typeof a&&(this._object[e]=i+(a-i)*r))}if(null!==this._onUpdateCallback&&this._onUpdateCallback(this._object,n),1===n){if(this._repeat>0){for(e in isFinite(this._repeat)&&this._repeat--,this._valuesStartRepeat){if("string"==typeof this._valuesEnd[e]&&(this._valuesStartRepeat[e]=this._valuesStartRepeat[e]+parseFloat(this._valuesEnd[e])),this._yoyo){var o=this._valuesStartRepeat[e];this._valuesStartRepeat[e]=this._valuesEnd[e],this._valuesEnd[e]=o}this._valuesStart[e]=this._valuesStartRepeat[e]}return this._yoyo&&(this._reversed=!this._reversed),this._startTime=void 0!==this._repeatDelayTime?t+this._repeatDelayTime:t+this._delayTime,null!==this._onRepeatCallback&&this._onRepeatCallback(this._object),!0}null!==this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var s=0,l=this._chainedTweens.length;s1?a(t[n],t[n-1],n-r):a(t[i],t[i+1>n?n:i+1],r-i)},Bezier:function(t,e){for(var n=0,r=t.length-1,i=Math.pow,a=o.Interpolation.Utils.Bernstein,s=0;s<=r;s++)n+=i(1-e,r-s)*i(e,s)*t[s]*a(r,s);return n},CatmullRom:function(t,e){var n=t.length-1,r=n*e,i=Math.floor(r),a=o.Interpolation.Utils.CatmullRom;return t[0]===t[n]?(e<0&&(i=Math.floor(r=n*(1+e))),a(t[(i-1+n)%n],t[i],t[(i+1)%n],t[(i+2)%n],r-i)):e<0?t[0]-(a(t[0],t[0],t[1],t[1],-r)-t[0]):e>1?t[n]-(a(t[n],t[n],t[n-1],t[n-1],r-n)-t[n]):a(t[i?i-1:0],t[i],t[n1;n--)e*=n;return a[t]=e,e}),CatmullRom:function(t,e,n,r,i){var a=.5*(n-t),o=.5*(r-e),s=i*i;return(2*e-2*n+a+o)*(i*s)+(-3*e+3*n-2*a-o)*s+a*i+e}}},void 0===(r=(function(){return o}).apply(e,[]))||(t.exports=r)},aKvl:function(t,e,n){var r=n("Sj9i").quadraticProjectPoint;e.containStroke=function(t,e,n,i,a,o,s,l,u){if(0===s)return!1;var c=s;return!(u>e+c&&u>i+c&&u>o+c||ut+c&&l>n+c&&l>a+c||l0&&f>0&&!d&&(l=0),l<0&&f<0&&!p&&(f=0));var v=e.ecModel;if(v&&"time"===o){var m,y=u("bar",v);if(r.each(y,(function(t){m|=t.getBaseAxis()===e.axis})),m){var _=c(y),b=function(t,e,n,i){var a=n.axis.getExtent(),o=a[1]-a[0],s=h(i,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;r.each(s,(function(t){l=Math.min(t.offset,l)}));var u=-1/0;r.each(s,(function(t){u=Math.max(t.offset+t.width,u)})),l=Math.abs(l),u=Math.abs(u);var c=l+u,f=e-t,d=f/(1-(l+u)/o)-f;return{min:t-=d*(l/c),max:e+=d*(u/c)}}(l,f,e,_);l=b.min,f=b.max}}return[l,f]}function p(t){var e,n=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"string"==typeof n?(e=n,n=function(n){return n=t.scale.getLabel(n),e.replace("{value}",null!=n?n:"")}):"function"==typeof n?function(e,i){return null!=r&&(i=e-r),n(g(t,e),i)}:function(e){return t.scale.getLabel(e)}}function g(t,e){return"category"===t.type?t.scale.getLabel(e):e}function v(t){var e=t.get("interval");return null==e?"auto":e}n("IWp7"),n("jCoz"),e.getScaleExtent=d,e.niceScaleExtent=function(t,e){var n=d(t,e),r=null!=e.getMin(),i=null!=e.getMax(),a=e.get("splitNumber");"log"===t.type&&(t.base=e.get("logBase"));var o=t.type;t.setExtent(n[0],n[1]),t.niceExtent({splitNumber:a,fixMin:r,fixMax:i,minInterval:"interval"===o||"time"===o?e.get("minInterval"):null,maxInterval:"interval"===o||"time"===o?e.get("maxInterval"):null});var s=e.get("interval");null!=s&&t.setInterval&&t.setInterval(s)},e.createScaleByModel=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new i(t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),[1/0,-1/0]);case"value":return new a;default:return(o.getClass(e)||a).create(t)}},e.ifAxisCrossZero=function(t){var e=t.scale.getExtent(),n=e[0],r=e[1];return!(n>0&&r>0||n<0&&r<0)},e.makeLabelFormatter=p,e.getAxisRawValue=g,e.estimateLabelUnionRect=function(t){var e=t.scale;if(t.model.get("axisLabel.show")&&!e.isBlank()){var n,r,i="category"===t.type,a=e.getExtent();r=i?e.count():(n=e.getTicks()).length;var o,s,l,u,c,h,d,g,v=t.getLabelModel(),m=p(t),y=1;r>40&&(y=Math.ceil(r/40));for(var _=0;_n.blockIndex?n.step:null,a=r&&r.modDataCount;return{step:i,modBy:null!=a?Math.ceil(a/i):null,modDataCount:a}}},g.getPipeline=function(t){return this._pipelineMap.get(t)},g.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),r=t.getData().count(),i=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,a=t.get("large")&&r>=t.get("largeThreshold"),o="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:i,modDataCount:o,large:a}},g.restorePipelines=function(t){var e=this,n=e._pipelineMap=s();t.eachSeries((function(t){var r=t.getProgressive(),i=t.uid;n.set(i,{id:i,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:r&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),T(e,t,t.dataTask)}))},g.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.ecInstance.getModel(),n=this.api;i(this._allHandlers,(function(r){var a=t.get(r.uid)||t.set(r.uid,[]);r.reset&&function(t,e,n,r,i){var a=n.seriesTaskMap||(n.seriesTaskMap=s()),o=e.seriesType,l=e.getTargetSeries;function c(n){var o=n.uid,s=a.get(o)||a.set(o,u({plan:w,reset:k,count:A}));s.context={model:n,ecModel:r,api:i,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:t},T(t,n,s)}e.createOnAllSeries?r.eachRawSeries(c):o?r.eachRawSeriesByType(o,c):l&&l(r,i).each(c);var h=t._pipelineMap;a.each((function(t,e){h.get(e)||(t.dispose(),a.removeKey(e))}))}(this,r,a,e,n),r.overallReset&&function(t,e,n,r,a){var o=n.overallTask=n.overallTask||u({reset:y});o.context={ecModel:r,api:a,overallReset:e.overallReset,scheduler:t};var l=o.agentStubMap=o.agentStubMap||s(),c=e.seriesType,h=e.getTargetSeries,f=!0,d=e.modifyOutputEnd;function p(e){var n=e.uid,r=l.get(n);r||(r=l.set(n,u({reset:_,onDirty:x})),o.dirty()),r.context={model:e,overallProgress:f,modifyOutputEnd:d},r.agent=o,r.__block=f,T(t,e,r)}c?r.eachRawSeriesByType(c,p):h?h(r,a).each(p):(f=!1,i(r.getSeries(),p));var g=t._pipelineMap;l.each((function(t,e){g.get(e)||(t.dispose(),o.dirty(),l.removeKey(e))}))}(this,r,a,e,n)}),this)},g.prepareView=function(t,e,n,r){var i=t.renderTask,a=i.context;a.model=e,a.ecModel=n,a.api=r,i.__block=!t.incrementalPrepareRender,T(this,e,i)},g.performDataProcessorTasks=function(t,e){v(this,this._dataProcessorHandlers,t,e,{block:!0})},g.performVisualTasks=function(t,e,n){v(this,this._visualHandlers,t,e,n)},g.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e|=t.dataTask.perform()})),this.unfinished|=e},g.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))};var m=g.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)};function y(t){t.overallReset(t.ecModel,t.api,t.payload)}function _(t,e){return t.overallProgress&&b}function b(){this.agent.dirty(),this.getDownstream().dirty()}function x(){this.agent&&this.agent.dirty()}function w(t){return t.plan&&t.plan(t.model,t.ecModel,t.api,t.payload)}function k(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=d(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?a(e,(function(t,e){return C(e)})):S}var S=C(0);function C(t){return function(e,n){var r=n.data,i=n.resetDefines[t];if(i&&i.dataEach)for(var a=e.start;a=0&&!(r[s]<=e);s--);s=Math.min(s,i-2)}else{for(var s=a;se);s++);s=Math.min(s-1,i-2)}o.lerp(t.position,n[s],n[s+1],(e-r[s])/(r[s+1]-r[s])),t.rotation=-Math.atan2(n[s+1][1]-n[s][1],n[s+1][0]-n[s][0])-Math.PI/2,this._lastFrame=s,this._lastFramePercent=e,t.ignore=!1}},i.inherits(s,a),t.exports=s},alwl:function(t,e,n){var r=n("eUgh"),i=n("ut/Y"),a=n("l9OW"),o=n("1LK5"),s=n("sEf8"),l=n("IWTy"),u=n("zZ0H");t.exports=function(t,e,n){var c=-1;e=r(e.length?e:[u],s(i));var h=a(t,(function(t,n,i){return{criteria:r(e,(function(e){return e(t)})),index:++c,value:t}}));return o(h,(function(t,e){return l(t,e,n)}))}},as94:function(t,e,n){var r=n("7aKB"),i=n("3LNs"),a=n("IwbS"),o=n("/y7N"),s=n("Fofx"),l=n("+rIm"),u=n("Znkb"),c=i.extend({makeElOption:function(t,e,n,i,u){var c=n.axis;"angle"===c.dim&&(this.animationThreshold=Math.PI/18);var f,d=c.polar,p=d.getOtherAxis(c).getExtent();f=c["dataTo"+r.capitalFirst(c.dim)](e);var g=i.get("type");if(g&&"none"!==g){var v=o.buildElStyle(i),m=h[g](c,d,f,p,v);m.style=v,t.graphicKey=m.type,t.pointer=m}var y=function(t,e,n,r,i){var o=e.axis,u=o.dataToCoord(t),c=r.getAngleAxis().getExtent()[0];c=c/180*Math.PI;var h,f,d,p=r.getRadiusAxis().getExtent();if("radius"===o.dim){var g=s.create();s.rotate(g,g,c),s.translate(g,g,[r.cx,r.cy]),h=a.applyTransform([u,-i],g);var v=e.getModel("axisLabel").get("rotate")||0,m=l.innerTextLayout(c,v*Math.PI/180,-1);f=m.textAlign,d=m.textVerticalAlign}else{var y=p[1];h=r.coordToPoint([y+i,u]);var _=r.cx,b=r.cy;f=Math.abs(h[0]-_)/y<.3?"center":h[0]>_?"left":"right",d=Math.abs(h[1]-b)/y<.3?"middle":h[1]>b?"top":"bottom"}return{position:h,align:f,verticalAlign:d}}(e,n,0,d,i.get("label.margin"));o.buildLabelElOption(t,n,i,u,y)}}),h={line:function(t,e,n,r,i){return"angle"===t.dim?{type:"Line",shape:o.makeLineShape(e.coordToPoint([r[0],n]),e.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,r,i){var a=Math.max(1,t.getBandWidth()),s=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,r[0],r[1],(-n-a/2)*s,(a/2-n)*s)}:{type:"Sector",shape:o.makeSectorShape(e.cx,e.cy,n-a/2,n+a/2,0,2*Math.PI)}}};u.registerAxisPointerClass("PolarAxisPointer",c),t.exports=c},asDA:function(t,e){t.exports=function(t,e,n,r){var i=-1,a=null==t?0:t.length;for(r&&a&&(n=t[++i]);++i=0&&!n[i][r];i--);if(i<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(a){var o=a.getPercentRange();n[0][r]={dataZoomId:r,start:o[0],end:o[1]}}}})),n.push(e)},e.pop=function(t){var e=a(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return r(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i},e.clear=function(t){t[i]=null},e.count=function(t){return a(t).length}},bBKM:function(t,e,n){n("Tghj");var r=n("ProS"),i=n("bYtY"),a=n("+rIm"),o=n("IwbS"),s=["axisLine","axisTickLabel","axisName"],l=r.extendComponentView({type:"radar",render:function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},_buildAxes:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes(),r=i.map(n,(function(t){return new a(t.model,{position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})}));i.each(r,(function(t){i.each(s,t.add,t),this.group.add(t.getGroup())}),this)},_buildSplitLineAndArea:function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var r=t.get("shape"),a=t.getModel("splitLine"),s=t.getModel("splitArea"),l=a.getModel("lineStyle"),u=s.getModel("areaStyle"),c=a.get("show"),h=s.get("show"),f=l.get("color"),d=u.get("color");f=i.isArray(f)?f:[f],d=i.isArray(d)?d:[d];var p=[],g=[];if("circle"===r)for(var v=n[0].getTicksCoords(),m=e.cx,y=e.cy,_=0;_0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Object(r.a)(i.a,t)}},bLfw:function(t,e,n){var r=n("bYtY"),i=n("Qxkt"),a=n("iRjW"),o=n("Yl7c"),s=o.enableClassManagement,l=o.parseClassType,u=n("4NO4").makeInner,c=n("+TT/"),h=n("3hzK"),f=u(),d=i.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(t,e,n,r){i.call(this,t,e,n,r),this.uid=a.getUID("ec_cpt_model")},init:function(t,e,n,r){this.mergeDefaultAndTheme(t,n)},mergeDefaultAndTheme:function(t,e){var n=this.layoutMode,i=n?c.getLayoutParams(t):{},a=e.getTheme();r.merge(t,a.get(this.mainType)),r.merge(t,this.getDefaultOption()),n&&c.mergeLayoutParam(t,i,n)},mergeOption:function(t,e){r.merge(this.option,t,!0);var n=this.layoutMode;n&&c.mergeLayoutParam(this.option,t,n)},optionUpdated:function(t,e){},getDefaultOption:function(){var t=f(this);if(!t.defaultOption){for(var e=[],n=this.constructor;n;){var i=n.prototype.defaultOption;i&&e.push(i),n=n.superClass}for(var a={},o=e.length-1;o>=0;o--)a=r.merge(a,e[o],!0);t.defaultOption=a}return t.defaultOption},getReferringComponents:function(t){return this.ecModel.queryComponents({mainType:t,index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)})}});s(d,{registerWhenExtend:!0}),a.enableSubTypeDefaulter(d),a.enableTopologicalTravel(d,(function(t){var e=[];return r.each(d.getClassesByMainType(t),(function(t){e=e.concat(t.prototype.dependencies||[])})),e=r.map(e,(function(t){return l(t).main})),"dataset"!==t&&r.indexOf(e,"dataset")<=0&&e.unshift("dataset"),e})),r.mixin(d,h),t.exports=d},bMXI:function(t,e,n){var r=n("bYtY"),i=n("QBsz"),a=n("Fofx"),o=n("mFDi"),s=n("DN4a"),l=i.applyTransform;function u(){s.call(this)}function c(t){this.name=t,s.call(this),this._roamTransformable=new u,this._rawTransformable=new u}function h(t,e,n,r){var i=n.seriesModel,a=i?i.coordinateSystem:null;return a===this?a[t](r):null}r.mixin(u,s),c.prototype={constructor:c,type:"view",dimensions:["x","y"],setBoundingRect:function(t,e,n,r){return this._rect=new o(t,e,n,r),this._rect},getBoundingRect:function(){return this._rect},setViewRect:function(t,e,n,r){this.transformTo(t,e,n,r),this._viewRect=new o(t,e,n,r)},transformTo:function(t,e,n,r){var i=this.getBoundingRect(),a=this._rawTransformable;a.transform=i.calculateTransform(new o(t,e,n,r)),a.decomposeTransform(),this._updateTransform()},setCenter:function(t){t&&(this._center=t,this._updateCenterAndZoom())},setZoom:function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},getDefaultCenter:function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},getCenter:function(){return this._center||this.getDefaultCenter()},getZoom:function(){return this._zoom||1},getRoamTransform:function(){return this._roamTransformable.getLocalTransform()},_updateCenterAndZoom:function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),r=this.getCenter(),a=this.getZoom();r=i.applyTransform([],r,t),n=i.applyTransform([],n,t),e.origin=r,e.position=[n[0]-r[0],n[1]-r[1]],e.scale=[a,a],this._updateTransform()},_updateTransform:function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),a.copy(this.transform||(this.transform=[]),e.transform||a.create()),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],a.invert(this.invTransform,this.transform),this.decomposeTransform()},getTransformInfo:function(){var t=this._roamTransformable.transform,e=this._rawTransformable;return{roamTransform:t?r.slice(t):a.create(),rawScale:r.slice(e.scale),rawPosition:r.slice(e.position)}},getViewRect:function(){return this._viewRect},getViewRectAfterRoam:function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},dataToPoint:function(t,e,n){var r=e?this._rawTransform:this.transform;return n=n||[],r?l(n,t,r):i.copy(n,t)},pointToData:function(t){var e=this.invTransform;return e?l([],t,e):[t[0],t[1]]},convertToPixel:r.curry(h,"dataToPoint"),convertFromPixel:r.curry(h,"pointToData"),containPoint:function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])}},r.mixin(c,s),t.exports=c},bNQv:function(t,e,n){var r=n("gFfm"),i=n("SKAX"),a=n("EwQA"),o=n("Z0cm");t.exports=function(t,e){return(o(t)?r:i)(t,a(e))}},bNin:function(t,e,n){var r=n("bYtY"),i=n("IwbS"),a=n("FBjb"),o=n("Itpr").radialCoordinate,s=n("ProS"),l=n("4mN7"),u=n("bMXI"),c=n("Ae+d"),h=n("SgGq"),f=n("xSat").onIrrelevantElement,d=(n("Tghj"),n("OELB").parsePercent),p=i.extendShape({shape:{parentPoint:[],childPoints:[],orient:"",forkPosition:""},style:{stroke:"#000",fill:null},buildPath:function(t,e){var n=e.childPoints,r=n.length,i=e.parentPoint,a=n[0],o=n[r-1];if(1===r)return t.moveTo(i[0],i[1]),void t.lineTo(a[0],a[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,c=d(e.forkPosition,1),h=[];h[l]=i[l],h[u]=i[u]+(o[u]-i[u])*c,t.moveTo(i[0],i[1]),t.lineTo(h[0],h[1]),t.moveTo(a[0],a[1]),h[l]=a[l],t.lineTo(h[0],h[1]),h[l]=o[l],t.lineTo(h[0],h[1]),t.lineTo(o[0],o[1]);for(var f=1;fC.x)||(w-=Math.PI);var E=k?"left":"right",M=l.labelModel.get("rotate"),I=M*(Math.PI/180);x.setStyle({textPosition:l.labelModel.get("position")||E,textRotation:null==M?-w:I,textOrigin:"center",verticalAlign:"middle"})}!function(t,e,n,a,o,s,l,u,c){var h=c.edgeShape,f=a.__edge;if("curve"===h)e.parentNode&&e.parentNode!==n&&(f||(f=a.__edge=new i.BezierCurve({shape:b(c,o,o),style:r.defaults({opacity:0,strokeNoScale:!0},c.lineStyle)})),i.updateProps(f,{shape:b(c,s,l),style:{opacity:1}},t));else if("polyline"===h&&"orthogonal"===c.layout&&e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var d=e.children,g=[],v=0;v=0;a--)r.push(i[a])}}},c2HN:function(t,e,n){"use strict";function r(t){return!!t&&"function"!=typeof t.subscribe&&"function"==typeof t.then}n.d(e,"a",(function(){return r}))},c2i1:function(t,e,n){n("Tghj");var r=n("bYtY"),i=n("Yl7c").enableClassCheck;function a(t){return"_EC_"+t}var o=function(t){this._directed=t||!1,this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={}},s=o.prototype;function l(t,e){this.id=null==t?"":t,this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=null==e?-1:e}function u(t,e,n){this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}s.type="graph",s.isDirected=function(){return this._directed},s.addNode=function(t,e){var n=this._nodesMap;if(!n[a(t=null==t?""+e:""+t)]){var r=new l(t,e);return r.hostGraph=this,this.nodes.push(r),n[a(t)]=r,r}},s.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},s.getNodeById=function(t){return this._nodesMap[a(t)]},s.addEdge=function(t,e,n){var r=this._nodesMap,i=this._edgesMap;if("number"==typeof t&&(t=this.nodes[t]),"number"==typeof e&&(e=this.nodes[e]),l.isInstance(t)||(t=r[a(t)]),l.isInstance(e)||(e=r[a(e)]),t&&e){var o=t.id+"-"+e.id;if(!i[o]){var s=new u(t,e,n);return s.hostGraph=this,this._directed&&(t.outEdges.push(s),e.inEdges.push(s)),t.edges.push(s),t!==e&&e.edges.push(s),this.edges.push(s),i[o]=s,s}}},s.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},s.getEdge=function(t,e){l.isInstance(t)&&(t=t.id),l.isInstance(e)&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},s.eachNode=function(t,e){for(var n=this.nodes,r=n.length,i=0;i=0&&t.call(e,n[i],i)},s.eachEdge=function(t,e){for(var n=this.edges,r=n.length,i=0;i=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&t.call(e,n[i],i)},s.breadthFirstTraverse=function(t,e,n,r){if(l.isInstance(e)||(e=this._nodesMap[a(e)]),e){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0})),i=0,a=r.length;i=0&&this[t][e].setItemVisual(this.dataIndex,n,r)},getVisual:function(n,r){return this[t][e].getItemVisual(this.dataIndex,n,r)},setLayout:function(n,r){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}};r.mixin(l,c("hostGraph","data")),r.mixin(u,c("hostGraph","edgeData")),o.Node=l,o.Edge=u,i(l),i(u),t.exports=o},c6wG:function(t,e,n){var r=n("dD9F"),i=n("sEf8"),a=n("mdPL"),o=a&&a.isTypedArray,s=o?i(o):r;t.exports=s},c8qY:function(t,e,n){var r=n("IwbS"),i=n("fls0");function a(t){this._ctor=t||i,this.group=new r.Group}var o=a.prototype;function s(t){var e=t.hostModel;return{lineStyle:e.getModel("lineStyle").getLineStyle(),hoverLineStyle:e.getModel("emphasis.lineStyle").getLineStyle(),labelModel:e.getModel("label"),hoverLabelModel:e.getModel("emphasis.label")}}function l(t){return isNaN(t[0])||isNaN(t[1])}function u(t){return!l(t[0])&&!l(t[1])}o.isPersistent=function(){return!0},o.updateData=function(t){var e=this,n=e.group,r=e._lineData;e._lineData=t,r||n.removeAll();var i=s(t);t.diff(r).add((function(n){!function(t,e,n,r){if(u(e.getItemLayout(n))){var i=new t._ctor(e,n,r);e.setItemGraphicEl(n,i),t.group.add(i)}}(e,t,n,i)})).update((function(n,a){!function(t,e,n,r,i,a){var o=e.getItemGraphicEl(r);u(n.getItemLayout(i))?(o?o.updateData(n,i,a):o=new t._ctor(n,i,a),n.setItemGraphicEl(i,o),t.group.add(o)):t.group.remove(o)}(e,r,t,a,n,i)})).remove((function(t){n.remove(r.getItemGraphicEl(t))})).execute()},o.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},o.incrementalPrepareUpdate=function(t){this._seriesScope=s(t),this._lineData=null,this.group.removeAll()},o.incrementalUpdate=function(t,e){function n(t){t.isGroup||(t.incremental=t.useHoverLayer=!0)}for(var r=t.start;r0?{x:t.changedTouches[0].clientX,y:t.changedTouches[0].clientY}:void 0!==t.clientX&&void 0!==t.clientY?{x:t.clientX,y:t.clientY}:null}function d(t,e){var n=t.nativeElement.getBoundingClientRect();return"horizontal"===e?n.width:n.height}function p(t){return"boolean"==typeof t?t:"false"!==t}function g(t,e){return null==t?e:(t=Number(t),!isNaN(t)&&t>=0?t:e)}function v(t,e){if("percent"===t){var n=e.reduce((function(t,e){return null!==e?t+e:t}),0);return e.every((function(t){return null!==t}))&&n>99.9&&n<100.1}if("pixel"===t)return 1===e.filter((function(t){return null===t})).length}function m(t){return null===t.size?null:!0===t.component.lockSize?t.size:null===t.component.minSize?null:t.component.minSize>t.size?t.size:t.component.minSize}function y(t){return null===t.size?null:!0===t.component.lockSize?t.size:null===t.component.maxSize?null:t.component.maxSize0){if(null!==t.area.maxSize&&r>t.area.maxSize){var i=t.area.maxSize/100*n;return{areaSnapshot:t,pixelAbsorb:i,percentAfterAbsorption:t.area.maxSize,pixelRemain:t.sizePixelAtStart+e-i}}return{areaSnapshot:t,pixelAbsorb:e,percentAfterAbsorption:r>100?100:r,pixelRemain:0}}if(e<0){if(null!==t.area.minSize&&r0?null!==t.area.maxSize&&r>t.area.maxSize?{areaSnapshot:t,pixelAbsorb:t.area.maxSize-t.sizePixelAtStart,percentAfterAbsorption:-1,pixelRemain:r-t.area.maxSize}:{areaSnapshot:t,pixelAbsorb:e,percentAfterAbsorption:-1,pixelRemain:0}:e<0?null!==t.area.minSize&&r0)this.displayedAreas.forEach((function(t,e){t.size=0===e?null:t.component.size,t.minSize=0===e?null:m(t),t.maxSize=0===e?null:y(t)}));else if(i.length>1){var a=!1;this.displayedAreas.forEach((function(t){null===t.component.size?!1===a?(t.size=null,t.minSize=null,t.maxSize=null,a=!0):(t.size=100,t.minSize=null,t.maxSize=null):(t.size=t.component.size,t.minSize=m(t),t.maxSize=y(t))}))}}}}this.refreshStyleSizes(),this.cdRef.markForCheck()}},{key:"refreshStyleSizes",value:function(){var t=this;if("percent"===this.unit)if(1===this.displayedAreas.length)this.displayedAreas[0].component.setStyleFlex(0,0,"100%",!1,!1);else{var e=this.getNbGutters()*this.gutterSize;this.displayedAreas.forEach((function(t){t.component.setStyleFlex(0,0,"calc( ".concat(t.size,"% - ").concat(t.size/100*e,"px )"),null!==t.minSize&&t.minSize===t.size,null!==t.maxSize&&t.maxSize===t.size)}))}else"pixel"===this.unit&&this.displayedAreas.forEach((function(e){null===e.size?e.component.setStyleFlex(1,1,1===t.displayedAreas.length?"100%":"auto",!1,!1):1===t.displayedAreas.length?e.component.setStyleFlex(0,0,"100%",!1,!1):e.component.setStyleFlex(0,0,e.size+"px",null!==e.minSize&&e.minSize===e.size,null!==e.maxSize&&e.maxSize===e.size)}))}},{key:"clickGutter",value:function(t,e){var n=this,r=f(t);this.startPoint&&this.startPoint.x===r.x&&this.startPoint.y===r.y&&(null!==this._clickTimeout?(window.clearTimeout(this._clickTimeout),this._clickTimeout=null,this.notify("dblclick",e),this.stopDragging()):this._clickTimeout=window.setTimeout((function(){n._clickTimeout=null,n.notify("click",e),n.stopDragging()}),this.gutterDblClickDuration))}},{key:"startDragging",value:function(t,e,n){var r=this;t.preventDefault(),t.stopPropagation(),this.startPoint=f(t),null!==this.startPoint&&!0!==this.disabled&&(this.snapshot={gutterNum:n,lastSteppedOffset:0,allAreasSizePixel:d(this.elRef,this.direction)-this.getNbGutters()*this.gutterSize,allInvolvedAreasSizePercent:100,areasBeforeGutter:[],areasAfterGutter:[]},this.displayedAreas.forEach((function(t){var n={area:t,sizePixelAtStart:d(t.component.elRef,r.direction),sizePercentAtStart:"percent"===r.unit?t.size:-1};t.ordere&&(!0===r.restrictMove?0===r.snapshot.areasAfterGutter.length&&(r.snapshot.areasAfterGutter=[n]):r.snapshot.areasAfterGutter.push(n))})),this.snapshot.allInvolvedAreasSizePercent=[].concat(_toConsumableArray(this.snapshot.areasBeforeGutter),_toConsumableArray(this.snapshot.areasAfterGutter)).reduce((function(t,e){return t+e.sizePercentAtStart}),0),0!==this.snapshot.areasBeforeGutter.length&&0!==this.snapshot.areasAfterGutter.length&&(this.dragListeners.push(this.renderer.listen("document","mouseup",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchend",this.stopDragging.bind(this))),this.dragListeners.push(this.renderer.listen("document","touchcancel",this.stopDragging.bind(this))),this.ngZone.runOutsideAngular((function(){r.dragListeners.push(r.renderer.listen("document","mousemove",r.dragEvent.bind(r))),r.dragListeners.push(r.renderer.listen("document","touchmove",r.dragEvent.bind(r)))})),this.displayedAreas.forEach((function(t){return t.component.lockEvents()})),this.isDragging=!0,this.renderer.addClass(this.elRef.nativeElement,"as-dragging"),this.renderer.addClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.notify("start",this.snapshot.gutterNum)))}},{key:"dragEvent",value:function(t){var e=this;if(t.preventDefault(),t.stopPropagation(),null!==this._clickTimeout&&(window.clearTimeout(this._clickTimeout),this._clickTimeout=null),!1!==this.isDragging&&(this.endPoint=f(t),null!==this.endPoint)){var n="horizontal"===this.direction?this.startPoint.x-this.endPoint.x:this.startPoint.y-this.endPoint.y;"rtl"===this.dir&&(n=-n);var r=Math.round(n/this.gutterStep)*this.gutterStep;if(r!==this.snapshot.lastSteppedOffset){this.snapshot.lastSteppedOffset=r;var i=_(this.unit,this.snapshot.areasBeforeGutter,-r,this.snapshot.allAreasSizePixel),a=_(this.unit,this.snapshot.areasAfterGutter,r,this.snapshot.allAreasSizePixel);if(0!==i.remain&&0!==a.remain?Math.abs(i.remain)===Math.abs(a.remain)||(Math.abs(i.remain)>Math.abs(a.remain)?a=_(this.unit,this.snapshot.areasAfterGutter,r+i.remain,this.snapshot.allAreasSizePixel):i=_(this.unit,this.snapshot.areasBeforeGutter,-(r-a.remain),this.snapshot.allAreasSizePixel)):0!==i.remain?a=_(this.unit,this.snapshot.areasAfterGutter,r+i.remain,this.snapshot.allAreasSizePixel):0!==a.remain&&(i=_(this.unit,this.snapshot.areasBeforeGutter,-(r-a.remain),this.snapshot.allAreasSizePixel)),"percent"===this.unit){var o=[].concat(_toConsumableArray(i.list),_toConsumableArray(a.list)),s=o.find((function(t){return 0!==t.percentAfterAbsorption&&t.percentAfterAbsorption!==t.areaSnapshot.area.minSize&&t.percentAfterAbsorption!==t.areaSnapshot.area.maxSize}));s&&(s.percentAfterAbsorption=this.snapshot.allInvolvedAreasSizePercent-o.filter((function(t){return t!==s})).reduce((function(t,e){return t+e.percentAfterAbsorption}),0))}i.list.forEach((function(t){return b(e.unit,t)})),a.list.forEach((function(t){return b(e.unit,t)})),this.refreshStyleSizes(),this.notify("progress",this.snapshot.gutterNum)}}}},{key:"stopDragging",value:function(t){var e=this;if(t&&(t.preventDefault(),t.stopPropagation()),!1!==this.isDragging){for(this.displayedAreas.forEach((function(t){return t.component.unlockEvents()}));this.dragListeners.length>0;){var n=this.dragListeners.pop();n&&n()}this.isDragging=!1,!this.endPoint||this.startPoint.x===this.endPoint.x&&this.startPoint.y===this.endPoint.y||this.notify("end",this.snapshot.gutterNum),this.renderer.removeClass(this.elRef.nativeElement,"as-dragging"),this.renderer.removeClass(this.gutterEls.toArray()[this.snapshot.gutterNum-1].nativeElement,"as-dragged"),this.snapshot=null,this.ngZone.runOutsideAngular((function(){setTimeout((function(){e.startPoint=null,e.endPoint=null}))}))}}},{key:"notify",value:function(t,e){var n=this,r=this.getVisibleAreaSizes();"start"===t?this.dragStart.emit({gutterNum:e,sizes:r}):"end"===t?this.dragEnd.emit({gutterNum:e,sizes:r}):"click"===t?this.gutterClick.emit({gutterNum:e,sizes:r}):"dblclick"===t?this.gutterDblClick.emit({gutterNum:e,sizes:r}):"transitionEnd"===t?this.transitionEndSubscriber&&this.ngZone.run((function(){return n.transitionEndSubscriber.next(r)})):"progress"===t&&this.dragProgressSubject.next({gutterNum:e,sizes:r})}},{key:"ngOnDestroy",value:function(){this.stopDragging()}},{key:"direction",set:function(t){this._direction="vertical"===t?"vertical":"horizontal",this.renderer.addClass(this.elRef.nativeElement,"as-"+this._direction),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("vertical"===this._direction?"horizontal":"vertical")),this.build(!1,!1)},get:function(){return this._direction}},{key:"unit",set:function(t){this._unit="pixel"===t?"pixel":"percent",this.renderer.addClass(this.elRef.nativeElement,"as-"+this._unit),this.renderer.removeClass(this.elRef.nativeElement,"as-"+("pixel"===this._unit?"percent":"pixel")),this.build(!1,!0)},get:function(){return this._unit}},{key:"gutterSize",set:function(t){this._gutterSize=g(t,11),this.build(!1,!1)},get:function(){return this._gutterSize}},{key:"gutterStep",set:function(t){this._gutterStep=g(t,1)},get:function(){return this._gutterStep}},{key:"restrictMove",set:function(t){this._restrictMove=p(t)},get:function(){return this._restrictMove}},{key:"useTransition",set:function(t){this._useTransition=p(t),this._useTransition?this.renderer.addClass(this.elRef.nativeElement,"as-transition"):this.renderer.removeClass(this.elRef.nativeElement,"as-transition")},get:function(){return this._useTransition}},{key:"disabled",set:function(t){this._disabled=p(t),this._disabled?this.renderer.addClass(this.elRef.nativeElement,"as-disabled"):this.renderer.removeClass(this.elRef.nativeElement,"as-disabled")},get:function(){return this._disabled}},{key:"dir",set:function(t){this._dir="rtl"===t?"rtl":"ltr",this.renderer.setAttribute(this.elRef.nativeElement,"dir",this._dir)},get:function(){return this._dir}},{key:"gutterDblClickDuration",set:function(t){this._gutterDblClickDuration=g(t,0)},get:function(){return this._gutterDblClickDuration}},{key:"transitionEnd",get:function(){var t=this;return new o.a((function(e){return t.transitionEndSubscriber=e})).pipe(Object(s.a)(20))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.z),r.Ob(r.l),r.Ob(r.h),r.Ob(r.E))},t.\u0275cmp=r.Ib({type:t,selectors:[["as-split"]],viewQuery:function(t,e){var n;1&t&&r.Ec(l,!0),2&t&&r.qc(n=r.dc())&&(e.gutterEls=n)},inputs:{direction:"direction",unit:"unit",gutterSize:"gutterSize",gutterStep:"gutterStep",restrictMove:"restrictMove",useTransition:"useTransition",disabled:"disabled",dir:"dir",gutterDblClickDuration:"gutterDblClickDuration"},outputs:{dragStart:"dragStart",dragEnd:"dragEnd",gutterClick:"gutterClick",gutterDblClick:"gutterDblClick",transitionEnd:"transitionEnd"},exportAs:["asSplit"],ngContentSelectors:h,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],["class","as-split-gutter",3,"flex-basis","order","mousedown","touchstart","mouseup","touchend",4,"ngIf"],[1,"as-split-gutter",3,"mousedown","touchstart","mouseup","touchend"],["gutterEls",""],[1,"as-split-gutter-icon"]],template:function(t,e){1&t&&(r.kc(),r.jc(0),r.yc(1,c,1,1,"ng-template",0)),2&t&&(r.Cb(1),r.lc("ngForOf",e.displayedAreas))},directives:[i.i,i.j],styles:['[_nghost-%COMP%]{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:stretch;overflow:hidden;width:100%;height:100%}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-grow:0;flex-shrink:0;background-color:#eee;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{width:100%;height:100%;background-position:center center;background-repeat:no-repeat}[_nghost-%COMP%] >.as-split-area{flex-grow:0;flex-shrink:0;overflow-x:hidden;overflow-y:auto}[_nghost-%COMP%] >.as-split-area.as-hidden{flex:0 1 0!important;overflow-x:hidden;overflow-y:hidden}.as-horizontal[_nghost-%COMP%]{flex-direction:row}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:row;cursor:col-resize;height:100%}.as-horizontal[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] > .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==)}.as-horizontal[_nghost-%COMP%] >.as-split-area{height:100%}.as-vertical[_nghost-%COMP%]{flex-direction:column}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{flex-direction:column;cursor:row-resize;width:100%}.as-vertical[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFCAMAAABl/6zIAAAABlBMVEUAAADMzMzIT8AyAAAAAXRSTlMAQObYZgAAABRJREFUeAFjYGRkwIMJSeMHlBkOABP7AEGzSuPKAAAAAElFTkSuQmCC)}.as-vertical[_nghost-%COMP%] >.as-split-area{width:100%}.as-vertical[_nghost-%COMP%] >.as-split-area.as-hidden{max-width:0}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%]{cursor:default}.as-disabled[_nghost-%COMP%] > .as-split-gutter[_ngcontent-%COMP%] .as-split-gutter-icon[_ngcontent-%COMP%]{background-image:url("")}.as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) >.as-split-area, .as-transition.as-init[_nghost-%COMP%]:not(.as-dragging) > .as-split-gutter[_ngcontent-%COMP%]{transition:flex-basis .3s}'],changeDetection:0}),t}(),w=function(){var t=function(){function t(e,n,r,i){_classCallCheck(this,t),this.ngZone=e,this.elRef=n,this.renderer=r,this.split=i,this._order=null,this._size=null,this._minSize=null,this._maxSize=null,this._lockSize=!1,this._visible=!0,this.lockListeners=[],this.renderer.addClass(this.elRef.nativeElement,"as-split-area")}return _createClass2(t,[{key:"ngOnInit",value:function(){var t=this;this.split.addArea(this),this.ngZone.runOutsideAngular((function(){t.transitionListener=t.renderer.listen(t.elRef.nativeElement,"transitionend",(function(e){"flex-basis"===e.propertyName&&t.split.notify("transitionEnd",-1)}))}))}},{key:"setStyleOrder",value:function(t){this.renderer.setStyle(this.elRef.nativeElement,"order",t)}},{key:"setStyleFlex",value:function(t,e,n,r,i){this.renderer.setStyle(this.elRef.nativeElement,"flex-grow",t),this.renderer.setStyle(this.elRef.nativeElement,"flex-shrink",e),this.renderer.setStyle(this.elRef.nativeElement,"flex-basis",n),!0===r?this.renderer.addClass(this.elRef.nativeElement,"as-min"):this.renderer.removeClass(this.elRef.nativeElement,"as-min"),!0===i?this.renderer.addClass(this.elRef.nativeElement,"as-max"):this.renderer.removeClass(this.elRef.nativeElement,"as-max")}},{key:"lockEvents",value:function(){var t=this;this.ngZone.runOutsideAngular((function(){t.lockListeners.push(t.renderer.listen(t.elRef.nativeElement,"selectstart",(function(t){return!1}))),t.lockListeners.push(t.renderer.listen(t.elRef.nativeElement,"dragstart",(function(t){return!1})))}))}},{key:"unlockEvents",value:function(){for(;this.lockListeners.length>0;){var t=this.lockListeners.pop();t&&t()}}},{key:"ngOnDestroy",value:function(){this.unlockEvents(),this.transitionListener&&this.transitionListener(),this.split.removeArea(this)}},{key:"order",set:function(t){this._order=g(t,null),this.split.updateArea(this,!0,!1)},get:function(){return this._order}},{key:"size",set:function(t){this._size=g(t,null),this.split.updateArea(this,!1,!0)},get:function(){return this._size}},{key:"minSize",set:function(t){this._minSize=g(t,null),this.split.updateArea(this,!1,!0)},get:function(){return this._minSize}},{key:"maxSize",set:function(t){this._maxSize=g(t,null),this.split.updateArea(this,!1,!0)},get:function(){return this._maxSize}},{key:"lockSize",set:function(t){this._lockSize=p(t),this.split.updateArea(this,!1,!0)},get:function(){return this._lockSize}},{key:"visible",set:function(t){this._visible=p(t),this._visible?(this.split.showArea(this),this.renderer.removeClass(this.elRef.nativeElement,"as-hidden")):(this.split.hideArea(this),this.renderer.addClass(this.elRef.nativeElement,"as-hidden"))},get:function(){return this._visible}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.z),r.Ob(r.l),r.Ob(r.E),r.Ob(x))},t.\u0275dir=r.Jb({type:t,selectors:[["as-split-area"],["","as-split-area",""]],inputs:{order:"order",size:"size",minSize:"minSize",maxSize:"maxSize",lockSize:"lockSize",visible:"visible"},exportAs:["asSplitArea"]}),t}(),k=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,null,[{key:"forRoot",value:function(){return{ngModule:t,providers:[]}}},{key:"forChild",value:function(){return{ngModule:t,providers:[]}}}]),t}();return t.\u0275mod=r.Mb({type:t}),t.\u0275inj=r.Lb({factory:function(e){return new(e||t)},imports:[[i.b]]}),t}()},cpOr:function(t,e,n){n("Tghj");var r=n("T4UG"),i=n("YXkt"),a=n("bYtY"),o=a.concatArray,s=a.mergeAll,l=a.map,u=n("7aKB").encodeHTML,c=(n("IDmD"),"undefined"==typeof Uint32Array?Array:Uint32Array),h="undefined"==typeof Float64Array?Array:Float64Array;function f(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=l(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),s([e,t[0],t[1]])})))}var d=r.extend({type:"series.lines",dependencies:["grid","polar"],visualColorAccessPath:"lineStyle.color",init:function(t){t.data=t.data||[],f(t);var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count)),d.superApply(this,"init",arguments)},mergeOption:function(t){if(t.data=t.data||[],f(t),t.data){var e=this._processFlatCoordsArray(t.data);this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset,e.flatCoords&&(t.data=new Float32Array(e.count))}d.superApply(this,"mergeOption",arguments)},appendData:function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=o(this._flatCoords,e.flatCoords),this._flatCoordsOffset=o(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},_getCoordsFromItemModel:function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},getLineCoordsCount:function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},getLineCoords:function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],r=this._flatCoordsOffset[2*t+1],i=0;i "))},preventIncremental:function(){return!!this.get("effect.show")},getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},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}}});t.exports=d},"cq/+":function(t,e,n){var r=n("mc0g")();t.exports=r},crZl:function(t,e,n){var r=n("ProS"),i=n("bYtY"),a=n("IwbS"),o=n("7aKB"),s=n("+TT/"),l=n("XxSj"),u=r.extendComponentView({type:"visualMap",autoPositionValues:{left:1,right:1,top:1,bottom:1},init:function(t,e){this.ecModel=t,this.api=e},render:function(t,e,n,r){this.visualMapModel=t,!1!==t.get("show")?this.doRender.apply(this,arguments):this.group.removeAll()},renderBackground:function(t){var e=this.visualMapModel,n=o.normalizeCssArray(e.get("padding")||0),r=t.getBoundingRect();t.add(new a.Rect({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},getControllerVisual:function(t,e,n){var r=(n=n||{}).forceState,a=this.visualMapModel,o={};if("symbol"===e&&(o.symbol=a.get("itemSymbol")),"color"===e){var s=a.get("contentColor");o.color=s}function u(t){return o[t]}function c(t,e){o[t]=e}var h=a.controllerVisuals[r||a.getValueState(t)],f=l.prepareVisualTypes(h);return i.each(f,(function(r){var i=h[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",i=h.__alphaForOpacity),l.dependsOn(r,e)&&i&&i.applyVisual(t,u,c)})),o[e]},positionGroup:function(t){var e=this.api;s.positionElement(t,this.visualMapModel.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})},doRender:i.noop});t.exports=u},cvCv:function(t,e){t.exports=function(t){return function(){return t}}},d4KN:function(t,e,n){var r=n("ProS"),i=n("bYtY");t.exports=function(t,e){i.each(e,(function(e){e.update="updateView",r.registerAction(e,(function(n,r){var i={};return r.eachComponent({mainType:"series",subType:t,query:n},(function(t){t[e.method]&&t[e.method](n.name,n.dataIndex);var r=t.getData();r.each((function(e){var n=r.getName(e);i[n]=t.isSelected(n)||!1}))})),{name:n.name,selected:i,seriesId:n.seriesId}}))}))}},dBmv:function(t,e,n){var r=n("ProS"),i=n("szbU");n("vF/C"),n("qwVE"),n("MHoB"),n("PNag"),n("1u/T"),r.registerPreprocessor(i)},dD9F:function(t,e,n){var r=n("NykK"),i=n("shjB"),a=n("ExA7"),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,t.exports=function(t){return a(t)&&i(t.length)&&!!o[r(t)]}},dMvE:function(t,e){var n={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-n.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*n.bounceIn(2*t):.5*n.bounceOut(2*t-1)+.5}};t.exports=n},dOj1:function(t,e,n){"use strict";var r=n("b5wT"),i=n("GEWS"),a=n("6Ekc").slack,o=n("6Ekc").longestPath,s=n("F9We").alg.preorder,l=n("F9We").alg.postorder,u=n("tQ6r").simplify;function c(t){t=u(t),o(t);var e,n=i(t);for(d(n),h(n,t);e=g(n);)m(n,t,e,v(n,t,e))}function h(t,e){var n=l(t,t.nodes());n=n.slice(0,n.length-1),r.forEach(n,(function(n){!function(t,e,n){var r=t.node(n);t.edge(n,r.parent).cutvalue=f(t,e,n)}(t,e,n)}))}function f(t,e,n){var i=t.node(n).parent,a=!0,o=e.edge(n,i),s=0;return o||(a=!1,o=e.edge(i,n)),s=o.weight,r.forEach(e.nodeEdges(n),(function(r){var o=r.v===n,l=o?r.w:r.v;if(l!==i){var u=o===a,c=e.edge(r).weight;if(s+=u?c:-c,t.hasEdge(n,l)){var h=t.edge(n,l).cutvalue;s+=u?-h:h}}})),s}function d(t,e){arguments.length<2&&(e=t.nodes()[0]),p(t,{},1,e)}function p(t,e,n,i,a){var o=n,s=t.node(i);return e[i]=!0,r.forEach(t.neighbors(i),(function(a){r.has(e,a)||(n=p(t,e,n,a,i))})),s.low=o,s.lim=n++,a?s.parent=a:delete s.parent,n}function g(t){return r.find(t.edges(),(function(e){return t.edge(e).cutvalue<0}))}function v(t,e,n){var i=n.v,o=n.w;e.hasEdge(i,o)||(i=n.w,o=n.v);var s=t.node(i),l=t.node(o),u=s,c=!1;s.lim>l.lim&&(u=l,c=!0);var h=r.filter(e.edges(),(function(e){return c===y(0,t.node(e.v),u)&&c!==y(0,t.node(e.w),u)}));return r.minBy(h,(function(t){return a(e,t)}))}function m(t,e,n,i){t.removeEdge(n.v,n.w),t.setEdge(i.v,i.w,{}),d(t),h(t,e),function(t,e){var n=r.find(t.nodes(),(function(t){return!e.node(t).parent})),i=s(t,n);i=i.slice(1),r.forEach(i,(function(n){var r=t.node(n).parent,i=e.edge(n,r),a=!1;i||(i=e.edge(r,n),a=!0),e.node(n).rank=e.node(r).rank+(a?i.minlen:-i.minlen)}))}(t,e)}function y(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}t.exports=c,c.initLowLimValues=d,c.initCutValues=h,c.calcCutValue=f,c.leaveEdge=g,c.enterEdge=v,c.exchangeEdges=m},dQpi:function(t,e,n){var r=n("yGk4"),i=n("vN+2"),a=n("rEGp"),o=r&&1/a(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=o},dTAl:function(t,e,n){var r=n("GoyQ"),i=Object.create,a=function(){function t(){}return function(e){if(!r(e))return{};if(i)return i(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=a},dmGj:function(t,e,n){var r=n("DEFe"),i=n("ProS").extendComponentView({type:"geo",init:function(t,e){var n=new r(e,!0);this._mapDraw=n,this.group.add(n.group)},render:function(t,e,n,r){if(!r||"geoToggleSelect"!==r.type||r.from!==this.uid){var i=this._mapDraw;t.get("show")?i.draw(t,e,n,this,r):this._mapDraw.group.removeAll(),this.group.silent=t.get("silent")}},dispose:function(){this._mapDraw&&this._mapDraw.remove()}});t.exports=i},dnwI:function(t,e,n){var r=n("ProS"),i=n("bYtY"),a=n("YH21"),o=n("Kagy"),s=n("IUWy"),l=o.toolbox.dataView,u=new Array(60).join("-");function c(t){return i.map(t,(function(t){var e=t.getRawData(),n=[t.name],r=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,i=arguments[t-1],a=e.getName(i),o=0;o=0)return!0}(t)){var a=function(t){for(var e=t.split(/\n+/g),n=h(e.shift()).split(f),r=[],a=i.map(n,(function(t){return{name:t,data:[]}})),o=0;o=0;h--)null==o[h]?o.splice(h,1):delete o[h].$action},_flatten:function(t,e,n){i.each(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var r=t.children;"group"===t.type&&r&&this._flatten(r,e,t),delete t.children}}),this)},useElOptionsToUpdate:function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t}});function h(t,e,n,r){var i=n.type,a=new(u.hasOwnProperty(i)?u[i]:o.getShapeClass(i))(n);e.add(a),r.set(t,a),a.__ecGraphicId=t}function f(t,e){var n=t&&t.parent;n&&("group"===t.type&&t.traverse((function(t){f(t,e)})),e.removeKey(t.__ecGraphicId),n.remove(t))}function d(t,e){var n;return i.each(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}r.extendComponentView({type:"graphic",init:function(t,e){this._elMap=i.createHashMap()},render:function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},_updateElements:function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,r=this.group;i.each(e,(function(e){var a=e.$action,o=e.id,l=n.get(o),u=e.parentId,c=null!=u?n.get(u):r,d=e.style;"text"===e.type&&d&&(e.hv&&e.hv[1]&&(d.textVerticalAlign=d.textBaseline=null),!d.hasOwnProperty("textFill")&&d.fill&&(d.textFill=d.fill),!d.hasOwnProperty("textStroke")&&d.stroke&&(d.textStroke=d.stroke));var p=function(t){return t=i.extend({},t),i.each(["id","parentId","$action","hv","bounding"].concat(s.LOCATION_PARAMS),(function(e){delete t[e]})),t}(e);a&&"merge"!==a?"replace"===a?(f(l,n),h(o,c,p,n)):"remove"===a&&f(l,n):l?l.attr(p):h(o,c,p,n);var g=n.get(o);g&&(g.__ecGraphicWidthOption=e.width,g.__ecGraphicHeightOption=e.height,function(t,e,n){var r=t.eventData;t.silent||t.ignore||r||(r=t.eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),r&&(r.info=t.info)}(g,t))}))}},_relocate:function(t,e){for(var n=t.option.elements,r=this.group,i=this._elMap,a=e.getWidth(),o=e.getHeight(),u=0;u=0;u--){var h,f,d;(f=i.get((h=n[u]).id))&&s.positionElement(f,h,(d=f.parent)===r?{width:a,height:o}:{width:d.__ecGraphicWidth,height:d.__ecGraphicHeight},null,{hv:h.hv,boundingMode:h.bounding})}},_clear:function(){var t=this._elMap;t.each((function(e){f(e,t)})),this._elMap=i.createHashMap()},dispose:function(){this._clear()}})},f3JH:function(t,e,n){n("aTJb"),n("OlYY"),n("fc+c"),n("oY9F"),n("MqEG"),n("LBfv"),n("noeP")},f5HG:function(t,e,n){var r=n("IwbS"),i=n("QBsz"),a=r.Line.prototype,o=r.BezierCurve.prototype;function s(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var l=r.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(t,e){this[s(e)?"_buildPathLine":"_buildPathCurve"](t,e)},_buildPathLine:a.buildPath,_buildPathCurve:o.buildPath,pointAt:function(t){return this[s(this.shape)?"_pointAtLine":"_pointAtCurve"](t)},_pointAtLine:a.pointAt,_pointAtCurve:o.pointAt,tangentAt:function(t){var e=this.shape,n=s(e)?[e.x2-e.x1,e.y2-e.y1]:this._tangentAtCurve(t);return i.normalize(n,n)},_tangentAtCurve:o.tangentAt});t.exports=l},f5Yq:function(t,e,n){var r=n("bYtY").isFunction;t.exports=function(t,e,n){return{seriesType:t,performRawSeries:!0,reset:function(t,i,a){var o=t.getData(),s=t.get("symbol"),l=t.get("symbolSize"),u=t.get("symbolKeepAspect"),c=r(s),h=r(l),f=c||h,d=!c&&s?s:e;if(o.setVisual({legendSymbol:n||d,symbol:d,symbolSize:h?null:l,symbolKeepAspect:u}),!i.isSeriesFiltered(t))return{dataEach:o.hasItemOption||f?function(e,n){if(f){var r=t.getRawValue(n),i=t.getDataParams(n);c&&e.setItemVisual(n,"symbol",s(r,i)),h&&e.setItemVisual(n,"symbolSize",l(r,i))}if(e.hasItemOption){var a=e.getItemModel(n),o=a.getShallow("symbol",!0),u=a.getShallow("symbolSize",!0),d=a.getShallow("symbolKeepAspect",!0);null!=o&&e.setItemVisual(n,"symbol",o),null!=u&&e.setItemVisual(n,"symbolSize",u),null!=d&&e.setItemVisual(n,"symbolKeepAspect",d)}}:null}}}}},fE02:function(t,e,n){var r=n("ProS"),i=n("bYtY"),a=n("/IIm"),o=n("vZ6x"),s=n("b9oc"),l=n("72pK"),u=n("Kagy"),c=n("IUWy");n("3TkU");var h=i.each;function f(t,e,n){(this._brushController=new a(n.getZr())).on("brush",i.bind(this._onBrush,this)).mount()}f.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:i.clone(u.toolbox.dataZoom.title)};var d=f.prototype;d.render=function(t,e,n,r){this.model=t,this.ecModel=e,this.api=n,function(t,e,n,r,i){var a=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(a="dataZoomSelect"===r.key&&r.dataZoomSelectActive),n._isZoomActive=a,t.setIconStatus("zoom",a?"emphasis":"normal");var s=new o(g(t.option),e,{include:["grid"]});n._brushController.setPanels(s.makePanelOpts(i,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}))).enableBrush(!!a&&{brushType:"auto",brushStyle:{lineWidth:0,fill:"rgba(0,0,0,0.2)"}})}(t,e,this,r,n),function(t,e){t.setIconStatus("back",s.count(e)>1?"emphasis":"normal")}(t,e)},d.onclick=function(t,e,n){p[n].call(this)},d.remove=function(t,e){this._brushController.unmount()},d.dispose=function(t,e){this._brushController.dispose()};var p={zoom:function(){this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:!this._isZoomActive})},back:function(){this._dispatchZoomAction(s.pop(this.ecModel))}};function g(t){var e={};return i.each(["xAxisIndex","yAxisIndex"],(function(n){e[n]=t[n],null==e[n]&&(e[n]="all"),(!1===e[n]||"none"===e[n])&&(e[n]=[])})),e}d._onBrush=function(t,e){if(e.isEnd&&t.length){var n={},r=this.ecModel;this._brushController.updateCovers([]),new o(g(this.model.option),r,{include:["grid"]}).matchOutputRanges(t,r,(function(t,e,n){if("cartesian2d"===n.type){var r=t.brushType;"rect"===r?(i("x",n,e[0]),i("y",n,e[1])):i({lineX:"x",lineY:"y"}[r],n,e)}})),s.push(r,n),this._dispatchZoomAction(n)}function i(t,e,i){var a=e.getAxis(t),o=a.model,s=function(t,e,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(r=n)})),r}(t,o,r),u=s.findRepresentativeAxisProxy(o).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(i=l(0,i.slice(),a.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:i[0],endValue:i[1]})}},d._dispatchZoomAction=function(t){var e=[];h(t,(function(t,n){e.push(i.clone(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},c.register("dataZoom",f),r.registerPreprocessor((function(t){if(t){var e=t.dataZoom||(t.dataZoom=[]);i.isArray(e)||(t.dataZoom=e=[e]);var n=t.toolbox;if(n&&(i.isArray(n)&&(n=n[0]),n&&n.feature)){var r=n.feature.dataZoom;a("xAxis",r),a("yAxis",r)}}function a(n,r){if(r){var a=n+"Index",o=r[a];null==o||"all"===o||i.isArray(o)||(o=!1===o||"none"===o?[]:[o]),i.isArray(s=t[n])||(s=s?[s]:[]),h(s,(function(t,s){if(null==o||"all"===o||-1!==i.indexOf(o,s)){var l={type:"select",$fromToolbox:!0,filterMode:r.filterMode||"filter",id:"\0_ec_\0toolbox-dataZoom_"+n+s};l[a]=s,e.push(l)}}))}var s}})),t.exports=f},fGT3:function(t,e,n){var r=n("4kuk"),i=n("Xi7e"),a=n("ebwN");t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||i),string:new r}}},"fR/l":function(t,e,n){var r=n("CH3K"),i=n("Z0cm");t.exports=function(t,e,n){var a=e(t);return i(t)?a:r(a,n(t))}},fW2E:function(t,e){var n={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};t.exports=function(t,e,r){return n.hasOwnProperty(e)?r*t.dpr:r}},fXoL:function(t,e,n){"use strict";var r=n("XNiG"),i=n("quSY"),a=n("HDdC"),o=n("VRyK"),s=n("7o/Q");function l(){return function(t){return t.lift(new c(t))}}var u,c=function(){function t(e){_classCallCheck(this,t),this.connectable=e}return _createClass2(t,[{key:"call",value:function(t,e){var n=this.connectable;n._refCount++;var r=new h(t,n),i=e.subscribe(r);return r.closed||(r.connection=n.connect()),i}}]),t}(),h=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;return _classCallCheck(this,n),(i=e.call(this,t)).connectable=r,i}return _createClass2(n,[{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._refCount;if(e<=0)this.connection=null;else if(t._refCount=e-1,e>1)this.connection=null;else{var n=this.connection,r=t._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null}}]),n}(s.a),f=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;return _classCallCheck(this,n),(i=e.call(this)).source=t,i.subjectFactory=r,i._refCount=0,i._isComplete=!1,i}return _createClass2(n,[{key:"_subscribe",value:function(t){return this.getSubject().subscribe(t)}},{key:"getSubject",value:function(){var t=this._subject;return t&&!t.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var t=this._connection;return t||(this._isComplete=!1,(t=this._connection=new i.a).add(this.source.subscribe(new p(this.getSubject(),this))),t.closed&&(this._connection=null,t=i.a.EMPTY)),t}},{key:"refCount",value:function(){return l()(this)}}]),n}(a.a),d={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(u=f.prototype)._subscribe},_isComplete:{value:u._isComplete,writable:!0},getSubject:{value:u.getSubject},connect:{value:u.connect},refCount:{value:u.refCount}},p=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;return _classCallCheck(this,n),(i=e.call(this,t)).connectable=r,i}return _createClass2(n,[{key:"_error",value:function(t){this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_error",this).call(this,t)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var t=this.connectable;if(t){this.connectable=null;var e=t._connection;t._refCount=0,t._subject=null,t._connection=null,e&&e.unsubscribe()}}}]),n}(r.b);function g(){return new r.a}function v(t){return{toString:t}.toString()}function m(t,e,n){return v((function(){var r=function(t){return function(){if(t){var e=t.apply(void 0,arguments);for(var n in e)this[n]=e[n]}}}(e);function i(){for(var t=arguments.length,e=new Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:w.Default;if(void 0===at)throw new Error("inject() must be called from an injection context");return null===at?ht(t,void 0,e):at.get(t,e&w.Optional?null:void 0,e)}function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w.Default;return(j||lt)(B(t),e)}var ct=ut;function ht(t,e,n){var r=T(t);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&w.Optional)return null;if(void 0!==e)return e;throw new Error("Injector: NOT_FOUND [".concat(R(t),"]"))}function ft(t){for(var e=[],n=0;n1&&void 0!==arguments[1]?arguments[1]:nt;if(e===nt){var n=new Error("NullInjectorError: No provider for ".concat(R(t),"!"));throw n.name="NullInjectorError",n}return e}}]),t}(),pt=function t(){_classCallCheck(this,t)},gt=function t(){_classCallCheck(this,t)};function vt(t,e){t.forEach((function(t){return Array.isArray(t)?vt(t,e):e(t)}))}function mt(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function yt(t,e){return e>=t.length-1?t.pop():t.splice(e,1)[0]}function _t(t,e){for(var n=[],r=0;r=0?t[1|r]=n:function(t,e,n,r){var i=t.length;if(i==e)t.push(n,r);else if(1===i)t.push(r,t[0]),t[0]=n;else{for(i--,t.push(t[i-1],t[i]);i>e;)t[i]=t[i-2],i--;t[e]=n,t[e+1]=r}}(t,r=~r,e,n),r}function xt(t,e){var n=wt(t,e);if(n>=0)return t[1|n]}function wt(t,e){return function(t,e,n){for(var r=0,i=t.length>>1;i!==r;){var a=r+(i-r>>1),o=t[a<<1];if(e===o)return a<<1;o>e?i=a:r=a+1}return~(i<<1)}(t,e)}var kt=function(){var t={OnPush:0,Default:1};return t[t.OnPush]="OnPush",t[t.Default]="Default",t}(),St=function(){var t={Emulated:0,Native:1,None:2,ShadowDom:3};return t[t.Emulated]="Emulated",t[t.Native]="Native",t[t.None]="None",t[t.ShadowDom]="ShadowDom",t}(),Ct={},At=[],Tt=0;function Et(t){return v((function(){var e=t.type,n=e.prototype,r={},i={type:e,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:t.changeDetection===kt.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||At,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||St.Emulated,id:"c",styles:t.styles||At,_:null,setInput:null,schemas:t.schemas||null,tView:null},a=t.directives,o=t.features,s=t.pipes;return i.id+=Tt++,i.inputs=Lt(t.inputs,r),i.outputs=Lt(t.outputs),o&&o.forEach((function(t){return t(i)})),i.directiveDefs=a?function(){return("function"==typeof a?a():a).map(Mt)}:null,i.pipeDefs=s?function(){return("function"==typeof s?s():s).map(It)}:null,i}))}function Mt(t){return zt(t)||function(t){return t[Z]||null}(t)}function It(t){return function(t){return t[$]||null}(t)}var Dt={};function Ot(t){var e={type:t.type,bootstrap:t.bootstrap||At,declarations:t.declarations||At,imports:t.imports||At,exports:t.exports||At,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&v((function(){Dt[t.id]=t.type})),e}function Pt(t,e){return v((function(){var n=Bt(t,!0);n.declarations=e.declarations||At,n.imports=e.imports||At,n.exports=e.exports||At}))}function Lt(t,e){if(null==t)return Ct;var n={};for(var r in t)if(t.hasOwnProperty(r)){var i=t[r],a=i;Array.isArray(i)&&(a=i[1],i=i[0]),n[i]=r,e&&(e[i]=a)}return n}var Rt=Et;function Nt(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function zt(t){return t[W]||null}function Ft(t,e){return t.hasOwnProperty(Q)?t[Q]:null}function Bt(t,e){var n=t[X]||null;if(!n&&!0===e)throw new Error("Type ".concat(R(t)," does not have '\u0275mod' property."));return n}function Vt(t){return Array.isArray(t)&&"object"==typeof t[1]}function jt(t){return Array.isArray(t)&&!0===t[1]}function Yt(t){return 0!=(8&t.flags)}function Ht(t){return 2==(2&t.flags)}function Ut(t){return 1==(1&t.flags)}function Gt(t){return null!==t.template}function qt(t){return 0!=(512&t[2])}var Wt=void 0;function Zt(t){Wt=t}function $t(){return void 0!==Wt?Wt:"undefined"!=typeof document?document:void 0}function Xt(t){return!!t.listen}var Kt={createRenderer:function(t,e){return $t()}};function Qt(t){for(;Array.isArray(t);)t=t[0];return t}function Jt(t,e){return Qt(e[t+19])}function te(t,e){return Qt(e[t.index])}function ee(t,e){return t.data[e+19]}function ne(t,e){return t[e+19]}function re(t,e){var n=e[t];return Vt(n)?n:n[0]}function ie(t){var e=function(t){return t.__ngContext__||null}(t);return e?Array.isArray(e)?e:e.lView:null}function ae(t){return 4==(4&t[2])}function oe(t){return 128==(128&t[2])}function se(t,e){return null===t||null==e?null:t[e]}function le(t){t[18]=0}var ue={lFrame:Ie(null),bindingsEnabled:!0,checkNoChangesMode:!1};function ce(){return ue.bindingsEnabled}function he(){return ue.lFrame.lView}function fe(){return ue.lFrame.tView}function de(t){ue.lFrame.contextLView=t}function pe(){return ue.lFrame.previousOrParentTNode}function ge(t,e){ue.lFrame.previousOrParentTNode=t,ue.lFrame.isParent=e}function ve(){return ue.lFrame.isParent}function me(){ue.lFrame.isParent=!1}function ye(){return ue.checkNoChangesMode}function _e(t){ue.checkNoChangesMode=t}function be(){var t=ue.lFrame,e=t.bindingRootIndex;return-1===e&&(e=t.bindingRootIndex=t.tView.bindingStartIndex),e}function xe(){return ue.lFrame.bindingIndex}function we(){return ue.lFrame.bindingIndex++}function ke(t){var e=ue.lFrame,n=e.bindingIndex;return e.bindingIndex=e.bindingIndex+t,n}function Se(t,e){var n=ue.lFrame;n.bindingIndex=n.bindingRootIndex=t,n.currentDirectiveIndex=e}function Ce(){return ue.lFrame.currentQueryIndex}function Ae(t){ue.lFrame.currentQueryIndex=t}function Te(t,e){var n=Me();ue.lFrame=n,n.previousOrParentTNode=e,n.lView=t}function Ee(t,e){var n=Me(),r=t[1];ue.lFrame=n,n.previousOrParentTNode=e,n.lView=t,n.tView=r,n.contextLView=t,n.bindingIndex=r.bindingStartIndex}function Me(){var t=ue.lFrame,e=null===t?null:t.child;return null===e?Ie(t):e}function Ie(t){var e={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null};return null!==t&&(t.child=e),e}function De(){var t=ue.lFrame;return ue.lFrame=t.parent,t.previousOrParentTNode=null,t.lView=null,t}var Oe=De;function Pe(){var t=De();t.isParent=!0,t.tView=null,t.selectedIndex=0,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.currentSanitizer=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Le(){return ue.lFrame.selectedIndex}function Re(t){ue.lFrame.selectedIndex=t}function Ne(){var t=ue.lFrame;return ee(t.tView,t.selectedIndex)}function ze(){ue.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Fe(){ue.lFrame.currentNamespace=null}function Be(t,e){for(var n=e.directiveStart,r=e.directiveEnd;n=r)break}else e[o]<0&&(t[18]+=65536),(a>10>16&&(3&t[2])===e&&(t[2]+=1024,a.call(o)):a.call(o)}var Ge=function t(e,n,r){_classCallCheck(this,t),this.factory=e,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r};function qe(t,e,n){for(var r=Xt(t),i=0;ie){o=a-1;break}}}for(;a>16}function tn(t,e){for(var n=Je(t),r=e;n>0;)r=r[15],n--;return r}function en(t){return"string"==typeof t?t:null==t?"":""+t}function nn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():en(t)}var rn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(q);function an(t){return t instanceof Function?t():t}var on=!0;function sn(t){var e=on;return on=t,e}var ln=0;function un(t,e){var n=hn(t,e);if(-1!==n)return n;var r=e[1];r.firstCreatePass&&(t.injectorIndex=e.length,cn(r.data,t),cn(e,null),cn(r.blueprint,null));var i=fn(t,e),a=t.injectorIndex;if(Ke(i))for(var o=Qe(i),s=tn(i,e),l=s[1].data,u=0;u<8;u++)e[a+u]=s[o+u]|l[o+u];return e[a+8]=i,a}function cn(t,e){t.push(0,0,0,0,0,0,0,0,e)}function hn(t,e){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null==e[t.injectorIndex+8]?-1:t.injectorIndex}function fn(t,e){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;for(var n=e[6],r=1;n&&-1===n.injectorIndex;)n=(e=e[15])?e[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function dn(t,e,n){!function(t,e,n){var r="string"!=typeof n?n[J]:n.charCodeAt(0)||0;null==r&&(r=n[J]=ln++);var i=255&r,a=1<3&&void 0!==arguments[3]?arguments[3]:w.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==t){var a=function(t){if("string"==typeof t)return t.charCodeAt(0)||0;var e=t[J];return"number"==typeof e&&e>0?255&e:e}(n);if("function"==typeof a){Te(e,t);try{var o=a();if(null!=o||r&w.Optional)return o;throw new Error("No provider for ".concat(nn(n),"!"))}finally{Oe()}}else if("number"==typeof a){if(-1===a)return new xn(t,e);var s=null,l=hn(t,e),u=-1,c=r&w.Host?e[16][6]:null;for((-1===l||r&w.SkipSelf)&&(u=-1===l?fn(t,e):e[l+8],bn(r,!1)?(s=e[1],l=Qe(u),e=tn(u,e)):l=-1);-1!==l;){u=e[l+8];var h=e[1];if(_n(a,l,h.data)){var f=vn(l,e,n,s,r,c);if(f!==gn)return f}bn(r,e[1].data[l+8]===c)&&_n(a,l,e)?(s=h,l=Qe(u),e=tn(u,e)):l=-1}}}if(r&w.Optional&&void 0===i&&(i=null),0==(r&(w.Self|w.Host))){var d=e[9],p=st(void 0);try{return d?d.get(n,i,r&w.Optional):ht(n,i,r&w.Optional)}finally{st(p)}}if(r&w.Optional)return i;throw new Error("NodeInjector: NOT_FOUND [".concat(nn(n),"]"))}var gn={};function vn(t,e,n,r,i,a){var o=e[1],s=o.data[t+8],l=mn(s,o,n,null==r?Ht(s)&&on:r!=o&&3===s.type,i&w.Host&&a===s);return null!==l?yn(e,o,l,s):gn}function mn(t,e,n,r,i){for(var a=t.providerIndexes,o=e.data,s=65535&a,l=t.directiveStart,u=a>>16,c=i?s+u:t.directiveEnd,h=r?s:s+u;h=l&&f.type===n)return h}if(i){var d=o[l];if(d&&Gt(d)&&d.type===n)return l}return null}function yn(t,e,n,r){var i=t[n],a=e.data;if(i instanceof Ge){var o=i;if(o.resolving)throw new Error("Circular dep for "+nn(a[n]));var s,l=sn(o.canSeeViewProviders);o.resolving=!0,o.injectImpl&&(s=st(o.injectImpl)),Te(t,r);try{i=t[n]=o.factory(void 0,a,t,r),e.firstCreatePass&&n>=r.directiveStart&&function(t,e,n){var r=e.onChanges,i=e.onInit,a=e.doCheck;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-t,i),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(t,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(t,a))}(n,a[n],e)}finally{o.injectImpl&&st(s),sn(l),o.resolving=!1,Oe()}}return i}function _n(t,e,n){var r=64&t,i=32&t;return!!((128&t?r?i?n[e+7]:n[e+6]:i?n[e+5]:n[e+4]:r?i?n[e+3]:n[e+2]:i?n[e+1]:n[e])&1<1?e-1:0),r=1;r',!n.querySelector||n.querySelector("svg")?(n.innerHTML='

    ',this.getInertBodyElement=n.querySelector&&n.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(t){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return _createClass2(t,[{key:"getInertBodyElement_XHR",value:function(t){t=""+t+"";try{t=encodeURI(t)}catch(r){return null}var e=new XMLHttpRequest;e.responseType="document",e.open("GET","data:text/html;charset=utf-8,"+t,!1),e.send(void 0);var n=e.response.body;return n.removeChild(n.firstChild),n}},{key:"getInertBodyElement_DOMParser",value:function(t){t=""+t+"";try{var e=(new window.DOMParser).parseFromString(t,"text/html").body;return e.removeChild(e.firstChild),e}catch(n){return null}}},{key:"getInertBodyElement_InertDocument",value:function(t){var e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=t,e;var n=this.inertDocument.createElement("body");return n.innerHTML=t,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(t){for(var e=t.attributes,n=e.length-1;0"),!0}},{key:"endElement",value:function(t){var e=t.nodeName.toLowerCase();nr.hasOwnProperty(e)&&!Qn.hasOwnProperty(e)&&(this.buf.push(""))}},{key:"chars",value:function(t){this.buf.push(cr(t))}},{key:"checkClobberedElement",value:function(t,e){if(e&&(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+t.outerHTML);return e}}]),t}(),lr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ur=/([^\#-~ |!])/g;function cr(t){return t.replace(/&/g,"&").replace(lr,(function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"})).replace(ur,(function(t){return"&#"+t.charCodeAt(0)+";"})).replace(//g,">")}function hr(t,e){var n=null;try{Kn=Kn||new Gn(t);var r=e?String(e):"";n=Kn.getInertBodyElement(r);var i=5,a=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=a,a=n.innerHTML,n=Kn.getInertBodyElement(r)}while(r!==a);var o=new sr,s=o.sanitizeChildren(fr(n)||n);return Hn()&&o.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var l=fr(n)||n;l.firstChild;)l.removeChild(l.firstChild)}}function fr(t){return"content"in t&&function(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var dr=function(){var t={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return t[t.NONE]="NONE",t[t.HTML]="HTML",t[t.STYLE]="STYLE",t[t.SCRIPT]="SCRIPT",t[t.URL]="URL",t[t.RESOURCE_URL]="RESOURCE_URL",t}(),pr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),gr=/^url\(([^)]+)\)$/;function vr(t){if(!(t=String(t).trim()))return"";var e=t.match(gr);return e&&Zn(e[1])===e[1]||t.match(pr)&&function(t){for(var e=!0,n=!0,r=0;ra?"":i[c+1].toLowerCase();var f=8&r?h:null;if(f&&-1!==kr(f,u,0)||2&r&&u!==h){if(Tr(r))return!1;o=!0}}}}else{if(!o&&!Tr(r)&&!Tr(l))return!1;if(o&&Tr(l))continue;o=!1,r=l|1&r}}return Tr(r)||o}function Tr(t){return 0==(1&t)}function Er(t,e,n,r){if(null===e)return-1;var i=0;if(r||!n){for(var a=!1;i-1)for(n++;n2&&void 0!==arguments[2]&&arguments[2],r=0;r0?'="'+s+'"':"")+"]"}else 8&r?i+="."+o:4&r&&(i+=" "+o);else""===i||Tr(o)||(e+=Dr(a,i),i=""),r=o,a=a||!Tr(r);n++}return""!==i&&(e+=Dr(a,i)),e}var Pr={};function Lr(t){var e=t[3];return jt(e)?e[3]:e}function Rr(t){Nr(fe(),he(),Le()+t,ye())}function Nr(t,e,n,r){if(!r)if(3==(3&e[2])){var i=t.preOrderCheckHooks;null!==i&&Ve(e,i,n)}else{var a=t.preOrderHooks;null!==a&&je(e,a,0,n)}Re(n)}function zr(t,e){return t<<17|e<<2}function Fr(t){return t>>17&32767}function Br(t){return 2|t}function Vr(t){return(131068&t)>>2}function jr(t,e){return-131069&t|e<<2}function Yr(t){return 1|t}function Hr(t,e){var n=t.contentQueries;if(null!==n)for(var r=0;r>1==-1){for(var r=9;r19&&Nr(t,e,0,ye()),n(r,i)}finally{Re(a)}}function Kr(t,e,n){if(Yt(e))for(var r=e.directiveEnd,i=e.directiveStart;i2&&void 0!==arguments[2]?arguments[2]:te,r=e.localNames;if(null!==r)for(var i=e.index+1,a=0;a0&&(t[n-1][4]=r[4]);var a=yt(t,9+e);Ri(r[1],r,!1,null);var o=a[5];null!==o&&o.detachView(a[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Fi(t,e){if(!(256&e[2])){var n=e[11];Xt(n)&&n.destroyNode&&Xi(t,e,n,3,null,null),function(t){var e=t[13];if(!e)return Vi(t[1],t);for(;e;){var n=null;if(Vt(e))n=e[13];else{var r=e[9];r&&(n=r)}if(!n){for(;e&&!e[4]&&e!==t;)Vt(e)&&Vi(e[1],e),e=Bi(e,t);null===e&&(e=t),Vt(e)&&Vi(e[1],e),n=e&&e[4]}e=n}}(e)}}function Bi(t,e){var n;return Vt(t)&&(n=t[6])&&2===n.type?Oi(n,t):t[3]===e?null:t[3]}function Vi(t,e){if(!(256&e[2])){e[2]&=-129,e[2]|=256,function(t,e){var n;if(null!=t&&null!=(n=t.destroyHooks))for(var r=0;r=0?r[l]():r[-l].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);e[7]=null}}(t,e);var n=e[6];n&&3===n.type&&Xt(e[11])&&e[11].destroy();var r=e[17];if(null!==r&&jt(e[3])){r!==e[3]&&Ni(r,e);var i=e[5];null!==i&&i.detachView(t)}}}function ji(t,e,n){for(var r=e.parent;null!=r&&(4===r.type||5===r.type);)r=(e=r).parent;if(null==r){var i=n[6];return 2===i.type?Pi(i,n):n[0]}if(e&&5===e.type&&4&e.flags)return te(e,n).parentNode;if(2&r.flags){var a=t.data,o=a[a[r.index].directiveStart].encapsulation;if(o!==St.ShadowDom&&o!==St.Native)return null}return te(r,n)}function Yi(t,e,n,r){Xt(t)?t.insertBefore(e,n,r):e.insertBefore(n,r,!0)}function Hi(t,e,n){Xt(t)?t.appendChild(e,n):e.appendChild(n)}function Ui(t,e,n,r){null!==r?Yi(t,e,n,r):Hi(t,e,n)}function Gi(t,e){return Xt(t)?t.parentNode(e):e.parentNode}function qi(t,e){if(2===t.type){var n=Oi(t,e);return null===n?null:Zi(n.indexOf(e,9)-9,n)}return 4===t.type||5===t.type?te(t,e):null}function Wi(t,e,n,r){var i=ji(t,r,e);if(null!=i){var a=e[11],o=qi(r.parent||e[6],e);if(Array.isArray(n))for(var s=0;s-1&&this._viewContainerRef.detach(t),this._viewContainerRef=null}Fi(this._lView[1],this._lView)}},{key:"onDestroy",value:function(t){var e,n,r;e=this._lView[1],r=t,Ti(n=this._lView).push(r),e.firstCreatePass&&Ei(e).push(n[7].length-1,null)}},{key:"markForCheck",value:function(){wi(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){ki(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(t,e,n){_e(!0);try{ki(t,e,n)}finally{_e(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(t){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=t}},{key:"detachFromAppRef",value:function(){var t;this._appRef=null,Xi(this._lView[1],t=this._lView,t[11],2,null,null)}},{key:"attachToAppRef",value:function(t){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}},{key:"rootNodes",get:function(){var t=this._lView;return null==t[0]?function t(e,n,r,i){for(var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==r;){var o=n[r.index];if(null!==o&&i.push(Qt(o)),jt(o))for(var s=9;s0;)this.remove(this.length-1)}},{key:"get",value:function(t){return null!==this._lContainer[8]&&this._lContainer[8][t]||null}},{key:"createEmbeddedView",value:function(t,e,n){var r=t.createEmbeddedView(e||{});return this.insert(r,n),r}},{key:"createComponent",value:function(t,e,n,r,i){var a=n||this.parentInjector;if(!i&&null==t.ngModule&&a){var o=a.get(pt,null);o&&(i=o)}var s=t.create(a,r,void 0,i);return this.insert(s.hostView,e),s}},{key:"insert",value:function(t,e){var n=t._lView,r=n[1];if(t.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),jt(n[3])){var i=this.indexOf(t);if(-1!==i)this.detach(i);else{var a=n[3],o=new na(a,a[6],a[3]);o.detach(o.indexOf(t))}}var s=this._adjustIndex(e);return function(t,e,n,r){var i=9+r,a=n.length;r>0&&(n[i-1][4]=e),r1&&void 0!==arguments[1]?arguments[1]:0;return null==t?this.length+e:t}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return aa(e,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new xn(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var t=fn(this._hostTNode,this._hostView),e=tn(t,this._hostView),n=function(t,e,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,i=n.parent;null!=i.parent&&r==i.parent.injectorIndex;)i=i.parent;return i}for(var a=Je(t),o=e,s=e[6];a>1;)s=(o=o[15])[6],a--;return s}(t,this._hostView,this._hostTNode);return Ke(t)&&null!=n?new xn(n,e):new xn(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-9}}]),r}(t));var a=r[n.index];if(jt(a))(function(t,e){t[2]=-2})(i=a);else{var o;if(4===n.type)o=Qt(a);else if(o=r[11].createComment(""),qt(r)){var s=r[11],l=te(n,r);Yi(s,Gi(s,l),o,function(t,e){return Xt(t)?t.nextSibling(e):e.nextSibling}(s,l))}else Wi(r[1],r,o,n);r[n.index]=i=mi(a,r,o,n),xi(r,i)}return new na(i,n,r)}function la(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(t,e,n){if(!n&&Ht(t)){var r=re(t.index,e);return new ra(r,r)}return 3===t.type||0===t.type||4===t.type||5===t.type?new ra(e[16],e):null}(pe(),he(),t)}var ua=function(){var t=function t(){_classCallCheck(this,t)};return t.__NG_ELEMENT_ID__=function(){return ca()},t}(),ca=la,ha=new tt("Set Injector scope."),fa={},da={},pa=[],ga=void 0;function va(){return void 0===ga&&(ga=new dt),ga}function ma(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return new ya(t,n,e||va(),r)}var ya=function(){function t(e,n,r){var i=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,t),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&vt(n,(function(t){return i.processProvider(t,e,n)})),vt([e],(function(t){return i.processInjectorType(t,[],o)})),this.records.set(et,xa(void 0,this));var s=this.records.get(ha);this.scope=null!=s?s.value:null,this.source=a||("object"==typeof e?null:R(e))}return _createClass2(t,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(t){return t.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:nt,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w.Default;this.assertNotDestroyed();var r,i=ot(this);try{if(!(n&w.SkipSelf)){var a=this.records.get(t);if(void 0===a){var o=("function"==typeof(r=t)||"object"==typeof r&&r instanceof tt)&&T(t);a=o&&this.injectableDefInScope(o)?xa(_a(t),fa):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(n&w.Self?va():this.parent).get(t,e=n&w.Optional&&e===nt?null:e)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(R(t)),i)throw s;return function(t,e,n,r){var i=t.ngTempTokenPath;throw e.__source&&i.unshift(e.__source),t.message=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;var i=R(e);if(Array.isArray(e))i=e.map(R).join(" -> ");else if("object"==typeof e){var a=[];for(var o in e)if(e.hasOwnProperty(o)){var s=e[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):R(s)))}i="{".concat(a.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(t.replace(rt,"\n "))}("\n"+t.message,i,"R3InjectorError",r),t.ngTokenPath=i,t.ngTempTokenPath=null,t}(s,t,0,this.source)}throw s}finally{ot(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var t=this;this.injectorDefTypes.forEach((function(e){return t.get(e)}))}},{key:"toString",value:function(){var t=[];return this.records.forEach((function(e,n){return t.push(R(n))})),"R3Injector[".concat(t.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(t,e,n){var r=this;if(!(t=B(t)))return!1;var i=M(t),a=null==i&&t.ngModule||void 0,o=void 0===a?t:a,s=-1!==n.indexOf(o);if(void 0!==a&&(i=M(a)),null==i)return!1;if(null!=i.imports&&!s){var l;n.push(o);try{vt(i.imports,(function(t){r.processInjectorType(t,e,n)&&(void 0===l&&(l=[]),l.push(t))}))}finally{}if(void 0!==l)for(var u=function(t){var e=l[t],n=e.ngModule,i=e.providers;vt(i,(function(t){return r.processProvider(t,n,i||pa)}))},c=0;c0){var n=_t(e,"?");throw new Error("Can't resolve all parameters for ".concat(R(t),": (").concat(n.join(", "),")."))}var r=function(t){var e=t&&(t[I]||t[P]||t[O]&&t[O]());if(e){var n=function(t){if(t.hasOwnProperty("name"))return t.name;var e=(""+t).match(/^function\s*([^\s(]+)/);return null===e?"":e[1]}(t);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "').concat(n,'" class.')),e}return null}(t);return null!==r?function(){return r.factory(t)}:function(){return new t}}(t);throw new Error("unreachable")}function ba(t,e,n){var r,i=void 0;if(ka(t)){var a=B(t);return Ft(a)||_a(a)}if(wa(t))i=function(){return B(t.useValue)};else if((r=t)&&r.useFactory)i=function(){return t.useFactory.apply(t,_toConsumableArray(ft(t.deps||[])))};else if(function(t){return!(!t||!t.useExisting)}(t))i=function(){return ut(B(t.useExisting))};else{var o=B(t&&(t.useClass||t.provide));if(o||function(t,e,n){var r="";throw t&&e&&(r=" - only instances of Provider and Type are allowed, got: [".concat(e.map((function(t){return t==n?"?"+n+"?":"..."})).join(", "),"]")),new Error("Invalid provider for the NgModule '".concat(R(t),"'")+r)}(e,n,t),!function(t){return!!t.deps}(t))return Ft(o)||_a(o);i=function(){return _construct(o,_toConsumableArray(ft(t.deps)))}}return i}function xa(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:t,value:e,multi:n?[]:void 0}}function wa(t){return null!==t&&"object"==typeof t&&it in t}function ka(t){return"function"==typeof t}var Sa=function(t,e,n){return function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0,i=ma(t,e,n,r);return i._resolveInjectorDefTypes(),i}({name:n},e,t,n)},Ca=function(){var t=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,null,[{key:"create",value:function(t,e){return Array.isArray(t)?Sa(t,e,""):Sa(t.providers,t.parent,t.name||"")}}]),t}();return t.THROW_IF_NOT_FOUND=nt,t.NULL=new dt,t.\u0275prov=C({token:t,providedIn:"any",factory:function(){return ut(et)}}),t.__NG_ELEMENT_ID__=-1,t}(),Aa=new tt("AnalyzeForEntryComponents"),Ta=new Map,Ea=new Set;function Ma(t){return"string"==typeof t?t:t.text()}function Ia(t,e){for(var n=t.styles,r=t.classes,i=0,a=0;a1&&void 0!==arguments[1]?arguments[1]:w.Default,n=he();return null==n?ut(t,e):pn(pe(),n,B(t),e)}function Ga(t){return function(t,e){if("class"===e)return t.classes;if("style"===e)return t.styles;var n=t.attrs;if(n)for(var r=n.length,i=0;i2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=he(),a=fe(),o=pe();return function(t,e,n,r,i,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,l=Ut(r),u=t.firstCreatePass&&(t.cleanup||(t.cleanup=[])),c=Ti(e),h=!0;if(3===r.type){var f=te(r,e),d=s?s(f):Ct,p=d.target||f,g=c.length,v=s?function(t){return s(Qt(t[r.index])).target}:r.index;if(Xt(n)){var m=null;if(!s&&l&&(m=function(t,e,n,r){var i=t.cleanup;if(null!=i)for(var a=0;al?s[l]:null}"string"==typeof o&&(a+=2)}return null}(t,e,i,r.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=a,m.__ngLastListenerFn__=a,h=!1;else{a=oo(r,e,a,!1);var y=n.listen(d.name||p,i,a);c.push(a,y),u&&u.push(i,v,g,g+1)}}else a=oo(r,e,a,!0),p.addEventListener(i,a,o),c.push(a),u&&u.push(i,v,g,o)}var _,b=r.outputs;if(h&&null!==b&&(_=b[i])){var x=_.length;if(x)for(var w=0;w0&&void 0!==arguments[0]?arguments[0]:1;return function(t){return(ue.lFrame.contextLView=function(t,e){for(;t>0;)e=e[15],t--;return e}(t,ue.lFrame.contextLView))[8]}(t)}function lo(t,e){for(var n=null,r=function(t){var e=t.attrs;if(null!=e){var n=e.indexOf(5);if(0==(1&n))return e[n+1]}return null}(t),i=0;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=he(),i=fe(),a=qr(i,r[6],t,1,null,n||null);null===a.projection&&(a.projection=e),me(),function(t,e,n){Ki(e[11],0,e,n,ji(t,n,e),qi(n.parent||e[6],e))}(i,r,a)}function ho(t,e,n){return fo(t,"",e,"",n),ho}function fo(t,e,n,r,i){var a=he(),o=ja(a,e,n,r);return o!==Pr&&ii(fe(),Ne(),a,t,o,a[11],i,!1),fo}var po=[];function go(t,e,n,r,i){for(var a=t[n+1],o=null===e,s=r?Fr(a):Vr(a),l=!1;0!==s&&(!1===l||o);){var u=t[s+1];vo(t[s],e)&&(l=!0,t[s+1]=r?Yr(u):Br(u)),s=r?Fr(u):Vr(u)}l&&(t[n+1]=r?Br(a):Yr(a))}function vo(t,e){return null===t||null==e||(Array.isArray(t)?t[1]:t)===e||!(!Array.isArray(t)||"string"!=typeof e)&&wt(t,e)>=0}var mo={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function yo(t){return t.substring(mo.key,mo.keyEnd)}function _o(t,e){var n=mo.textEnd;return n===e?-1:(e=mo.keyEnd=function(t,e,n){for(;e32;)e++;return e}(t,mo.key=e,n),bo(t,e,n))}function bo(t,e,n){for(;e=0;n=_o(e,n))bt(t,yo(e),!0)}function Co(t,e,n,r){var i,a,o=he(),s=fe(),l=ke(2);(s.firstUpdatePass&&Eo(s,t,l,r),e!==Pr&&Fa(o,l,e))&&(null==n&&(i=null===(a=ue.lFrame)?null:a.currentSanitizer)&&(n=i),Do(s,s.data[Le()+19],o,o[11],t,o[l+1]=function(t,e){return null==t||("function"==typeof e?t=e(t):"string"==typeof e?t+=e:"object"==typeof t&&(t=R(Pn(t)))),t}(e,n),r,l))}function Ao(t,e,n,r){var i=fe(),a=ke(2);i.firstUpdatePass&&Eo(i,null,a,r);var o=he();if(n!==Pr&&Fa(o,a,n)){var s=i.data[Le()+19];if(Lo(s,r)&&!To(i,a)){var l=r?s.classes:s.styles;null!==l&&(n=N(l,n||"")),Za(i,s,o,n,r)}else!function(t,e,n,r,i,a,o,s){i===Pr&&(i=po);for(var l=0,u=0,c=0=t.expandoStartIndex}function Eo(t,e,n,r){var i=t.data;if(null===i[n+1]){var a=i[Le()+19],o=To(t,n);Lo(a,r)&&null===e&&!o&&(e=!1),e=function(t,e,n,r){var i=function(t){var e=ue.lFrame.currentDirectiveIndex;return-1===e?null:t[e]}(t),a=r?e.residualClasses:e.residualStyles;if(null===i)0===(r?e.classBindings:e.styleBindings)&&(n=Io(n=Mo(null,t,e,n,r),e.attrs,r),a=null);else{var o=e.directiveStylingLast;if(-1===o||t[o]!==i)if(n=Mo(i,t,e,n,r),null===a){var s=function(t,e,n){var r=n?e.classBindings:e.styleBindings;if(0!==Vr(r))return t[Fr(r)]}(t,e,r);void 0!==s&&Array.isArray(s)&&function(t,e,n,r){t[Fr(n?e.classBindings:e.styleBindings)]=r}(t,e,r,s=Io(s=Mo(null,t,e,s[1],r),e.attrs,r))}else a=function(t,e,n){for(var r=void 0,i=e.directiveEnd,a=1+e.directiveStylingLast;a0)&&(c=!0)}else u=n;if(i)if(0!==l){var f=Fr(t[s+1]);t[r+1]=zr(f,s),0!==f&&(t[f+1]=jr(t[f+1],r)),t[s+1]=131071&t[s+1]|r<<17}else t[r+1]=zr(s,0),0!==s&&(t[s+1]=jr(t[s+1],r)),s=r;else t[r+1]=zr(l,0),0===s?s=r:t[l+1]=jr(t[l+1],r),l=r;c&&(t[r+1]=Br(t[r+1])),go(t,u,r,!0),go(t,u,r,!1),function(t,e,n,r,i){var a=i?t.residualClasses:t.residualStyles;null!=a&&"string"==typeof e&&wt(a,e)>=0&&(n[r+1]=Yr(n[r+1]))}(e,u,t,r,a),o=zr(s,l),a?e.classBindings=o:e.styleBindings=o}(i,a,e,n,o,r)}}function Mo(t,e,n,r,i){var a=null,o=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s0;){var l=t[i],u=Array.isArray(l),c=u?l[1]:l,h=null===c,f=n[i+1];f===Pr&&(f=h?po:void 0);var d=h?xt(f,r):c===r?f:void 0;if(u&&!Po(d)&&(d=xt(l,r)),Po(d)&&(s=d,o))return s;var p=t[i+1];i=o?Fr(p):Vr(p)}if(null!==e){var g=a?e.residualClasses:e.residualStyles;null!=g&&(s=xt(g,r))}return s}function Po(t){return void 0!==t}function Lo(t,e){return 0!=(t.flags&(e?16:32))}function Ro(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=he(),r=fe(),i=t+19,a=r.firstCreatePass?qr(r,n[6],t,3,null,null):r.data[i],o=n[i]=function(t,e){return Xt(e)?e.createText(t):e.createTextNode(t)}(e,n[11]);Wi(r,n,o,a),ge(a,!1)}function No(t){return zo("",t,""),No}function zo(t,e,n){var r=he(),i=ja(r,t,e,n);return i!==Pr&&Di(r,Le(),i),zo}function Fo(t,e,n,r,i){var a=he(),o=function(t,e,n,r,i,a){var o=Ba(t,xe(),n,i);return ke(2),o?e+en(n)+r+en(i)+a:Pr}(a,t,e,n,r,i);return o!==Pr&&Di(a,Le(),o),Fo}function Bo(t,e,n){Ao(bt,So,ja(he(),t,e,n),!0)}function Vo(t,e,n){var r=he();return Fa(r,we(),e)&&ii(fe(),Ne(),r,t,e,r[11],n,!0),Vo}function jo(t,e){var n=ie(t)[1],r=n.data.length-1;Be(n,{directiveStart:r,directiveEnd:r+1})}function Yo(t){for(var e=Object.getPrototypeOf(t.type.prototype).constructor,n=!0,r=[t];e;){var i=void 0;if(Gt(t))i=e.\u0275cmp||e.\u0275dir;else{if(e.\u0275cmp)throw new Error("Directives cannot inherit Components");i=e.\u0275dir}if(i){if(n){r.push(i);var a=t;a.inputs=Ho(t.inputs),a.declaredInputs=Ho(t.declaredInputs),a.outputs=Ho(t.outputs);var o=i.hostBindings;o&&qo(t,o);var s=i.viewQuery,l=i.contentQueries;if(s&&Uo(t,s),l&&Go(t,l),S(t.inputs,i.inputs),S(t.declaredInputs,i.declaredInputs),S(t.outputs,i.outputs),Gt(i)&&i.data.animation){var u=t.data;u.animation=(u.animation||[]).concat(i.data.animation)}a.afterContentChecked=a.afterContentChecked||i.afterContentChecked,a.afterContentInit=t.afterContentInit||i.afterContentInit,a.afterViewChecked=t.afterViewChecked||i.afterViewChecked,a.afterViewInit=t.afterViewInit||i.afterViewInit,a.doCheck=t.doCheck||i.doCheck,a.onDestroy=t.onDestroy||i.onDestroy,a.onInit=t.onInit||i.onInit}var c=i.features;if(c)for(var h=0;h=0;r--){var i=t[r];i.hostVars=e+=i.hostVars,i.hostAttrs=$e(i.hostAttrs,n=$e(n,i.hostAttrs))}}(r)}function Ho(t){return t===Ct?{}:t===At?[]:t}function Uo(t,e){var n=t.viewQuery;t.viewQuery=n?function(t,r){e(t,r),n(t,r)}:e}function Go(t,e){var n=t.contentQueries;t.contentQueries=n?function(t,r,i){e(t,r,i),n(t,r,i)}:e}function qo(t,e){var n=t.hostBindings;t.hostBindings=n?function(t,r){e(t,r),n(t,r)}:e}var Wo=function(){function t(e,n,r){_classCallCheck(this,t),this.previousValue=e,this.currentValue=n,this.firstChange=r}return _createClass2(t,[{key:"isFirstChange",value:function(){return this.firstChange}}]),t}();function Zo(t){t.type.prototype.ngOnChanges&&(t.setInput=$o,t.onChanges=function(){var t=Xo(this),e=t&&t.current;if(e){var n=t.previous;if(n===Ct)t.previous=e;else for(var r in e)n[r]=e[r];t.current=null,this.ngOnChanges(e)}})}function $o(t,e,n,r){var i=Xo(t)||function(t,e){return t.__ngSimpleChanges__=e}(t,{previous:Ct,current:null}),a=i.current||(i.current={}),o=i.previous,s=this.declaredInputs[n],l=o[s];a[s]=new Wo(l&&l.currentValue,e,o===Ct),t[r]=e}function Xo(t){return t.__ngSimpleChanges__||null}function Ko(t,e,n,r,i){if(t=B(t),Array.isArray(t))for(var a=0;a>16;if(ka(t)||!t.multi){var p=new Ge(u,i,Ua),g=ts(l,e,i?h:h+d,f);-1===g?(dn(un(c,s),o,l),Qo(o,t,e.length),e.push(l),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(p),s.push(p)):(n[g]=p,s[g]=p)}else{var v=ts(l,e,h+d,f),m=ts(l,e,h,h+d),y=v>=0&&n[v],_=m>=0&&n[m];if(i&&!_||!i&&!y){dn(un(c,s),o,l);var b=function(t,e,n,r,i){var a=new Ge(t,n,Ua);return a.multi=[],a.index=e,a.componentProviders=0,Jo(a,i,r&&!n),a}(i?ns:es,n.length,i,r,u);!i&&_&&(n[m].providerFactory=b),Qo(o,t,e.length),e.push(l),c.directiveStart++,c.directiveEnd++,i&&(c.providerIndexes+=65536),n.push(b),s.push(b)}else Qo(o,t,v>-1?v:m),Jo(n[i?m:v],u,!i&&r);!i&&r&&_&&n[m].componentProviders++}}}function Qo(t,e,n){if(ka(e)||e.useClass){var r=(e.useClass||e).prototype.ngOnDestroy;r&&(t.destroyHooks||(t.destroyHooks=[])).push(n,r)}}function Jo(t,e,n){t.multi.push(e),n&&t.componentProviders++}function ts(t,e,n,r){for(var i=n;i1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,r){return function(t,e,n){var r=fe();if(r.firstCreatePass){var i=Gt(t);Ko(n,r.data,r.blueprint,i,!0),Ko(e,r.data,r.blueprint,i,!1)}}(n,r?r(t):t,e)}}}Zo.ngInherit=!0;var as=function t(){_classCallCheck(this,t)},os=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"resolveComponentFactory",value:function(t){throw function(t){var e=Error("No component factory found for ".concat(R(t),". Did you add it to @NgModule.entryComponents?"));return e.ngComponent=t,e}(t)}}]),t}(),ss=function(){var t=function t(){_classCallCheck(this,t)};return t.NULL=new os,t}(),ls=function(){var t=function t(e){_classCallCheck(this,t),this.nativeElement=e};return t.__NG_ELEMENT_ID__=function(){return us(t)},t}(),us=function(t){return aa(t,pe(),he())},cs=function t(){_classCallCheck(this,t)},hs=function(){var t={Important:1,DashCase:2};return t[t.Important]="Important",t[t.DashCase]="DashCase",t}(),fs=function(){var t=function t(){_classCallCheck(this,t)};return t.__NG_ELEMENT_ID__=function(){return ds()},t}(),ds=function(){var t=he(),e=re(pe().index,t);return function(t){var e=t[11];if(Xt(e))return e;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Vt(e)?e:t)},ps=function(){var t=function t(){_classCallCheck(this,t)};return t.\u0275prov=C({token:t,providedIn:"root",factory:function(){return null}}),t}(),gs=function t(e){_classCallCheck(this,t),this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},vs=new gs("9.0.7"),ms=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"supports",value:function(t){return Ra(t)}},{key:"create",value:function(t){return new _s(t)}}]),t}(),ys=function(t,e){return e},_s=function(){function t(e){_classCallCheck(this,t),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||ys}return _createClass2(t,[{key:"forEachItem",value:function(t){var e;for(e=this._itHead;null!==e;e=e._next)t(e)}},{key:"forEachOperation",value:function(t){for(var e=this._itHead,n=this._removalsHead,r=0,i=null;e||n;){var a=!n||e&&e.currentIndex0&&Ji(u,h,b.join(" "))}a=ee(v[1],0),e&&(a.projection=e.map((function(t){return Array.from(t)}))),i=function(t,e,n,r,i){var a=n[1],o=function(t,e,n){var r=pe();t.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),ui(t,r,1),di(t,e,n));var i=yn(e,t,e.length-1,r);br(i,e);var a=te(r,e);return a&&br(a,e),i}(a,n,e);r.components.push(o),t[8]=o,i&&i.forEach((function(t){return t(o,e)})),e.contentQueries&&e.contentQueries(1,o,n.length-1);var s=pe();if(a.firstCreatePass&&(null!==e.hostBindings||null!==e.hostAttrs)){Re(s.index-19);var l=n[1];oi(l,e),si(l,n,e.hostVars),li(e,o)}return o}(m,this.componentDef,v,p,[jo]),Wr(g,v,null)}finally{Pe()}var x=new js(this.componentType,i,aa(ls,a,v),v,a);return n&&!d||(x.hostView._tViewNode.child=a),x}},{key:"inputs",get:function(){return Fs(this.componentDef.inputs)}},{key:"outputs",get:function(){return Fs(this.componentDef.outputs)}}]),n}(as),js=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i,a,o){var s,l,u,c;return _classCallCheck(this,n),(s=e.call(this)).location=i,s._rootLView=a,s._tNode=o,s.destroyCbs=[],s.instance=r,s.hostView=s.changeDetectorRef=new ia(a),s.hostView._tViewNode=(l=a[1],u=a,null==(c=l.node)&&(l.node=c=ni(0,null,2,-1,null,null)),u[6]=c),s.componentType=t,s}return _createClass2(n,[{key:"destroy",value:function(){this.destroyCbs&&(this.destroyCbs.forEach((function(t){return t()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}},{key:"onDestroy",value:function(t){this.destroyCbs&&this.destroyCbs.push(t)}},{key:"injector",get:function(){return new xn(this._tNode,this._rootLView)}}]),n}(function(){return function t(){_classCallCheck(this,t)}}()),Ys=void 0,Hs=["en",[["a","p"],["AM","PM"],Ys],[["AM","PM"],Ys,Ys],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ys,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ys,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ys,"{1} 'at' {0}",Ys],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},function(t){var e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===n?1:5}],Us={};function Gs(t,e,n){"string"!=typeof e&&(n=e,e=t[Xs.LocaleId]),e=e.toLowerCase().replace(/_/g,"-"),Us[e]=t,n&&(Us[e][Xs.ExtraData]=n)}function qs(t){var e=function(t){return t.toLowerCase().replace(/_/g,"-")}(t),n=$s(e);if(n)return n;var r=e.split("-")[0];if(n=$s(r))return n;if("en"===r)return Hs;throw new Error('Missing locale data for the locale "'.concat(t,'".'))}function Ws(t){return qs(t)[Xs.CurrencyCode]||null}function Zs(t){return qs(t)[Xs.PluralCase]}function $s(t){return t in Us||(Us[t]=q.ng&&q.ng.common&&q.ng.common.locales&&q.ng.common.locales[t]),Us[t]}var Xs=function(){var t={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,PluralCase:19,ExtraData:20};return t[t.LocaleId]="LocaleId",t[t.DayPeriodsFormat]="DayPeriodsFormat",t[t.DayPeriodsStandalone]="DayPeriodsStandalone",t[t.DaysFormat]="DaysFormat",t[t.DaysStandalone]="DaysStandalone",t[t.MonthsFormat]="MonthsFormat",t[t.MonthsStandalone]="MonthsStandalone",t[t.Eras]="Eras",t[t.FirstDayOfWeek]="FirstDayOfWeek",t[t.WeekendRange]="WeekendRange",t[t.DateFormat]="DateFormat",t[t.TimeFormat]="TimeFormat",t[t.DateTimeFormat]="DateTimeFormat",t[t.NumberSymbols]="NumberSymbols",t[t.NumberFormats]="NumberFormats",t[t.CurrencyCode]="CurrencyCode",t[t.CurrencySymbol]="CurrencySymbol",t[t.CurrencyName]="CurrencyName",t[t.Currencies]="Currencies",t[t.PluralCase]="PluralCase",t[t.ExtraData]="ExtraData",t}();function Ks(t){var e;null==(e=t)&&function(t,e,n,r){throw new Error("ASSERTION ERROR: Expected localeId to be defined"+" [Expected=> null != ".concat(e," <=Actual]"))}(0,e),"string"==typeof t&&t.toLowerCase().replace(/_/g,"-")}var Qs=new Map,Js=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;_classCallCheck(this,n),(i=e.call(this))._parent=r,i._bootstrapComponents=[],i.injector=_assertThisInitialized(i),i.destroyCbs=[],i.componentFactoryResolver=new zs(_assertThisInitialized(i));var a=Bt(t),o=t[K]||null;return o&&Ks(o),i._bootstrapComponents=an(a.bootstrap),i._r3Injector=ma(t,r,[{provide:pt,useValue:_assertThisInitialized(i)},{provide:ss,useValue:i.componentFactoryResolver}],R(t)),i._r3Injector._resolveInjectorDefTypes(),i.instance=i.get(t),i}return _createClass2(n,[{key:"get",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ca.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w.Default;return t===Ca||t===pt||t===et?this:this._r3Injector.get(t,e,n)}},{key:"destroy",value:function(){var t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach((function(t){return t()})),this.destroyCbs=null}},{key:"onDestroy",value:function(t){this.destroyCbs.push(t)}}]),n}(pt),tl=function(t){_inherits(n,t);var e=_createSuper(n);function n(t){var r;return _classCallCheck(this,n),(r=e.call(this)).moduleType=t,null!==Bt(t)&&function t(e){if(null!==e.\u0275mod.id){var n=e.\u0275mod.id;(function(t,e,n){if(e&&e!==n)throw new Error("Duplicate module registered for ".concat(t," - ").concat(R(e)," vs ").concat(R(e.name)))})(n,Qs.get(n),e),Qs.set(n,e)}var r=e.\u0275mod.imports;r instanceof Function&&(r=r()),r&&r.forEach((function(e){return t(e)}))}(t),r}return _createClass2(n,[{key:"create",value:function(t){return new Js(this.moduleType,t)}}]),n}(gt);function el(t,e,n){var r=be()+t,i=he();return i[r]===Pr?za(i,r,n?e.call(n):e()):function(t,e){return t[e]}(i,r)}function nl(t,e,n,r){return al(he(),be(),t,e,n,r)}function rl(t,e,n,r,i,a){return function(t,e,n,r,i,a,o,s){var l=e+n;return function(t,e,n,r,i){var a=Ba(t,e,n,r);return Fa(t,e+2,i)||a}(t,l,i,a,o)?za(t,l+3,s?r.call(s,i,a,o):r(i,a,o)):il(t,l+3)}(he(),be(),t,e,n,r,i,a)}function il(t,e){var n=t[e];return n===Pr?void 0:n}function al(t,e,n,r,i,a){var o=e+n;return Fa(t,o,i)?za(t,o+1,a?r.call(a,i):r(i)):il(t,o+1)}function ol(t,e){var n,r=fe(),i=t+19;r.firstCreatePass?(n=function(t,e){if(e)for(var n=e.length-1;n>=0;n--){var r=e[n];if(t===r.name)return r}throw new Error("The pipe '".concat(t,"' could not be found!"))}(e,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var a=n.factory||(n.factory=Ft(n.type)),o=st(Ua),s=a();return st(o),function(t,e,n,r){var i=n+19;i>=t.data.length&&(t.data[i]=null,t.blueprint[i]=null),e[i]=r}(r,he(),t,s),s}function sl(t,e,n){var r=he(),i=ne(r,t);return function(t,e){return La.isWrapped(e)&&(e=La.unwrap(e),t[xe()]=Pr),e}(r,function(t,e){return t[1].data[e+19].pure}(r,t)?al(r,be(),e,i.transform,n,i):i.transform(n))}var ll=function(t){_inherits(n,t);var e=_createSuper(n);function n(){var t,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,n),(t=e.call(this)).__isAsync=r,t}return _createClass2(n,[{key:"emit",value:function(t){_get(_getPrototypeOf(n.prototype),"next",this).call(this,t)}},{key:"subscribe",value:function(t,e,r){var a,o=function(t){return null},s=function(){return null};t&&"object"==typeof t?(a=this.__isAsync?function(e){setTimeout((function(){return t.next(e)}))}:function(e){t.next(e)},t.error&&(o=this.__isAsync?function(e){setTimeout((function(){return t.error(e)}))}:function(e){t.error(e)}),t.complete&&(s=this.__isAsync?function(){setTimeout((function(){return t.complete()}))}:function(){t.complete()})):(a=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)},e&&(o=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)}),r&&(s=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var l=_get(_getPrototypeOf(n.prototype),"subscribe",this).call(this,a,o,s);return t instanceof i.a&&t.add(l),l}}]),n}(r.a);function ul(){return this._results[Oa()]()}var cl=function(){function t(){_classCallCheck(this,t),this.dirty=!0,this._results=[],this.changes=new ll,this.length=0;var e=Oa(),n=t.prototype;n[e]||(n[e]=ul)}return _createClass2(t,[{key:"map",value:function(t){return this._results.map(t)}},{key:"filter",value:function(t){return this._results.filter(t)}},{key:"find",value:function(t){return this._results.find(t)}},{key:"reduce",value:function(t,e){return this._results.reduce(t,e)}},{key:"forEach",value:function(t){this._results.forEach(t)}},{key:"some",value:function(t){return this._results.some(t)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(t){this._results=function t(e,n){void 0===n&&(n=e);for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,t),this.queries=e}return _createClass2(t,[{key:"createEmbeddedView",value:function(e){var n=e.queries;if(null!==n){for(var r=null!==e.contentQueries?e.contentQueries[0]:n.length,i=[],a=0;a3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,t),this.predicate=e,this.descendants=n,this.isStatic=r,this.read=i},pl=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,t),this.queries=e}return _createClass2(t,[{key:"elementStart",value:function(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,t),this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass2(t,[{key:"elementStart",value:function(t,e){this.isApplyingToNode(e)&&this.matchTNode(t,e)}},{key:"elementEnd",value:function(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(t,e){this.elementStart(t,e)}},{key:"embeddedTView",value:function(e,n){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,n),new t(this.metadata)):null}},{key:"isApplyingToNode",value:function(t){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var e=this._declarationNodeIndex,n=t.parent;null!==n&&4===n.type&&n.index!==e;)n=n.parent;return e===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(t,e){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,r=0;r0)i.push(s[l/2]);else{for(var c=o[l+1],h=n[-u],f=9;f0&&void 0!==arguments[0]?arguments[0]:w.Default,e=la(!0);if(null!=e||t&w.Optional)return e;throw new Error("No provider for ChangeDetectorRef!")}var Il=new tt("Application Initializer"),Dl=function(){var t=function(){function t(e){var n=this;_classCallCheck(this,t),this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(t,e){n.resolve=t,n.reject=e}))}return _createClass2(t,[{key:"runInitializers",value:function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(t){return t.timeoutId!==i})),t(r._didWork,r.getPendingTasks())}),e)),this._callbacks.push({doneCb:t,timeoutId:i,updateCb:n})}},{key:"whenStable",value:function(t,e,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(t,e,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(t,e,n){return[]}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ut(Ql))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t}(),su=function(){var t=function(){function t(){_classCallCheck(this,t),this._applications=new Map,cu.addToWindow(this)}return _createClass2(t,[{key:"registerApplication",value:function(t,e){this._applications.set(t,e)}},{key:"unregisterApplication",value:function(t){this._applications.delete(t)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(t){return this._applications.get(t)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return cu.findTestabilityInTree(this,t,e)}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t}();function lu(t){cu=t}var uu,cu=new(function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"addToWindow",value:function(t){}},{key:"findTestabilityInTree",value:function(t,e,n){return null}}]),t}()),hu=function(t,e,n){var r=new tl(n);if(0===Ta.size)return Promise.resolve(r);var i,a,o=(i=t.get($l,[]).concat(e).map((function(t){return t.providers})),a=[],i.forEach((function(t){return t&&a.push.apply(a,_toConsumableArray(t))})),a);if(0===o.length)return Promise.resolve(r);var s=function(){var t=q.ng;if(!t||!t.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return t.\u0275compilerFacade}(),l=Ca.create({providers:o}).get(s.ResourceLoader);return function(t){var e=[],n=new Map;function r(t){var e=n.get(t);if(!e){var r=function(t){return Promise.resolve(l.get(t))}(t);n.set(t,e=r.then(Ma))}return e}return Ta.forEach((function(t,n){var i=[];t.templateUrl&&i.push(r(t.templateUrl).then((function(e){t.template=e})));var a=t.styleUrls,o=t.styles||(t.styles=[]),s=t.styles.length;a&&a.forEach((function(e,n){o.push(""),i.push(r(e).then((function(r){o[s+n]=r,a.splice(a.indexOf(e),1),0==a.length&&(t.styleUrls=void 0)})))}));var l=Promise.all(i).then((function(){return function(t){Ea.delete(t)}(n)}));e.push(l)})),Ta=new Map,Promise.all(e).then((function(){}))}().then((function(){return r}))},fu=new tt("AllowMultipleToken"),du=function t(e,n){_classCallCheck(this,t),this.name=e,this.token=n};function pu(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: "+e,i=new tt(r);return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=gu();if(!a||a.injector.get(fu,!1))if(t)t(n.concat(e).concat({provide:i,useValue:!0}));else{var o=n.concat(e).concat({provide:i,useValue:!0},{provide:ha,useValue:"platform"});!function(t){if(uu&&!uu.destroyed&&!uu.injector.get(fu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");uu=t.get(vu);var e=t.get(Rl,null);e&&e.forEach((function(t){return t()}))}(Ca.create({providers:o,name:r}))}return function(t){var e=gu();if(!e)throw new Error("No platform exists!");if(!e.injector.get(t,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return e}(i)}}function gu(){return uu&&!uu.destroyed?uu:null}var vu=function(){var t=function(){function t(e){_classCallCheck(this,t),this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass2(t,[{key:"bootstrapModuleFactory",value:function(t,e){var n,r,i=this,a=(n=e?e.ngZone:void 0,r=e&&e.ngZoneEventCoalescing||!1,"noop"===n?new au:("zone.js"===n?void 0:n)||new Ql({enableLongStackTrace:Hn(),shouldCoalesceEventChangeDetection:r})),o=[{provide:Ql,useValue:a}];return a.run((function(){var e=Ca.create({providers:o,parent:i.injector,name:t.moduleType.name}),n=t.create(e),r=n.injector.get(An,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return bu(i._modules,n)})),a.runOutsideAngular((function(){return a.onError.subscribe({next:function(t){r.handleError(t)}})})),function(t,e,r){try{var a=((o=n.injector.get(Dl)).runInitializers(),o.donePromise.then((function(){return Ks(n.injector.get(Bl,"en-US")||"en-US"),i._moduleDoBootstrap(n),n})));return no(a)?a.catch((function(n){throw e.runOutsideAngular((function(){return t.handleError(n)})),n})):a}catch(s){throw e.runOutsideAngular((function(){return t.handleError(s)})),s}var o}(r,a)}))}},{key:"bootstrapModule",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=mu({},n);return hu(this.injector,r,t).then((function(t){return e.bootstrapModuleFactory(t,r)}))}},{key:"_moduleDoBootstrap",value:function(t){var e=t.injector.get(_u);if(t._bootstrapComponents.length>0)t._bootstrapComponents.forEach((function(t){return e.bootstrap(t)}));else{if(!t.instance.ngDoBootstrap)throw new Error("The module ".concat(R(t.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));t.instance.ngDoBootstrap(e)}this._modules.push(t)}},{key:"onDestroy",value:function(t){this._destroyListeners.push(t)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(t){return t.destroy()})),this._destroyListeners.forEach((function(t){return t()})),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ut(Ca))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t}();function mu(t,e){return Array.isArray(e)?e.reduce(mu,t):Object.assign(Object.assign({},t),e)}var yu,_u=((yu=function(){function t(e,n,r,i,s,u){var c=this;_classCallCheck(this,t),this._zone=e,this._console=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=s,this._initStatus=u,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Hn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){c._zone.run((function(){c.tick()}))}});var h=new a.a((function(t){c._stable=c._zone.isStable&&!c._zone.hasPendingMacrotasks&&!c._zone.hasPendingMicrotasks,c._zone.runOutsideAngular((function(){t.next(c._stable),t.complete()}))})),f=new a.a((function(t){var e;c._zone.runOutsideAngular((function(){e=c._zone.onStable.subscribe((function(){Ql.assertNotInAngularZone(),Kl((function(){c._stable||c._zone.hasPendingMacrotasks||c._zone.hasPendingMicrotasks||(c._stable=!0,t.next(!0))}))}))}));var n=c._zone.onUnstable.subscribe((function(){Ql.assertInAngularZone(),c._stable&&(c._stable=!1,c._zone.runOutsideAngular((function(){t.next(!1)})))}));return function(){e.unsubscribe(),n.unsubscribe()}}));this.isStable=Object(o.a)(h,f.pipe((function(t){return l()((e=g,function(t){var n;n="function"==typeof e?e:function(){return e};var r=Object.create(t,d);return r.source=t,r.subjectFactory=n,r})(t));var e})))}return _createClass2(t,[{key:"bootstrap",value:function(t,e){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=t instanceof as?t:this._componentFactoryResolver.resolveComponentFactory(t),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(pt),a=n.create(Ca.NULL,[],e||n.selector,i);a.onDestroy((function(){r._unloadComponent(a)}));var o=a.injector.get(ou,null);return o&&a.injector.get(su).registerApplication(a.location.nativeElement,o),this._loadComponent(a),Hn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),a}},{key:"tick",value:function(){var t=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var e,n=_createForOfIteratorHelper(this._views);try{for(n.s();!(e=n.n()).done;)e.value.detectChanges()}catch(a){n.e(a)}finally{n.f()}if(this._enforceNoNewChanges){var r,i=_createForOfIteratorHelper(this._views);try{for(i.s();!(r=i.n()).done;)r.value.checkNoChanges()}catch(a){i.e(a)}finally{i.f()}}}catch(o){this._zone.runOutsideAngular((function(){return t._exceptionHandler.handleError(o)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(t){var e=t;this._views.push(e),e.attachToAppRef(this)}},{key:"detachView",value:function(t){var e=t;bu(this._views,e),e.detachFromAppRef()}},{key:"_loadComponent",value:function(t){this.attachView(t.hostView),this.tick(),this.components.push(t),this._injector.get(zl,[]).concat(this._bootstrapListeners).forEach((function(e){return e(t)}))}},{key:"_unloadComponent",value:function(t){this.detachView(t.hostView),bu(this.components,t)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(t){return t.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),t}()).\u0275fac=function(t){return new(t||yu)(ut(Ql),ut(Fl),ut(Ca),ut(An),ut(ss),ut(Dl))},yu.\u0275prov=C({token:yu,factory:yu.\u0275fac}),yu);function bu(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var xu=function t(){_classCallCheck(this,t)},wu=function t(){_classCallCheck(this,t)},ku={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Su=function(){var t=function(){function t(e,n){_classCallCheck(this,t),this._compiler=e,this._config=n||ku}return _createClass2(t,[{key:"load",value:function(t){return this.loadAndCompile(t)}},{key:"loadAndCompile",value:function(t){var e=this,r=_slicedToArray(t.split("#"),2),i=r[0],a=r[1];return void 0===a&&(a="default"),n("zn8P")(i).then((function(t){return t[a]})).then((function(t){return Cu(t,i,a)})).then((function(t){return e._compiler.compileModuleAsync(t)}))}},{key:"loadFactory",value:function(t){var e=_slicedToArray(t.split("#"),2),r=e[0],i=e[1],a="NgFactory";return void 0===i&&(i="default",a=""),n("zn8P")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(t){return t[i+a]})).then((function(t){return Cu(t,r,i)}))}}]),t}();return t.\u0275fac=function(e){return new(e||t)(ut(Zl),ut(wu,8))},t.\u0275prov=C({token:t,factory:t.\u0275fac}),t}();function Cu(t,e,n){if(!t)throw new Error("Cannot find '".concat(n,"' in '").concat(e,"'"));return t}var Au=function(t){return null},Tu=pu(null,"core",[{provide:Nl,useValue:"unknown"},{provide:vu,deps:[Ca]},{provide:su,deps:[]},{provide:Fl,deps:[]}]),Eu=[{provide:_u,useClass:_u,deps:[Ql,Fl,Ca,An,ss,Dl]},{provide:Bs,deps:[Ql],useFactory:function(t){var e=[];return t.onStable.subscribe((function(){for(;e.length;)e.pop()()})),function(t){e.push(t)}}},{provide:Dl,useClass:Dl,deps:[[new _,Il]]},{provide:Zl,useClass:Zl,deps:[]},Pl,{provide:Ts,useFactory:function(){return Is},deps:[]},{provide:Es,useFactory:function(){return Ds},deps:[]},{provide:Bl,useFactory:function(t){return Ks(t=t||"undefined"!=typeof $localize&&$localize.locale||"en-US"),t},deps:[[new y(Bl),new _,new x]]},{provide:Vl,useValue:"USD"}],Mu=function(){var t=function t(e){_classCallCheck(this,t)};return t.\u0275mod=Ot({type:t}),t.\u0275inj=A({factory:function(e){return new(e||t)(ut(_u))},providers:Eu}),t}()},"fc+c":function(t,e,n){var r=n("sS/r").extend({type:"dataZoom",render:function(t,e,n,r){this.dataZoomModel=t,this.ecModel=e,this.api=n},getTargetCoordInfo:function(){var t=this.ecModel,e={};return this.dataZoomModel.eachTargetAxis((function(n,r){var i=t.getComponent(n.axis,r);if(i){var a=i.getCoordSysModel();a&&function(t,e,n,r){for(var i,a=0;a0&&(b[0]=-b[0],b[1]=-b[1]);var w,k=h[0]<0?-1:1;if("start"!==n.__position&&"end"!==n.__position){var S=-Math.atan2(h[1],h[0]);u[0].8?"left":c[0]<-.8?"right":"center",p=c[1]>.8?"top":c[1]<-.8?"bottom":"middle";break;case"start":f=[-c[0]*m+l[0],-c[1]*y+l[1]],d=c[0]>.8?"right":c[0]<-.8?"left":"center",p=c[1]>.8?"bottom":c[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":f=[m*k+l[0],l[1]+w],d=h[0]<0?"right":"left",g=[-m*k,-w];break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":f=[x[0],x[1]+w],d="center",g=[0,-w];break;case"insideEndTop":case"insideEnd":case"insideEndBottom":f=[-m*k+u[0],u[1]+w],d=h[0]>=0?"right":"left",g=[m*k,-w]}n.attr({style:{textVerticalAlign:n.__verticalAlign||p,textAlign:n.__textAlign||d},position:f,scale:[r,r],origin:g})}}}},p._createLine=function(t,e,n){var i=t.hostModel,a=function(t){var e=new o({name:"line",subPixelOptimize:!0});return f(e.shape,t),e}(t.getItemLayout(e));a.shape.percent=0,s.initProps(a,{shape:{percent:1}},i,e),this.add(a);var l=new s.Text({name:"label",lineLabelOriginalOpacity:1});this.add(l),r.each(u,(function(n){var r=h(n,t,e);this.add(r),this[c(n)]=t.getItemVisual(e,n)}),this),this._updateCommonStl(t,e,n)},p.updateData=function(t,e,n){var i=t.hostModel,a=this.childOfName("line"),o=t.getItemLayout(e),l={shape:{}};f(l.shape,o),s.updateProps(a,l,i,e),r.each(u,(function(n){var r=t.getItemVisual(e,n),i=c(n);if(this[i]!==r){this.remove(this.childOfName(n));var a=h(n,t,e);this.add(a)}this[i]=r}),this),this._updateCommonStl(t,e,n)},p._updateCommonStl=function(t,e,n){var i=t.hostModel,a=this.childOfName("line"),o=n&&n.lineStyle,c=n&&n.hoverLineStyle,h=n&&n.labelModel,f=n&&n.hoverLabelModel;if(!n||t.hasItemOption){var d=t.getItemModel(e);o=d.getModel("lineStyle").getLineStyle(),c=d.getModel("emphasis.lineStyle").getLineStyle(),h=d.getModel("label"),f=d.getModel("emphasis.label")}var p=t.getItemVisual(e,"color"),g=r.retrieve3(t.getItemVisual(e,"opacity"),o.opacity,1);a.useStyle(r.defaults({strokeNoScale:!0,fill:"none",stroke:p,opacity:g},o)),a.hoverStyle=c,r.each(u,(function(t){var e=this.childOfName(t);e&&(e.setColor(p),e.setStyle({opacity:g}))}),this);var v,m,y=h.getShallow("show"),_=f.getShallow("show"),b=this.childOfName("label");if((y||_)&&(v=p||"#000",null==(m=i.getFormattedLabel(e,"normal",t.dataType)))){var x=i.getRawValue(e);m=null==x?t.getName(e):isFinite(x)?l(x):x}var w=y?m:null,k=_?r.retrieve2(i.getFormattedLabel(e,"emphasis",t.dataType),m):null,S=b.style;if(null!=w||null!=k){s.setTextStyle(b.style,h,{text:w},{autoColor:v}),b.__textAlign=S.textAlign,b.__verticalAlign=S.textVerticalAlign,b.__position=h.get("position")||"middle";var C=h.get("distance");r.isArray(C)||(C=[C,C]),b.__labelDistance=C}b.hoverStyle=null!=k?{text:k,textFill:f.getTextColor(!0),fontStyle:f.getShallow("fontStyle"),fontWeight:f.getShallow("fontWeight"),fontSize:f.getShallow("fontSize"),fontFamily:f.getShallow("fontFamily")}:{text:null},b.ignore=!y&&!_,s.setHoverStyle(this)},p.highlight=function(){this.trigger("emphasis")},p.downplay=function(){this.trigger("normal")},p.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},p.setLinePoints=function(t){var e=this.childOfName("line");f(e.shape,t),e.dirty()},r.inherits(d,s.Group),t.exports=d},fmMI:function(t,e,n){n("Tghj");var r=n("bYtY"),i=r.each,a=r.filter,o=r.map,s=r.isArray,l=r.indexOf,u=r.isObject,c=r.isString,h=r.createHashMap,f=r.assert,d=r.clone,p=r.merge,g=r.extend,v=r.mixin,m=n("4NO4"),y=n("Qxkt"),_=n("bLfw"),b=n("iXHM"),x=n("5Hur"),w=n("D5nY").resetSourceDefaulter,k=y.extend({init:function(t,e,n,r){n=n||{},this.option=null,this._theme=new y(n),this._optionManager=r},setOption:function(t,e){f(!("\0_ec_inner"in t),"please use chart.getOption()"),this._optionManager.setOption(t,e),this.resetOption(null)},resetOption:function(t){var e=!1,n=this._optionManager;if(!t||"recreate"===t){var r=n.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this.mergeOption(r)):S.call(this,r),e=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=n.getTimelineOption(this);a&&(this.mergeOption(a),e=!0)}if(!t||"recreate"===t||"media"===t){var o=n.getMediaOption(this,this._api);o.length&&i(o,(function(t){this.mergeOption(t,e=!0)}),this)}return e},mergeOption:function(t){var e=this.option,n=this._componentsMap,r=[];w(this),i(t,(function(t,n){null!=t&&(_.hasClass(n)?n&&r.push(n):e[n]=null==e[n]?d(t):p(e[n],t,!0))})),_.topologicalTravel(r,_.getAllClassMainTypes(),(function(r,a){var o=m.normalizeToArray(t[r]),l=m.mappingToExists(n.get(r),o);m.makeIdAndName(l),i(l,(function(t,e){var n=t.option;u(n)&&(t.keyInfo.mainType=r,t.keyInfo.subType=function(t,e,n){return e.type?e.type:n?n.subType:_.determineSubType(t,e)}(r,n,t.exist))}));var c=function(t,e){s(e)||(e=e?[e]:[]);var n={};return i(e,(function(e){n[e]=(t.get(e)||[]).slice()})),n}(n,a);e[r]=[],n.set(r,[]),i(l,(function(t,i){var a=t.exist,o=t.option;if(f(u(o)||a,"Empty component definition"),o){var s=_.getClass(r,t.keyInfo.subType,!0);if(a&&a.constructor===s)a.name=t.keyInfo.name,a.mergeOption(o,this),a.optionUpdated(o,!1);else{var l=g({dependentModels:c,componentIndex:i},t.keyInfo);a=new s(o,this,this,l),g(a,l),a.init(o,this,this,l),a.optionUpdated(null,!0)}}else a.mergeOption({},this),a.optionUpdated({},!1);n.get(r)[i]=a,e[r][i]=a.option}),this),"series"===r&&C(this,n.get("series"))}),this),this._seriesIndicesMap=h(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var t=d(this.option);return i(t,(function(e,n){if(_.hasClass(n)){for(var r=(e=m.normalizeToArray(e)).length-1;r>=0;r--)m.isIdInner(e[r])&&e.splice(r,1);t[n]=e}})),delete t["\0_ec_inner"],t},getTheme:function(){return this._theme},getComponent:function(t,e){var n=this._componentsMap.get(t);if(n)return n[e||0]},queryComponents:function(t){var e=t.mainType;if(!e)return[];var n,r=t.index,i=t.id,u=t.name,c=this._componentsMap.get(e);if(!c||!c.length)return[];if(null!=r)s(r)||(r=[r]),n=a(o(r,(function(t){return c[t]})),(function(t){return!!t}));else if(null!=i){var h=s(i);n=a(c,(function(t){return h&&l(i,t.id)>=0||!h&&t.id===i}))}else if(null!=u){var f=s(u);n=a(c,(function(t){return f&&l(u,t.name)>=0||!f&&t.name===u}))}else n=c.slice();return A(n,t)},findComponents:function(t){var e,n,r,i,o,s=t.mainType,l=(n=s+"Index",r=s+"Id",i=s+"Name",!(e=t.query)||null==e[n]&&null==e[r]&&null==e[i]?null:{mainType:s,index:e[n],id:e[r],name:e[i]});return o=A(l?this.queryComponents(l):this._componentsMap.get(s),t),t.filter?a(o,t.filter):o},eachComponent:function(t,e,n){var r=this._componentsMap;if("function"==typeof t)n=e,e=t,r.each((function(t,r){i(t,(function(t,i){e.call(n,r,t,i)}))}));else if(c(t))i(r.get(t),e,n);else if(u(t)){var a=this.findComponents(t);i(a,e,n)}},getSeriesByName:function(t){var e=this._componentsMap.get("series");return a(e,(function(e){return e.name===t}))},getSeriesByIndex:function(t){return this._componentsMap.get("series")[t]},getSeriesByType:function(t){var e=this._componentsMap.get("series");return a(e,(function(e){return e.subType===t}))},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(t,e){i(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];t.call(e,r,n)}),this)},eachRawSeries:function(t,e){i(this._componentsMap.get("series"),t,e)},eachSeriesByType:function(t,e,n){i(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];i.subType===t&&e.call(n,i,r)}),this)},eachRawSeriesByType:function(t,e,n){return i(this.getSeriesByType(t),e,n)},isSeriesFiltered:function(t){return null==this._seriesIndicesMap.get(t.componentIndex)},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(t,e){C(this,a(this._componentsMap.get("series"),t,e))},restoreData:function(t){var e=this._componentsMap;C(this,e.get("series"));var n=[];e.each((function(t,e){n.push(e)})),_.topologicalTravel(n,_.getAllClassMainTypes(),(function(n,r){i(e.get(n),(function(e){("series"!==n||!function(t,e){if(e){var n=e.seiresIndex,r=e.seriesId,i=e.seriesName;return null!=n&&t.componentIndex!==n||null!=r&&t.id!==r||null!=i&&t.name!==i}}(e,t))&&e.restoreData()}))}))}});function S(t){var e,n;t=t,this.option={},this.option["\0_ec_inner"]=1,this._componentsMap=h({series:[]}),n=(e=t).color&&!e.colorLayer,i(this._theme.option,(function(t,r){"colorLayer"===r&&n||_.hasClass(r)||("object"==typeof t?e[r]=e[r]?p(e[r],t,!1):d(t):null==e[r]&&(e[r]=t))})),p(t,b,!1),this.mergeOption(t)}function C(t,e){t._seriesIndicesMap=h(t._seriesIndices=o(e,(function(t){return t.componentIndex}))||[])}function A(t,e){return e.hasOwnProperty("subType")?a(t,(function(t){return t.subType===e.subType})):t}v(k,x),t.exports=k},fmRc:function(t,e,n){var r=n("Xi7e"),i=n("77Zs"),a=n("L8xA"),o=n("gCq4"),s=n("VaNO"),l=n("0Cz8");function u(t){var e=this.__data__=new r(t);this.size=e.size}u.prototype.clear=i,u.prototype.delete=a,u.prototype.get=o,u.prototype.has=s,u.prototype.set=l,t.exports=u},ftKO:function(t,e){t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},g0SD:function(t,e,n){var r=n("bYtY"),i=n("9wZj"),a=n("OELB"),o=n("YXkt"),s=n("kj2x");function l(t,e,n){var r=e.coordinateSystem;t.each((function(i){var o,s=t.getItemModel(i),l=a.parsePercent(s.get("x"),n.getWidth()),u=a.parsePercent(s.get("y"),n.getHeight());if(isNaN(l)||isNaN(u)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,i));else if(r){var c=t.get(r.dimensions[0],i),h=t.get(r.dimensions[1],i);o=r.dataToPoint([c,h])}}else o=[l,u];isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u),t.setItemLayout(i,o)}))}var u=n("iPDy").extend({type:"markPoint",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markPointModel;e&&(l(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout(e))}),this)},renderSeries:function(t,e,n,a){var u=t.coordinateSystem,c=t.id,h=t.getData(),f=this.markerGroupMap,d=f.get(c)||f.set(c,new i),p=function(t,e,n){var i;i=t?r.map(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return r.defaults({name:t},n)})):[{name:"value",type:"float"}];var a=new o(i,n),l=r.map(n.get("data"),r.curry(s.dataTransform,e));return t&&(l=r.filter(l,r.curry(s.dataFilter,t))),a.initData(l,null,t?s.dimValueGetter:function(t){return t.value}),a}(u,t,e);e.setData(p),l(e.getData(),t,a),p.each((function(t){var n=p.getItemModel(t),i=n.getShallow("symbol"),a=n.getShallow("symbolSize"),o=r.isFunction(i),s=r.isFunction(a);if(o||s){var l=e.getRawValue(t),u=e.getDataParams(t);o&&(i=i(l,u)),s&&(a=a(l,u))}p.setItemVisual(t,{symbol:i,symbolSize:a,color:n.get("itemStyle.color")||h.getVisual("color")})})),d.updateData(p),this.group.add(d.group),p.eachItemGraphicEl((function(t){t.traverse((function(t){t.dataModel=e}))})),d.__keep=!0,d.group.silent=e.get("silent")||t.get("silent")}});t.exports=u},g7p0:function(t,e,n){var r=n("bYtY"),i=n("bLfw"),a=n("+TT/"),o=a.getLayoutParams,s=a.sizeCalculable,l=a.mergeLayoutParam,u=i.extend({type:"calendar",coordinateSystem:null,defaultOption:{zlevel:0,z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",nameMap:"en",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",nameMap:"en",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},init:function(t,e,n,r){var i=o(t);u.superApply(this,"init",arguments),c(t,i)},mergeOption:function(t,e){u.superApply(this,"mergeOption",arguments),c(this.option,t)}});function c(t,e){var n=t.cellSize;r.isArray(n)?1===n.length&&(n[1]=n[0]):n=t.cellSize=[n,n];var i=r.map([0,1],(function(t){return s(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));l(t,e,{type:"box",ignoreSize:i})}t.exports=u},gCq4:function(t,e){t.exports=function(t){return this.__data__.get(t)}},gFfm:function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n=0}function s(t,e,n,r,a){var o="vertical"===a?"x":"y";i.each(t,(function(t){var i,s,l;t.sort((function(t,e){return t.getLayout()[o]-e.getLayout()[o]}));for(var u=0,c=t.length,h="vertical"===a?"dx":"dy",f=0;f0&&(i=s.getLayout()[o]+l,s.setLayout("vertical"===a?{x:i}:{y:i},!0)),u=s.getLayout()[o]+s.getLayout()[h]+e;if((l=u-e-("vertical"===a?r:n))>0)for(i=s.getLayout()[o]-l,s.setLayout("vertical"===a?{x:i}:{y:i},!0),u=i,f=c-2;f>=0;--f)(l=(s=t[f]).getLayout()[o]+s.getLayout()[h]+e-u)>0&&(i=s.getLayout()[o]-l,s.setLayout("vertical"===a?{x:i}:{y:i},!0)),u=s.getLayout()[o]}))}function l(t,e,n){i.each(t.slice().reverse(),(function(t){i.each(t,(function(t){if(t.outEdges.length){var r=d(t.outEdges,u,n)/d(t.outEdges,f,n);if("vertical"===n){var i=t.getLayout().x+(r-h(t,n))*e;t.setLayout({x:i},!0)}else{var a=t.getLayout().y+(r-h(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function u(t,e){return h(t.node2,e)*t.getValue()}function c(t,e){return h(t.node1,e)*t.getValue()}function h(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function f(t){return t.getValue()}function d(t,e,n){for(var r=0,i=t.length,a=-1;++a=0;_&&y.depth>g&&(g=y.depth),m.setLayout({depth:_?y.depth:d},!0),m.setLayout("vertical"===s?{dy:n}:{dx:n},!0);for(var b=0;bd-1?g:d-1;l&&"left"!==l&&function(t,e,n,r){if("right"===e){for(var a=[],s=t,l=0;s.length;){for(var u=0;u0;u--)l(h,f*=.99,c),s(h,o,n,r,c),p(h,f,c),s(h,o,n,r,c)}(t,e,c,u,r,h,f),function(t,e){var n="vertical"===e?"x":"y";i.each(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),i.each(t,(function(t){var e=0,n=0;i.each(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),i.each(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,f)}(m,y,n,u,h,g,0!==i.filter(m,(function(t){return 0===t.getLayout().value})).length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}},gut8:function(t,e){e.ContextCachedBy={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},e.WILL_BE_RESTORED=9},gvm7:function(t,e,n){var r=n("bYtY"),i=n("dqUG");function a(t){this._zr=t.getZr(),this._show=!1}a.prototype={constructor:a,_enterable:!0,update:function(){},show:function(t){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.attr("show",!0),this._show=!0},setContent:function(t,e,n){this.el&&this._zr.remove(this.el);for(var r={},a=t,o=a.indexOf("{marker");o>=0;){var s=a.indexOf("|}"),l=a.substr(o+"{marker".length,s-o-"{marker".length);r["marker"+l]=l.indexOf("sub")>-1?{textWidth:4,textHeight:4,textBorderRadius:2,textBackgroundColor:e[l],textOffset:[3,0]}:{textWidth:10,textHeight:10,textBorderRadius:5,textBackgroundColor:e[l]},o=(a=a.substr(s+1)).indexOf("{marker")}this.el=new i({style:{rich:r,text:t,textLineHeight:20,textBackgroundColor:n.get("backgroundColor"),textBorderRadius:n.get("borderRadius"),textFill:n.get("textStyle.color"),textPadding:n.get("padding")},z:n.get("z")}),this._zr.add(this.el);var u=this;this.el.on("mouseover",(function(){u._enterable&&(clearTimeout(u._hideTimeout),u._show=!0),u._inContent=!0})),this.el.on("mouseout",(function(){u._enterable&&u._show&&u.hideLater(u._hideDelay),u._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(r.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]}}},t.exports=a},h54F:function(t,e,n){var r=n("ProS"),i=n("YXkt"),a=n("bYtY"),o=n("4NO4").defaultEmphasis,s=n("Qxkt"),l=n("7aKB").encodeHTML,u=n("I3/A"),c=n("xKMd"),h=r.extendSeriesModel({type:"series.graph",init:function(t){h.superApply(this,"init",arguments);var e=this;function n(){return e._categoriesData}this.legendVisualProvider=new c(n,n),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeOption:function(t){h.superApply(this,"mergeOption",arguments),this.fillDataTextStyle(t.edges||t.links),this._updateCategoriesData()},mergeDefaultAndTheme:function(t){h.superApply(this,"mergeDefaultAndTheme",arguments),o(t,["edgeLabel"],["show"])},getInitialData:function(t,e){var n=t.edges||t.links||[],r=t.data||t.nodes||[],i=this;if(r&&n)return u(r,n,this,!0,(function(t,n){t.wrapMethod("getItemModel",(function(t){var e=i._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var r=i.getModel("edgeLabel"),a=new s({label:r.option},r.parentModel,e),o=i.getModel("emphasis.edgeLabel"),l=new s({emphasis:{label:o.option}},o.parentModel,e);function u(t){return(t=this.parsePath(t))&&"label"===t[0]?a:t&&"emphasis"===t[0]&&"label"===t[1]?l:this.parentModel}n.wrapMethod("getItemModel",(function(t){return t.customizeGetParent(u),t}))})).data},getGraph:function(){return this.getData().graph},getEdgeData:function(){return this.getGraph().edgeData},getCategoriesData:function(){return this._categoriesData},formatTooltip:function(t,e,n){if("edge"===n){var r=this.getData(),i=this.getDataParams(t,n),a=r.graph.getEdgeByIndex(t),o=r.getName(a.node1.dataIndex),s=r.getName(a.node2.dataIndex),u=[];return null!=o&&u.push(o),null!=s&&u.push(s),u=l(u.join(" > ")),i.value&&(u+=" : "+l(i.value)),u}return h.superApply(this,"formatTooltip",arguments)},_updateCategoriesData:function(){var t=a.map(this.option.categories||[],(function(t){return null!=t.value?t:a.extend({value:0},t)})),e=new i(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t,!0)}))},setZoom:function(t){this.option.zoom=t},setCenter:function(t){this.option.center=t},isAnimationEnabled:function(){return h.superCall(this,"isAnimationEnabled")&&!("force"===this.get("layout")&&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}}}});t.exports=h},h7HQ:function(t,e,n){var r=n("y+Vt"),i=n("T6xi"),a=r.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(t,e){i.buildPath(t,e,!0)}});t.exports=a},h8O9:function(t,e,n){var r=n("bYtY").map,i=n("zM3Q"),a=n("7hqr").isDimensionStacked;t.exports=function(t){return{seriesType:t,plan:i(),reset:function(t){var e=t.getData(),n=t.coordinateSystem,i=t.pipelineContext.large;if(n){var o=r(n.dimensions,(function(t){return e.mapDimension(t)})).slice(0,2),s=o.length,l=e.getCalculationInfo("stackResultDimension");return a(e,o[0])&&(o[0]=l),a(e,o[1])&&(o[1]=l),s&&{progress:function(t,e){for(var r=i&&new Float32Array((t.end-t.start)*s),a=t.start,l=0,u=[],c=[];a=n&&t<=r},containData:function(t){return this.scale.contain(t)},getExtent:function(){return this._extent.slice()},getPixelPrecision:function(t){return l(t||this.scale.getExtent(),this._extent)},setExtent:function(t,e){var n=this._extent;n[0]=t,n[1]=e},dataToCoord:function(t,e){var n=this._extent,r=this.scale;return t=r.normalize(t),this.onBand&&"ordinal"===r.type&&v(n=n.slice(),r.count()),s(t,p,n,e)},coordToData:function(t,e){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&v(n=n.slice(),r.count());var i=s(t,n,p,e);return this.scale.scale(i)},pointToData:function(t,e){},getTicksCoords:function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=h(this,e),r=a(n.ticks,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this);return function(t,e,n,r){var a=e.length;if(t.onBand&&!n&&a){var o,s=t.getExtent();if(1===a)e[0].coord=s[0],o=e[1]={coord:s[0]};else{var l=(e[a-1].coord-e[0].coord)/(e[a-1].tickValue-e[0].tickValue);i(e,(function(t){t.coord-=l/2}));var c=t.scale.getExtent();e.push(o={coord:e[a-1].coord+l*(1+c[1]-e[a-1].tickValue)})}var h=s[0]>s[1];f(e[0].coord,s[0])&&(r?e[0].coord=s[0]:e.shift()),r&&f(s[0],e[0].coord)&&e.unshift({coord:s[0]}),f(s[1],o.coord)&&(r?o.coord=s[1]:e.pop()),r&&f(o.coord,s[1])&&e.push({coord:s[1]})}function f(t,e){return t=u(t),e=u(e),h?t>e:t0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return a(e,(function(t){return a(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},getViewLabels:function(){return f(this).labels},getLabelModel:function(){return this.model.getModel("axisLabel")},getTickModel:function(){return this.model.getModel("axisTick")},getBandWidth:function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(t[1]-t[0]);return Math.abs(r)/n},isHorizontal:null,getRotate:null,calculateCategoryInterval:function(){return d(this)}},t.exports=g},hNWo:function(t,e,n){var r=n("ProS"),i=n("bYtY"),a=n("Qxkt"),o=n("4NO4").isNameSpecified,s=n("Kagy").legend.selector,l={all:{type:"all",title:i.clone(s.all)},inverse:{type:"inverse",title:i.clone(s.inverse)}},u=r.extendComponentModel({type:"legend.plain",dependencies:["series"],layoutMode:{type:"box",ignoreSize:!0},init:function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},mergeOption:function(t){u.superCall(this,"mergeOption",t),this._updateSelector(t)},_updateSelector:function(t){var e=t.selector;!0===e&&(e=t.selector=["all","inverse"]),i.isArray(e)&&i.each(e,(function(t,n){i.isString(t)&&(t={type:t}),e[n]=i.merge(t,l[t.type])}))},optionUpdated:function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n=0},getOrient:function(){return"vertical"===this.get("orient")?{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}}});t.exports=u},hOwI:function(t,e){var n=Math.log(2);function r(t,e,i,a,o,s){var l=a+"-"+o,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var c=Math.round(Math.log((1<e&&a>r||ai?o:0}},hypo:function(t,e,n){var r=n("O0oS");t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},i38C:function(t,e,n){n("Tghj");var r=n("bYtY"),i=r.createHashMap,a=r.each;function o(t){this.coordSysName=t,this.coordSysDims=[],this.axisMap=i(),this.categoryAxisMap=i(),this.firstCategoryDimIndex=null}var s={cartesian2d:function(t,e,n,r){var i=t.getReferringComponents("xAxis")[0],a=t.getReferringComponents("yAxis")[0];e.coordSysDims=["x","y"],n.set("x",i),n.set("y",a),l(i)&&(r.set("x",i),e.firstCategoryDimIndex=0),l(a)&&(r.set("y",a),e.firstCategoryDimIndex=1)},singleAxis:function(t,e,n,r){var i=t.getReferringComponents("singleAxis")[0];e.coordSysDims=["single"],n.set("single",i),l(i)&&(r.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,n,r){var i=t.getReferringComponents("polar")[0],a=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",o),l(a)&&(r.set("radius",a),e.firstCategoryDimIndex=0),l(o)&&(r.set("angle",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,r){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var i=t.ecModel,o=i.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=o.dimensions.slice();a(o.parallelAxisIndex,(function(t,a){var o=i.getComponent("parallelAxis",t),u=s[a];n.set(u,o),l(o)&&null==e.firstCategoryDimIndex&&(r.set(u,o),e.firstCategoryDimIndex=a)}))}};function l(t){return"category"===t.get("type")}e.getCoordSysInfoBySeries=function(t){var e=t.get("coordinateSystem"),n=new o(e),r=s[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}},iBet:function(t,e,n){var r=n("b5wT"),i=n("F9We").Graph;t.exports=function(t,e,n){var a=function(t){for(var e;t.hasNode(e=r.uniqueId("_root")););return e}(t),o=new i({compound:!0}).setGraph({root:a}).setDefaultNodeLabel((function(e){return t.node(e)}));return r.forEach(t.nodes(),(function(i){var s=t.node(i),l=t.parent(i);(s.rank===e||s.minRank<=e&&e<=s.maxRank)&&(o.setNode(i),o.setParent(i,l||a),r.forEach(t[n](i),(function(e){var n=e.v===i?e.w:e.v,a=o.edge(n,i),s=r.isUndefined(a)?0:a.weight;o.setEdge(n,i,{weight:t.edge(e).weight+s})})),r.has(s,"minRank")&&o.setNode(i,{borderLeft:s.borderLeft[e],borderRight:s.borderRight[e]}))})),o}},iLNv:function(t,e){var n="\0__throttleOriginMethod",r="\0__throttleRate";function i(t,e,n){var r,i,a,o,s,l=0,u=0,c=null;function h(){u=(new Date).getTime(),c=null,t.apply(a,o||[])}e=e||0;var f=function(){r=(new Date).getTime(),a=this,o=arguments;var t=s||e,f=s||n;s=null,i=r-(f?l:u)-t,clearTimeout(c),f?c=setTimeout(h,t):i>=0?h():c=setTimeout(h,-i),l=r};return f.clear=function(){c&&(clearTimeout(c),c=null)},f.debounceNextCall=function(t){s=t},f}e.throttle=i,e.createOrUpdate=function(t,e,a,o){var s=t[e];if(s){var l=s[n]||s;if(s[r]!==a||s["\0__throttleType"]!==o){if(null==a||!o)return t[e]=l;(s=t[e]=i(l,a,"debounce"===o))[n]=l,s["\0__throttleType"]=o,s[r]=a}return s}},e.clear=function(t,e){var r=t[e];r&&r[n]&&(t[e]=r[n])}},iPDy:function(t,e,n){var r=n("ProS"),i=n("bYtY"),a=r.extendComponentView({type:"marker",init:function(){this.markerGroupMap=i.createHashMap()},render:function(t,e,n){var r=this.markerGroupMap;r.each((function(t){t.__keep=!1}));var i=this.type+"Model";e.eachSeries((function(t){var r=t[i];r&&this.renderSeries(t,r,e,n)}),this),r.each((function(t){!t.__keep&&this.group.remove(t.group)}),this)},renderSeries:function(){}});t.exports=a},iRjW:function(t,e,n){var r=n("bYtY"),i=n("Yl7c").parseClassType,a=0;e.getUID=function(t){return[t||"",a++,Math.random().toFixed(5)].join("_")},e.enableSubTypeDefaulter=function(t){var e={};return t.registerSubTypeDefaulter=function(t,n){t=i(t),e[t.main]=n},t.determineSubType=function(n,r){var a=r.type;if(!a){var o=i(n).main;t.hasSubTypes(n)&&e[o]&&(a=e[o](r))}return a},t},e.enableTopologicalTravel=function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,i,a,o){if(t.length){var s=function(t){var i={},a=[];return r.each(t,(function(o){var s=n(i,o),l=function(t,e){var n=[];return r.each(t,(function(t){r.indexOf(e,t)>=0&&n.push(t)})),n}(s.originalDeps=e(o),t);s.entryCount=l.length,0===s.entryCount&&a.push(o),r.each(l,(function(t){r.indexOf(s.predecessor,t)<0&&s.predecessor.push(t);var e=n(i,t);r.indexOf(e.successor,t)<0&&e.successor.push(o)}))})),{graph:i,noEntryList:a}}(i),l=s.graph,u=s.noEntryList,c={};for(r.each(t,(function(t){c[t]=!0}));u.length;){var h=u.pop(),f=l[h],d=!!c[h];d&&(a.call(o,h,f.originalDeps.slice()),delete c[h]),r.each(f.successor,d?g:p)}r.each(c,(function(){throw new Error("Circle dependency may exists")}))}function p(t){l[t].entryCount--,0===l[t].entryCount&&u.push(t)}function g(t){c[t]=!0,p(t)}}}},iXHM:function(t,e){var n="";"undefined"!=typeof navigator&&(n=navigator.platform||"");var r={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:n.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};t.exports=r},iXp4:function(t,e,n){var r=n("ItGF"),i=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];t.exports=function(t){return r.browser.ie&&r.browser.version>=11?function(){var e,n=this.__clipPaths,r=this.style;if(n)for(var a=0;ae[1]&&(e[1]=t[1]),l.prototype.setExtent.call(this,e[0],e[1])},getInterval:function(){return this._interval},setInterval:function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=o.getIntervalPrecision(t)},getTicks:function(t){var e=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,a=[];if(!e)return a;n[0]1e4)return[];var l=a.length?a[a.length-1]:r[1];return n[1]>l&&a.push(t?s(l+e,i):n[1]),a},getMinorTicks:function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),a=1;ai[0]&&c0;)r*=10;var i=[a.round(f(e[0]/r)*r),a.round(h(e[1]/r)*r)];this._interval=r,this._niceExtent=i}},niceExtent:function(t){l.niceExtent.call(this,t);var e=this._originalScale;e.__fixMin=t.fixMin,e.__fixMax=t.fixMax}});function v(t,e){return c(t,u(e))}r.each(["contain","normalize"],(function(t){g.prototype[t]=function(e){return e=p(e)/p(this.base),s[t].call(this,e)}})),g.create=function(){return new g},t.exports=g},jFXE:function(t,e,n){"use strict";var r=n("b5wT"),i=n("F9We").Graph,a=n("tQ6r");function o(t,e){var n={};return r.reduce(e,(function(e,i){var a=0,o=0,s=e.length,u=r.last(i);return r.forEach(i,(function(e,c){var h=function(t,e){if(t.node(e).dummy)return r.find(t.predecessors(e),(function(e){return t.node(e).dummy}))}(t,e),f=h?t.node(h).order:s;(h||e===u)&&(r.forEach(i.slice(o,c+1),(function(e){r.forEach(t.predecessors(e),(function(r){var i=t.node(r),o=i.order;!(os)&&l(n,e,u)}))}))}return r.reduce(e,(function(e,n){var a,o=-1,s=0;return r.forEach(n,(function(r,l){if("border"===t.node(r).dummy){var u=t.predecessors(r);u.length&&(a=t.node(u[0]).order,i(n,s,l,o,a),s=l,o=a)}i(n,s,n.length,a,e.length)})),n})),n}function l(t,e,n){if(e>n){var r=e;e=n,n=r}var i=t[e];i||(t[e]=i={}),i[n]=!0}function u(t,e,n){if(e>n){var i=e;e=n,n=i}return r.has(t[e],n)}function c(t,e,n,i){var a={},o={},s={};return r.forEach(e,(function(t){r.forEach(t,(function(t,e){a[t]=t,o[t]=t,s[t]=e}))})),r.forEach(e,(function(t){var e=-1;r.forEach(t,(function(t){var l=i(t);if(l.length)for(var c=((l=r.sortBy(l,(function(t){return s[t]}))).length-1)/2,h=Math.floor(c),f=Math.ceil(c);h<=f;++h){var d=l[h];o[t]===t&&e-1}},jeLo:function(t,e,n){var r=n("juv8"),i=n("mTTR");t.exports=function(t){return r(t,i(t))}},jett:function(t,e,n){var r=n("ProS");n("VSLf"),n("oBaM"),n("FGaS");var i=n("mOdp"),a=n("f5Yq"),o=n("hw6D"),s=n("0/Rx"),l=n("eJH7");r.registerVisual(i("radar")),r.registerVisual(a("radar","circle")),r.registerLayout(o),r.registerProcessor(s("radar")),r.registerPreprocessor(l)},jhN1:function(t,e,n){"use strict";n.d(e,"a",(function(){return z})),n.d(e,"b",(function(){return D})),n.d(e,"c",(function(){return C})),n.d(e,"d",(function(){return R})),n.d(e,"e",(function(){return b}));var r,i=n("ofXK"),a=n("fXoL"),o=function(t){_inherits(n,t);var e=_createSuper(n);function n(){return _classCallCheck(this,n),e.apply(this,arguments)}return _createClass2(n,[{key:"getProperty",value:function(t,e){return t[e]}},{key:"log",value:function(t){window.console&&window.console.log&&window.console.log(t)}},{key:"logGroup",value:function(t){window.console&&window.console.group&&window.console.group(t)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(t,e,n){return t.addEventListener(e,n,!1),function(){t.removeEventListener(e,n,!1)}}},{key:"dispatchEvent",value:function(t,e){t.dispatchEvent(e)}},{key:"remove",value:function(t){return t.parentNode&&t.parentNode.removeChild(t),t}},{key:"getValue",value:function(t){return t.value}},{key:"createElement",value:function(t,e){return(e=e||this.getDefaultDocument()).createElement(t)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(t){return t.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(t){return t instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(t,e){return"window"===e?window:"document"===e?t:"body"===e?t.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(t){var e,n=s||(s=document.querySelector("base"))?s.getAttribute("href"):null;return null==n?null:(e=n,r||(r=document.createElement("a")),r.setAttribute("href",e),"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname)}},{key:"resetBaseElement",value:function(){s=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(t){return Object(i.x)(document.cookie,t)}}],[{key:"makeCurrent",value:function(){Object(i.y)(new n)}}]),n}(function(t){_inherits(n,t);var e=_createSuper(n);function n(){return _classCallCheck(this,n),e.call(this)}return _createClass2(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(i.u)),s=null,l=new a.q("TRANSITION_ID"),u=[{provide:a.d,useFactory:function(t,e,n){return function(){n.get(a.e).donePromise.then((function(){var n=Object(i.w)();Array.prototype.slice.apply(e.querySelectorAll("style[ng-transition]")).filter((function(e){return e.getAttribute("ng-transition")===t})).forEach((function(t){return n.remove(t)}))}))}},deps:[l,i.c,a.r],multi:!0}],c=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"addToWindow",value:function(t){a.qb.getAngularTestability=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.findTestabilityInTree(e,n);if(null==r)throw new Error("Could not find testability for element.");return r},a.qb.getAllAngularTestabilities=function(){return t.getAllTestabilities()},a.qb.getAllAngularRootElements=function(){return t.getAllRootElements()},a.qb.frameworkStabilizers||(a.qb.frameworkStabilizers=[]),a.qb.frameworkStabilizers.push((function(t){var e=a.qb.getAllAngularTestabilities(),n=e.length,r=!1,i=function(e){r=r||e,0==--n&&t(r)};e.forEach((function(t){t.whenStable(i)}))}))}},{key:"findTestabilityInTree",value:function(t,e,n){if(null==e)return null;var r=t.getTestability(e);return null!=r?r:n?Object(i.w)().isShadowRoot(e)?this.findTestabilityInTree(t,e.host,!0):this.findTestabilityInTree(t,e.parentElement,!0):null}}],[{key:"init",value:function(){Object(a.Y)(new t)}}]),t}(),h=new a.q("EventManagerPlugins"),f=function(){var t=function(){function t(e,n){var r=this;_classCallCheck(this,t),this._zone=n,this._eventNameToPlugin=new Map,e.forEach((function(t){return t.manager=r})),this._plugins=e.slice().reverse()}return _createClass2(t,[{key:"addEventListener",value:function(t,e,n){return this._findPluginFor(e).addEventListener(t,e,n)}},{key:"addGlobalEventListener",value:function(t,e,n){return this._findPluginFor(e).addGlobalEventListener(t,e,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(t){var e=this._eventNameToPlugin.get(t);if(e)return e;for(var n=this._plugins,r=0;r-1&&(e.splice(n,1),a+=t+".")})),a+=i,0!=e.length||0===i.length)return null;var o={};return o.domEventName=r,o.fullKey=a,o}},{key:"getEventFullKey",value:function(t){var e="",n=function(t){var e=t.key;if(null==e){if(null==(e=t.keyIdentifier))return"Unidentified";e.startsWith("U+")&&(e=String.fromCharCode(parseInt(e.substring(2),16)),3===t.location&&E.hasOwnProperty(e)&&(e=E[e]))}return T[e]||e}(t);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),A.forEach((function(r){r!=n&&(0,M[r])(t)&&(e+=r+".")})),e+=n}},{key:"eventCallback",value:function(t,e,r){return function(i){n.getEventFullKey(i)===t&&r.runGuarded((function(){return e(i)}))}}},{key:"_normalizeKey",value:function(t){switch(t){case"esc":return"escape";default:return t}}}]),n}(d);return t.\u0275fac=function(e){return new(e||t)(a.Yb(i.c))},t.\u0275prov=a.Kb({token:t,factory:t.\u0275fac}),t}(),D=function(){var t=function t(){_classCallCheck(this,t)};return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Object(a.Kb)({factory:function(){return Object(a.Yb)(P)},token:t,providedIn:"root"}),t}();function O(t){return new P(t.get(i.c))}var P=function(){var t=function(t){_inherits(n,t);var e=_createSuper(n);function n(t){var r;return _classCallCheck(this,n),(r=e.call(this))._doc=t,r}return _createClass2(n,[{key:"sanitize",value:function(t,e){if(null==e)return null;switch(t){case a.I.NONE:return e;case a.I.HTML:return Object(a.fb)(e,"HTML")?Object(a.yb)(e):Object(a.cb)(this._doc,String(e));case a.I.STYLE:return Object(a.fb)(e,"Style")?Object(a.yb)(e):Object(a.db)(e);case a.I.SCRIPT:if(Object(a.fb)(e,"Script"))return Object(a.yb)(e);throw new Error("unsafe value used in a script context");case a.I.URL:return Object(a.pb)(e),Object(a.fb)(e,"URL")?Object(a.yb)(e):Object(a.eb)(String(e));case a.I.RESOURCE_URL:if(Object(a.fb)(e,"ResourceURL"))return Object(a.yb)(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(t," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(t){return Object(a.gb)(t)}},{key:"bypassSecurityTrustStyle",value:function(t){return Object(a.jb)(t)}},{key:"bypassSecurityTrustScript",value:function(t){return Object(a.ib)(t)}},{key:"bypassSecurityTrustUrl",value:function(t){return Object(a.kb)(t)}},{key:"bypassSecurityTrustResourceUrl",value:function(t){return Object(a.hb)(t)}}]),n}(D);return t.\u0275fac=function(e){return new(e||t)(a.Yb(i.c))},t.\u0275prov=Object(a.Kb)({factory:function(){return O(Object(a.Yb)(a.o))},token:t,providedIn:"root"}),t}(),L=[{provide:a.B,useValue:i.v},{provide:a.C,useValue:function(){o.makeCurrent(),c.init()},multi:!0},{provide:i.c,useFactory:function(){return Object(a.wb)(document),document},deps:[]}],R=Object(a.S)(a.X,"browser",L),N=[[],{provide:a.ab,useValue:"root"},{provide:a.m,useFactory:function(){return new a.m},deps:[]},{provide:h,useClass:S,multi:!0,deps:[i.c,a.z,a.B]},{provide:h,useClass:I,multi:!0,deps:[i.c]},[],{provide:b,useClass:b,deps:[f,g,a.c]},{provide:a.F,useExisting:b},{provide:p,useExisting:g},{provide:g,useClass:g,deps:[i.c]},{provide:a.N,useClass:a.N,deps:[a.z]},{provide:f,useClass:f,deps:[h,a.z]},[]],z=function(){var t=function(){function t(e){if(_classCallCheck(this,t),e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _createClass2(t,null,[{key:"withServerTransition",value:function(e){return{ngModule:t,providers:[{provide:a.c,useValue:e.appId},{provide:l,useExisting:a.c},u]}}}]),t}();return t.\u0275mod=a.Mb({type:t}),t.\u0275inj=a.Lb({factory:function(e){return new(e||t)(a.Yb(t,12))},providers:N,imports:[i.b,a.f]}),t}();"undefined"!=typeof window&&window},jkPA:function(t,e,n){var r=n("bYtY"),i=r.createHashMap,a=r.isObject,o=r.map;function s(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication}s.createByAxisModel=function(t){var e=t.option,n=e.data,r=n&&o(n,c);return new s({categories:r,needCollect:!r,deduplication:!1!==e.dedplication})};var l=s.prototype;function u(t){return t._map||(t._map=i(t.categories))}function c(t){return a(t)&&null!=t.value?t.value:t+""}l.getOrdinal=function(t){return u(this).get(t)},l.parseAndCollect=function(t){var e,n=this._needCollect;if("string"!=typeof t&&!n)return t;if(n&&!this._deduplication)return this.categories[e=this.categories.length]=t,e;var r=u(this);return null==(e=r.get(t))&&(n?(this.categories[e=this.categories.length]=t,r.set(t,e)):e=NaN),e},t.exports=s},jlxc:function(t,e,n){var r=n("PEyx");t.exports=function(t,e){var n=t.append("foreignObject").attr("width","100000"),i=n.append("xhtml:div");i.attr("xmlns","http://www.w3.org/1999/xhtml");var a=e.label;switch(typeof a){case"function":i.insert(a);break;case"object":i.insert((function(){return a}));break;default:i.html(a)}r.applyStyle(i,e.labelStyle),i.style("display","inline-block"),i.style("white-space","nowrap");var o=i.node().getBoundingClientRect();return n.attr("width",o.width).attr("height",o.height),n}},jndi:function(t,e,n){var r=n("bYtY"),i=n("Qe9p"),a=n("YXkt"),o=n("OELB"),s=n("IwbS"),l=n("kj2x"),u=n("iPDy"),c=function(t,e,n,i){var a=l.dataTransform(t,i[0]),o=l.dataTransform(t,i[1]),s=r.retrieve,u=a.coord,c=o.coord;u[0]=s(u[0],-1/0),u[1]=s(u[1],-1/0),c[0]=s(c[0],1/0),c[1]=s(c[1],1/0);var h=r.mergeAll([{},a,o]);return h.coord=[a.coord,o.coord],h.x0=a.x,h.y0=a.y,h.x1=o.x,h.y1=o.y,h};function h(t){return!isNaN(t)&&!isFinite(t)}function f(t,e,n,r){var i=1-t;return h(e[i])&&h(n[i])}function d(t,e){var n=e.coord[0],r=e.coord[1];return!("cartesian2d"!==t.type||!n||!r||!f(1,n,r)&&!f(0,n,r))||l.dataFilter(t,{coord:n,x:e.x0,y:e.y0})||l.dataFilter(t,{coord:r,x:e.x1,y:e.y1})}function p(t,e,n,r,i){var a,s=r.coordinateSystem,l=t.getItemModel(e),u=o.parsePercent(l.get(n[0]),i.getWidth()),c=o.parsePercent(l.get(n[1]),i.getHeight());if(isNaN(u)||isNaN(c)){if(r.getMarkerPosition)a=r.getMarkerPosition(t.getValues(n,e));else{var f=[g=t.get(n[0],e),v=t.get(n[1],e)];s.clampData&&s.clampData(f,f),a=s.dataToPoint(f,!0)}if("cartesian2d"===s.type){var d=s.getAxis("x"),p=s.getAxis("y"),g=t.get(n[0],e),v=t.get(n[1],e);h(g)?a[0]=d.toGlobalCoord(d.getExtent()["x0"===n[0]?0:1]):h(v)&&(a[1]=p.toGlobalCoord(p.getExtent()["y0"===n[1]?0:1]))}isNaN(u)||(a[0]=u),isNaN(c)||(a[1]=c)}else a=[u,c];return a}var g=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]];u.extend({type:"markArea",updateTransform:function(t,e,n){e.eachSeries((function(t){var e=t.markAreaModel;if(e){var i=e.getData();i.each((function(e){var a=r.map(g,(function(r){return p(i,e,r,t,n)}));i.setItemLayout(e,a),i.getItemGraphicEl(e).setShape("points",a)}))}}),this)},renderSeries:function(t,e,n,o){var l=t.coordinateSystem,u=t.id,h=t.getData(),f=this.markerGroupMap,v=f.get(u)||f.set(u,{group:new s.Group});this.group.add(v.group),v.__keep=!0;var m=function(t,e,n){var i,o;t?(i=r.map(t&&t.dimensions,(function(t){var n=e.getData(),i=n.getDimensionInfo(n.mapDimension(t))||{};return r.defaults({name:t},i)})),o=new a(r.map(["x0","y0","x1","y1"],(function(t,e){return{name:t,type:i[e%2].type}})),n)):o=new a(i=[{name:"value",type:"float"}],n);var s=r.map(n.get("data"),r.curry(c,e,t,n));return t&&(s=r.filter(s,r.curry(d,t))),o.initData(s,null,t?function(t,e,n,r){return t.coord[Math.floor(r/2)][r%2]}:function(t){return t.value}),o.hasItemOption=!0,o}(l,t,e);e.setData(m),m.each((function(e){m.setItemLayout(e,r.map(g,(function(n){return p(m,e,n,t,o)}))),m.setItemVisual(e,{color:h.getVisual("color")})})),m.diff(v.__data).add((function(t){var e=new s.Polygon({shape:{points:m.getItemLayout(t)}});m.setItemGraphicEl(t,e),v.group.add(e)})).update((function(t,n){var r=v.__data.getItemGraphicEl(n);s.updateProps(r,{shape:{points:m.getItemLayout(t)}},e,t),v.group.add(r),m.setItemGraphicEl(t,r)})).remove((function(t){var e=v.__data.getItemGraphicEl(t);v.group.remove(e)})).execute(),m.eachItemGraphicEl((function(t,n){var a=m.getItemModel(n),o=a.getModel("label"),l=a.getModel("emphasis.label"),u=m.getItemVisual(n,"color");t.useStyle(r.defaults(a.getModel("itemStyle").getItemStyle(),{fill:i.modifyAlpha(u,.4),stroke:u})),t.hoverStyle=a.getModel("emphasis.itemStyle").getItemStyle(),s.setLabelStyle(t.style,t.hoverStyle,o,l,{labelFetcher:e,labelDataIndex:n,defaultText:m.getName(n)||"",isRectText:!0,autoColor:u}),s.setHoverStyle(t,{}),t.dataModel=e})),v.__data=m,v.group.silent=e.get("silent")||t.get("silent")}})},"jsU+":function(t,e,n){var r=n("ProS"),i=n("bYtY"),a=n("IUWy"),o=r.extendComponentModel({type:"toolbox",layoutMode:{type:"box",ignoreSize:!0},optionUpdated:function(){o.superApply(this,"optionUpdated",arguments),i.each(this.option.feature,(function(t,e){var n=a.get(e);n&&i.merge(t,n.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.exports=o},jtI2:function(t,e,n){n("SMc4");var r=n("bLfw").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"}});t.exports=r},juDX:function(t,e,n){n("P47w"),(0,n("aX58").registerPainter)("svg",n("3CBa"))},juv8:function(t,e,n){var r=n("MrPd"),i=n("hypo");t.exports=function(t,e,n,a){var o=!n;n||(n={});for(var s=-1,l=e.length;++sh[1]&&(h[1]=c);var f=e.get("colorMappingBy"),d={type:s.name,dataExtent:h,visual:s.range};"color"!==d.type||"index"!==f&&"id"!==f?d.mappingMethod="linear":(d.mappingMethod="category",d.loop=!0);var p=new r(d);return p.__drColorMappingBy=f,p}}}(0,f,d,0,v,_);a.each(_,(function(e,n){if(e.depth>=c.length||e===c[e.depth]){var r=function(t,e,n,r,i,o){var s=a.extend({},e);if(i){var l=i.type,u="color"===l&&i.__drColorMappingBy,c="index"===u?r:"id"===u?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));s[l]=i.mapValueToVisual(c)}return s}(f,v,e,n,b,h);t(e,r,o,l,c,h)}}))}else p=s(v),e.setVisual("color",p)}}(c,{},a.map(l.levelModels,(function(t){return t?t.get("itemStyle"):null})),h,t.getViewRoot().getAncestors(),t)}}},kekF:function(t,e){t.exports=function(t,e){return function(n){return t(e(n))}}},khRU:function(t,e){t.exports="0.8.5"},kj2x:function(t,e,n){var r=n("bYtY"),i=n("OELB"),a=n("7hqr").isDimensionStacked,o=r.indexOf;function s(t,e,n,r,o,s){var l=[],u=a(e,r)?e.getCalculationInfo("stackResultDimension"):r,c=h(e,u,t),f=e.indicesOfNearest(u,c)[0];l[o]=e.get(n,f),l[s]=e.get(u,f);var d=e.get(r,f),p=i.getPrecision(e.get(r,f));return(p=Math.min(p,20))>=0&&(l[s]=+l[s].toFixed(p)),[l,d]}var l=r.curry,u={min:l(s,"min"),max:l(s,"max"),average:l(s,"average")};function c(t,e,n,r){var i={};return null!=t.valueIndex||null!=t.valueDim?(i.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,i.valueAxis=n.getAxis(function(t,e){var n=t.getData(),r=n.dimensions;e=n.getDimension(e);for(var i=0;i\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,u={"\xad":"shy","\u200c":"zwnj","\u200d":"zwj","\u200e":"lrm","\u2063":"ic","\u2062":"it","\u2061":"af","\u200f":"rlm","\u200b":"ZeroWidthSpace","\u2060":"NoBreak","\u0311":"DownBreve","\u20db":"tdot","\u20dc":"DotDot","\t":"Tab","\n":"NewLine","\u2008":"puncsp","\u205f":"MediumSpace","\u2009":"thinsp","\u200a":"hairsp","\u2004":"emsp13","\u2002":"ensp","\u2005":"emsp14","\u2003":"emsp","\u2007":"numsp","\xa0":"nbsp","\u205f\u200a":"ThickSpace","\u203e":"oline",_:"lowbar","\u2010":"dash","\u2013":"ndash","\u2014":"mdash","\u2015":"horbar",",":"comma",";":"semi","\u204f":"bsemi",":":"colon","\u2a74":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","\u2025":"nldr","\u2026":"mldr","\xb7":"middot","'":"apos","\u2018":"lsquo","\u2019":"rsquo","\u201a":"sbquo","\u2039":"lsaquo","\u203a":"rsaquo",'"':"quot","\u201c":"ldquo","\u201d":"rdquo","\u201e":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","\u2308":"lceil","\u2309":"rceil","\u230a":"lfloor","\u230b":"rfloor","\u2985":"lopar","\u2986":"ropar","\u298b":"lbrke","\u298c":"rbrke","\u298d":"lbrkslu","\u298e":"rbrksld","\u298f":"lbrksld","\u2990":"rbrkslu","\u2991":"langd","\u2992":"rangd","\u2993":"lparlt","\u2994":"rpargt","\u2995":"gtlPar","\u2996":"ltrPar","\u27e6":"lobrk","\u27e7":"robrk","\u27e8":"lang","\u27e9":"rang","\u27ea":"Lang","\u27eb":"Rang","\u27ec":"loang","\u27ed":"roang","\u2772":"lbbrk","\u2773":"rbbrk","\u2016":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","\u2030":"permil","\u2031":"pertenk","\u2020":"dagger","\u2021":"Dagger","\u2022":"bull","\u2043":"hybull","\u2032":"prime","\u2033":"Prime","\u2034":"tprime","\u2057":"qprime","\u2035":"bprime","\u2041":"caret","`":"grave","\xb4":"acute","\u02dc":"tilde","^":"Hat","\xaf":"macr","\u02d8":"breve","\u02d9":"dot","\xa8":"die","\u02da":"ring","\u02dd":"dblac","\xb8":"cedil","\u02db":"ogon","\u02c6":"circ","\u02c7":"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","\u2117":"copysr","\u2118":"wp","\u211e":"rx","\u2127":"mho","\u2129":"iiota","\u2190":"larr","\u219a":"nlarr","\u2192":"rarr","\u219b":"nrarr","\u2191":"uarr","\u2193":"darr","\u2194":"harr","\u21ae":"nharr","\u2195":"varr","\u2196":"nwarr","\u2197":"nearr","\u2198":"searr","\u2199":"swarr","\u219d":"rarrw","\u219d\u0338":"nrarrw","\u219e":"Larr","\u219f":"Uarr","\u21a0":"Rarr","\u21a1":"Darr","\u21a2":"larrtl","\u21a3":"rarrtl","\u21a4":"mapstoleft","\u21a5":"mapstoup","\u21a6":"map","\u21a7":"mapstodown","\u21a9":"larrhk","\u21aa":"rarrhk","\u21ab":"larrlp","\u21ac":"rarrlp","\u21ad":"harrw","\u21b0":"lsh","\u21b1":"rsh","\u21b2":"ldsh","\u21b3":"rdsh","\u21b5":"crarr","\u21b6":"cularr","\u21b7":"curarr","\u21ba":"olarr","\u21bb":"orarr","\u21bc":"lharu","\u21bd":"lhard","\u21be":"uharr","\u21bf":"uharl","\u21c0":"rharu","\u21c1":"rhard","\u21c2":"dharr","\u21c3":"dharl","\u21c4":"rlarr","\u21c5":"udarr","\u21c6":"lrarr","\u21c7":"llarr","\u21c8":"uuarr","\u21c9":"rrarr","\u21ca":"ddarr","\u21cb":"lrhar","\u21cc":"rlhar","\u21d0":"lArr","\u21cd":"nlArr","\u21d1":"uArr","\u21d2":"rArr","\u21cf":"nrArr","\u21d3":"dArr","\u21d4":"iff","\u21ce":"nhArr","\u21d5":"vArr","\u21d6":"nwArr","\u21d7":"neArr","\u21d8":"seArr","\u21d9":"swArr","\u21da":"lAarr","\u21db":"rAarr","\u21dd":"zigrarr","\u21e4":"larrb","\u21e5":"rarrb","\u21f5":"duarr","\u21fd":"loarr","\u21fe":"roarr","\u21ff":"hoarr","\u2200":"forall","\u2201":"comp","\u2202":"part","\u2202\u0338":"npart","\u2203":"exist","\u2204":"nexist","\u2205":"empty","\u2207":"Del","\u2208":"in","\u2209":"notin","\u220b":"ni","\u220c":"notni","\u03f6":"bepsi","\u220f":"prod","\u2210":"coprod","\u2211":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","\u226e":"nlt","<\u20d2":"nvlt","=":"equals","\u2260":"ne","=\u20e5":"bne","\u2a75":"Equal",">":"gt","\u226f":"ngt",">\u20d2":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","\u2212":"minus","\u2213":"mp","\u2214":"plusdo","\u2044":"frasl","\u2216":"setmn","\u2217":"lowast","\u2218":"compfn","\u221a":"Sqrt","\u221d":"prop","\u221e":"infin","\u221f":"angrt","\u2220":"ang","\u2220\u20d2":"nang","\u2221":"angmsd","\u2222":"angsph","\u2223":"mid","\u2224":"nmid","\u2225":"par","\u2226":"npar","\u2227":"and","\u2228":"or","\u2229":"cap","\u2229\ufe00":"caps","\u222a":"cup","\u222a\ufe00":"cups","\u222b":"int","\u222c":"Int","\u222d":"tint","\u2a0c":"qint","\u222e":"oint","\u222f":"Conint","\u2230":"Cconint","\u2231":"cwint","\u2232":"cwconint","\u2233":"awconint","\u2234":"there4","\u2235":"becaus","\u2236":"ratio","\u2237":"Colon","\u2238":"minusd","\u223a":"mDDot","\u223b":"homtht","\u223c":"sim","\u2241":"nsim","\u223c\u20d2":"nvsim","\u223d":"bsim","\u223d\u0331":"race","\u223e":"ac","\u223e\u0333":"acE","\u223f":"acd","\u2240":"wr","\u2242":"esim","\u2242\u0338":"nesim","\u2243":"sime","\u2244":"nsime","\u2245":"cong","\u2247":"ncong","\u2246":"simne","\u2248":"ap","\u2249":"nap","\u224a":"ape","\u224b":"apid","\u224b\u0338":"napid","\u224c":"bcong","\u224d":"CupCap","\u226d":"NotCupCap","\u224d\u20d2":"nvap","\u224e":"bump","\u224e\u0338":"nbump","\u224f":"bumpe","\u224f\u0338":"nbumpe","\u2250":"doteq","\u2250\u0338":"nedot","\u2251":"eDot","\u2252":"efDot","\u2253":"erDot","\u2254":"colone","\u2255":"ecolon","\u2256":"ecir","\u2257":"cire","\u2259":"wedgeq","\u225a":"veeeq","\u225c":"trie","\u225f":"equest","\u2261":"equiv","\u2262":"nequiv","\u2261\u20e5":"bnequiv","\u2264":"le","\u2270":"nle","\u2264\u20d2":"nvle","\u2265":"ge","\u2271":"nge","\u2265\u20d2":"nvge","\u2266":"lE","\u2266\u0338":"nlE","\u2267":"gE","\u2267\u0338":"ngE","\u2268\ufe00":"lvnE","\u2268":"lnE","\u2269":"gnE","\u2269\ufe00":"gvnE","\u226a":"ll","\u226a\u0338":"nLtv","\u226a\u20d2":"nLt","\u226b":"gg","\u226b\u0338":"nGtv","\u226b\u20d2":"nGt","\u226c":"twixt","\u2272":"lsim","\u2274":"nlsim","\u2273":"gsim","\u2275":"ngsim","\u2276":"lg","\u2278":"ntlg","\u2277":"gl","\u2279":"ntgl","\u227a":"pr","\u2280":"npr","\u227b":"sc","\u2281":"nsc","\u227c":"prcue","\u22e0":"nprcue","\u227d":"sccue","\u22e1":"nsccue","\u227e":"prsim","\u227f":"scsim","\u227f\u0338":"NotSucceedsTilde","\u2282":"sub","\u2284":"nsub","\u2282\u20d2":"vnsub","\u2283":"sup","\u2285":"nsup","\u2283\u20d2":"vnsup","\u2286":"sube","\u2288":"nsube","\u2287":"supe","\u2289":"nsupe","\u228a\ufe00":"vsubne","\u228a":"subne","\u228b\ufe00":"vsupne","\u228b":"supne","\u228d":"cupdot","\u228e":"uplus","\u228f":"sqsub","\u228f\u0338":"NotSquareSubset","\u2290":"sqsup","\u2290\u0338":"NotSquareSuperset","\u2291":"sqsube","\u22e2":"nsqsube","\u2292":"sqsupe","\u22e3":"nsqsupe","\u2293":"sqcap","\u2293\ufe00":"sqcaps","\u2294":"sqcup","\u2294\ufe00":"sqcups","\u2295":"oplus","\u2296":"ominus","\u2297":"otimes","\u2298":"osol","\u2299":"odot","\u229a":"ocir","\u229b":"oast","\u229d":"odash","\u229e":"plusb","\u229f":"minusb","\u22a0":"timesb","\u22a1":"sdotb","\u22a2":"vdash","\u22ac":"nvdash","\u22a3":"dashv","\u22a4":"top","\u22a5":"bot","\u22a7":"models","\u22a8":"vDash","\u22ad":"nvDash","\u22a9":"Vdash","\u22ae":"nVdash","\u22aa":"Vvdash","\u22ab":"VDash","\u22af":"nVDash","\u22b0":"prurel","\u22b2":"vltri","\u22ea":"nltri","\u22b3":"vrtri","\u22eb":"nrtri","\u22b4":"ltrie","\u22ec":"nltrie","\u22b4\u20d2":"nvltrie","\u22b5":"rtrie","\u22ed":"nrtrie","\u22b5\u20d2":"nvrtrie","\u22b6":"origof","\u22b7":"imof","\u22b8":"mumap","\u22b9":"hercon","\u22ba":"intcal","\u22bb":"veebar","\u22bd":"barvee","\u22be":"angrtvb","\u22bf":"lrtri","\u22c0":"Wedge","\u22c1":"Vee","\u22c2":"xcap","\u22c3":"xcup","\u22c4":"diam","\u22c5":"sdot","\u22c6":"Star","\u22c7":"divonx","\u22c8":"bowtie","\u22c9":"ltimes","\u22ca":"rtimes","\u22cb":"lthree","\u22cc":"rthree","\u22cd":"bsime","\u22ce":"cuvee","\u22cf":"cuwed","\u22d0":"Sub","\u22d1":"Sup","\u22d2":"Cap","\u22d3":"Cup","\u22d4":"fork","\u22d5":"epar","\u22d6":"ltdot","\u22d7":"gtdot","\u22d8":"Ll","\u22d8\u0338":"nLl","\u22d9":"Gg","\u22d9\u0338":"nGg","\u22da\ufe00":"lesg","\u22da":"leg","\u22db":"gel","\u22db\ufe00":"gesl","\u22de":"cuepr","\u22df":"cuesc","\u22e6":"lnsim","\u22e7":"gnsim","\u22e8":"prnsim","\u22e9":"scnsim","\u22ee":"vellip","\u22ef":"ctdot","\u22f0":"utdot","\u22f1":"dtdot","\u22f2":"disin","\u22f3":"isinsv","\u22f4":"isins","\u22f5":"isindot","\u22f5\u0338":"notindot","\u22f6":"notinvc","\u22f7":"notinvb","\u22f9":"isinE","\u22f9\u0338":"notinE","\u22fa":"nisd","\u22fb":"xnis","\u22fc":"nis","\u22fd":"notnivc","\u22fe":"notnivb","\u2305":"barwed","\u2306":"Barwed","\u230c":"drcrop","\u230d":"dlcrop","\u230e":"urcrop","\u230f":"ulcrop","\u2310":"bnot","\u2312":"profline","\u2313":"profsurf","\u2315":"telrec","\u2316":"target","\u231c":"ulcorn","\u231d":"urcorn","\u231e":"dlcorn","\u231f":"drcorn","\u2322":"frown","\u2323":"smile","\u232d":"cylcty","\u232e":"profalar","\u2336":"topbot","\u233d":"ovbar","\u233f":"solbar","\u237c":"angzarr","\u23b0":"lmoust","\u23b1":"rmoust","\u23b4":"tbrk","\u23b5":"bbrk","\u23b6":"bbrktbrk","\u23dc":"OverParenthesis","\u23dd":"UnderParenthesis","\u23de":"OverBrace","\u23df":"UnderBrace","\u23e2":"trpezium","\u23e7":"elinters","\u2423":"blank","\u2500":"boxh","\u2502":"boxv","\u250c":"boxdr","\u2510":"boxdl","\u2514":"boxur","\u2518":"boxul","\u251c":"boxvr","\u2524":"boxvl","\u252c":"boxhd","\u2534":"boxhu","\u253c":"boxvh","\u2550":"boxH","\u2551":"boxV","\u2552":"boxdR","\u2553":"boxDr","\u2554":"boxDR","\u2555":"boxdL","\u2556":"boxDl","\u2557":"boxDL","\u2558":"boxuR","\u2559":"boxUr","\u255a":"boxUR","\u255b":"boxuL","\u255c":"boxUl","\u255d":"boxUL","\u255e":"boxvR","\u255f":"boxVr","\u2560":"boxVR","\u2561":"boxvL","\u2562":"boxVl","\u2563":"boxVL","\u2564":"boxHd","\u2565":"boxhD","\u2566":"boxHD","\u2567":"boxHu","\u2568":"boxhU","\u2569":"boxHU","\u256a":"boxvH","\u256b":"boxVh","\u256c":"boxVH","\u2580":"uhblk","\u2584":"lhblk","\u2588":"block","\u2591":"blk14","\u2592":"blk12","\u2593":"blk34","\u25a1":"squ","\u25aa":"squf","\u25ab":"EmptyVerySmallSquare","\u25ad":"rect","\u25ae":"marker","\u25b1":"fltns","\u25b3":"xutri","\u25b4":"utrif","\u25b5":"utri","\u25b8":"rtrif","\u25b9":"rtri","\u25bd":"xdtri","\u25be":"dtrif","\u25bf":"dtri","\u25c2":"ltrif","\u25c3":"ltri","\u25ca":"loz","\u25cb":"cir","\u25ec":"tridot","\u25ef":"xcirc","\u25f8":"ultri","\u25f9":"urtri","\u25fa":"lltri","\u25fb":"EmptySmallSquare","\u25fc":"FilledSmallSquare","\u2605":"starf","\u2606":"star","\u260e":"phone","\u2640":"female","\u2642":"male","\u2660":"spades","\u2663":"clubs","\u2665":"hearts","\u2666":"diams","\u266a":"sung","\u2713":"check","\u2717":"cross","\u2720":"malt","\u2736":"sext","\u2758":"VerticalSeparator","\u27c8":"bsolhsub","\u27c9":"suphsol","\u27f5":"xlarr","\u27f6":"xrarr","\u27f7":"xharr","\u27f8":"xlArr","\u27f9":"xrArr","\u27fa":"xhArr","\u27fc":"xmap","\u27ff":"dzigrarr","\u2902":"nvlArr","\u2903":"nvrArr","\u2904":"nvHarr","\u2905":"Map","\u290c":"lbarr","\u290d":"rbarr","\u290e":"lBarr","\u290f":"rBarr","\u2910":"RBarr","\u2911":"DDotrahd","\u2912":"UpArrowBar","\u2913":"DownArrowBar","\u2916":"Rarrtl","\u2919":"latail","\u291a":"ratail","\u291b":"lAtail","\u291c":"rAtail","\u291d":"larrfs","\u291e":"rarrfs","\u291f":"larrbfs","\u2920":"rarrbfs","\u2923":"nwarhk","\u2924":"nearhk","\u2925":"searhk","\u2926":"swarhk","\u2927":"nwnear","\u2928":"toea","\u2929":"tosa","\u292a":"swnwar","\u2933":"rarrc","\u2933\u0338":"nrarrc","\u2935":"cudarrr","\u2936":"ldca","\u2937":"rdca","\u2938":"cudarrl","\u2939":"larrpl","\u293c":"curarrm","\u293d":"cularrp","\u2945":"rarrpl","\u2948":"harrcir","\u2949":"Uarrocir","\u294a":"lurdshar","\u294b":"ldrushar","\u294e":"LeftRightVector","\u294f":"RightUpDownVector","\u2950":"DownLeftRightVector","\u2951":"LeftUpDownVector","\u2952":"LeftVectorBar","\u2953":"RightVectorBar","\u2954":"RightUpVectorBar","\u2955":"RightDownVectorBar","\u2956":"DownLeftVectorBar","\u2957":"DownRightVectorBar","\u2958":"LeftUpVectorBar","\u2959":"LeftDownVectorBar","\u295a":"LeftTeeVector","\u295b":"RightTeeVector","\u295c":"RightUpTeeVector","\u295d":"RightDownTeeVector","\u295e":"DownLeftTeeVector","\u295f":"DownRightTeeVector","\u2960":"LeftUpTeeVector","\u2961":"LeftDownTeeVector","\u2962":"lHar","\u2963":"uHar","\u2964":"rHar","\u2965":"dHar","\u2966":"luruhar","\u2967":"ldrdhar","\u2968":"ruluhar","\u2969":"rdldhar","\u296a":"lharul","\u296b":"llhard","\u296c":"rharul","\u296d":"lrhard","\u296e":"udhar","\u296f":"duhar","\u2970":"RoundImplies","\u2971":"erarr","\u2972":"simrarr","\u2973":"larrsim","\u2974":"rarrsim","\u2975":"rarrap","\u2976":"ltlarr","\u2978":"gtrarr","\u2979":"subrarr","\u297b":"suplarr","\u297c":"lfisht","\u297d":"rfisht","\u297e":"ufisht","\u297f":"dfisht","\u299a":"vzigzag","\u299c":"vangrt","\u299d":"angrtvbd","\u29a4":"ange","\u29a5":"range","\u29a6":"dwangle","\u29a7":"uwangle","\u29a8":"angmsdaa","\u29a9":"angmsdab","\u29aa":"angmsdac","\u29ab":"angmsdad","\u29ac":"angmsdae","\u29ad":"angmsdaf","\u29ae":"angmsdag","\u29af":"angmsdah","\u29b0":"bemptyv","\u29b1":"demptyv","\u29b2":"cemptyv","\u29b3":"raemptyv","\u29b4":"laemptyv","\u29b5":"ohbar","\u29b6":"omid","\u29b7":"opar","\u29b9":"operp","\u29bb":"olcross","\u29bc":"odsold","\u29be":"olcir","\u29bf":"ofcir","\u29c0":"olt","\u29c1":"ogt","\u29c2":"cirscir","\u29c3":"cirE","\u29c4":"solb","\u29c5":"bsolb","\u29c9":"boxbox","\u29cd":"trisb","\u29ce":"rtriltri","\u29cf":"LeftTriangleBar","\u29cf\u0338":"NotLeftTriangleBar","\u29d0":"RightTriangleBar","\u29d0\u0338":"NotRightTriangleBar","\u29dc":"iinfin","\u29dd":"infintie","\u29de":"nvinfin","\u29e3":"eparsl","\u29e4":"smeparsl","\u29e5":"eqvparsl","\u29eb":"lozf","\u29f4":"RuleDelayed","\u29f6":"dsol","\u2a00":"xodot","\u2a01":"xoplus","\u2a02":"xotime","\u2a04":"xuplus","\u2a06":"xsqcup","\u2a0d":"fpartint","\u2a10":"cirfnint","\u2a11":"awint","\u2a12":"rppolint","\u2a13":"scpolint","\u2a14":"npolint","\u2a15":"pointint","\u2a16":"quatint","\u2a17":"intlarhk","\u2a22":"pluscir","\u2a23":"plusacir","\u2a24":"simplus","\u2a25":"plusdu","\u2a26":"plussim","\u2a27":"plustwo","\u2a29":"mcomma","\u2a2a":"minusdu","\u2a2d":"loplus","\u2a2e":"roplus","\u2a2f":"Cross","\u2a30":"timesd","\u2a31":"timesbar","\u2a33":"smashp","\u2a34":"lotimes","\u2a35":"rotimes","\u2a36":"otimesas","\u2a37":"Otimes","\u2a38":"odiv","\u2a39":"triplus","\u2a3a":"triminus","\u2a3b":"tritime","\u2a3c":"iprod","\u2a3f":"amalg","\u2a40":"capdot","\u2a42":"ncup","\u2a43":"ncap","\u2a44":"capand","\u2a45":"cupor","\u2a46":"cupcap","\u2a47":"capcup","\u2a48":"cupbrcap","\u2a49":"capbrcup","\u2a4a":"cupcup","\u2a4b":"capcap","\u2a4c":"ccups","\u2a4d":"ccaps","\u2a50":"ccupssm","\u2a53":"And","\u2a54":"Or","\u2a55":"andand","\u2a56":"oror","\u2a57":"orslope","\u2a58":"andslope","\u2a5a":"andv","\u2a5b":"orv","\u2a5c":"andd","\u2a5d":"ord","\u2a5f":"wedbar","\u2a66":"sdote","\u2a6a":"simdot","\u2a6d":"congdot","\u2a6d\u0338":"ncongdot","\u2a6e":"easter","\u2a6f":"apacir","\u2a70":"apE","\u2a70\u0338":"napE","\u2a71":"eplus","\u2a72":"pluse","\u2a73":"Esim","\u2a77":"eDDot","\u2a78":"equivDD","\u2a79":"ltcir","\u2a7a":"gtcir","\u2a7b":"ltquest","\u2a7c":"gtquest","\u2a7d":"les","\u2a7d\u0338":"nles","\u2a7e":"ges","\u2a7e\u0338":"nges","\u2a7f":"lesdot","\u2a80":"gesdot","\u2a81":"lesdoto","\u2a82":"gesdoto","\u2a83":"lesdotor","\u2a84":"gesdotol","\u2a85":"lap","\u2a86":"gap","\u2a87":"lne","\u2a88":"gne","\u2a89":"lnap","\u2a8a":"gnap","\u2a8b":"lEg","\u2a8c":"gEl","\u2a8d":"lsime","\u2a8e":"gsime","\u2a8f":"lsimg","\u2a90":"gsiml","\u2a91":"lgE","\u2a92":"glE","\u2a93":"lesges","\u2a94":"gesles","\u2a95":"els","\u2a96":"egs","\u2a97":"elsdot","\u2a98":"egsdot","\u2a99":"el","\u2a9a":"eg","\u2a9d":"siml","\u2a9e":"simg","\u2a9f":"simlE","\u2aa0":"simgE","\u2aa1":"LessLess","\u2aa1\u0338":"NotNestedLessLess","\u2aa2":"GreaterGreater","\u2aa2\u0338":"NotNestedGreaterGreater","\u2aa4":"glj","\u2aa5":"gla","\u2aa6":"ltcc","\u2aa7":"gtcc","\u2aa8":"lescc","\u2aa9":"gescc","\u2aaa":"smt","\u2aab":"lat","\u2aac":"smte","\u2aac\ufe00":"smtes","\u2aad":"late","\u2aad\ufe00":"lates","\u2aae":"bumpE","\u2aaf":"pre","\u2aaf\u0338":"npre","\u2ab0":"sce","\u2ab0\u0338":"nsce","\u2ab3":"prE","\u2ab4":"scE","\u2ab5":"prnE","\u2ab6":"scnE","\u2ab7":"prap","\u2ab8":"scap","\u2ab9":"prnap","\u2aba":"scnap","\u2abb":"Pr","\u2abc":"Sc","\u2abd":"subdot","\u2abe":"supdot","\u2abf":"subplus","\u2ac0":"supplus","\u2ac1":"submult","\u2ac2":"supmult","\u2ac3":"subedot","\u2ac4":"supedot","\u2ac5":"subE","\u2ac5\u0338":"nsubE","\u2ac6":"supE","\u2ac6\u0338":"nsupE","\u2ac7":"subsim","\u2ac8":"supsim","\u2acb\ufe00":"vsubnE","\u2acb":"subnE","\u2acc\ufe00":"vsupnE","\u2acc":"supnE","\u2acf":"csub","\u2ad0":"csup","\u2ad1":"csube","\u2ad2":"csupe","\u2ad3":"subsup","\u2ad4":"supsub","\u2ad5":"subsub","\u2ad6":"supsup","\u2ad7":"suphsub","\u2ad8":"supdsub","\u2ad9":"forkv","\u2ada":"topfork","\u2adb":"mlcp","\u2ae4":"Dashv","\u2ae6":"Vdashl","\u2ae7":"Barv","\u2ae8":"vBar","\u2ae9":"vBarv","\u2aeb":"Vbar","\u2aec":"Not","\u2aed":"bNot","\u2aee":"rnmid","\u2aef":"cirmid","\u2af0":"midcir","\u2af1":"topcir","\u2af2":"nhpar","\u2af3":"parsim","\u2afd":"parsl","\u2afd\u20e5":"nparsl","\u266d":"flat","\u266e":"natur","\u266f":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","\u20ac":"euro","\xb9":"sup1","\xbd":"half","\u2153":"frac13","\xbc":"frac14","\u2155":"frac15","\u2159":"frac16","\u215b":"frac18","\xb2":"sup2","\u2154":"frac23","\u2156":"frac25","\xb3":"sup3","\xbe":"frac34","\u2157":"frac35","\u215c":"frac38","\u2158":"frac45","\u215a":"frac56","\u215d":"frac58","\u215e":"frac78","\ud835\udcb6":"ascr","\ud835\udd52":"aopf","\ud835\udd1e":"afr","\ud835\udd38":"Aopf","\ud835\udd04":"Afr","\ud835\udc9c":"Ascr","\xaa":"ordf","\xe1":"aacute","\xc1":"Aacute","\xe0":"agrave","\xc0":"Agrave","\u0103":"abreve","\u0102":"Abreve","\xe2":"acirc","\xc2":"Acirc","\xe5":"aring","\xc5":"angst","\xe4":"auml","\xc4":"Auml","\xe3":"atilde","\xc3":"Atilde","\u0105":"aogon","\u0104":"Aogon","\u0101":"amacr","\u0100":"Amacr","\xe6":"aelig","\xc6":"AElig","\ud835\udcb7":"bscr","\ud835\udd53":"bopf","\ud835\udd1f":"bfr","\ud835\udd39":"Bopf","\u212c":"Bscr","\ud835\udd05":"Bfr","\ud835\udd20":"cfr","\ud835\udcb8":"cscr","\ud835\udd54":"copf","\u212d":"Cfr","\ud835\udc9e":"Cscr","\u2102":"Copf","\u0107":"cacute","\u0106":"Cacute","\u0109":"ccirc","\u0108":"Ccirc","\u010d":"ccaron","\u010c":"Ccaron","\u010b":"cdot","\u010a":"Cdot","\xe7":"ccedil","\xc7":"Ccedil","\u2105":"incare","\ud835\udd21":"dfr","\u2146":"dd","\ud835\udd55":"dopf","\ud835\udcb9":"dscr","\ud835\udc9f":"Dscr","\ud835\udd07":"Dfr","\u2145":"DD","\ud835\udd3b":"Dopf","\u010f":"dcaron","\u010e":"Dcaron","\u0111":"dstrok","\u0110":"Dstrok","\xf0":"eth","\xd0":"ETH","\u2147":"ee","\u212f":"escr","\ud835\udd22":"efr","\ud835\udd56":"eopf","\u2130":"Escr","\ud835\udd08":"Efr","\ud835\udd3c":"Eopf","\xe9":"eacute","\xc9":"Eacute","\xe8":"egrave","\xc8":"Egrave","\xea":"ecirc","\xca":"Ecirc","\u011b":"ecaron","\u011a":"Ecaron","\xeb":"euml","\xcb":"Euml","\u0117":"edot","\u0116":"Edot","\u0119":"eogon","\u0118":"Eogon","\u0113":"emacr","\u0112":"Emacr","\ud835\udd23":"ffr","\ud835\udd57":"fopf","\ud835\udcbb":"fscr","\ud835\udd09":"Ffr","\ud835\udd3d":"Fopf","\u2131":"Fscr","\ufb00":"fflig","\ufb03":"ffilig","\ufb04":"ffllig","\ufb01":"filig",fj:"fjlig","\ufb02":"fllig","\u0192":"fnof","\u210a":"gscr","\ud835\udd58":"gopf","\ud835\udd24":"gfr","\ud835\udca2":"Gscr","\ud835\udd3e":"Gopf","\ud835\udd0a":"Gfr","\u01f5":"gacute","\u011f":"gbreve","\u011e":"Gbreve","\u011d":"gcirc","\u011c":"Gcirc","\u0121":"gdot","\u0120":"Gdot","\u0122":"Gcedil","\ud835\udd25":"hfr","\u210e":"planckh","\ud835\udcbd":"hscr","\ud835\udd59":"hopf","\u210b":"Hscr","\u210c":"Hfr","\u210d":"Hopf","\u0125":"hcirc","\u0124":"Hcirc","\u210f":"hbar","\u0127":"hstrok","\u0126":"Hstrok","\ud835\udd5a":"iopf","\ud835\udd26":"ifr","\ud835\udcbe":"iscr","\u2148":"ii","\ud835\udd40":"Iopf","\u2110":"Iscr","\u2111":"Im","\xed":"iacute","\xcd":"Iacute","\xec":"igrave","\xcc":"Igrave","\xee":"icirc","\xce":"Icirc","\xef":"iuml","\xcf":"Iuml","\u0129":"itilde","\u0128":"Itilde","\u0130":"Idot","\u012f":"iogon","\u012e":"Iogon","\u012b":"imacr","\u012a":"Imacr","\u0133":"ijlig","\u0132":"IJlig","\u0131":"imath","\ud835\udcbf":"jscr","\ud835\udd5b":"jopf","\ud835\udd27":"jfr","\ud835\udca5":"Jscr","\ud835\udd0d":"Jfr","\ud835\udd41":"Jopf","\u0135":"jcirc","\u0134":"Jcirc","\u0237":"jmath","\ud835\udd5c":"kopf","\ud835\udcc0":"kscr","\ud835\udd28":"kfr","\ud835\udca6":"Kscr","\ud835\udd42":"Kopf","\ud835\udd0e":"Kfr","\u0137":"kcedil","\u0136":"Kcedil","\ud835\udd29":"lfr","\ud835\udcc1":"lscr","\u2113":"ell","\ud835\udd5d":"lopf","\u2112":"Lscr","\ud835\udd0f":"Lfr","\ud835\udd43":"Lopf","\u013a":"lacute","\u0139":"Lacute","\u013e":"lcaron","\u013d":"Lcaron","\u013c":"lcedil","\u013b":"Lcedil","\u0142":"lstrok","\u0141":"Lstrok","\u0140":"lmidot","\u013f":"Lmidot","\ud835\udd2a":"mfr","\ud835\udd5e":"mopf","\ud835\udcc2":"mscr","\ud835\udd10":"Mfr","\ud835\udd44":"Mopf","\u2133":"Mscr","\ud835\udd2b":"nfr","\ud835\udd5f":"nopf","\ud835\udcc3":"nscr","\u2115":"Nopf","\ud835\udca9":"Nscr","\ud835\udd11":"Nfr","\u0144":"nacute","\u0143":"Nacute","\u0148":"ncaron","\u0147":"Ncaron","\xf1":"ntilde","\xd1":"Ntilde","\u0146":"ncedil","\u0145":"Ncedil","\u2116":"numero","\u014b":"eng","\u014a":"ENG","\ud835\udd60":"oopf","\ud835\udd2c":"ofr","\u2134":"oscr","\ud835\udcaa":"Oscr","\ud835\udd12":"Ofr","\ud835\udd46":"Oopf","\xba":"ordm","\xf3":"oacute","\xd3":"Oacute","\xf2":"ograve","\xd2":"Ograve","\xf4":"ocirc","\xd4":"Ocirc","\xf6":"ouml","\xd6":"Ouml","\u0151":"odblac","\u0150":"Odblac","\xf5":"otilde","\xd5":"Otilde","\xf8":"oslash","\xd8":"Oslash","\u014d":"omacr","\u014c":"Omacr","\u0153":"oelig","\u0152":"OElig","\ud835\udd2d":"pfr","\ud835\udcc5":"pscr","\ud835\udd61":"popf","\u2119":"Popf","\ud835\udd13":"Pfr","\ud835\udcab":"Pscr","\ud835\udd62":"qopf","\ud835\udd2e":"qfr","\ud835\udcc6":"qscr","\ud835\udcac":"Qscr","\ud835\udd14":"Qfr","\u211a":"Qopf","\u0138":"kgreen","\ud835\udd2f":"rfr","\ud835\udd63":"ropf","\ud835\udcc7":"rscr","\u211b":"Rscr","\u211c":"Re","\u211d":"Ropf","\u0155":"racute","\u0154":"Racute","\u0159":"rcaron","\u0158":"Rcaron","\u0157":"rcedil","\u0156":"Rcedil","\ud835\udd64":"sopf","\ud835\udcc8":"sscr","\ud835\udd30":"sfr","\ud835\udd4a":"Sopf","\ud835\udd16":"Sfr","\ud835\udcae":"Sscr","\u24c8":"oS","\u015b":"sacute","\u015a":"Sacute","\u015d":"scirc","\u015c":"Scirc","\u0161":"scaron","\u0160":"Scaron","\u015f":"scedil","\u015e":"Scedil","\xdf":"szlig","\ud835\udd31":"tfr","\ud835\udcc9":"tscr","\ud835\udd65":"topf","\ud835\udcaf":"Tscr","\ud835\udd17":"Tfr","\ud835\udd4b":"Topf","\u0165":"tcaron","\u0164":"Tcaron","\u0163":"tcedil","\u0162":"Tcedil","\u2122":"trade","\u0167":"tstrok","\u0166":"Tstrok","\ud835\udcca":"uscr","\ud835\udd66":"uopf","\ud835\udd32":"ufr","\ud835\udd4c":"Uopf","\ud835\udd18":"Ufr","\ud835\udcb0":"Uscr","\xfa":"uacute","\xda":"Uacute","\xf9":"ugrave","\xd9":"Ugrave","\u016d":"ubreve","\u016c":"Ubreve","\xfb":"ucirc","\xdb":"Ucirc","\u016f":"uring","\u016e":"Uring","\xfc":"uuml","\xdc":"Uuml","\u0171":"udblac","\u0170":"Udblac","\u0169":"utilde","\u0168":"Utilde","\u0173":"uogon","\u0172":"Uogon","\u016b":"umacr","\u016a":"Umacr","\ud835\udd33":"vfr","\ud835\udd67":"vopf","\ud835\udccb":"vscr","\ud835\udd19":"Vfr","\ud835\udd4d":"Vopf","\ud835\udcb1":"Vscr","\ud835\udd68":"wopf","\ud835\udccc":"wscr","\ud835\udd34":"wfr","\ud835\udcb2":"Wscr","\ud835\udd4e":"Wopf","\ud835\udd1a":"Wfr","\u0175":"wcirc","\u0174":"Wcirc","\ud835\udd35":"xfr","\ud835\udccd":"xscr","\ud835\udd69":"xopf","\ud835\udd4f":"Xopf","\ud835\udd1b":"Xfr","\ud835\udcb3":"Xscr","\ud835\udd36":"yfr","\ud835\udcce":"yscr","\ud835\udd6a":"yopf","\ud835\udcb4":"Yscr","\ud835\udd1c":"Yfr","\ud835\udd50":"Yopf","\xfd":"yacute","\xdd":"Yacute","\u0177":"ycirc","\u0176":"Ycirc","\xff":"yuml","\u0178":"Yuml","\ud835\udccf":"zscr","\ud835\udd37":"zfr","\ud835\udd6b":"zopf","\u2128":"Zfr","\u2124":"Zopf","\ud835\udcb5":"Zscr","\u017a":"zacute","\u0179":"Zacute","\u017e":"zcaron","\u017d":"Zcaron","\u017c":"zdot","\u017b":"Zdot","\u01b5":"imped","\xfe":"thorn","\xde":"THORN","\u0149":"napos","\u03b1":"alpha","\u0391":"Alpha","\u03b2":"beta","\u0392":"Beta","\u03b3":"gamma","\u0393":"Gamma","\u03b4":"delta","\u0394":"Delta","\u03b5":"epsi","\u03f5":"epsiv","\u0395":"Epsilon","\u03dd":"gammad","\u03dc":"Gammad","\u03b6":"zeta","\u0396":"Zeta","\u03b7":"eta","\u0397":"Eta","\u03b8":"theta","\u03d1":"thetav","\u0398":"Theta","\u03b9":"iota","\u0399":"Iota","\u03ba":"kappa","\u03f0":"kappav","\u039a":"Kappa","\u03bb":"lambda","\u039b":"Lambda","\u03bc":"mu","\xb5":"micro","\u039c":"Mu","\u03bd":"nu","\u039d":"Nu","\u03be":"xi","\u039e":"Xi","\u03bf":"omicron","\u039f":"Omicron","\u03c0":"pi","\u03d6":"piv","\u03a0":"Pi","\u03c1":"rho","\u03f1":"rhov","\u03a1":"Rho","\u03c3":"sigma","\u03a3":"Sigma","\u03c2":"sigmaf","\u03c4":"tau","\u03a4":"Tau","\u03c5":"upsi","\u03a5":"Upsilon","\u03d2":"Upsi","\u03c6":"phi","\u03d5":"phiv","\u03a6":"Phi","\u03c7":"chi","\u03a7":"Chi","\u03c8":"psi","\u03a8":"Psi","\u03c9":"omega","\u03a9":"ohm","\u0430":"acy","\u0410":"Acy","\u0431":"bcy","\u0411":"Bcy","\u0432":"vcy","\u0412":"Vcy","\u0433":"gcy","\u0413":"Gcy","\u0453":"gjcy","\u0403":"GJcy","\u0434":"dcy","\u0414":"Dcy","\u0452":"djcy","\u0402":"DJcy","\u0435":"iecy","\u0415":"IEcy","\u0451":"iocy","\u0401":"IOcy","\u0454":"jukcy","\u0404":"Jukcy","\u0436":"zhcy","\u0416":"ZHcy","\u0437":"zcy","\u0417":"Zcy","\u0455":"dscy","\u0405":"DScy","\u0438":"icy","\u0418":"Icy","\u0456":"iukcy","\u0406":"Iukcy","\u0457":"yicy","\u0407":"YIcy","\u0439":"jcy","\u0419":"Jcy","\u0458":"jsercy","\u0408":"Jsercy","\u043a":"kcy","\u041a":"Kcy","\u045c":"kjcy","\u040c":"KJcy","\u043b":"lcy","\u041b":"Lcy","\u0459":"ljcy","\u0409":"LJcy","\u043c":"mcy","\u041c":"Mcy","\u043d":"ncy","\u041d":"Ncy","\u045a":"njcy","\u040a":"NJcy","\u043e":"ocy","\u041e":"Ocy","\u043f":"pcy","\u041f":"Pcy","\u0440":"rcy","\u0420":"Rcy","\u0441":"scy","\u0421":"Scy","\u0442":"tcy","\u0422":"Tcy","\u045b":"tshcy","\u040b":"TSHcy","\u0443":"ucy","\u0423":"Ucy","\u045e":"ubrcy","\u040e":"Ubrcy","\u0444":"fcy","\u0424":"Fcy","\u0445":"khcy","\u0425":"KHcy","\u0446":"tscy","\u0426":"TScy","\u0447":"chcy","\u0427":"CHcy","\u045f":"dzcy","\u040f":"DZcy","\u0448":"shcy","\u0428":"SHcy","\u0449":"shchcy","\u0429":"SHCHcy","\u044a":"hardcy","\u042a":"HARDcy","\u044b":"ycy","\u042b":"Ycy","\u044c":"softcy","\u042c":"SOFTcy","\u044d":"ecy","\u042d":"Ecy","\u044e":"yucy","\u042e":"YUcy","\u044f":"yacy","\u042f":"YAcy","\u2135":"aleph","\u2136":"beth","\u2137":"gimel","\u2138":"daleth"},c=/["&'<>`]/g,h={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},f=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,d=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,g={aacute:"\xe1",Aacute:"\xc1",abreve:"\u0103",Abreve:"\u0102",ac:"\u223e",acd:"\u223f",acE:"\u223e\u0333",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"\u0430",Acy:"\u0410",aelig:"\xe6",AElig:"\xc6",af:"\u2061",afr:"\ud835\udd1e",Afr:"\ud835\udd04",agrave:"\xe0",Agrave:"\xc0",alefsym:"\u2135",aleph:"\u2135",alpha:"\u03b1",Alpha:"\u0391",amacr:"\u0101",Amacr:"\u0100",amalg:"\u2a3f",amp:"&",AMP:"&",and:"\u2227",And:"\u2a53",andand:"\u2a55",andd:"\u2a5c",andslope:"\u2a58",andv:"\u2a5a",ang:"\u2220",ange:"\u29a4",angle:"\u2220",angmsd:"\u2221",angmsdaa:"\u29a8",angmsdab:"\u29a9",angmsdac:"\u29aa",angmsdad:"\u29ab",angmsdae:"\u29ac",angmsdaf:"\u29ad",angmsdag:"\u29ae",angmsdah:"\u29af",angrt:"\u221f",angrtvb:"\u22be",angrtvbd:"\u299d",angsph:"\u2222",angst:"\xc5",angzarr:"\u237c",aogon:"\u0105",Aogon:"\u0104",aopf:"\ud835\udd52",Aopf:"\ud835\udd38",ap:"\u2248",apacir:"\u2a6f",ape:"\u224a",apE:"\u2a70",apid:"\u224b",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224a",aring:"\xe5",Aring:"\xc5",ascr:"\ud835\udcb6",Ascr:"\ud835\udc9c",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224d",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"\u2233",awint:"\u2a11",backcong:"\u224c",backepsilon:"\u03f6",backprime:"\u2035",backsim:"\u223d",backsimeq:"\u22cd",Backslash:"\u2216",Barv:"\u2ae7",barvee:"\u22bd",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23b5",bbrktbrk:"\u23b6",bcong:"\u224c",bcy:"\u0431",Bcy:"\u0411",bdquo:"\u201e",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29b0",bepsi:"\u03f6",bernou:"\u212c",Bernoullis:"\u212c",beta:"\u03b2",Beta:"\u0392",beth:"\u2136",between:"\u226c",bfr:"\ud835\udd1f",Bfr:"\ud835\udd05",bigcap:"\u22c2",bigcirc:"\u25ef",bigcup:"\u22c3",bigodot:"\u2a00",bigoplus:"\u2a01",bigotimes:"\u2a02",bigsqcup:"\u2a06",bigstar:"\u2605",bigtriangledown:"\u25bd",bigtriangleup:"\u25b3",biguplus:"\u2a04",bigvee:"\u22c1",bigwedge:"\u22c0",bkarow:"\u290d",blacklozenge:"\u29eb",blacksquare:"\u25aa",blacktriangle:"\u25b4",blacktriangledown:"\u25be",blacktriangleleft:"\u25c2",blacktriangleright:"\u25b8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20e5",bnequiv:"\u2261\u20e5",bnot:"\u2310",bNot:"\u2aed",bopf:"\ud835\udd53",Bopf:"\ud835\udd39",bot:"\u22a5",bottom:"\u22a5",bowtie:"\u22c8",boxbox:"\u29c9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250c",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252c",boxhD:"\u2565",boxHd:"\u2564",boxHD:"\u2566",boxhu:"\u2534",boxhU:"\u2568",boxHu:"\u2567",boxHU:"\u2569",boxminus:"\u229f",boxplus:"\u229e",boxtimes:"\u22a0",boxul:"\u2518",boxuL:"\u255b",boxUl:"\u255c",boxUL:"\u255d",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255a",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253c",boxvH:"\u256a",boxVh:"\u256b",boxVH:"\u256c",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251c",boxvR:"\u255e",boxVr:"\u255f",boxVR:"\u2560",bprime:"\u2035",breve:"\u02d8",Breve:"\u02d8",brvbar:"\xa6",bscr:"\ud835\udcb7",Bscr:"\u212c",bsemi:"\u204f",bsim:"\u223d",bsime:"\u22cd",bsol:"\\",bsolb:"\u29c5",bsolhsub:"\u27c8",bull:"\u2022",bullet:"\u2022",bump:"\u224e",bumpe:"\u224f",bumpE:"\u2aae",bumpeq:"\u224f",Bumpeq:"\u224e",cacute:"\u0107",Cacute:"\u0106",cap:"\u2229",Cap:"\u22d2",capand:"\u2a44",capbrcup:"\u2a49",capcap:"\u2a4b",capcup:"\u2a47",capdot:"\u2a40",CapitalDifferentialD:"\u2145",caps:"\u2229\ufe00",caret:"\u2041",caron:"\u02c7",Cayleys:"\u212d",ccaps:"\u2a4d",ccaron:"\u010d",Ccaron:"\u010c",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"\u0109",Ccirc:"\u0108",Cconint:"\u2230",ccups:"\u2a4c",ccupssm:"\u2a50",cdot:"\u010b",Cdot:"\u010a",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"\u29b2",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\ud835\udd20",Cfr:"\u212d",chcy:"\u0447",CHcy:"\u0427",check:"\u2713",checkmark:"\u2713",chi:"\u03c7",Chi:"\u03a7",cir:"\u25cb",circ:"\u02c6",circeq:"\u2257",circlearrowleft:"\u21ba",circlearrowright:"\u21bb",circledast:"\u229b",circledcirc:"\u229a",circleddash:"\u229d",CircleDot:"\u2299",circledR:"\xae",circledS:"\u24c8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cire:"\u2257",cirE:"\u29c3",cirfnint:"\u2a10",cirmid:"\u2aef",cirscir:"\u29c2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201d",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",colone:"\u2254",Colone:"\u2a74",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2a6d",Congruent:"\u2261",conint:"\u222e",Conint:"\u222f",ContourIntegral:"\u222e",copf:"\ud835\udd54",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xa9",COPY:"\xa9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21b5",cross:"\u2717",Cross:"\u2a2f",cscr:"\ud835\udcb8",Cscr:"\ud835\udc9e",csub:"\u2acf",csube:"\u2ad1",csup:"\u2ad0",csupe:"\u2ad2",ctdot:"\u22ef",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22de",cuesc:"\u22df",cularr:"\u21b6",cularrp:"\u293d",cup:"\u222a",Cup:"\u22d3",cupbrcap:"\u2a48",cupcap:"\u2a46",CupCap:"\u224d",cupcup:"\u2a4a",cupdot:"\u228d",cupor:"\u2a45",cups:"\u222a\ufe00",curarr:"\u21b7",curarrm:"\u293c",curlyeqprec:"\u22de",curlyeqsucc:"\u22df",curlyvee:"\u22ce",curlywedge:"\u22cf",curren:"\xa4",curvearrowleft:"\u21b6",curvearrowright:"\u21b7",cuvee:"\u22ce",cuwed:"\u22cf",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232d",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",dArr:"\u21d3",Darr:"\u21a1",dash:"\u2010",dashv:"\u22a3",Dashv:"\u2ae4",dbkarow:"\u290f",dblac:"\u02dd",dcaron:"\u010f",Dcaron:"\u010e",dcy:"\u0434",Dcy:"\u0414",dd:"\u2146",DD:"\u2145",ddagger:"\u2021",ddarr:"\u21ca",DDotrahd:"\u2911",ddotseq:"\u2a77",deg:"\xb0",Del:"\u2207",delta:"\u03b4",Delta:"\u0394",demptyv:"\u29b1",dfisht:"\u297f",dfr:"\ud835\udd21",Dfr:"\ud835\udd07",dHar:"\u2965",dharl:"\u21c3",dharr:"\u21c2",DiacriticalAcute:"\xb4",DiacriticalDot:"\u02d9",DiacriticalDoubleAcute:"\u02dd",DiacriticalGrave:"`",DiacriticalTilde:"\u02dc",diam:"\u22c4",diamond:"\u22c4",Diamond:"\u22c4",diamondsuit:"\u2666",diams:"\u2666",die:"\xa8",DifferentialD:"\u2146",digamma:"\u03dd",disin:"\u22f2",div:"\xf7",divide:"\xf7",divideontimes:"\u22c7",divonx:"\u22c7",djcy:"\u0452",DJcy:"\u0402",dlcorn:"\u231e",dlcrop:"\u230d",dollar:"$",dopf:"\ud835\udd55",Dopf:"\ud835\udd3b",dot:"\u02d9",Dot:"\xa8",DotDot:"\u20dc",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22a1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222f",DoubleDot:"\xa8",DoubleDownArrow:"\u21d3",DoubleLeftArrow:"\u21d0",DoubleLeftRightArrow:"\u21d4",DoubleLeftTee:"\u2ae4",DoubleLongLeftArrow:"\u27f8",DoubleLongLeftRightArrow:"\u27fa",DoubleLongRightArrow:"\u27f9",DoubleRightArrow:"\u21d2",DoubleRightTee:"\u22a8",DoubleUpArrow:"\u21d1",DoubleUpDownArrow:"\u21d5",DoubleVerticalBar:"\u2225",downarrow:"\u2193",Downarrow:"\u21d3",DownArrow:"\u2193",DownArrowBar:"\u2913",DownArrowUpArrow:"\u21f5",DownBreve:"\u0311",downdownarrows:"\u21ca",downharpoonleft:"\u21c3",downharpoonright:"\u21c2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295e",DownLeftVector:"\u21bd",DownLeftVectorBar:"\u2956",DownRightTeeVector:"\u295f",DownRightVector:"\u21c1",DownRightVectorBar:"\u2957",DownTee:"\u22a4",DownTeeArrow:"\u21a7",drbkarow:"\u2910",drcorn:"\u231f",drcrop:"\u230c",dscr:"\ud835\udcb9",Dscr:"\ud835\udc9f",dscy:"\u0455",DScy:"\u0405",dsol:"\u29f6",dstrok:"\u0111",Dstrok:"\u0110",dtdot:"\u22f1",dtri:"\u25bf",dtrif:"\u25be",duarr:"\u21f5",duhar:"\u296f",dwangle:"\u29a6",dzcy:"\u045f",DZcy:"\u040f",dzigrarr:"\u27ff",eacute:"\xe9",Eacute:"\xc9",easter:"\u2a6e",ecaron:"\u011b",Ecaron:"\u011a",ecir:"\u2256",ecirc:"\xea",Ecirc:"\xca",ecolon:"\u2255",ecy:"\u044d",Ecy:"\u042d",eDDot:"\u2a77",edot:"\u0117",eDot:"\u2251",Edot:"\u0116",ee:"\u2147",efDot:"\u2252",efr:"\ud835\udd22",Efr:"\ud835\udd08",eg:"\u2a9a",egrave:"\xe8",Egrave:"\xc8",egs:"\u2a96",egsdot:"\u2a98",el:"\u2a99",Element:"\u2208",elinters:"\u23e7",ell:"\u2113",els:"\u2a95",elsdot:"\u2a97",emacr:"\u0113",Emacr:"\u0112",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25fb",emptyv:"\u2205",EmptyVerySmallSquare:"\u25ab",emsp:"\u2003",emsp13:"\u2004",emsp14:"\u2005",eng:"\u014b",ENG:"\u014a",ensp:"\u2002",eogon:"\u0119",Eogon:"\u0118",eopf:"\ud835\udd56",Eopf:"\ud835\udd3c",epar:"\u22d5",eparsl:"\u29e3",eplus:"\u2a71",epsi:"\u03b5",epsilon:"\u03b5",Epsilon:"\u0395",epsiv:"\u03f5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2a96",eqslantless:"\u2a95",Equal:"\u2a75",equals:"=",EqualTilde:"\u2242",equest:"\u225f",Equilibrium:"\u21cc",equiv:"\u2261",equivDD:"\u2a78",eqvparsl:"\u29e5",erarr:"\u2971",erDot:"\u2253",escr:"\u212f",Escr:"\u2130",esdot:"\u2250",esim:"\u2242",Esim:"\u2a73",eta:"\u03b7",Eta:"\u0397",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"\u20ac",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",fcy:"\u0444",Fcy:"\u0424",female:"\u2640",ffilig:"\ufb03",fflig:"\ufb00",ffllig:"\ufb04",ffr:"\ud835\udd23",Ffr:"\ud835\udd09",filig:"\ufb01",FilledSmallSquare:"\u25fc",FilledVerySmallSquare:"\u25aa",fjlig:"fj",flat:"\u266d",fllig:"\ufb02",fltns:"\u25b1",fnof:"\u0192",fopf:"\ud835\udd57",Fopf:"\ud835\udd3d",forall:"\u2200",ForAll:"\u2200",fork:"\u22d4",forkv:"\u2ad9",Fouriertrf:"\u2131",fpartint:"\u2a0d",frac12:"\xbd",frac13:"\u2153",frac14:"\xbc",frac15:"\u2155",frac16:"\u2159",frac18:"\u215b",frac23:"\u2154",frac25:"\u2156",frac34:"\xbe",frac35:"\u2157",frac38:"\u215c",frac45:"\u2158",frac56:"\u215a",frac58:"\u215d",frac78:"\u215e",frasl:"\u2044",frown:"\u2322",fscr:"\ud835\udcbb",Fscr:"\u2131",gacute:"\u01f5",gamma:"\u03b3",Gamma:"\u0393",gammad:"\u03dd",Gammad:"\u03dc",gap:"\u2a86",gbreve:"\u011f",Gbreve:"\u011e",Gcedil:"\u0122",gcirc:"\u011d",Gcirc:"\u011c",gcy:"\u0433",Gcy:"\u0413",gdot:"\u0121",Gdot:"\u0120",ge:"\u2265",gE:"\u2267",gel:"\u22db",gEl:"\u2a8c",geq:"\u2265",geqq:"\u2267",geqslant:"\u2a7e",ges:"\u2a7e",gescc:"\u2aa9",gesdot:"\u2a80",gesdoto:"\u2a82",gesdotol:"\u2a84",gesl:"\u22db\ufe00",gesles:"\u2a94",gfr:"\ud835\udd24",Gfr:"\ud835\udd0a",gg:"\u226b",Gg:"\u22d9",ggg:"\u22d9",gimel:"\u2137",gjcy:"\u0453",GJcy:"\u0403",gl:"\u2277",gla:"\u2aa5",glE:"\u2a92",glj:"\u2aa4",gnap:"\u2a8a",gnapprox:"\u2a8a",gne:"\u2a88",gnE:"\u2269",gneq:"\u2a88",gneqq:"\u2269",gnsim:"\u22e7",gopf:"\ud835\udd58",Gopf:"\ud835\udd3e",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22db",GreaterFullEqual:"\u2267",GreaterGreater:"\u2aa2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2a7e",GreaterTilde:"\u2273",gscr:"\u210a",Gscr:"\ud835\udca2",gsim:"\u2273",gsime:"\u2a8e",gsiml:"\u2a90",gt:">",Gt:"\u226b",GT:">",gtcc:"\u2aa7",gtcir:"\u2a7a",gtdot:"\u22d7",gtlPar:"\u2995",gtquest:"\u2a7c",gtrapprox:"\u2a86",gtrarr:"\u2978",gtrdot:"\u22d7",gtreqless:"\u22db",gtreqqless:"\u2a8c",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\ufe00",gvnE:"\u2269\ufe00",Hacek:"\u02c7",hairsp:"\u200a",half:"\xbd",hamilt:"\u210b",hardcy:"\u044a",HARDcy:"\u042a",harr:"\u2194",hArr:"\u21d4",harrcir:"\u2948",harrw:"\u21ad",Hat:"^",hbar:"\u210f",hcirc:"\u0125",Hcirc:"\u0124",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22b9",hfr:"\ud835\udd25",Hfr:"\u210c",HilbertSpace:"\u210b",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21ff",homtht:"\u223b",hookleftarrow:"\u21a9",hookrightarrow:"\u21aa",hopf:"\ud835\udd59",Hopf:"\u210d",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\ud835\udcbd",Hscr:"\u210b",hslash:"\u210f",hstrok:"\u0127",Hstrok:"\u0126",HumpDownHump:"\u224e",HumpEqual:"\u224f",hybull:"\u2043",hyphen:"\u2010",iacute:"\xed",Iacute:"\xcd",ic:"\u2063",icirc:"\xee",Icirc:"\xce",icy:"\u0438",Icy:"\u0418",Idot:"\u0130",iecy:"\u0435",IEcy:"\u0415",iexcl:"\xa1",iff:"\u21d4",ifr:"\ud835\udd26",Ifr:"\u2111",igrave:"\xec",Igrave:"\xcc",ii:"\u2148",iiiint:"\u2a0c",iiint:"\u222d",iinfin:"\u29dc",iiota:"\u2129",ijlig:"\u0133",IJlig:"\u0132",Im:"\u2111",imacr:"\u012b",Imacr:"\u012a",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",imof:"\u22b7",imped:"\u01b5",Implies:"\u21d2",in:"\u2208",incare:"\u2105",infin:"\u221e",infintie:"\u29dd",inodot:"\u0131",int:"\u222b",Int:"\u222c",intcal:"\u22ba",integers:"\u2124",Integral:"\u222b",intercal:"\u22ba",Intersection:"\u22c2",intlarhk:"\u2a17",intprod:"\u2a3c",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",iocy:"\u0451",IOcy:"\u0401",iogon:"\u012f",Iogon:"\u012e",iopf:"\ud835\udd5a",Iopf:"\ud835\udd40",iota:"\u03b9",Iota:"\u0399",iprod:"\u2a3c",iquest:"\xbf",iscr:"\ud835\udcbe",Iscr:"\u2110",isin:"\u2208",isindot:"\u22f5",isinE:"\u22f9",isins:"\u22f4",isinsv:"\u22f3",isinv:"\u2208",it:"\u2062",itilde:"\u0129",Itilde:"\u0128",iukcy:"\u0456",Iukcy:"\u0406",iuml:"\xef",Iuml:"\xcf",jcirc:"\u0135",Jcirc:"\u0134",jcy:"\u0439",Jcy:"\u0419",jfr:"\ud835\udd27",Jfr:"\ud835\udd0d",jmath:"\u0237",jopf:"\ud835\udd5b",Jopf:"\ud835\udd41",jscr:"\ud835\udcbf",Jscr:"\ud835\udca5",jsercy:"\u0458",Jsercy:"\u0408",jukcy:"\u0454",Jukcy:"\u0404",kappa:"\u03ba",Kappa:"\u039a",kappav:"\u03f0",kcedil:"\u0137",Kcedil:"\u0136",kcy:"\u043a",Kcy:"\u041a",kfr:"\ud835\udd28",Kfr:"\ud835\udd0e",kgreen:"\u0138",khcy:"\u0445",KHcy:"\u0425",kjcy:"\u045c",KJcy:"\u040c",kopf:"\ud835\udd5c",Kopf:"\ud835\udd42",kscr:"\ud835\udcc0",Kscr:"\ud835\udca6",lAarr:"\u21da",lacute:"\u013a",Lacute:"\u0139",laemptyv:"\u29b4",lagran:"\u2112",lambda:"\u03bb",Lambda:"\u039b",lang:"\u27e8",Lang:"\u27ea",langd:"\u2991",langle:"\u27e8",lap:"\u2a85",Laplacetrf:"\u2112",laquo:"\xab",larr:"\u2190",lArr:"\u21d0",Larr:"\u219e",larrb:"\u21e4",larrbfs:"\u291f",larrfs:"\u291d",larrhk:"\u21a9",larrlp:"\u21ab",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21a2",lat:"\u2aab",latail:"\u2919",lAtail:"\u291b",late:"\u2aad",lates:"\u2aad\ufe00",lbarr:"\u290c",lBarr:"\u290e",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298b",lbrksld:"\u298f",lbrkslu:"\u298d",lcaron:"\u013e",Lcaron:"\u013d",lcedil:"\u013c",Lcedil:"\u013b",lceil:"\u2308",lcub:"{",lcy:"\u043b",Lcy:"\u041b",ldca:"\u2936",ldquo:"\u201c",ldquor:"\u201e",ldrdhar:"\u2967",ldrushar:"\u294b",ldsh:"\u21b2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27e8",leftarrow:"\u2190",Leftarrow:"\u21d0",LeftArrow:"\u2190",LeftArrowBar:"\u21e4",LeftArrowRightArrow:"\u21c6",leftarrowtail:"\u21a2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27e6",LeftDownTeeVector:"\u2961",LeftDownVector:"\u21c3",LeftDownVectorBar:"\u2959",LeftFloor:"\u230a",leftharpoondown:"\u21bd",leftharpoonup:"\u21bc",leftleftarrows:"\u21c7",leftrightarrow:"\u2194",Leftrightarrow:"\u21d4",LeftRightArrow:"\u2194",leftrightarrows:"\u21c6",leftrightharpoons:"\u21cb",leftrightsquigarrow:"\u21ad",LeftRightVector:"\u294e",LeftTee:"\u22a3",LeftTeeArrow:"\u21a4",LeftTeeVector:"\u295a",leftthreetimes:"\u22cb",LeftTriangle:"\u22b2",LeftTriangleBar:"\u29cf",LeftTriangleEqual:"\u22b4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVector:"\u21bf",LeftUpVectorBar:"\u2958",LeftVector:"\u21bc",LeftVectorBar:"\u2952",leg:"\u22da",lEg:"\u2a8b",leq:"\u2264",leqq:"\u2266",leqslant:"\u2a7d",les:"\u2a7d",lescc:"\u2aa8",lesdot:"\u2a7f",lesdoto:"\u2a81",lesdotor:"\u2a83",lesg:"\u22da\ufe00",lesges:"\u2a93",lessapprox:"\u2a85",lessdot:"\u22d6",lesseqgtr:"\u22da",lesseqqgtr:"\u2a8b",LessEqualGreater:"\u22da",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2aa1",lesssim:"\u2272",LessSlantEqual:"\u2a7d",LessTilde:"\u2272",lfisht:"\u297c",lfloor:"\u230a",lfr:"\ud835\udd29",Lfr:"\ud835\udd0f",lg:"\u2276",lgE:"\u2a91",lHar:"\u2962",lhard:"\u21bd",lharu:"\u21bc",lharul:"\u296a",lhblk:"\u2584",ljcy:"\u0459",LJcy:"\u0409",ll:"\u226a",Ll:"\u22d8",llarr:"\u21c7",llcorner:"\u231e",Lleftarrow:"\u21da",llhard:"\u296b",lltri:"\u25fa",lmidot:"\u0140",Lmidot:"\u013f",lmoust:"\u23b0",lmoustache:"\u23b0",lnap:"\u2a89",lnapprox:"\u2a89",lne:"\u2a87",lnE:"\u2268",lneq:"\u2a87",lneqq:"\u2268",lnsim:"\u22e6",loang:"\u27ec",loarr:"\u21fd",lobrk:"\u27e6",longleftarrow:"\u27f5",Longleftarrow:"\u27f8",LongLeftArrow:"\u27f5",longleftrightarrow:"\u27f7",Longleftrightarrow:"\u27fa",LongLeftRightArrow:"\u27f7",longmapsto:"\u27fc",longrightarrow:"\u27f6",Longrightarrow:"\u27f9",LongRightArrow:"\u27f6",looparrowleft:"\u21ab",looparrowright:"\u21ac",lopar:"\u2985",lopf:"\ud835\udd5d",Lopf:"\ud835\udd43",loplus:"\u2a2d",lotimes:"\u2a34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25ca",lozenge:"\u25ca",lozf:"\u29eb",lpar:"(",lparlt:"\u2993",lrarr:"\u21c6",lrcorner:"\u231f",lrhar:"\u21cb",lrhard:"\u296d",lrm:"\u200e",lrtri:"\u22bf",lsaquo:"\u2039",lscr:"\ud835\udcc1",Lscr:"\u2112",lsh:"\u21b0",Lsh:"\u21b0",lsim:"\u2272",lsime:"\u2a8d",lsimg:"\u2a8f",lsqb:"[",lsquo:"\u2018",lsquor:"\u201a",lstrok:"\u0142",Lstrok:"\u0141",lt:"<",Lt:"\u226a",LT:"<",ltcc:"\u2aa6",ltcir:"\u2a79",ltdot:"\u22d6",lthree:"\u22cb",ltimes:"\u22c9",ltlarr:"\u2976",ltquest:"\u2a7b",ltri:"\u25c3",ltrie:"\u22b4",ltrif:"\u25c2",ltrPar:"\u2996",lurdshar:"\u294a",luruhar:"\u2966",lvertneqq:"\u2268\ufe00",lvnE:"\u2268\ufe00",macr:"\xaf",male:"\u2642",malt:"\u2720",maltese:"\u2720",map:"\u21a6",Map:"\u2905",mapsto:"\u21a6",mapstodown:"\u21a7",mapstoleft:"\u21a4",mapstoup:"\u21a5",marker:"\u25ae",mcomma:"\u2a29",mcy:"\u043c",Mcy:"\u041c",mdash:"\u2014",mDDot:"\u223a",measuredangle:"\u2221",MediumSpace:"\u205f",Mellintrf:"\u2133",mfr:"\ud835\udd2a",Mfr:"\ud835\udd10",mho:"\u2127",micro:"\xb5",mid:"\u2223",midast:"*",midcir:"\u2af0",middot:"\xb7",minus:"\u2212",minusb:"\u229f",minusd:"\u2238",minusdu:"\u2a2a",MinusPlus:"\u2213",mlcp:"\u2adb",mldr:"\u2026",mnplus:"\u2213",models:"\u22a7",mopf:"\ud835\udd5e",Mopf:"\ud835\udd44",mp:"\u2213",mscr:"\ud835\udcc2",Mscr:"\u2133",mstpos:"\u223e",mu:"\u03bc",Mu:"\u039c",multimap:"\u22b8",mumap:"\u22b8",nabla:"\u2207",nacute:"\u0144",Nacute:"\u0143",nang:"\u2220\u20d2",nap:"\u2249",napE:"\u2a70\u0338",napid:"\u224b\u0338",napos:"\u0149",napprox:"\u2249",natur:"\u266e",natural:"\u266e",naturals:"\u2115",nbsp:"\xa0",nbump:"\u224e\u0338",nbumpe:"\u224f\u0338",ncap:"\u2a43",ncaron:"\u0148",Ncaron:"\u0147",ncedil:"\u0146",Ncedil:"\u0145",ncong:"\u2247",ncongdot:"\u2a6d\u0338",ncup:"\u2a42",ncy:"\u043d",Ncy:"\u041d",ndash:"\u2013",ne:"\u2260",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21d7",nearrow:"\u2197",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200b",NegativeThickSpace:"\u200b",NegativeThinSpace:"\u200b",NegativeVeryThinSpace:"\u200b",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226b",NestedLessLess:"\u226a",NewLine:"\n",nexist:"\u2204",nexists:"\u2204",nfr:"\ud835\udd2b",Nfr:"\ud835\udd11",nge:"\u2271",ngE:"\u2267\u0338",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2a7e\u0338",nges:"\u2a7e\u0338",nGg:"\u22d9\u0338",ngsim:"\u2275",ngt:"\u226f",nGt:"\u226b\u20d2",ngtr:"\u226f",nGtv:"\u226b\u0338",nharr:"\u21ae",nhArr:"\u21ce",nhpar:"\u2af2",ni:"\u220b",nis:"\u22fc",nisd:"\u22fa",niv:"\u220b",njcy:"\u045a",NJcy:"\u040a",nlarr:"\u219a",nlArr:"\u21cd",nldr:"\u2025",nle:"\u2270",nlE:"\u2266\u0338",nleftarrow:"\u219a",nLeftarrow:"\u21cd",nleftrightarrow:"\u21ae",nLeftrightarrow:"\u21ce",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2a7d\u0338",nles:"\u2a7d\u0338",nless:"\u226e",nLl:"\u22d8\u0338",nlsim:"\u2274",nlt:"\u226e",nLt:"\u226a\u20d2",nltri:"\u22ea",nltrie:"\u22ec",nLtv:"\u226a\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xa0",nopf:"\ud835\udd5f",Nopf:"\u2115",not:"\xac",Not:"\u2aec",NotCongruent:"\u2262",NotCupCap:"\u226d",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226f",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226b\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2a7e\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224e\u0338",NotHumpEqual:"\u224f\u0338",notin:"\u2209",notindot:"\u22f5\u0338",notinE:"\u22f9\u0338",notinva:"\u2209",notinvb:"\u22f7",notinvc:"\u22f6",NotLeftTriangle:"\u22ea",NotLeftTriangleBar:"\u29cf\u0338",NotLeftTriangleEqual:"\u22ec",NotLess:"\u226e",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226a\u0338",NotLessSlantEqual:"\u2a7d\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2aa2\u0338",NotNestedLessLess:"\u2aa1\u0338",notni:"\u220c",notniva:"\u220c",notnivb:"\u22fe",notnivc:"\u22fd",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2aaf\u0338",NotPrecedesSlantEqual:"\u22e0",NotReverseElement:"\u220c",NotRightTriangle:"\u22eb",NotRightTriangleBar:"\u29d0\u0338",NotRightTriangleEqual:"\u22ed",NotSquareSubset:"\u228f\u0338",NotSquareSubsetEqual:"\u22e2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22e3",NotSubset:"\u2282\u20d2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2ab0\u0338",NotSucceedsSlantEqual:"\u22e1",NotSucceedsTilde:"\u227f\u0338",NotSuperset:"\u2283\u20d2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",npar:"\u2226",nparallel:"\u2226",nparsl:"\u2afd\u20e5",npart:"\u2202\u0338",npolint:"\u2a14",npr:"\u2280",nprcue:"\u22e0",npre:"\u2aaf\u0338",nprec:"\u2280",npreceq:"\u2aaf\u0338",nrarr:"\u219b",nrArr:"\u21cf",nrarrc:"\u2933\u0338",nrarrw:"\u219d\u0338",nrightarrow:"\u219b",nRightarrow:"\u21cf",nrtri:"\u22eb",nrtrie:"\u22ed",nsc:"\u2281",nsccue:"\u22e1",nsce:"\u2ab0\u0338",nscr:"\ud835\udcc3",Nscr:"\ud835\udca9",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22e2",nsqsupe:"\u22e3",nsub:"\u2284",nsube:"\u2288",nsubE:"\u2ac5\u0338",nsubset:"\u2282\u20d2",nsubseteq:"\u2288",nsubseteqq:"\u2ac5\u0338",nsucc:"\u2281",nsucceq:"\u2ab0\u0338",nsup:"\u2285",nsupe:"\u2289",nsupE:"\u2ac6\u0338",nsupset:"\u2283\u20d2",nsupseteq:"\u2289",nsupseteqq:"\u2ac6\u0338",ntgl:"\u2279",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"\u2278",ntriangleleft:"\u22ea",ntrianglelefteq:"\u22ec",ntriangleright:"\u22eb",ntrianglerighteq:"\u22ed",nu:"\u03bd",Nu:"\u039d",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224d\u20d2",nvdash:"\u22ac",nvDash:"\u22ad",nVdash:"\u22ae",nVDash:"\u22af",nvge:"\u2265\u20d2",nvgt:">\u20d2",nvHarr:"\u2904",nvinfin:"\u29de",nvlArr:"\u2902",nvle:"\u2264\u20d2",nvlt:"<\u20d2",nvltrie:"\u22b4\u20d2",nvrArr:"\u2903",nvrtrie:"\u22b5\u20d2",nvsim:"\u223c\u20d2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21d6",nwarrow:"\u2196",nwnear:"\u2927",oacute:"\xf3",Oacute:"\xd3",oast:"\u229b",ocir:"\u229a",ocirc:"\xf4",Ocirc:"\xd4",ocy:"\u043e",Ocy:"\u041e",odash:"\u229d",odblac:"\u0151",Odblac:"\u0150",odiv:"\u2a38",odot:"\u2299",odsold:"\u29bc",oelig:"\u0153",OElig:"\u0152",ofcir:"\u29bf",ofr:"\ud835\udd2c",Ofr:"\ud835\udd12",ogon:"\u02db",ograve:"\xf2",Ograve:"\xd2",ogt:"\u29c1",ohbar:"\u29b5",ohm:"\u03a9",oint:"\u222e",olarr:"\u21ba",olcir:"\u29be",olcross:"\u29bb",oline:"\u203e",olt:"\u29c0",omacr:"\u014d",Omacr:"\u014c",omega:"\u03c9",Omega:"\u03a9",omicron:"\u03bf",Omicron:"\u039f",omid:"\u29b6",ominus:"\u2296",oopf:"\ud835\udd60",Oopf:"\ud835\udd46",opar:"\u29b7",OpenCurlyDoubleQuote:"\u201c",OpenCurlyQuote:"\u2018",operp:"\u29b9",oplus:"\u2295",or:"\u2228",Or:"\u2a54",orarr:"\u21bb",ord:"\u2a5d",order:"\u2134",orderof:"\u2134",ordf:"\xaa",ordm:"\xba",origof:"\u22b6",oror:"\u2a56",orslope:"\u2a57",orv:"\u2a5b",oS:"\u24c8",oscr:"\u2134",Oscr:"\ud835\udcaa",oslash:"\xf8",Oslash:"\xd8",osol:"\u2298",otilde:"\xf5",Otilde:"\xd5",otimes:"\u2297",Otimes:"\u2a37",otimesas:"\u2a36",ouml:"\xf6",Ouml:"\xd6",ovbar:"\u233d",OverBar:"\u203e",OverBrace:"\u23de",OverBracket:"\u23b4",OverParenthesis:"\u23dc",par:"\u2225",para:"\xb6",parallel:"\u2225",parsim:"\u2af3",parsl:"\u2afd",part:"\u2202",PartialD:"\u2202",pcy:"\u043f",Pcy:"\u041f",percnt:"%",period:".",permil:"\u2030",perp:"\u22a5",pertenk:"\u2031",pfr:"\ud835\udd2d",Pfr:"\ud835\udd13",phi:"\u03c6",Phi:"\u03a6",phiv:"\u03d5",phmmat:"\u2133",phone:"\u260e",pi:"\u03c0",Pi:"\u03a0",pitchfork:"\u22d4",piv:"\u03d6",planck:"\u210f",planckh:"\u210e",plankv:"\u210f",plus:"+",plusacir:"\u2a23",plusb:"\u229e",pluscir:"\u2a22",plusdo:"\u2214",plusdu:"\u2a25",pluse:"\u2a72",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"\u2a26",plustwo:"\u2a27",pm:"\xb1",Poincareplane:"\u210c",pointint:"\u2a15",popf:"\ud835\udd61",Popf:"\u2119",pound:"\xa3",pr:"\u227a",Pr:"\u2abb",prap:"\u2ab7",prcue:"\u227c",pre:"\u2aaf",prE:"\u2ab3",prec:"\u227a",precapprox:"\u2ab7",preccurlyeq:"\u227c",Precedes:"\u227a",PrecedesEqual:"\u2aaf",PrecedesSlantEqual:"\u227c",PrecedesTilde:"\u227e",preceq:"\u2aaf",precnapprox:"\u2ab9",precneqq:"\u2ab5",precnsim:"\u22e8",precsim:"\u227e",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2ab9",prnE:"\u2ab5",prnsim:"\u22e8",prod:"\u220f",Product:"\u220f",profalar:"\u232e",profline:"\u2312",profsurf:"\u2313",prop:"\u221d",Proportion:"\u2237",Proportional:"\u221d",propto:"\u221d",prsim:"\u227e",prurel:"\u22b0",pscr:"\ud835\udcc5",Pscr:"\ud835\udcab",psi:"\u03c8",Psi:"\u03a8",puncsp:"\u2008",qfr:"\ud835\udd2e",Qfr:"\ud835\udd14",qint:"\u2a0c",qopf:"\ud835\udd62",Qopf:"\u211a",qprime:"\u2057",qscr:"\ud835\udcc6",Qscr:"\ud835\udcac",quaternions:"\u210d",quatint:"\u2a16",quest:"?",questeq:"\u225f",quot:'"',QUOT:'"',rAarr:"\u21db",race:"\u223d\u0331",racute:"\u0155",Racute:"\u0154",radic:"\u221a",raemptyv:"\u29b3",rang:"\u27e9",Rang:"\u27eb",rangd:"\u2992",range:"\u29a5",rangle:"\u27e9",raquo:"\xbb",rarr:"\u2192",rArr:"\u21d2",Rarr:"\u21a0",rarrap:"\u2975",rarrb:"\u21e5",rarrbfs:"\u2920",rarrc:"\u2933",rarrfs:"\u291e",rarrhk:"\u21aa",rarrlp:"\u21ac",rarrpl:"\u2945",rarrsim:"\u2974",rarrtl:"\u21a3",Rarrtl:"\u2916",rarrw:"\u219d",ratail:"\u291a",rAtail:"\u291c",ratio:"\u2236",rationals:"\u211a",rbarr:"\u290d",rBarr:"\u290f",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298c",rbrksld:"\u298e",rbrkslu:"\u2990",rcaron:"\u0159",Rcaron:"\u0158",rcedil:"\u0157",Rcedil:"\u0156",rceil:"\u2309",rcub:"}",rcy:"\u0440",Rcy:"\u0420",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201d",rdquor:"\u201d",rdsh:"\u21b3",Re:"\u211c",real:"\u211c",realine:"\u211b",realpart:"\u211c",reals:"\u211d",rect:"\u25ad",reg:"\xae",REG:"\xae",ReverseElement:"\u220b",ReverseEquilibrium:"\u21cb",ReverseUpEquilibrium:"\u296f",rfisht:"\u297d",rfloor:"\u230b",rfr:"\ud835\udd2f",Rfr:"\u211c",rHar:"\u2964",rhard:"\u21c1",rharu:"\u21c0",rharul:"\u296c",rho:"\u03c1",Rho:"\u03a1",rhov:"\u03f1",RightAngleBracket:"\u27e9",rightarrow:"\u2192",Rightarrow:"\u21d2",RightArrow:"\u2192",RightArrowBar:"\u21e5",RightArrowLeftArrow:"\u21c4",rightarrowtail:"\u21a3",RightCeiling:"\u2309",RightDoubleBracket:"\u27e7",RightDownTeeVector:"\u295d",RightDownVector:"\u21c2",RightDownVectorBar:"\u2955",RightFloor:"\u230b",rightharpoondown:"\u21c1",rightharpoonup:"\u21c0",rightleftarrows:"\u21c4",rightleftharpoons:"\u21cc",rightrightarrows:"\u21c9",rightsquigarrow:"\u219d",RightTee:"\u22a2",RightTeeArrow:"\u21a6",RightTeeVector:"\u295b",rightthreetimes:"\u22cc",RightTriangle:"\u22b3",RightTriangleBar:"\u29d0",RightTriangleEqual:"\u22b5",RightUpDownVector:"\u294f",RightUpTeeVector:"\u295c",RightUpVector:"\u21be",RightUpVectorBar:"\u2954",RightVector:"\u21c0",RightVectorBar:"\u2953",ring:"\u02da",risingdotseq:"\u2253",rlarr:"\u21c4",rlhar:"\u21cc",rlm:"\u200f",rmoust:"\u23b1",rmoustache:"\u23b1",rnmid:"\u2aee",roang:"\u27ed",roarr:"\u21fe",robrk:"\u27e7",ropar:"\u2986",ropf:"\ud835\udd63",Ropf:"\u211d",roplus:"\u2a2e",rotimes:"\u2a35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2a12",rrarr:"\u21c9",Rrightarrow:"\u21db",rsaquo:"\u203a",rscr:"\ud835\udcc7",Rscr:"\u211b",rsh:"\u21b1",Rsh:"\u21b1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22cc",rtimes:"\u22ca",rtri:"\u25b9",rtrie:"\u22b5",rtrif:"\u25b8",rtriltri:"\u29ce",RuleDelayed:"\u29f4",ruluhar:"\u2968",rx:"\u211e",sacute:"\u015b",Sacute:"\u015a",sbquo:"\u201a",sc:"\u227b",Sc:"\u2abc",scap:"\u2ab8",scaron:"\u0161",Scaron:"\u0160",sccue:"\u227d",sce:"\u2ab0",scE:"\u2ab4",scedil:"\u015f",Scedil:"\u015e",scirc:"\u015d",Scirc:"\u015c",scnap:"\u2aba",scnE:"\u2ab6",scnsim:"\u22e9",scpolint:"\u2a13",scsim:"\u227f",scy:"\u0441",Scy:"\u0421",sdot:"\u22c5",sdotb:"\u22a1",sdote:"\u2a66",searhk:"\u2925",searr:"\u2198",seArr:"\u21d8",searrow:"\u2198",sect:"\xa7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",sfr:"\ud835\udd30",Sfr:"\ud835\udd16",sfrown:"\u2322",sharp:"\u266f",shchcy:"\u0449",SHCHcy:"\u0429",shcy:"\u0448",SHcy:"\u0428",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xad",sigma:"\u03c3",Sigma:"\u03a3",sigmaf:"\u03c2",sigmav:"\u03c2",sim:"\u223c",simdot:"\u2a6a",sime:"\u2243",simeq:"\u2243",simg:"\u2a9e",simgE:"\u2aa0",siml:"\u2a9d",simlE:"\u2a9f",simne:"\u2246",simplus:"\u2a24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2a33",smeparsl:"\u29e4",smid:"\u2223",smile:"\u2323",smt:"\u2aaa",smte:"\u2aac",smtes:"\u2aac\ufe00",softcy:"\u044c",SOFTcy:"\u042c",sol:"/",solb:"\u29c4",solbar:"\u233f",sopf:"\ud835\udd64",Sopf:"\ud835\udd4a",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\ufe00",sqcup:"\u2294",sqcups:"\u2294\ufe00",Sqrt:"\u221a",sqsub:"\u228f",sqsube:"\u2291",sqsubset:"\u228f",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",squ:"\u25a1",square:"\u25a1",Square:"\u25a1",SquareIntersection:"\u2293",SquareSubset:"\u228f",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25aa",squf:"\u25aa",srarr:"\u2192",sscr:"\ud835\udcc8",Sscr:"\ud835\udcae",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22c6",star:"\u2606",Star:"\u22c6",starf:"\u2605",straightepsilon:"\u03f5",straightphi:"\u03d5",strns:"\xaf",sub:"\u2282",Sub:"\u22d0",subdot:"\u2abd",sube:"\u2286",subE:"\u2ac5",subedot:"\u2ac3",submult:"\u2ac1",subne:"\u228a",subnE:"\u2acb",subplus:"\u2abf",subrarr:"\u2979",subset:"\u2282",Subset:"\u22d0",subseteq:"\u2286",subseteqq:"\u2ac5",SubsetEqual:"\u2286",subsetneq:"\u228a",subsetneqq:"\u2acb",subsim:"\u2ac7",subsub:"\u2ad5",subsup:"\u2ad3",succ:"\u227b",succapprox:"\u2ab8",succcurlyeq:"\u227d",Succeeds:"\u227b",SucceedsEqual:"\u2ab0",SucceedsSlantEqual:"\u227d",SucceedsTilde:"\u227f",succeq:"\u2ab0",succnapprox:"\u2aba",succneqq:"\u2ab6",succnsim:"\u22e9",succsim:"\u227f",SuchThat:"\u220b",sum:"\u2211",Sum:"\u2211",sung:"\u266a",sup:"\u2283",Sup:"\u22d1",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"\u2abe",supdsub:"\u2ad8",supe:"\u2287",supE:"\u2ac6",supedot:"\u2ac4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27c9",suphsub:"\u2ad7",suplarr:"\u297b",supmult:"\u2ac2",supne:"\u228b",supnE:"\u2acc",supplus:"\u2ac0",supset:"\u2283",Supset:"\u22d1",supseteq:"\u2287",supseteqq:"\u2ac6",supsetneq:"\u228b",supsetneqq:"\u2acc",supsim:"\u2ac8",supsub:"\u2ad4",supsup:"\u2ad6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21d9",swarrow:"\u2199",swnwar:"\u292a",szlig:"\xdf",Tab:"\t",target:"\u2316",tau:"\u03c4",Tau:"\u03a4",tbrk:"\u23b4",tcaron:"\u0165",Tcaron:"\u0164",tcedil:"\u0163",Tcedil:"\u0162",tcy:"\u0442",Tcy:"\u0422",tdot:"\u20db",telrec:"\u2315",tfr:"\ud835\udd31",Tfr:"\ud835\udd17",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",theta:"\u03b8",Theta:"\u0398",thetasym:"\u03d1",thetav:"\u03d1",thickapprox:"\u2248",thicksim:"\u223c",ThickSpace:"\u205f\u200a",thinsp:"\u2009",ThinSpace:"\u2009",thkap:"\u2248",thksim:"\u223c",thorn:"\xfe",THORN:"\xde",tilde:"\u02dc",Tilde:"\u223c",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",times:"\xd7",timesb:"\u22a0",timesbar:"\u2a31",timesd:"\u2a30",tint:"\u222d",toea:"\u2928",top:"\u22a4",topbot:"\u2336",topcir:"\u2af1",topf:"\ud835\udd65",Topf:"\ud835\udd4b",topfork:"\u2ada",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25b5",triangledown:"\u25bf",triangleleft:"\u25c3",trianglelefteq:"\u22b4",triangleq:"\u225c",triangleright:"\u25b9",trianglerighteq:"\u22b5",tridot:"\u25ec",trie:"\u225c",triminus:"\u2a3a",TripleDot:"\u20db",triplus:"\u2a39",trisb:"\u29cd",tritime:"\u2a3b",trpezium:"\u23e2",tscr:"\ud835\udcc9",Tscr:"\ud835\udcaf",tscy:"\u0446",TScy:"\u0426",tshcy:"\u045b",TSHcy:"\u040b",tstrok:"\u0167",Tstrok:"\u0166",twixt:"\u226c",twoheadleftarrow:"\u219e",twoheadrightarrow:"\u21a0",uacute:"\xfa",Uacute:"\xda",uarr:"\u2191",uArr:"\u21d1",Uarr:"\u219f",Uarrocir:"\u2949",ubrcy:"\u045e",Ubrcy:"\u040e",ubreve:"\u016d",Ubreve:"\u016c",ucirc:"\xfb",Ucirc:"\xdb",ucy:"\u0443",Ucy:"\u0423",udarr:"\u21c5",udblac:"\u0171",Udblac:"\u0170",udhar:"\u296e",ufisht:"\u297e",ufr:"\ud835\udd32",Ufr:"\ud835\udd18",ugrave:"\xf9",Ugrave:"\xd9",uHar:"\u2963",uharl:"\u21bf",uharr:"\u21be",uhblk:"\u2580",ulcorn:"\u231c",ulcorner:"\u231c",ulcrop:"\u230f",ultri:"\u25f8",umacr:"\u016b",Umacr:"\u016a",uml:"\xa8",UnderBar:"_",UnderBrace:"\u23df",UnderBracket:"\u23b5",UnderParenthesis:"\u23dd",Union:"\u22c3",UnionPlus:"\u228e",uogon:"\u0173",Uogon:"\u0172",uopf:"\ud835\udd66",Uopf:"\ud835\udd4c",uparrow:"\u2191",Uparrow:"\u21d1",UpArrow:"\u2191",UpArrowBar:"\u2912",UpArrowDownArrow:"\u21c5",updownarrow:"\u2195",Updownarrow:"\u21d5",UpDownArrow:"\u2195",UpEquilibrium:"\u296e",upharpoonleft:"\u21bf",upharpoonright:"\u21be",uplus:"\u228e",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03c5",Upsi:"\u03d2",upsih:"\u03d2",upsilon:"\u03c5",Upsilon:"\u03a5",UpTee:"\u22a5",UpTeeArrow:"\u21a5",upuparrows:"\u21c8",urcorn:"\u231d",urcorner:"\u231d",urcrop:"\u230e",uring:"\u016f",Uring:"\u016e",urtri:"\u25f9",uscr:"\ud835\udcca",Uscr:"\ud835\udcb0",utdot:"\u22f0",utilde:"\u0169",Utilde:"\u0168",utri:"\u25b5",utrif:"\u25b4",uuarr:"\u21c8",uuml:"\xfc",Uuml:"\xdc",uwangle:"\u29a7",vangrt:"\u299c",varepsilon:"\u03f5",varkappa:"\u03f0",varnothing:"\u2205",varphi:"\u03d5",varpi:"\u03d6",varpropto:"\u221d",varr:"\u2195",vArr:"\u21d5",varrho:"\u03f1",varsigma:"\u03c2",varsubsetneq:"\u228a\ufe00",varsubsetneqq:"\u2acb\ufe00",varsupsetneq:"\u228b\ufe00",varsupsetneqq:"\u2acc\ufe00",vartheta:"\u03d1",vartriangleleft:"\u22b2",vartriangleright:"\u22b3",vBar:"\u2ae8",Vbar:"\u2aeb",vBarv:"\u2ae9",vcy:"\u0432",Vcy:"\u0412",vdash:"\u22a2",vDash:"\u22a8",Vdash:"\u22a9",VDash:"\u22ab",Vdashl:"\u2ae6",vee:"\u2228",Vee:"\u22c1",veebar:"\u22bb",veeeq:"\u225a",vellip:"\u22ee",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200a",vfr:"\ud835\udd33",Vfr:"\ud835\udd19",vltri:"\u22b2",vnsub:"\u2282\u20d2",vnsup:"\u2283\u20d2",vopf:"\ud835\udd67",Vopf:"\ud835\udd4d",vprop:"\u221d",vrtri:"\u22b3",vscr:"\ud835\udccb",Vscr:"\ud835\udcb1",vsubne:"\u228a\ufe00",vsubnE:"\u2acb\ufe00",vsupne:"\u228b\ufe00",vsupnE:"\u2acc\ufe00",Vvdash:"\u22aa",vzigzag:"\u299a",wcirc:"\u0175",Wcirc:"\u0174",wedbar:"\u2a5f",wedge:"\u2227",Wedge:"\u22c0",wedgeq:"\u2259",weierp:"\u2118",wfr:"\ud835\udd34",Wfr:"\ud835\udd1a",wopf:"\ud835\udd68",Wopf:"\ud835\udd4e",wp:"\u2118",wr:"\u2240",wreath:"\u2240",wscr:"\ud835\udccc",Wscr:"\ud835\udcb2",xcap:"\u22c2",xcirc:"\u25ef",xcup:"\u22c3",xdtri:"\u25bd",xfr:"\ud835\udd35",Xfr:"\ud835\udd1b",xharr:"\u27f7",xhArr:"\u27fa",xi:"\u03be",Xi:"\u039e",xlarr:"\u27f5",xlArr:"\u27f8",xmap:"\u27fc",xnis:"\u22fb",xodot:"\u2a00",xopf:"\ud835\udd69",Xopf:"\ud835\udd4f",xoplus:"\u2a01",xotime:"\u2a02",xrarr:"\u27f6",xrArr:"\u27f9",xscr:"\ud835\udccd",Xscr:"\ud835\udcb3",xsqcup:"\u2a06",xuplus:"\u2a04",xutri:"\u25b3",xvee:"\u22c1",xwedge:"\u22c0",yacute:"\xfd",Yacute:"\xdd",yacy:"\u044f",YAcy:"\u042f",ycirc:"\u0177",Ycirc:"\u0176",ycy:"\u044b",Ycy:"\u042b",yen:"\xa5",yfr:"\ud835\udd36",Yfr:"\ud835\udd1c",yicy:"\u0457",YIcy:"\u0407",yopf:"\ud835\udd6a",Yopf:"\ud835\udd50",yscr:"\ud835\udcce",Yscr:"\ud835\udcb4",yucy:"\u044e",YUcy:"\u042e",yuml:"\xff",Yuml:"\u0178",zacute:"\u017a",Zacute:"\u0179",zcaron:"\u017e",Zcaron:"\u017d",zcy:"\u0437",Zcy:"\u0417",zdot:"\u017c",Zdot:"\u017b",zeetrf:"\u2128",ZeroWidthSpace:"\u200b",zeta:"\u03b6",Zeta:"\u0396",zfr:"\ud835\udd37",Zfr:"\u2128",zhcy:"\u0436",ZHcy:"\u0416",zigrarr:"\u21dd",zopf:"\ud835\udd6b",Zopf:"\u2124",zscr:"\ud835\udccf",Zscr:"\ud835\udcb5",zwj:"\u200d",zwnj:"\u200c"},v={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},m={0:"\ufffd",128:"\u20ac",130:"\u201a",131:"\u0192",132:"\u201e",133:"\u2026",134:"\u2020",135:"\u2021",136:"\u02c6",137:"\u2030",138:"\u0160",139:"\u2039",140:"\u0152",142:"\u017d",145:"\u2018",146:"\u2019",147:"\u201c",148:"\u201d",149:"\u2022",150:"\u2013",151:"\u2014",152:"\u02dc",153:"\u2122",154:"\u0161",155:"\u203a",156:"\u0153",158:"\u017e",159:"\u0178"},y=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],_=String.fromCharCode,b={}.hasOwnProperty,x=function(t,e){return b.call(t,e)},w=function(t,e){if(!t)return e;var n,r={};for(n in e)r[n]=x(t,n)?t[n]:e[n];return r},k=function(t,e){var n="";return t>=55296&&t<=57343||t>1114111?(e&&A("character reference outside the permissible Unicode range"),"\ufffd"):x(m,t)?(e&&A("disallowed character reference"),m[t]):(e&&function(t,e){for(var n=-1,r=t.length;++n65535&&(n+=_((t-=65536)>>>10&1023|55296),t=56320|1023&t),n+=_(t))},S=function(t){return"&#x"+t.toString(16).toUpperCase()+";"},C=function(t){return"&#"+t+";"},A=function(t){throw Error("Parse error: "+t)},T=function t(e,n){(n=w(n,t.options)).strict&&d.test(e)&&A("forbidden code point");var r=n.useNamedReferences,i=n.allowUnsafeSymbols,h=n.decimal?C:S,f=function(t){return h(t.charCodeAt(0))};return n.encodeEverything?(e=e.replace(o,(function(t){return r&&x(u,t)?"&"+u[t]+";":f(t)})),r&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),r&&(e=e.replace(l,(function(t){return"&"+u[t]+";"})))):r?(i||(e=e.replace(c,(function(t){return"&"+u[t]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,(function(t){return"&"+u[t]+";"}))):i||(e=e.replace(c,f)),e.replace(a,(function(t){var e=t.charCodeAt(0),n=t.charCodeAt(1);return h(1024*(e-55296)+n-56320+65536)})).replace(s,f)};T.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var E=function t(e,n){var r=(n=w(n,t.options)).strict;return r&&f.test(e)&&A("malformed character reference"),e.replace(p,(function(t,e,i,a,o,s,l,u,c){var h,f,d,p,m,y;return e?g[m=e]:i?(m=i,(y=a)&&n.isAttributeValue?(r&&"="==y&&A("`&` did not start a character reference"),t):(r&&A("named character reference was not terminated by a semicolon"),v[m]+(y||""))):o?(d=o,f=s,r&&!f&&A("character reference was not terminated by a semicolon"),h=parseInt(d,10),k(h,r)):l?(p=l,f=u,r&&!f&&A("character reference was not terminated by a semicolon"),h=parseInt(p,16),k(h,r)):(r&&A("named character reference was not terminated by a semicolon"),t)}))};E.options={isAttributeValue:!1,strict:!1};var M={version:"1.2.0",encode:T,decode:E,escape:function(t){return t.replace(c,(function(t){return h[t]}))},unescape:E};void 0===(r=(function(){return M}).call(e,n,e,t))||(t.exports=r)}()}).call(this,n("YuTi")(t))},kzvK:function(t,e,n){var r=n("sS/r").extend({type:"timeline"});t.exports=r},l7GE:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r=function(t){_inherits(n,t);var e=_createSuper(n);function n(){return _classCallCheck(this,n),e.apply(this,arguments)}return _createClass2(n,[{key:"notifyNext",value:function(t,e,n,r,i){this.destination.next(e)}},{key:"notifyError",value:function(t,e){this.destination.error(t)}},{key:"notifyComplete",value:function(t){this.destination.complete()}}]),n}(n("7o/Q").a)},l9OW:function(t,e,n){var r=n("SKAX"),i=n("MMmD");t.exports=function(t,e){var n=-1,a=i(t)?Array(t.length):[];return r(t,(function(t,r,i){a[++n]=e(t,r,i)})),a}},lE7J:function(t,e,n){var r=n("OELB"),i=r.round;function a(t){return r.getPrecisionSafe(t)+2}function o(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function s(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),o(t,0,e),o(t,1,e),t[0]>t[1]&&(t[0]=t[1])}e.intervalScaleNiceTicks=function(t,e,n,o){var l={},u=l.interval=r.nice((t[1]-t[0])/e,!0);null!=n&&uo&&(u=l.interval=o);var c=l.intervalPrecision=a(u);return s(l.niceTickExtent=[i(Math.ceil(t[0]/u)*u,c),i(Math.floor(t[1]/u)*u,c)],t),l},e.getIntervalPrecision=a,e.fixExtent=s},lELe:function(t,e,n){var r=n("bYtY");t.exports=function(t){var e=[];r.each(t.series,(function(t){t&&"map"===t.type&&(e.push(t),t.map=t.map||t.mapType,r.defaults(t,t.mapLocation))}))}},lJxs:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("7o/Q");function i(t,e){return function(n){if("function"!=typeof t)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new a(t,e))}}var a=function(){function t(e,n){_classCallCheck(this,t),this.project=e,this.thisArg=n}return _createClass2(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.project,this.thisArg))}}]),t}(),o=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i){var a;return _classCallCheck(this,n),(a=e.call(this,t)).project=r,a.count=0,a.thisArg=i||_assertThisInitialized(a),a}return _createClass2(n,[{key:"_next",value:function(t){var e;try{e=this.project.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(e)}}]),n}(r.a)},lLGD:function(t,e,n){var r=n("ProS"),i=n("bYtY"),a=n("nVfU"),o=a.layout,s=a.largeLayout;n("Wqna"),n("F7hV"),n("Z8zF"),n("Ae16"),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,i.curry(o,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,s),r.registerVisual({seriesType:"bar",reset:function(t){t.getData().setVisual("legendSymbol","roundRect")}})},lOQZ:function(t,e,n){var r=n("QBsz"),i=n("U/Mo"),a=i.getSymbolSize,o=i.getNodeGlobalScale,s=Math.PI,l=[],u={value:function(t,e,n,r,i,a,o,s){var l=0,u=r.getSum("value"),c=2*Math.PI/(u||s);n.eachNode((function(t){var e=t.getValue("value"),n=c*(u?e:1)/2;l+=n,t.setLayout([i*Math.cos(l)+a,i*Math.sin(l)+o]),l+=n}))},symbolSize:function(t,e,n,r,i,u,c,h){var f=0;l.length=h;var d=o(t);n.eachNode((function(t){var e=a(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=d;var n=Math.asin(e/2/i);isNaN(n)&&(n=s/2),l[t.dataIndex]=n,f+=2*n}));var p=(2*s-f)/h/2,g=0;n.eachNode((function(t){var e=p+l[t.dataIndex];g+=e,t.setLayout([i*Math.cos(g)+u,i*Math.sin(g)+c]),g+=e}))}};e.circularLayout=function(t,e){var n=t.coordinateSystem;if(!n||"view"===n.type){var i=n.getBoundingRect(),a=t.getData(),o=a.graph,s=i.width/2+i.x,l=i.height/2+i.y,c=Math.min(i.width,i.height)/2,h=a.count();a.setLayout({cx:s,cy:l}),h&&(u[e](t,n,o,a,c,s,l,h),o.eachEdge((function(t){var e,n=t.getModel().get("lineStyle.curveness")||0,i=r.clone(t.node1.getLayout()),a=r.clone(t.node2.getLayout());+n&&(e=[s*(n*=3)+(i[0]+a[0])/2*(1-n),l*n+(i[1]+a[1])/2*(1-n)]),t.setLayout([i,a,e])})))}}},lQqw:function(t,e,n){var r=n("MMmD");t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var a=n.length,o=e?a:-1,s=Object(n);(e?o--:++o2?e[2]:void 0;for(u&&a(e[0],e[1],u)&&(r=1);++no){var s=a;a=o,o=s}return a+"\x01"+o+"\x01"+(r.isUndefined(i)?"\0":i)}function l(t,e,n,r){var i=""+e,a=""+n;if(!t&&i>a){var o=i;i=a,a=o}var s={v:i,w:a};return r&&(s.name=r),s}function u(t,e){return s(t,e.v,e.w,e.name)}t.exports=i,i.prototype._nodeCount=0,i.prototype._edgeCount=0,i.prototype.isDirected=function(){return this._isDirected},i.prototype.isMultigraph=function(){return this._isMultigraph},i.prototype.isCompound=function(){return this._isCompound},i.prototype.setGraph=function(t){return this._label=t,this},i.prototype.graph=function(){return this._label},i.prototype.setDefaultNodeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultNodeLabelFn=t,this},i.prototype.nodeCount=function(){return this._nodeCount},i.prototype.nodes=function(){return r.keys(this._nodes)},i.prototype.sources=function(){var t=this;return r.filter(this.nodes(),(function(e){return r.isEmpty(t._in[e])}))},i.prototype.sinks=function(){var t=this;return r.filter(this.nodes(),(function(e){return r.isEmpty(t._out[e])}))},i.prototype.setNodes=function(t,e){var n=arguments,i=this;return r.each(t,(function(t){n.length>1?i.setNode(t,e):i.setNode(t)})),this},i.prototype.setNode=function(t,e){return r.has(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)},i.prototype.node=function(t){return this._nodes[t]},i.prototype.hasNode=function(t){return r.has(this._nodes,t)},i.prototype.removeNode=function(t){var e=this;if(r.has(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],r.each(this.children(t),(function(t){e.setParent(t)})),delete this._children[t]),r.each(r.keys(this._in[t]),n),delete this._in[t],delete this._preds[t],r.each(r.keys(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this},i.prototype.setParent=function(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(r.isUndefined(e))e="\0";else{for(var n=e+="";!r.isUndefined(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this},i.prototype._removeFromParentsChildList=function(t){delete this._children[this._parent[t]][t]},i.prototype.parent=function(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}},i.prototype.children=function(t){if(r.isUndefined(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return r.keys(e)}else{if("\0"===t)return this.nodes();if(this.hasNode(t))return[]}},i.prototype.predecessors=function(t){var e=this._preds[t];if(e)return r.keys(e)},i.prototype.successors=function(t){var e=this._sucs[t];if(e)return r.keys(e)},i.prototype.neighbors=function(t){var e=this.predecessors(t);if(e)return r.union(e,this.successors(t))},i.prototype.isLeaf=function(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length},i.prototype.filterNodes=function(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;r.each(this._nodes,(function(n,r){t(r)&&e.setNode(r,n)})),r.each(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))}));var i={};return this._isCompound&&r.each(e.nodes(),(function(t){e.setParent(t,function t(r){var a=n.parent(r);return void 0===a||e.hasNode(a)?(i[r]=a,a):a in i?i[a]:t(a)}(t))})),e},i.prototype.setDefaultEdgeLabel=function(t){return r.isFunction(t)||(t=r.constant(t)),this._defaultEdgeLabelFn=t,this},i.prototype.edgeCount=function(){return this._edgeCount},i.prototype.edges=function(){return r.values(this._edgeObjs)},i.prototype.setPath=function(t,e){var n=this,i=arguments;return r.reduce(t,(function(t,r){return i.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r})),this},i.prototype.setEdge=function(){var t,e,n,i,o=!1,u=arguments[0];"object"==typeof u&&null!==u&&"v"in u?(t=u.v,e=u.w,n=u.name,2===arguments.length&&(i=arguments[1],o=!0)):(t=u,e=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],o=!0)),t=""+t,e=""+e,r.isUndefined(n)||(n=""+n);var c=s(this._isDirected,t,e,n);if(r.has(this._edgeLabels,c))return o&&(this._edgeLabels[c]=i),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[c]=o?i:this._defaultEdgeLabelFn(t,e,n);var h=l(this._isDirected,t,e,n);return t=h.v,e=h.w,Object.freeze(h),this._edgeObjs[c]=h,a(this._preds[e],t),a(this._sucs[t],e),this._in[e][c]=h,this._out[t][c]=h,this._edgeCount++,this},i.prototype.edge=function(t,e,n){var r=1===arguments.length?u(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return this._edgeLabels[r]},i.prototype.hasEdge=function(t,e,n){var i=1===arguments.length?u(this._isDirected,arguments[0]):s(this._isDirected,t,e,n);return r.has(this._edgeLabels,i)},i.prototype.removeEdge=function(t,e,n){var r=1===arguments.length?u(this._isDirected,arguments[0]):s(this._isDirected,t,e,n),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],o(this._preds[e],t),o(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this},i.prototype.inEdges=function(t,e){var n=this._in[t];if(n){var i=r.values(n);return e?r.filter(i,(function(t){return t.v===e})):i}},i.prototype.outEdges=function(t,e){var n=this._out[t];if(n){var i=r.values(n);return e?r.filter(i,(function(t){return t.w===e})):i}},i.prototype.nodeEdges=function(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}},loD1:function(t,e){e.containStroke=function(t,e,n,r,i,a,o){if(0===i)return!1;var s,l=i;if(o>e+l&&o>r+l||ot+l&&a>n+l||a=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.height},clone:function(){return new f(this.x,this.y,this.width,this.height)},copy:function(t){this.x=t.x,this.y=t.y,this.width=t.width,this.height=t.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},f.create=function(t){return new f(t.x,t.y,t.width,t.height)},t.exports=f},mLcG:function(t,e){var n="undefined"!=typeof window&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){setTimeout(t,16)};t.exports=n},mNz5:function(t,e,n){var r=n("dt0z"),i=0;t.exports=function(t){var e=++i;return r(t)+e}},mOdp:function(t,e,n){var r=n("bYtY").createHashMap;t.exports=function(t){return{getTargetSeries:function(e){var n={},i=r();return e.eachSeriesByType(t,(function(t){t.__paletteScope=n,i.set(t.uid,t)})),i},reset:function(t,e){var n=t.getRawData(),r={},i=t.getData();i.each((function(t){var e=i.getRawIndex(t);r[e]=t})),n.each((function(e){var a,o=r[e],s=null!=o&&i.getItemVisual(o,"color",!0),l=null!=o&&i.getItemVisual(o,"borderColor",!0);if(s&&l||(a=n.getItemModel(e)),!s){var u=a.get("itemStyle.color")||t.getColorFromPalette(n.getName(e)||e+"",t.__paletteScope,n.count());null!=o&&i.setItemVisual(o,"color",u)}if(!l){var c=a.get("itemStyle.borderColor");null!=o&&i.setItemVisual(o,"borderColor",c)}}))}}}},mTTR:function(t,e,n){var r=n("b80T"),i=n("QcOe"),a=n("MMmD");t.exports=function(t){return a(t)?r(t,!0):i(t)}},mUg4:function(t,e,n){var r=n("cq/+"),i=n("EwQA"),a=n("mTTR");t.exports=function(t,e){return null==t?t:r(t,i(e),a)}},mYwL:function(t,e,n){var r=n("bYtY"),i=n("IwbS"),a=Math.PI;t.exports=function(t,e){r.defaults(e=e||{},{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.8)",zlevel:0});var n=new i.Rect({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4}),o=new i.Arc({shape:{startAngle:-a/2,endAngle:-a/2+.1,r:10},style:{stroke:e.color,lineCap:"round",lineWidth:5},zlevel:e.zlevel,z:10001}),s=new i.Rect({style:{fill:"none",text:e.text,textPosition:"right",textDistance:10,textFill:e.textColor},zlevel:e.zlevel,z:10001});o.animateShape(!0).when(1e3,{endAngle:3*a/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:3*a/2}).delay(300).start("circularInOut");var l=new i.Group;return l.add(o),l.add(s),l.add(n),l.resize=function(){var e=t.getWidth()/2,r=t.getHeight()/2;o.setShape({cx:e,cy:r});var i=o.shape.r;s.setShape({x:e-i,y:r-i,width:2*i,height:2*i}),n.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},l.resize(),l}},mc0g:function(t,e){t.exports=function(t){return function(e,n,r){for(var i=-1,a=Object(e),o=r(e),s=o.length;s--;){var l=o[t?s:++i];if(!1===n(a[l],l,a))break}return e}}},mdPL:function(t,e,n){(function(t){var r=n("WFqU"),i=e&&!e.nodeType&&e,a=i&&"object"==typeof t&&t&&!t.nodeType&&t,o=a&&a.exports===i&&r.process,s=function(){try{return a&&a.require&&a.require("util").types||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=s}).call(this,n("YuTi")(t))},"mv/X":function(t,e,n){var r=n("ljhN"),i=n("MMmD"),a=n("wJg7"),o=n("GoyQ");t.exports=function(t,e,n){if(!o(n))return!1;var s=typeof e;return!!("number"==s?i(n)&&a(e,n.length):"string"==s&&e in n)&&r(n[e],t)}},mwIZ:function(t,e,n){var r=n("ZWtO");t.exports=function(t,e,n){var i=null==t?void 0:r(t,e);return void 0===i?n:i}},n1HI:function(t,e,n){var r=n("hX1E").normalizeRadian,i=2*Math.PI;e.containStroke=function(t,e,n,a,o,s,l,u,c){if(0===l)return!1;var h=l;u-=t,c-=e;var f=Math.sqrt(u*u+c*c);if(f-h>n||f+ho&&(o+=i);var p=Math.atan2(c,u);return p<0&&(p+=i),p>=a&&p<=o||p+i>=a&&p+i<=o}},n3Sm:function(t,e,n){var r=n("SKAX");t.exports=function(t,e){var n=[];return r(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}},n4Lv:function(t,e,n){var r=n("7hqr").isDimensionStacked,i=n("bYtY").map;e.prepareDataCoordInfo=function(t,e,n){var a,o=t.getBaseAxis(),s=t.getOtherAxis(o),l=function(t,e){var n=0,r=t.scale.getExtent();return"start"===e?n=r[0]:"end"===e?n=r[1]:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]),n}(s,n),u=o.dim,c=s.dim,h=e.mapDimension(c),f=e.mapDimension(u),d="x"===c||"radius"===c?1:0,p=i(t.dimensions,(function(t){return e.mapDimension(t)})),g=e.getCalculationInfo("stackResultDimension");return(a|=r(e,p[0]))&&(p[0]=g),(a|=r(e,p[1]))&&(p[1]=g),{dataDimsForPoint:p,valueStart:l,valueAxisDim:c,baseAxisDim:u,stacked:!!a,valueDim:h,baseDim:f,baseDataOffset:d,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}},e.getStackedOnPoint=function(t,e,n,r){var i=NaN;t.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=t.valueStart);var a=t.baseDataOffset,o=[];return o[a]=n.get(t.baseDim,r),o[1-a]=i,e.dataToPoint(o)}},n6Mw:function(t,e,n){var r=n("SrGk"),i=n("bYtY"),a=n("Fofx");function o(t,e){r.call(this,t,e,"clipPath","__clippath_in_use__")}i.inherits(o,r),o.prototype.update=function(t){var e=this.getSvgElement(t);e&&this.updateDom(e,t.__clipPaths,!1);var n=this.getTextSvgElement(t);n&&this.updateDom(n,t.__clipPaths,!0),this.markUsed(t)},o.prototype.updateDom=function(t,e,n){if(e&&e.length>0){var r,i,o=this.getDefs(!0),s=e[0],l=n?"_textDom":"_dom";s[l]?(i=s[l].getAttribute("id"),o.contains(r=s[l])||o.appendChild(r)):(i="zr"+this._zrId+"-clip-"+this.nextId,++this.nextId,(r=this.createElement("clipPath")).setAttribute("id",i),o.appendChild(r),s[l]=r);var u=this.getSvgProxy(s);if(s.transform&&s.parent.invTransform&&!n){var c=Array.prototype.slice.call(s.transform);a.mul(s.transform,s.parent.invTransform,s.transform),u.brush(s),s.transform=c}else u.brush(s);var h=this.getSvgElement(s);r.innerHTML="",r.appendChild(h.cloneNode()),t.setAttribute("clip-path","url(#"+i+")"),e.length>1&&this.updateDom(r,e.slice(1),n)}else t&&t.setAttribute("clip-path","none")},o.prototype.markUsed=function(t){var e=this;t.__clipPaths&&i.each(t.__clipPaths,(function(t){t._dom&&r.prototype.markUsed.call(e,t._dom),t._textDom&&r.prototype.markUsed.call(e,t._textDom)}))},t.exports=o},n6bG:function(t,e,n){"use strict";function r(t){return"function"==typeof t}n.d(e,"a",(function(){return r}))},nCxF:function(t,e,n){var r=n("QBsz"),i=r.min,a=r.max,o=r.scale,s=r.distance,l=r.add,u=r.clone,c=r.sub;t.exports=function(t,e,n,r){var h,f,d,p,g=[],v=[],m=[],y=[];if(r){d=[1/0,1/0],p=[-1/0,-1/0];for(var _=0,b=t.length;_i&&(i=r));var l=t.area*t.area,u=e*e*n;return l?c(u*i/l,l/(u*a)):1/0}function _(t,e,n,r,i){var a=e===n.width?0:1,o=1-a,s=["x","y"],l=["width","height"],u=n[s[a]],f=e?t.area/e:0;(i||f>n[l[o]])&&(f=n[l[o]]);for(var d=0,p=t.length;ds&&(c=s),o=a}cs[1]&&(s[1]=e)}))}else s=[NaN,NaN];return{sum:r,dataExtent:s}}(e,s,l);if(0===c.sum)return t.viewChildren=[];if(c.sum=function(t,e,n,r,i){if(!r)return n;for(var a=t.get("visibleMin"),o=i.length,s=o,l=o-1;l>=0;l--){var u=i["asc"===r?o-l-1:l].getValue();u/n*e0&&(o=null===o?l:Math.min(o,l))}n[i]=o}}return n}(t),n=[];return r.each(t,(function(t){var r,a=t.coordinateSystem.getBaseAxis(),o=a.getExtent();if("category"===a.type)r=a.getBandWidth();else if("value"===a.type||"time"===a.type){var s=e[a.dim+"_"+a.index],c=Math.abs(o[1]-o[0]),h=a.scale.getExtent(),f=Math.abs(h[1]-h[0]);r=s?c/f*s:c}else{var d=t.getData();r=Math.abs(o[1]-o[0])/d.count()}var p=i(t.get("barWidth"),r),g=i(t.get("barMaxWidth"),r),v=i(t.get("barMinWidth")||1,r),m=t.get("barGap"),y=t.get("barCategoryGap");n.push({bandWidth:r,barWidth:p,barMaxWidth:g,barMinWidth:v,barGap:m,barCategoryGap:y,axisKey:u(a),stackId:l(t)})})),f(n)}function f(t){var e={};r.each(t,(function(t,n){var r=t.axisKey,i=t.bandWidth,a=e[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},o=a.stacks;e[r]=a;var s=t.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!o[s].width&&(o[s].width=l,l=Math.min(a.remainedWidth,l),a.remainedWidth-=l);var u=t.barMaxWidth;u&&(o[s].maxWidth=u);var c=t.barMinWidth;c&&(o[s].minWidth=c);var h=t.barGap;null!=h&&(a.gap=h);var f=t.barCategoryGap;null!=f&&(a.categoryGap=f)}));var n={};return r.each(e,(function(t,e){n[e]={};var a=t.stacks,o=t.bandWidth,s=i(t.categoryGap,o),l=i(t.gap,1),u=t.remainedWidth,c=t.autoWidthCount,h=(u-s)/(c+(c-1)*l);h=Math.max(h,0),r.each(a,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width)r=t.width,e&&(r=Math.min(r,e)),n&&(r=Math.max(r,n)),t.width=r,u-=r+l*r,c--;else{var r=h;e&&er&&(r=n),r!==h&&(t.width=r,u-=r+l*r,c--)}})),h=(u-s)/(c+(c-1)*l),h=Math.max(h,0);var f,d=0;r.each(a,(function(t,e){t.width||(t.width=h),f=t,d+=t.width*(1+l)})),f&&(d-=f.width*l);var p=-d/2;r.each(a,(function(t,r){n[e][r]=n[e][r]||{bandWidth:o,offset:p,width:t.width},p+=t.width*(1+l)}))})),n}function d(t,e,n){if(t&&e){var r=t[u(e)];return null!=r&&null!=n&&(r=r[l(n)]),r}}var p={seriesType:"bar",plan:o(),reset:function(t){if(g(t)&&v(t)){var e=t.getData(),n=t.coordinateSystem,r=n.grid.getRect(),i=n.getBaseAxis(),a=n.getOtherAxis(i),o=e.mapDimension(a.dim),l=e.mapDimension(i.dim),u=a.isHorizontal(),c=u?0:1,f=d(h([t]),i,t).width;return f>.5||(f=.5),{progress:function(t,e){for(var i,h=t.count,d=new s(2*h),p=new s(2*h),g=new s(h),v=[],y=[],_=0,b=0;null!=(i=t.next());)y[c]=e.get(o,i),y[1-c]=e.get(l,i),v=n.dataToPoint(y,null,v),p[_]=u?r.x+r.width:v[0],d[_++]=v[0],p[_]=u?v[1]:r.y+r.height,d[_++]=v[1],g[b++]=i;e.setLayout({largePoints:d,largeDataIndices:g,largeBackgroundPoints:p,barWidth:f,valueAxisStart:m(0,a),backgroundStart:u?r.x:r.y,valueAxisHorizontal:u})}}}}};function g(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function v(t){return t.pipelineContext&&t.pipelineContext.large}function m(t,e,n){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}e.getLayoutOnAxis=function(t){var e=[],n=t.axis;if("category"===n.type){for(var i=n.getBandWidth(),a=0;a=0?"p":"n",O=x;_&&(o[c][I]||(o[c][I]={p:x,n:x}),O=o[c][I][D]),b?(S=O,C=(E=n.dataToPoint([M,I]))[1]+f,A=E[0]-x,T=d,Math.abs(A)0){t.moveTo(n[i++],n[i++]);for(var o=1;o0?t.quadraticCurveTo((s+u)/2-(l-c)*r,(l+c)/2-(u-s)*r,u,c):t.lineTo(u,c)}},findDataIndex:function(t,e){var n=this.shape,r=n.segs,i=n.curveness;if(n.polyline)for(var s=0,l=0;l0)for(var c=r[l++],h=r[l++],f=1;f0){if(o.containStroke(c,h,(c+d)/2-(h-p)*i,(h+p)/2-(d-c)*i,d,p))return s}else if(a.containStroke(c,h,d,p))return s;s++}return-1}});function l(){this.group=new r.Group}var u=l.prototype;u.isPersistent=function(){return!this._incremental},u.updateData=function(t){this.group.removeAll();var e=new s({rectHover:!0,cursor:"default"});e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t),this.group.add(e),this._incremental=null},u.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>5e5?(this._incremental||(this._incremental=new i({silent:!0})),this.group.add(this._incremental)):this._incremental=null},u.incrementalUpdate=function(t,e){var n=new s;n.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(n,e,!!this._incremental),this._incremental?this._incremental.addDisplayable(n,!0):(n.rectHover=!0,n.cursor="default",n.__startIndex=t.start,this.group.add(n))},u.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},u._setCommon=function(t,e,n){var r=e.hostModel;t.setShape({polyline:r.get("polyline"),curveness:r.get("lineStyle.curveness")}),t.useStyle(r.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var i=e.getVisual("color");i&&t.setStyle("stroke",i),t.setStyle("fill"),n||(t.seriesIndex=r.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>0&&(t.dataIndex=n+t.__startIndex)})))},u._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t.exports=l},oBaM:function(t,e,n){var r=n("T4UG"),i=n("5GtS"),a=n("bYtY"),o=n("7aKB").encodeHTML,s=n("xKMd"),l=r.extend({type:"series.radar",dependencies:["radar"],init:function(t){l.superApply(this,"init",arguments),this.legendVisualProvider=new s(a.bind(this.getData,this),a.bind(this.getRawData,this))},getInitialData:function(t,e){return i(this,{generateCoord:"indicator_",generateCoordCount:1/0})},formatTooltip:function(t){var e=this.getData(),n=this.coordinateSystem.getIndicatorAxes(),r=this.getData().getName(t);return o(""===r?this.name:r)+"
    "+a.map(n,(function(n,r){var i=e.get(e.mapDimension(n.dim),t);return o(n.name+" : "+i)})).join("
    ")},getTooltipPosition:function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,r=e.getValues(a.map(n.dimensions,(function(t){return e.mapDimension(t)})),t,!0),i=0,o=r.length;i0&&void 0!==arguments[0]&&arguments[0],e=this._platformLocation.pathname+m(this._platformLocation.search),n=this._platformLocation.hash;return n&&t?"".concat(e).concat(n):e}},{key:"pushState",value:function(t,e,n,r){var i=this.prepareExternalUrl(n+m(r));this._platformLocation.pushState(t,e,i)}},{key:"replaceState",value:function(t,e,n,r){var i=this.prepareExternalUrl(n+m(r));this._platformLocation.replaceState(t,e,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(y);return t.\u0275fac=function(e){return new(e||t)(r.Yb(u),r.Yb(b,8))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t}(),w=function(){var t=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;return _classCallCheck(this,n),(i=e.call(this))._platformLocation=t,i._baseHref="",null!=r&&(i._baseHref=r),i}return _createClass2(n,[{key:"onPopState",value:function(t){this._platformLocation.onPopState(t),this._platformLocation.onHashChange(t)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];var t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}},{key:"prepareExternalUrl",value:function(t){var e=g(this._baseHref,t);return e.length>0?"#"+e:e}},{key:"pushState",value:function(t,e,n,r){var i=this.prepareExternalUrl(n+m(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(t,e,i)}},{key:"replaceState",value:function(t,e,n,r){var i=this.prepareExternalUrl(n+m(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(t,e,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(y);return t.\u0275fac=function(e){return new(e||t)(r.Yb(u),r.Yb(b,8))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t}(),k=function(){var t=function(){function t(e,n){var i=this;_classCallCheck(this,t),this._subject=new r.n,this._urlChangeListeners=[],this._platformStrategy=e;var a=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=v(C(a)),this._platformStrategy.onPopState((function(t){i._subject.emit({url:i.path(!0),pop:!0,state:t.state,type:t.type})}))}return _createClass2(t,[{key:"path",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(t))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(t+m(e))}},{key:"normalize",value:function(e){return t.stripTrailingSlash(function(t,e){return t&&e.startsWith(t)?e.substring(t.length):e}(this._baseHref,C(e)))}},{key:"prepareExternalUrl",value:function(t){return t&&"/"!==t[0]&&(t="/"+t),this._platformStrategy.prepareExternalUrl(t)}},{key:"go",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+m(e)),n)}},{key:"replaceState",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",t,e),this._notifyUrlChangeListeners(this.prepareExternalUrl(t+m(e)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(t){var e=this;this._urlChangeListeners.push(t),this.subscribe((function(t){e._notifyUrlChangeListeners(t.url,t.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(t,e)}))}},{key:"subscribe",value:function(t,e,n){return this._subject.subscribe({next:t,error:e,complete:n})}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Yb(y),r.Yb(u))},t.normalizeQueryParams=m,t.joinWithSlash=g,t.stripTrailingSlash=v,t.\u0275prov=Object(r.Kb)({factory:S,token:t,providedIn:"root"}),t}();function S(){return new k(Object(r.Yb)(y),Object(r.Yb)(u))}function C(t){return t.replace(/\/index.html$/,"")}var A=function(){var t={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return t[t.Zero]="Zero",t[t.One]="One",t[t.Two]="Two",t[t.Few]="Few",t[t.Many]="Many",t[t.Other]="Other",t}(),T=r.ob,E=function t(){_classCallCheck(this,t)},M=function(){var t=function(t){_inherits(n,t);var e=_createSuper(n);function n(t){var r;return _classCallCheck(this,n),(r=e.call(this)).locale=t,r}return _createClass2(n,[{key:"getPluralCategory",value:function(t,e){switch(T(e||this.locale)(t)){case A.Zero:return"zero";case A.One:return"one";case A.Two:return"two";case A.Few:return"few";case A.Many:return"many";default:return"other"}}}]),n}(E);return t.\u0275fac=function(e){return new(e||t)(r.Yb(r.u))},t.\u0275prov=r.Kb({token:t,factory:t.\u0275fac}),t}();function I(t,e){e=encodeURIComponent(e);var n,r=_createForOfIteratorHelper(t.split(";"));try{for(r.s();!(n=r.n()).done;){var i=n.value,a=i.indexOf("="),o=_slicedToArray(-1==a?[i,""]:[i.slice(0,a),i.slice(a+1)],2),s=o[0],l=o[1];if(s.trim()===e)return decodeURIComponent(l)}}catch(u){r.e(u)}finally{r.f()}return null}var D=function(){var t=function(){function t(e,n,r,i){_classCallCheck(this,t),this._iterableDiffers=e,this._keyValueDiffers=n,this._ngEl=r,this._renderer=i,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return _createClass2(t,[{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var t=this._iterableDiffer.diff(this._rawClass);t&&this._applyIterableChanges(t)}else if(this._keyValueDiffer){var e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}},{key:"_applyKeyValueChanges",value:function(t){var e=this;t.forEachAddedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachChangedItem((function(t){return e._toggleClass(t.key,t.currentValue)})),t.forEachRemovedItem((function(t){t.previousValue&&e._toggleClass(t.key,!1)}))}},{key:"_applyIterableChanges",value:function(t){var e=this;t.forEachAddedItem((function(t){if("string"!=typeof t.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r.xb)(t.item));e._toggleClass(t.item,!0)})),t.forEachRemovedItem((function(t){return e._toggleClass(t.item,!1)}))}},{key:"_applyClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!0)})):Object.keys(t).forEach((function(n){return e._toggleClass(n,!!t[n])})))}},{key:"_removeClasses",value:function(t){var e=this;t&&(Array.isArray(t)||t instanceof Set?t.forEach((function(t){return e._toggleClass(t,!1)})):Object.keys(t).forEach((function(t){return e._toggleClass(t,!1)})))}},{key:"_toggleClass",value:function(t,e){var n=this;(t=t.trim())&&t.split(/\s+/g).forEach((function(t){e?n._renderer.addClass(n._ngEl.nativeElement,t):n._renderer.removeClass(n._ngEl.nativeElement,t)}))}},{key:"klass",set:function(t){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof t?t.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(t){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof t?t.split(/\s+/):t,this._rawClass&&(Object(r.rb)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),t}();return t.\u0275fac=function(e){return new(e||t)(r.Ob(r.s),r.Ob(r.t),r.Ob(r.l),r.Ob(r.E))},t.\u0275dir=r.Jb({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t}(),O=function(){function t(e,n,r,i){_classCallCheck(this,t),this.$implicit=e,this.ngForOf=n,this.index=r,this.count=i}return _createClass2(t,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),t}(),P=function(){var t=function(){function t(e,n,r){_classCallCheck(this,t),this._viewContainer=e,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass2(t,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var t=this._ngForOf;if(!this._differ&&t)try{this._differ=this._differs.find(t).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '".concat(t,"' of type '").concat((e=t).name||typeof e,"'. NgFor only supports binding to Iterables such as Arrays."))}}var e;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(t){var e=this,n=[];t.forEachOperation((function(t,r,i){if(null==t.previousIndex){var a=e._viewContainer.createEmbeddedView(e._template,new O(null,e._ngForOf,-1,-1),null===i?void 0:i),o=new L(t,a);n.push(o)}else if(null==i)e._viewContainer.remove(null===r?void 0:r);else if(null!==r){var s=e._viewContainer.get(r);e._viewContainer.move(s,i);var l=new L(t,s);n.push(l)}}));for(var r=0;rc))return!1;var f=l.get(t);if(f&&l.get(e))return f==e;var d=-1,p=!0,g=2&n?new r:void 0;for(l.set(t,e),l.set(e,t);++d=t&&(0===e?0:r[e-1][0]).4?"bottom":"middle",textAlign:D<-.4?"left":D>.4?"right":"center"},{autoColor:N}),silent:!0}))}if(_.get("show")&&I!==x){for(var z=0;z<=w;z++){D=Math.cos(C),O=Math.sin(C);var F=new i.Line({shape:{x1:D*g+d,y1:O*g+p,x2:D*(g-S)+d,y2:O*(g-S)+p},silent:!0,style:M});"auto"===M.stroke&&F.setStyle({stroke:r((I+z/w)/x)}),f.add(F),C+=T}C-=T}else C+=A}},_renderPointer:function(t,e,n,a,o,l,c,h){var f=this.group,d=this._data;if(t.get("pointer.show")){var p=[+t.get("min"),+t.get("max")],g=[l,c],v=t.getData(),m=v.mapDimension("value");v.diff(d).add((function(e){var n=new r({shape:{angle:l}});i.initProps(n,{shape:{angle:u(v.get(m,e),p,g,!0)}},t),f.add(n),v.setItemGraphicEl(e,n)})).update((function(e,n){var r=d.getItemGraphicEl(n);i.updateProps(r,{shape:{angle:u(v.get(m,e),p,g,!0)}},t),f.add(r),v.setItemGraphicEl(e,r)})).remove((function(t){var e=d.getItemGraphicEl(t);f.remove(e)})).execute(),v.eachItemGraphicEl((function(t,e){var n=v.getItemModel(e),r=n.getModel("pointer");t.setShape({x:o.cx,y:o.cy,width:s(r.get("width"),o.r),r:s(r.get("length"),o.r)}),t.useStyle(n.getModel("itemStyle").getItemStyle()),"auto"===t.style.fill&&t.setStyle("fill",a(u(v.get(m,e),p,[0,1],!0))),i.setHoverStyle(t,n.getModel("emphasis.itemStyle").getItemStyle())})),this._data=v}else d&&d.eachItemGraphicEl((function(t){f.remove(t)}))},_renderTitle:function(t,e,n,r,a){var o=t.getData(),l=o.mapDimension("value"),c=t.getModel("title");if(c.get("show")){var h=c.get("offsetCenter"),f=a.cx+s(h[0],a.r),d=a.cy+s(h[1],a.r),p=+t.get("min"),g=+t.get("max"),v=t.getData().get(l,0),m=r(u(v,[p,g],[0,1],!0));this.group.add(new i.Text({silent:!0,style:i.setTextStyle({},c,{x:f,y:d,text:o.getName(0),textAlign:"center",textVerticalAlign:"middle"},{autoColor:m,forceRich:!0})}))}},_renderDetail:function(t,e,n,r,a){var o=t.getModel("detail"),l=+t.get("min"),h=+t.get("max");if(o.get("show")){var f=o.get("offsetCenter"),d=a.cx+s(f[0],a.r),p=a.cy+s(f[1],a.r),g=s(o.get("width"),a.r),v=s(o.get("height"),a.r),m=t.getData(),y=m.get(m.mapDimension("value"),0),_=r(u(y,[l,h],[0,1],!0));this.group.add(new i.Text({silent:!0,style:i.setTextStyle({},o,{x:d,y:p,text:c(y,o.get("formatter")),textWidth:isNaN(g)?null:g,textHeight:isNaN(v)?null:v,textAlign:"center",textVerticalAlign:"middle"},{autoColor:_,forceRich:!0})}))}}});t.exports=f},pFRH:function(t,e,n){var r=n("cvCv"),i=n("O0oS"),a=n("zZ0H");t.exports=i?function(t,e){return i(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:a},pHPU:function(t,e,n){var r=n("M96O"),i=n("AevD");t.exports=function(t,e,n,r){return function(t,e,n,r){var a,o,s={},l=new i,u=function(t){var e=t.v!==a?t.v:t.w,r=s[e],i=n(t),u=o.distance+i;if(i<0)throw new Error("dijkstra does not allow negative edge weights. Bad edge: "+t+" Weight: "+i);u0&&(a=l.removeMin(),(o=s[a]).distance!==Number.POSITIVE_INFINITY);)r(a).forEach(u);return s}(t,String(e),n||a,r||function(e){return t.outEdges(e)})};var a=r.constant(1)},pLH3:function(t,e,n){var r=n("ProS");n("ALo7"),n("TWL2");var i=n("mOdp"),a=n("JLnu"),o=n("0/Rx");r.registerVisual(i("funnel")),r.registerLayout(a),r.registerProcessor(o("funnel"))},pLZG:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n("7o/Q");function i(t,e){return function(n){return n.lift(new a(t,e))}}var a=function(){function t(e,n){_classCallCheck(this,t),this.predicate=e,this.thisArg=n}return _createClass2(t,[{key:"call",value:function(t,e){return e.subscribe(new o(t,this.predicate,this.thisArg))}}]),t}(),o=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i){var a;return _classCallCheck(this,n),(a=e.call(this,t)).predicate=r,a.thisArg=i,a.count=0,a}return _createClass2(n,[{key:"_next",value:function(t){var e;try{e=this.predicate.call(this.thisArg,t,this.count++)}catch(n){return void this.destination.error(n)}e&&this.destination.next(t)}}]),n}(r.a)},pP6R:function(t,e,n){var r=n("ProS"),i="\0_ec_interaction_mutex";function a(t){return t[i]||(t[i]={})}r.registerAction({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},(function(){})),e.take=function(t,e,n){a(t)[e]=n},e.release=function(t,e,n){var r=a(t);r[e]===n&&(r[e]=null)},e.isTaken=function(t,e){return!!a(t)[e]}},pSRY:function(t,e,n){var r=n("QkVE");t.exports=function(t){return r(this,t).has(t)}},pmaE:function(t,e,n){var r=n("ProS"),i=n("bYtY"),a=n("IwbS"),o=n("DEFe"),s=r.extendChartView({type:"map",render:function(t,e,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var i=this.group;if(i.removeAll(),!t.getHostGeoModel()){if(r&&"geoRoam"===r.type&&"series"===r.componentType&&r.seriesId===t.id)(a=this._mapDraw)&&i.add(a.group);else if(t.needsDrawMap){var a=this._mapDraw||new o(n,!0);i.add(a.group),a.draw(t,e,n,this,r),this._mapDraw=a}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},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(t,e,n){var r=t.originalData,o=this.group;r.each(r.mapDimension("value"),(function(e,n){if(!isNaN(e)){var s=r.getItemLayout(n);if(s&&s.point){var c=s.point,h=s.offset,f=new a.Circle({style:{fill:t.getData().getVisual("color")},shape:{cx:c[0]+9*h,cy:c[1],r:3},silent:!0,z2:8+(h?0:a.Z2_EMPHASIS_LIFT+1)});if(!h){var d=t.mainSeries.getData(),p=r.getName(n),g=d.indexOfName(p),v=r.getItemModel(n),m=v.getModel("label"),y=v.getModel("emphasis.label"),_=d.getItemGraphicEl(g),b=i.retrieve2(t.getFormattedLabel(g,"normal"),p),x=i.retrieve2(t.getFormattedLabel(g,"emphasis"),b),w=_.__seriesMapHighDown,k=Math.random();if(!w){w=_.__seriesMapHighDown={};var S=i.curry(l,!0),C=i.curry(l,!1);_.on("mouseover",S).on("mouseout",C).on("emphasis",S).on("normal",C)}_.__seriesMapCallKey=k,i.extend(w,{recordVersion:k,circle:f,labelModel:m,hoverLabelModel:y,emphasisText:x,normalText:b}),u(w,!1)}o.add(f)}}}))}});function l(t){var e=this.__seriesMapHighDown;e&&e.recordVersion===this.__seriesMapCallKey&&u(e,t)}function u(t,e){var n=t.circle,r=t.labelModel,i=t.hoverLabelModel,o=t.emphasisText,s=t.normalText;e?(n.style.extendFrom(a.setTextStyle({},i,{text:i.get("show")?o:null},{isRectText:!0,useInsideStyle:!1},!0)),n.__mapOriginalZ2=n.z2,n.z2+=a.Z2_EMPHASIS_LIFT):(a.setTextStyle(n.style,r,{text:r.get("show")?s:null,textPosition:r.getShallow("position")||"bottom"},{isRectText:!0,useInsideStyle:!1}),n.dirty(!1),null!=n.__mapOriginalZ2&&(n.z2=n.__mapOriginalZ2,n.__mapOriginalZ2=null))}t.exports=s},ptHe:function(t,e,n){"use strict";var r=n("b5wT"),i=n("KZ/l");t.exports={run:function(t){var e="greedy"===t.graph().acyclicer?i(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],n={},i={};return r.forEach(t.nodes(),(function a(o){r.has(i,o)||(i[o]=!0,n[o]=!0,r.forEach(t.outEdges(o),(function(t){r.has(n,t.w)?e.push(t):a(t.w)})),delete n[o])})),e}(t);r.forEach(e,(function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,r.uniqueId("rev"))}))},undo:function(t){r.forEach(t.edges(),(function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var r=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,r)}}))}}},pzxd:function(t,e,n){var r=n("bYtY"),i=r.retrieve2,a=r.retrieve3,o=r.each,s=r.normalizeCssArray,l=r.isString,u=r.isObject,c=n("6GrX"),h=n("VpOo"),f=n("Xnb7"),d=n("fW2E"),p=n("gut8"),g=p.ContextCachedBy,v=p.WILL_BE_RESTORED,m=c.DEFAULT_FONT,y={left:1,right:1,center:1},_={top:1,bottom:1,middle:1},b=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],x={},w={};function k(t){if(t){t.font=c.makeFont(t);var e=t.textAlign;"middle"===e&&(e="center"),t.textAlign=null==e||y[e]?e:"left";var n=t.textVerticalAlign||t.textBaseline;"center"===n&&(n="middle"),t.textVerticalAlign=null==n||_[n]?n:"top",t.textPadding&&(t.textPadding=s(t.textPadding))}}function S(t,e,n,r,i){if(n&&e.textRotation){var a=e.textOrigin;"center"===a?(r=n.width/2+n.x,i=n.height/2+n.y):a&&(r=a[0]+n.x,i=a[1]+n.y),t.translate(r,i),t.rotate(-e.textRotation),t.translate(-r,-i)}}function C(t,e,n,r,o,s,l,u){var c=r.rich[n.styleName]||{};c.text=n.text;var h=n.textVerticalAlign,f=s+o/2;"top"===h?f=s+n.height/2:"bottom"===h&&(f=s+o-n.height/2),!n.isLineHolder&&A(c)&&T(t,e,c,"right"===u?l-n.width:"center"===u?l-n.width/2:l,f-n.height/2,n.width,n.height);var d=n.textPadding;d&&(l=L(l,u,d),f-=n.height/2-d[2]-n.textHeight/2),I(e,"shadowBlur",a(c.textShadowBlur,r.textShadowBlur,0)),I(e,"shadowColor",c.textShadowColor||r.textShadowColor||"transparent"),I(e,"shadowOffsetX",a(c.textShadowOffsetX,r.textShadowOffsetX,0)),I(e,"shadowOffsetY",a(c.textShadowOffsetY,r.textShadowOffsetY,0)),I(e,"textAlign",u),I(e,"textBaseline","middle"),I(e,"font",n.font||m);var p=D(c.textStroke||r.textStroke,v),g=O(c.textFill||r.textFill),v=i(c.textStrokeWidth,r.textStrokeWidth);p&&(I(e,"lineWidth",v),I(e,"strokeStyle",p),e.strokeText(n.text,l,f)),g&&(I(e,"fillStyle",g),e.fillText(n.text,l,f))}function A(t){return!!(t.textBackgroundColor||t.textBorderWidth&&t.textBorderColor)}function T(t,e,n,r,i,a,o){var s=n.textBackgroundColor,c=n.textBorderWidth,d=n.textBorderColor,p=l(s);if(I(e,"shadowBlur",n.textBoxShadowBlur||0),I(e,"shadowColor",n.textBoxShadowColor||"transparent"),I(e,"shadowOffsetX",n.textBoxShadowOffsetX||0),I(e,"shadowOffsetY",n.textBoxShadowOffsetY||0),p||c&&d){e.beginPath();var g=n.textBorderRadius;g?h.buildPath(e,{x:r,y:i,width:a,height:o,r:g}):e.rect(r,i,a,o),e.closePath()}if(p)if(I(e,"fillStyle",s),null!=n.fillOpacity){var v=e.globalAlpha;e.globalAlpha=n.fillOpacity*n.opacity,e.fill(),e.globalAlpha=v}else e.fill();else if(u(s)){var m=s.image;(m=f.createOrUpdateImage(m,null,t,E,s))&&f.isImageReady(m)&&e.drawImage(m,r,i,a,o)}c&&d&&(I(e,"lineWidth",c),I(e,"strokeStyle",d),null!=n.strokeOpacity?(v=e.globalAlpha,e.globalAlpha=n.strokeOpacity*n.opacity,e.stroke(),e.globalAlpha=v):e.stroke())}function E(t,e){e.image=t}function M(t,e,n,r){var i=n.x||0,a=n.y||0,o=n.textAlign,s=n.textVerticalAlign;if(r){var l=n.textPosition;if(l instanceof Array)i=r.x+P(l[0],r.width),a=r.y+P(l[1],r.height);else{var u=e&&e.calculateTextPosition?e.calculateTextPosition(x,n,r):c.calculateTextPosition(x,n,r);i=u.x,a=u.y,o=o||u.textAlign,s=s||u.textVerticalAlign}var h=n.textOffset;h&&(i+=h[0],a+=h[1])}return(t=t||{}).baseX=i,t.baseY=a,t.textAlign=o,t.textVerticalAlign=s,t}function I(t,e,n){return t[e]=d(t,e,n),t[e]}function D(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function O(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function P(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function L(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}e.normalizeTextStyle=function(t){return k(t),o(t.rich,k),t},e.renderText=function(t,e,n,r,i,a){r.rich?function(t,e,n,r,i,a){a!==v&&(e.__attrCachedBy=g.NONE);var o=t.__textCotentBlock;o&&!t.__dirtyText||(o=t.__textCotentBlock=c.parseRichText(n,r)),function(t,e,n,r,i){var a=n.width,o=n.outerWidth,s=n.outerHeight,l=r.textPadding,u=M(w,t,r,i),h=u.baseX,f=u.baseY,d=u.textAlign,p=u.textVerticalAlign;S(e,r,i,h,f);var g=c.adjustTextX(h,o,d),v=c.adjustTextY(f,s,p),m=g,y=v;l&&(m+=l[3],y+=l[0]);var _=m+a;A(r)&&T(t,e,r,g,v,o,s);for(var b=0;b=0&&"right"===(x=E[N]).textAlign;)C(t,e,x,r,D,y,R,"right"),O-=x.width,R-=x.width,N--;for(L+=(a-(L-m)-(_-R)-O)/2;P<=N;)C(t,e,x=E[P],r,D,y,L+x.width/2,"center"),L+=x.width,P++;y+=D}}(t,e,o,r,i)}(t,e,n,r,i,a):function(t,e,n,r,i,a){"use strict";var o,s=A(r),l=!1,u=e.__attrCachedBy===g.PLAIN_TEXT;a!==v?(a&&(o=a.style,l=!s&&u&&o),e.__attrCachedBy=s?g.NONE:g.PLAIN_TEXT):u&&(e.__attrCachedBy=g.NONE);var h=r.font||m;l&&h===(o.font||m)||(e.font=h);var f=t.__computedFont;t.__styleFont!==h&&(t.__styleFont=h,f=t.__computedFont=e.font);var p=r.textPadding,y=t.__textCotentBlock;y&&!t.__dirtyText||(y=t.__textCotentBlock=c.parsePlainText(n,f,p,r.textLineHeight,r.truncate));var _=y.outerHeight,x=y.lines,k=y.lineHeight,C=M(w,t,r,i),E=C.baseX,I=C.baseY,P=C.textAlign||"left",R=C.textVerticalAlign;S(e,r,i,E,I);var N=c.adjustTextY(I,_,R),z=E,F=N;if(s||p){var B=c.getWidth(n,f);p&&(B+=p[1]+p[3]);var V=c.adjustTextX(E,B,P);s&&T(t,e,r,V,N,B,_),p&&(z=L(E,P,p),F+=p[0])}e.textAlign=P,e.textBaseline="middle",e.globalAlpha=r.opacity||1;for(var j=0;j1e4||!this._symbolDraw.isPersistent())return{update:!0};var i=o().reset(t);i.progress&&i.progress({start:0,end:r.count()},r),this._symbolDraw.updateLayout(r)},_getClipShape:function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},_updateSymbolDraw:function(t,e){var n=this._symbolDraw,r=e.pipelineContext.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new a:new i,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},remove:function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},dispose:function(){}})},q3GZ:function(t,e){var n=["lineStyle","normal","opacity"];t.exports={seriesType:"parallel",reset:function(t,e,r){var i=t.getModel("itemStyle"),a=t.getModel("lineStyle"),o=e.get("color"),s=a.get("color")||i.get("color")||o[t.seriesIndex%o.length],l=t.get("inactiveOpacity"),u=t.get("activeOpacity"),c=t.getModel("lineStyle").getLineStyle(),h=t.coordinateSystem,f=t.getData(),d={normal:c.opacity,active:u,inactive:l};return f.setVisual("color",s),{progress:function(t,e){h.eachActiveState(e,(function(t,r){var i=d[t];if("normal"===t&&e.hasItemOption){var a=e.getItemModel(r).get(n,!0);null!=a&&(i=a)}e.setItemVisual(r,"opacity",i)}),t.start,t.end)}}}}},q4HE:function(t,e){var n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",i="[^\\ud800-\\udfff]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",o="[\\ud800-\\udbff][\\udc00-\\udfff]",s="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?"+s+"(?:\\u200d(?:"+[i,a,o].join("|")+")[\\ufe0e\\ufe0f]?"+s+")*",u="(?:"+[i+n+"?",n,a,o,"[\\ud800-\\udfff]"].join("|")+")",c=RegExp(r+"(?="+r+")|"+u+l,"g");t.exports=function(t){for(var e=c.lastIndex=0;c.test(t);)++e;return e}},q92V:function(t,e,n){var r=n("dunj"),i=n("V9xz"),a=n("zZ0H");t.exports=function(t){return t&&t.length?r(t,a,i):void 0}},qGSU:function(t,e,n){"use strict";var r=n("b5wT");function i(t){r.forEach(t.nodes(),(function(e){a(t.node(e))})),r.forEach(t.edges(),(function(e){a(t.edge(e))}))}function a(t){var e=t.width;t.width=t.height,t.height=e}function o(t){t.y=-t.y}function s(t){var e=t.x;t.x=t.y,t.y=e}t.exports={adjust:function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||i(t)},undo:function(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||function(t){r.forEach(t.nodes(),(function(e){o(t.node(e))})),r.forEach(t.edges(),(function(e){var n=t.edge(e);r.forEach(n.points,o),r.has(n,"y")&&o(n)}))}(t),"lr"!==e&&"rl"!==e||(function(t){r.forEach(t.nodes(),(function(e){s(t.node(e))})),r.forEach(t.edges(),(function(e){var n=t.edge(e);r.forEach(n.points,s),r.has(n,"x")&&s(n)}))}(t),i(t))}}},qH13:function(t,e,n){var r=n("ItGF"),i=n("QBsz").applyTransform,a=n("mFDi"),o=n("Qe9p"),s=n("6GrX"),l=n("pzxd"),u=n("ni6a"),c=n("Gev7"),h=n("Dagg"),f=n("dqUG"),d=n("y+Vt"),p=n("IMiH"),g=n("QuXc"),v=n("06Qe"),m=p.CMD,y=Math.round,_=Math.sqrt,b=Math.abs,x=Math.cos,w=Math.sin,k=Math.max;if(!r.canvasSupported){var S=21600,C=S/2,A=function(t){t.style.cssText="position:absolute;left:0;top:0;width:1px;height:1px;",t.coordsize=S+","+S,t.coordorigin="0,0"},T=function(t,e,n){return"rgb("+[t,e,n].join(",")+")"},E=function(t,e){e&&t&&e.parentNode!==t&&t.appendChild(e)},M=function(t,e){e&&t&&e.parentNode===t&&t.removeChild(e)},I=function(t,e,n){return 1e5*(parseFloat(t)||0)+1e3*(parseFloat(e)||0)+n},D=l.parsePercent,O=function(t,e,n){var r=o.parse(e);n=+n,isNaN(n)&&(n=1),r&&(t.color=T(r[0],r[1],r[2]),t.opacity=n*r[3])},P=function(t,e,n,r){var a="fill"===e,s=t.getElementsByTagName(e)[0];null!=n[e]&&"none"!==n[e]&&(a||!a&&n.lineWidth)?(t[a?"filled":"stroked"]="true",n[e]instanceof g&&M(t,s),s||(s=v.createNode(e)),a?function(t,e,n){var r,a=e.fill;if(null!=a)if(a instanceof g){var s,l=0,u=[0,0],c=0,h=1,f=n.getBoundingRect(),d=f.width,p=f.height;if("linear"===a.type){s="gradient";var v=[a.x*d,a.y*p],m=[a.x2*d,a.y2*p];(y=n.transform)&&(i(v,v,y),i(m,m,y)),(l=180*Math.atan2(m[0]-v[0],m[1]-v[1])/Math.PI)<0&&(l+=360),l<1e-6&&(l=0)}else{s="gradientradial";var y,_=n.scale,b=d,x=p;u=[((v=[a.x*d,a.y*p])[0]-f.x)/b,(v[1]-f.y)/x],(y=n.transform)&&i(v,v,y);var w=k(b/=_[0]*S,x/=_[1]*S);h=2*a.r/w-(c=0/w)}var C=a.colorStops.slice();C.sort((function(t,e){return t.offset-e.offset}));for(var A=C.length,E=[],M=[],I=0;I=2){var L=E[0][0],R=E[1][0],N=E[0][1]*e.opacity,z=E[1][1]*e.opacity;t.type=s,t.method="none",t.focus="100%",t.angle=l,t.color=L,t.color2=R,t.colors=M.join(","),t.opacity=z,t.opacity2=N}"radial"===s&&(t.focusposition=u.join(","))}else O(t,a,e.opacity)}(s,n,r):function(t,e){e.lineDash&&(t.dashstyle=e.lineDash.join(" ")),null==e.stroke||e.stroke instanceof g||O(t,e.stroke,e.opacity)}(s,n),E(t,s)):(t[a?"filled":"stroked"]="false",M(t,s))},L=[[],[],[]];d.prototype.brushVML=function(t){var e=this.style,n=this._vmlEl;n||(n=v.createNode("shape"),A(n),this._vmlEl=n),P(n,"fill",e,this),P(n,"stroke",e,this);var r=this.transform,a=null!=r,o=n.getElementsByTagName("stroke")[0];if(o){var s=e.lineWidth;a&&!e.strokeNoScale&&(s*=_(b(r[0]*r[3]-r[1]*r[2]))),o.weight=s+"px"}var l=this.path||(this.path=new p);this.__dirtyPath&&(l.beginPath(),l.subPixelOptimize=!1,this.buildPath(l,this.shape),l.toStatic(),this.__dirtyPath=!1),n.path=function(t,e){var n,r,a,o,s,l,u=m.M,c=m.C,h=m.L,f=m.A,d=m.Q,p=[],g=t.data,v=t.len();for(o=0;o.01?Y&&(H+=.0125):Math.abs(U-z)<1e-4?Y&&HN?T-=.0125:T+=.0125:Y&&Uz?A+=.0125:A-=.0125),p.push(G,y(((N-F)*O+I)*S-C),",",y(((z-B)*P+D)*S-C),",",y(((N+F)*O+I)*S-C),",",y(((z+B)*P+D)*S-C),",",y((H*O+I)*S-C),",",y((U*P+D)*S-C),",",y((A*O+I)*S-C),",",y((T*P+D)*S-C)),s=A,l=T;break;case m.R:var q=L[0],W=L[1];q[0]=g[o++],q[1]=g[o++],W[0]=q[0]+g[o++],W[1]=q[1]+g[o++],e&&(i(q,q,e),i(W,W,e)),q[0]=y(q[0]*S-C),W[0]=y(W[0]*S-C),q[1]=y(q[1]*S-C),W[1]=y(W[1]*S-C),p.push(" m ",q[0],",",q[1]," l ",W[0],",",q[1]," l ",W[0],",",W[1]," l ",q[0],",",W[1]);break;case m.Z:p.push(" x ")}if(n>0){p.push(r);for(var Z=0;Z100&&(z=0,N={});var n,r=F.style;try{r.font=t,n=r.fontFamily.split(",")[0]}catch(i){}e={style:r.fontStyle||"normal",variant:r.fontVariant||"normal",weight:r.fontWeight||"normal",size:0|parseFloat(r.fontSize||12),family:n||"Microsoft YaHei"},N[t]=e,z++}return e}(a.font),x=b.style+" "+b.variant+" "+b.weight+" "+b.size+'px "'+b.family+'"';n=n||s.getBoundingRect(o,x,m,_,a.textPadding,a.textLineHeight);var w=this.transform;if(w&&!r&&(B.copy(e),B.applyTransform(w),e=B),r)p=e.x,g=e.y;else{var k=a.textPosition;if(k instanceof Array)p=e.x+D(k[0],e.width),g=e.y+D(k[1],e.height),m=m||"left";else{var S=this.calculateTextPosition?this.calculateTextPosition({},a,e):s.calculateTextPosition({},a,e);p=S.x,g=S.y,m=m||S.textAlign,_=_||S.textVerticalAlign}}p=s.adjustTextX(p,n.width,m),g=s.adjustTextY(g,n.height,_),g+=n.height/2;var C,T,M,O=v.createNode,L=this._textVmlEl;L?T=(C=(M=L.firstChild).nextSibling).nextSibling:(L=O("line"),C=O("path"),T=O("textpath"),M=O("skew"),T.style["v-text-align"]="left",A(L),C.textpathok=!0,T.on=!0,L.from="0 0",L.to="1000 0.05",E(L,M),E(L,C),E(L,T),this._textVmlEl=L);var R=[p,g],V=L.style;w&&r?(i(R,R,w),M.on=!0,M.matrix=w[0].toFixed(3)+","+w[2].toFixed(3)+","+w[1].toFixed(3)+","+w[3].toFixed(3)+",0,0",M.offset=(y(R[0])||0)+","+(y(R[1])||0),M.origin="0 0",V.left="0px",V.top="0px"):(M.on=!1,V.left=y(p)+"px",V.top=y(g)+"px"),T.string=String(o).replace(/&/g,"&").replace(/"/g,""");try{T.style.font=x}catch(j){}P(L,"fill",{fill:a.textFill,opacity:a.opacity},this),P(L,"stroke",{stroke:a.textStroke,opacity:a.opacity,lineDash:a.lineDash||null},this),L.style.zIndex=I(this.zlevel,this.z,this.z2),E(t,L)}},j=function(t){M(t,this._textVmlEl),this._textVmlEl=null},Y=function(t){E(t,this._textVmlEl)},H=[u,c,h,d,f],U=0;Uh?h=d:(f.lastTickCount=r,f.lastAutoInterval=h),h}},r.inherits(s,a),t.exports=s},qZTm:function(t,e,n){var r=n("fR/l"),i=n("MvSz"),a=n("7GkX");t.exports=function(t){return r(t,a,i)}},qgGe:function(t,e,n){var r=n("bYtY"),i=n("T4UG"),a=n("Bsck"),o=n("VaxA").wrapTreePathInfo,s=i.extend({type:"series.sunburst",_viewRoot:null,getInitialData:function(t,e){var n={name:t.name,children:t.data};!function t(e){var n=0;r.each(e.children,(function(e){t(e);var i=e.value;r.isArray(i)&&(i=i[0]),n+=i}));var i=e.value;r.isArray(i)&&(i=i[0]),(null==i||isNaN(i))&&(i=n),i<0&&(i=0),r.isArray(e.value)?e.value[0]=i:e.value=i}(n);var i={};return i.levels=t.levels||[],a.createTree(n,this,i).data},optionUpdated:function(){this.resetViewRoot()},getDataParams:function(t){var e=i.prototype.getDataParams.apply(this,arguments),n=this.getData().tree.getNodeByDataIndex(t);return e.treePathInfo=o(n,this),e},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,emphasis:{}},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1,emphasis:{},highlight:{opacity:1},downplay:{opacity:.9}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicOut",data:[],levels:[],sort:"desc"},getViewRoot:function(){return this._viewRoot},resetViewRoot:function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)}});t.exports=s},qj72:function(t,e,n){var r=n("bYtY");function i(t,e){return e=e||[0,0],r.map(["x","y"],(function(n,r){var i=this.getAxis(n),a=e[r],o=t[r]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(a-o)-i.dataToCoord(a+o))}),this)}t.exports=function(t){var e=t.grid.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:r.bind(i,t)}}}},"qt/9":function(t,e,n){var r=n("ProS"),i=n("bYtY");n("Wqna"),n("1tlw"),n("Mylv");var a=n("nVfU").layout,o=n("f5Yq");n("Ae16"),r.registerLayout(i.curry(a,"pictorialBar")),r.registerVisual(o("pictorialBar","roundRect"))},quSY:function(t,e,n){"use strict";var r=n("DH7j"),i=n("XoHu"),a=n("n6bG"),o=function(){function t(t){return Error.call(this),this.message=t?"".concat(t.length," errors occurred during unsubscription:\n").concat(t.map((function(t,e){return"".concat(e+1,") ").concat(t.toString())})).join("\n ")):"",this.name="UnsubscriptionError",this.errors=t,this}return t.prototype=Object.create(Error.prototype),t}();n.d(e,"a",(function(){return u}));var s,l,u=((l=function(){function t(e){_classCallCheck(this,t),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}return _createClass2(t,[{key:"unsubscribe",value:function(){var e;if(!this.closed){var n=this._parentOrParents,s=this._unsubscribe,l=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof t)n.remove(this);else if(null!==n)for(var u=0;u=0&&(this.delFromStorage(t),this._roots.splice(o,1),t instanceof a&&t.delChildrenFromStorage(this))}},addToStorage:function(t){return t&&(t.__storage=this,t.dirty(!1)),this},delFromStorage:function(t){return t&&(t.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:s},t.exports=l},rA99:function(t,e,n){var r=n("y+Vt"),i=n("QBsz"),a=n("Sj9i"),o=a.quadraticSubdivide,s=a.cubicSubdivide,l=a.quadraticAt,u=a.cubicAt,c=a.quadraticDerivativeAt,h=a.cubicDerivativeAt,f=[];function d(t,e,n){return null===t.cpx2||null===t.cpy2?[(n?h:u)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?h:u)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?c:l)(t.x1,t.cpx1,t.x2,e),(n?c:l)(t.y1,t.cpy1,t.y2,e)]}var p=r.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(t,e){var n=e.x1,r=e.y1,i=e.x2,a=e.y2,l=e.cpx1,u=e.cpy1,c=e.cpx2,h=e.cpy2,d=e.percent;0!==d&&(t.moveTo(n,r),null==c||null==h?(d<1&&(o(n,l,i,d,f),l=f[1],i=f[2],o(r,u,a,d,f),u=f[1],a=f[2]),t.quadraticCurveTo(l,u,i,a)):(d<1&&(s(n,l,c,i,d,f),l=f[1],c=f[2],i=f[3],s(r,u,h,a,d,f),u=f[1],h=f[2],a=f[3]),t.bezierCurveTo(l,u,c,h,i,a)))},pointAt:function(t){return d(this.shape,t,!1)},tangentAt:function(t){var e=d(this.shape,t,!0);return i.normalize(e,e)}});t.exports=p},rEGp:function(t,e){t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},rdor:function(t,e,n){var r=n("lOQZ").circularLayout;t.exports=function(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&r(t,"symbolSize")}))}},rfSb:function(t,e,n){var r=n("T4UG"),i=n("sdST"),a=n("L0Ub").getDimensionTypeByAxis,o=n("YXkt"),s=n("bYtY"),l=n("4NO4").groupData,u=n("7aKB").encodeHTML,c=n("xKMd"),h=r.extend({type:"series.themeRiver",dependencies:["singleAxis"],nameMap:null,init:function(t){h.superApply(this,"init",arguments),this.legendVisualProvider=new c(s.bind(this.getData,this),s.bind(this.getRawData,this))},fixData:function(t){var e=t.length,n=l(t,(function(t){return t[2]})),r=[];n.buckets.each((function(t,e){r.push({name:e,dataList:t})}));for(var i=r.length,a=-1,o=-1,s=0;sa&&(a=u,o=s)}for(var c=0;c3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},_onZoom:function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;var a=new c(i.x,i.y,i.width,i.height),o=this.seriesModel.layoutInfo;e-=o.x,n-=o.y;var s=h.create();h.translate(s,s,[-e,-n]),h.scale(s,s,[t.scale,t.scale]),h.translate(s,s,[e,n]),a.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},_initEvents:function(t){t.on("click",(function(t){if("ready"===this._state){var e=this.seriesModel.get("nodeClick",!0);if(e){var n=this.findTarget(t.offsetX,t.offsetY);if(n){var r=n.node;if(r.getLayout().isLeafRoot)this._rootToNode(n);else if("zoomToNode"===e)this._zoomToNode(n);else if("link"===e){var i=r.hostTree.data.getItemModel(r.dataIndex),a=i.get("link",!0),o=i.get("target",!0)||"blank";a&&window.open(a,o)}}}}}),this)},_renderBreadcrumb:function(t,e,n){n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new l(this.group))).render(t,e,n.node,p((function(e){"animating"!==this._state&&(s.aboveViewRoot(t.getViewRoot(),e)?this._rootToNode({node:e}):this._zoomToNode({node:e}))}),this))},remove:function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},dispose:function(){this._clearController()},_zoomToNode:function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},_rootToNode:function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},findTarget:function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(r){var i=this._storage.background[r.getRawIndex()];if(i){var a=i.transformCoordToLocal(t,e),o=i.shape;if(!(o.x<=a[0]&&a[0]<=o.x+o.width&&o.y<=a[1]&&a[1]<=o.y+o.height))return!1;n={node:r,offsetX:a[0],offsetY:a[1]}}}),this),n}});function C(t,e,n,r,o,s,l,u,c,h){if(l){var f=l.getLayout(),d=t.getData();if(d.setItemGraphicEl(l.dataIndex,null),f&&f.isInView){var p=f.width,m=f.height,S=f.borderWidth,C=f.invisible,T=l.getRawIndex(),E=u&&u.getRawIndex(),M=l.viewChildren,I=f.upperHeight,D=M&&M.length,O=l.getModel("itemStyle"),P=l.getModel("emphasis.itemStyle"),L=V("nodeGroup",g);if(L){if(c.add(L),L.attr("position",[f.x||0,f.y||0]),L.__tmNodeWidth=p,L.__tmNodeHeight=m,f.isAboveViewRoot)return L;var R=l.getModel(),N=V("background",v,h,1);if(N&&function(e,n,r){if(n.dataIndex=l.dataIndex,n.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:p,height:m}),C)F(n);else{n.invisible=!1;var i=l.getVisual("borderColor",!0),o=P.get("borderColor"),s=k(O);s.fill=i;var u=w(P);if(u.fill=o,r){var c=p-2*S;B(s,u,i,c,I,{x:S,y:0,width:c,height:I})}else s.text=u.text=null;n.setStyle(s),a.setElementHoverStyle(n,u)}e.add(n)}(L,N,D&&f.upperHeight),D)a.isHighDownDispatcher(L)&&a.setAsHighDownDispatcher(L,!1),N&&(a.setAsHighDownDispatcher(N,!0),d.setItemGraphicEl(l.dataIndex,N));else{var z=V("content",v,h,2);z&&function(e,n){n.dataIndex=l.dataIndex,n.seriesIndex=t.seriesIndex;var r=Math.max(p-2*S,0),i=Math.max(m-2*S,0);if(n.culling=!0,n.setShape({x:S,y:S,width:r,height:i}),C)F(n);else{n.invisible=!1;var o=l.getVisual("color",!0),s=k(O);s.fill=o;var u=w(P);B(s,u,o,r,i),n.setStyle(s),a.setElementHoverStyle(n,u)}e.add(n)}(L,z),N&&a.isHighDownDispatcher(N)&&a.setAsHighDownDispatcher(N,!1),a.setAsHighDownDispatcher(L,!0),d.setItemGraphicEl(l.dataIndex,L)}return L}}}function F(t){!t.invisible&&s.push(t)}function B(e,n,r,o,s,u){var c=i.retrieve(t.getFormattedLabel(l.dataIndex,"normal",null,null,u?"upperLabel":"label"),R.get("name"));if(!u&&f.isLeafRoot){var h=t.get("drillDownIcon",!0);c=h?h+" "+c:c}var d=R.getModel(u?b:y),p=R.getModel(u?x:_),g=d.getShallow("show");a.setLabelStyle(e,n,d,p,{defaultText:g?c:null,autoColor:r,isRectText:!0}),u&&(e.textRect=i.clone(u)),e.truncate=g&&d.get("ellipsis")?{outerWidth:o,outerHeight:s,minChar:2}:null}function V(t,a,s,u){var c=null!=E&&n[t][E],h=o[t];return c?(n[t][E]=null,function(t,e,n){(t[T]={}).old="nodeGroup"===n?e.position.slice():i.extend({},e.shape)}(h,c,t)):C||((c=new a({z:A(s,u)})).__tmDepth=s,c.__tmStorageName=t,function(t,e,n){var i=t[T]={},a=l.parentNode;if(a&&(!r||"drillDown"===r.direction)){var s=0,u=0,c=o.background[a.getRawIndex()];!r&&c&&c.old&&(s=c.old.width,u=c.old.height),i.old="nodeGroup"===n?[0,u]:{x:s,y:u,width:0,height:0}}i.fadein="nodeGroup"!==n}(h,0,t)),e[t][T]=c}}function A(t,e){var n=10*t+e;return(n-1)/n}t.exports=S},sAZ8:function(t,e,n){var r=n("ProS"),i=n("bYtY"),a=n("+rIm"),o=n("/IIm"),s=n("9KIM"),l=n("IwbS"),u=["axisLine","axisTickLabel","axisName"],c=r.extendComponentView({type:"parallelAxis",init:function(t,e){c.superApply(this,"init",arguments),(this._brushController=new o(e.getZr())).on("brush",i.bind(this._onBrush,this))},render:function(t,e,n,r){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,r)){this.axisModel=t,this.api=n,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new l.Group,this.group.add(this._axisGroup),t.get("show")){var s=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),c=s.coordinateSystem,h=t.getAreaSelectStyle(),f=h.width,d=c.getAxisLayout(t.axis.dim),p=i.extend({strokeContainThreshold:f},d),g=new a(t,p);i.each(u,g.add,g),this._axisGroup.add(g.getGroup()),this._refreshBrushController(p,h,t,s,f,n),l.groupTransition(o,this._axisGroup,r&&!1===r.animation?null:t)}}},_refreshBrushController:function(t,e,n,r,a,o){var u=n.axis.getExtent(),c=u[1]-u[0],h=Math.min(30,.1*Math.abs(c)),f=l.BoundingRect.create({x:u[0],y:-a/2,width:c,height:a});f.x-=h,f.width+=2*h,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,position:t.position}).setPanels([{panelId:"pl",clipPath:s.makeRectPanelClipPath(f),isTargetByCursor:s.makeRectIsTargetByCursor(f,o,r),getLinearBrushOtherExtent:s.makeLinearBrushOtherExtent(f,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return i.map(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}(n))},_onBrush:function(t,e){var n=this.axisModel,r=n.axis,a=i.map(t,(function(t){return[r.coordToData(t.range[0],!0),r.coordToData(t.range[1],!0)]}));(!n.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:a})},dispose:function(){this._brushController.dispose()}});t.exports=c},sEf8:function(t,e){t.exports=function(t){return function(e){return t(e)}}},"sK/D":function(t,e,n){var r=n("IwbS"),i=n("OELB").round;function a(t,e,n){var i=t.getArea(),a=t.getBaseAxis().isHorizontal(),o=i.x,s=i.y,l=i.width,u=i.height,c=n.get("lineStyle.width")||2,h=new r.Rect({shape:{x:o-=c/2,y:s-=c/2,width:l+=c,height:u+=c}});return e&&(h.shape[a?"width":"height"]=0,r.initProps(h,{shape:{width:l,height:u}},n)),h}function o(t,e,n){var a=t.getArea(),o=new r.Sector({shape:{cx:i(t.cx,1),cy:i(t.cy,1),r0:i(a.r0,1),r:i(a.r,1),startAngle:a.startAngle,endAngle:a.endAngle,clockwise:a.clockwise}});return e&&(o.shape.endAngle=a.startAngle,r.initProps(o,{shape:{endAngle:a.endAngle}},n)),o}e.createGridClipPath=a,e.createPolarClipPath=o,e.createClipPath=function(t,e,n){return t?"polar"===t.type?o(t,e,n):"cartesian2d"===t.type?a(t,e,n):null:null}},sRwP:function(t,e,n){n("jsU+"),n("2548"),n("Tp9H"),n("06DH"),n("dnwI"),n("fE02"),n("33Ds")},"sS/r":function(t,e,n){var r=n("4fz+"),i=n("iRjW"),a=n("Yl7c"),o=function(){this.group=new r,this.uid=i.getUID("viewComponent")},s=o.prototype={constructor:o,init:function(t,e){},render:function(t,e,n,r){},dispose:function(){},filterForExposedEvent:null};s.updateView=s.updateLayout=s.updateVisual=function(t,e,n,r){},a.enableClassExtend(o),a.enableClassManagement(o,{registerWhenExtend:!0}),t.exports=o},"sW+o":function(t,e,n){var r=n("SrGk"),i=n("bYtY"),a=n("SUKs"),o=n("Qe9p");function s(t,e){r.call(this,t,e,["linearGradient","radialGradient"],"__gradient_in_use__")}i.inherits(s,r),s.prototype.addWithoutUpdate=function(t,e){if(e&&e.style){var n=this;i.each(["fill","stroke"],(function(r){if(e.style[r]&&("linear"===e.style[r].type||"radial"===e.style[r].type)){var i,a=e.style[r],o=n.getDefs(!0);a._dom?(i=a._dom,o.contains(a._dom)||n.addDom(i)):i=n.add(a),n.markUsed(e);var s=i.getAttribute("id");t.setAttribute(r,"url(#"+s+")")}}))}},s.prototype.add=function(t){var e;if("linear"===t.type)e=this.createElement("linearGradient");else{if("radial"!==t.type)return a("Illegal gradient type."),null;e=this.createElement("radialGradient")}return t.id=t.id||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-gradient-"+t.id),this.updateDom(t,e),this.addDom(e),e},s.prototype.update=function(t){var e=this;r.prototype.update.call(this,t,(function(){var n=t.type,r=t._dom.tagName;"linear"===n&&"linearGradient"===r||"radial"===n&&"radialGradient"===r?e.updateDom(t,t._dom):(e.removeDom(t),e.add(t))}))},s.prototype.updateDom=function(t,e){if("linear"===t.type)e.setAttribute("x1",t.x),e.setAttribute("y1",t.y),e.setAttribute("x2",t.x2),e.setAttribute("y2",t.y2);else{if("radial"!==t.type)return void a("Illegal gradient type.");e.setAttribute("cx",t.x),e.setAttribute("cy",t.y),e.setAttribute("r",t.r)}e.setAttribute("gradientUnits",t.global?"userSpaceOnUse":"objectBoundingBox"),e.innerHTML="";for(var n=t.colorStops,r=0,i=n.length;r-1&&t%1==0&&t<=9007199254740991}},sjEL:function(t,e,n){(function(t){t.exports=function(){"use strict";var e,r;function i(){return e.apply(null,arguments)}function a(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function o(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function s(t){return void 0===t}function l(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function u(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function c(t,e){var n,r=[];for(n=0;n>>0,r=0;rvt(t)?(a=t+1,s-vt(t)):(a=t,s),{year:a,dayOfYear:o}}function Rt(t,e,n){var r,i,a=Pt(t.year(),e,n),o=Math.floor((t.dayOfYear()-a-1)/7)+1;return o<1?r=o+Nt(i=t.year()-1,e,n):o>Nt(t.year(),e,n)?(r=o-Nt(t.year(),e,n),i=t.year()+1):(i=t.year(),r=o),{week:r,year:i}}function Nt(t,e,n){var r=Pt(t,e,n),i=Pt(t+1,e,n);return(vt(t)-r+i)/7}function zt(t,e){return t.slice(e,7).concat(t.slice(0,e))}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),L("week","w"),L("isoWeek","W"),F("week",5),F("isoWeek",5),ct("w",Q),ct("ww",Q,Z),ct("W",Q),ct("WW",Q,Z),gt(["w","ww","W","WW"],(function(t,e,n,r){e[r.substr(0,1)]=k(t)})),U("d",0,"do","day"),U("dd",0,0,(function(t){return this.localeData().weekdaysMin(this,t)})),U("ddd",0,0,(function(t){return this.localeData().weekdaysShort(this,t)})),U("dddd",0,0,(function(t){return this.localeData().weekdays(this,t)})),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),L("day","d"),L("weekday","e"),L("isoWeekday","E"),F("day",11),F("weekday",11),F("isoWeekday",11),ct("d",Q),ct("e",Q),ct("E",Q),ct("dd",(function(t,e){return e.weekdaysMinRegex(t)})),ct("ddd",(function(t,e){return e.weekdaysShortRegex(t)})),ct("dddd",(function(t,e){return e.weekdaysRegex(t)})),gt(["dd","ddd","dddd"],(function(t,e,n,r){var i=n._locale.weekdaysParse(t,r,n._strict);null!=i?e.d=i:p(n).invalidWeekday=t})),gt(["d","e","E"],(function(t,e,n,r){e[r]=k(t)}));var Ft="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Bt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Vt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),jt=lt,Yt=lt,Ht=lt;function Ut(){function t(t,e){return e.length-t.length}var e,n,r,i,a,o=[],s=[],l=[],u=[];for(e=0;e<7;e++)n=d([2e3,1]).day(e),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(r),s.push(i),l.push(a),u.push(r),u.push(i),u.push(a);for(o.sort(t),s.sort(t),l.sort(t),u.sort(t),e=0;e<7;e++)s[e]=ft(s[e]),l[e]=ft(l[e]),u[e]=ft(u[e]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Gt(){return this.hours()%12||12}function qt(t,e){U(t,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)}))}function Wt(t,e){return e._meridiemParse}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,Gt),U("k",["kk",2],0,(function(){return this.hours()||24})),U("hmm",0,0,(function(){return""+Gt.apply(this)+B(this.minutes(),2)})),U("hmmss",0,0,(function(){return""+Gt.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)})),U("Hmm",0,0,(function(){return""+this.hours()+B(this.minutes(),2)})),U("Hmmss",0,0,(function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)})),qt("a",!0),qt("A",!1),L("hour","h"),F("hour",13),ct("a",Wt),ct("A",Wt),ct("H",Q),ct("h",Q),ct("k",Q),ct("HH",Q,Z),ct("hh",Q,Z),ct("kk",Q,Z),ct("hmm",J),ct("hmmss",tt),ct("Hmm",J),ct("Hmmss",tt),pt(["H","HH"],3),pt(["k","kk"],(function(t,e,n){var r=k(t);e[3]=24===r?0:r})),pt(["a","A"],(function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t})),pt(["h","hh"],(function(t,e,n){e[3]=k(t),p(n).bigHour=!0})),pt("hmm",(function(t,e,n){var r=t.length-2;e[3]=k(t.substr(0,r)),e[4]=k(t.substr(r)),p(n).bigHour=!0})),pt("hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[3]=k(t.substr(0,r)),e[4]=k(t.substr(r,2)),e[5]=k(t.substr(i)),p(n).bigHour=!0})),pt("Hmm",(function(t,e,n){var r=t.length-2;e[3]=k(t.substr(0,r)),e[4]=k(t.substr(r))})),pt("Hmmss",(function(t,e,n){var r=t.length-4,i=t.length-2;e[3]=k(t.substr(0,r)),e[4]=k(t.substr(r,2)),e[5]=k(t.substr(i))}));var Zt,$t=bt("Hours",!0),Xt={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,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"},months:Ct,monthsShort:At,week:{dow:0,doy:6},weekdays:Ft,weekdaysMin:Vt,weekdaysShort:Bt,meridiemParse:/[ap]\.?m?\.?/i},Kt={},Qt={};function Jt(t){return t?t.toLowerCase().replace("_","-"):t}function te(e){var r=null;if(!Kt[e]&&void 0!==t&&t&&t.exports)try{r=Zt._abbr,n("Lw2E")("./"+e),ee(r)}catch(e){}return Kt[e]}function ee(t,e){var n;return t&&((n=s(e)?re(t):ne(t,e))?Zt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Zt._abbr}function ne(t,e){if(null===e)return delete Kt[t],null;var n,r=Xt;if(e.abbr=t,null!=Kt[t])M("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Kt[t]._config;else if(null!=e.parentLocale)if(null!=Kt[e.parentLocale])r=Kt[e.parentLocale]._config;else{if(null==(n=te(e.parentLocale)))return Qt[e.parentLocale]||(Qt[e.parentLocale]=[]),Qt[e.parentLocale].push({name:t,config:e}),null;r=n._config}return Kt[t]=new O(D(r,e)),Qt[t]&&Qt[t].forEach((function(t){ne(t.name,t.config)})),ee(t),Kt[t]}function re(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Zt;if(!a(t)){if(e=te(t))return e;t=[t]}return function(t){for(var e,n,r,i,a=0;a=e&&S(i,n,!0)>=e-1)break;e--}a++}return Zt}(t)}function ie(t){var e,n=t._a;return n&&-2===p(t).overflow&&(e=n[1]<0||11kt(n[0],n[1])?2:n[3]<0||24Nt(n,a,o)?p(t)._overflowWeeks=!0:null!=l?p(t)._overflowWeekday=!0:(s=Lt(n,r,i,a,o),t._a[0]=s.year,t._dayOfYear=s.dayOfYear)}(t),null!=t._dayOfYear&&(o=ae(t._a[0],r[0]),(t._dayOfYear>vt(o)||0===t._dayOfYear)&&(p(t)._overflowDayOfYear=!0),n=Ot(o,0,t._dayOfYear),t._a[1]=n.getUTCMonth(),t._a[2]=n.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=s[e]=r[e];for(;e<7;e++)t._a[e]=s[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[3]&&0===t._a[4]&&0===t._a[5]&&0===t._a[6]&&(t._nextDay=!0,t._a[3]=0),t._d=(t._useUTC?Ot:function(t,e,n,r,i,a,o){var s;return t<100&&0<=t?(s=new Date(t+400,e,n,r,i,a,o),isFinite(s.getFullYear())&&s.setFullYear(t)):s=new Date(t,e,n,r,i,a,o),s}).apply(null,s),a=t._useUTC?t._d.getUTCDay():t._d.getDay(),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[3]=24),t._w&&void 0!==t._w.d&&t._w.d!==a&&(p(t).weekdayMismatch=!0)}}var se=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,le=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ue=/Z|[+-]\d\d(?::?\d\d)?/,ce=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],he=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],fe=/^\/?Date\((\-?\d+)/i;function de(t){var e,n,r,i,a,o,s=t._i,l=se.exec(s)||le.exec(s);if(l){for(p(t).iso=!0,e=0,n=ce.length;en.valueOf():n.valueOf()this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},on.isLocal=function(){return!!this.isValid()&&!this._isUTC},on.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},on.isUtc=Pe,on.isUTC=Pe,on.zoneAbbr=function(){return this._isUTC?"UTC":""},on.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},on.dates=A("dates accessor is deprecated. Use date instead.",Je),on.months=A("months accessor is deprecated. Use month instead",Et),on.years=A("years accessor is deprecated. Use year instead",_t),on.zone=A("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(t,e){return null!=t?("string"!=typeof t&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()})),on.isDSTShifted=A("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!s(this._isDSTShifted))return this._isDSTShifted;var t={};if(y(t,this),(t=ye(t))._a){var e=t._isUTC?d(t._a):be(t._a);this._isDSTShifted=this.isValid()&&0e[0]&&(e=e.slice().reverse());var r=t.coordToPoint([e[0],n]),i=t.coordToPoint([e[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function c(t){return t.getRadiusAxis().inverse?0:1}function h(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var f=o.extend({type:"angleAxis",axisPointerClass:"PolarAxisPointer",render:function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,a=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),s=n.getMinorTicksCoords(),u=r.map(n.getViewLabels(),(function(t){return(t=r.clone(t)).coord=n.dataToCoord(t.tickValue),t}));h(u),h(o),r.each(l,(function(e){!t.get(e+".show")||n.scale.isBlank()&&"axisLine"!==e||this["_"+e](t,i,o,s,a,u)}),this)}},_axisLine:function(t,e,n,r,a){var o,s=t.getModel("axisLine.lineStyle"),l=c(e),u=l?0:1;(o=0===a[u]?new i.Circle({shape:{cx:e.cx,cy:e.cy,r:a[l]},style:s.getLineStyle(),z2:1,silent:!0}):new i.Ring({shape:{cx:e.cx,cy:e.cy,r:a[l],r0:a[u]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,this.group.add(o)},_axisTick:function(t,e,n,a,o){var s=t.getModel("axisTick"),l=(s.get("inside")?-1:1)*s.get("length"),h=o[c(e)],f=r.map(n,(function(t){return new i.Line({shape:u(e,[h,h+l],t.coord)})}));this.group.add(i.mergePath(f,{style:r.defaults(s.getModel("lineStyle").getLineStyle(),{stroke:t.get("axisLine.lineStyle.color")})}))},_minorTick:function(t,e,n,a,o){if(a.length){for(var s=t.getModel("axisTick"),l=t.getModel("minorTick"),h=(s.get("inside")?-1:1)*l.get("length"),f=o[c(e)],d=[],p=0;pm?"left":"right",b=Math.abs(v[1]-y)/g<.3?"middle":v[1]>y?"top":"bottom";h&&h[u]&&h[u].textStyle&&(o=new a(h[u].textStyle,f,f.ecModel));var x=new i.Text({silent:s.isLabelSilent(t)});this.group.add(x),i.setTextStyle(x.style,o,{x:v[0],y:v[1],textFill:o.getTextColor()||t.get("axisLine.lineStyle.color"),text:n.formattedLabel,textAlign:_,textVerticalAlign:b}),p&&(x.eventData=s.makeAxisEventDataBase(t),x.eventData.targetType="axisLabel",x.eventData.value=n.rawLabel)}),this)},_splitLine:function(t,e,n,a,o){var s=t.getModel("splitLine").getModel("lineStyle"),l=s.get("color"),c=0;l=l instanceof Array?l:[l];for(var h=[],f=0;fMath.abs(o)*u?(s<0&&(u=-u),n=u*o/s,r=u):(o<0&&(l=-l),n=l,r=l*s/o),{x:i+n,y:a+r}},buildLayerMatrix:function(t){var e=r.map(r.range(o(t)+1),(function(){return[]}));return r.forEach(t.nodes(),(function(n){var i=t.node(n),a=i.rank;r.isUndefined(a)||(e[a][i.order]=n)})),e},normalizeRanks:function(t){var e=r.min(r.map(t.nodes(),(function(e){return t.node(e).rank})));r.forEach(t.nodes(),(function(n){var i=t.node(n);r.has(i,"rank")&&(i.rank-=e)}))},removeEmptyRanks:function(t){var e=r.min(r.map(t.nodes(),(function(e){return t.node(e).rank}))),n=[];r.forEach(t.nodes(),(function(r){var i=t.node(r).rank-e;n[i]||(n[i]=[]),n[i].push(r)}));var i=0,a=t.graph().nodeRankFactor;r.forEach(n,(function(e,n){r.isUndefined(e)&&n%a!=0?--i:i&&r.forEach(e,(function(e){t.node(e).rank+=i}))}))},addBorderNode:function(t,e,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),a(t,"border",i,e)},maxRank:o,partition:function(t,e){var n={lhs:[],rhs:[]};return r.forEach(t,(function(t){e(t)?n.lhs.push(t):n.rhs.push(t)})),n},time:function(t,e){var n=r.now();try{return e()}finally{console.log(t+" time: "+(r.now()-n)+"ms")}},notime:function(t,e){return e()}}},tadb:function(t,e,n){var r=n("Cwc5")(n("Kz5y"),"DataView");t.exports=r},tceW:function(t,e,n){var r=n("KCsZ")([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["stroke","barBorderColor"],["lineWidth","barBorderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]);t.exports={getBarItemStyle:function(t){var e=r(this,t);if(this.getBorderLineDash){var n=this.getBorderLineDash();n&&(e.lineDash=n)}return e}}},txkQ:function(t,e,n){var r=n("aX58");e.zrender=r;var i=n("Fofx");e.matrix=i;var a=n("QBsz");e.vector=a;var o=n("bYtY"),s=n("Qe9p");e.color=s;var l=n("IwbS"),u=n("OELB");e.number=u;var c=n("7aKB");e.format=c;var h=n("iLNv");e.throttle=h.throttle;var f=n("FUi9");e.helper=f;var d=n("vafp");e.parseGeoJSON=d;var p=n("YXkt");e.List=p;var g=n("Qxkt");e.Model=g;var v=n("hM6l");e.Axis=v;var m=n("ItGF");e.env=m;var y=d,_={};o.each(["map","each","filter","indexOf","inherits","reduce","filter","bind","curry","isArray","isString","isObject","isFunction","extend","defaults","clone","merge"],(function(t){_[t]=o[t]}));var b={};o.each(["extendShape","extendPath","makePath","makeImage","mergePath","resizePath","createIcon","setHoverStyle","setLabelStyle","setTextStyle","setText","getFont","updateProps","initProps","getTransform","clipPointsByRect","clipRectByRect","registerShape","getShapeClass","Group","Image","Text","Circle","Sector","Ring","Polygon","Polyline","Rect","Line","BezierCurve","Arc","IncrementalDisplayable","CompoundPath","LinearGradient","RadialGradient","BoundingRect"],(function(t){b[t]=l[t]})),e.parseGeoJson=y,e.util=_,e.graphic=b},tyNb:function(t,e,n){"use strict";var r=n("ofXK"),i=n("fXoL"),a=n("LRne"),o=n("Cfvw"),s=n("XNiG"),l=n("9ppp"),u=function(t){_inherits(n,t);var e=_createSuper(n);function n(t){var r;return _classCallCheck(this,n),(r=e.call(this))._value=t,r}return _createClass2(n,[{key:"_subscribe",value:function(t){var e=_get(_getPrototypeOf(n.prototype),"_subscribe",this).call(this,t);return e&&!e.closed&&t.next(this._value),e}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new l.a;return this._value}},{key:"next",value:function(t){_get(_getPrototypeOf(n.prototype),"next",this).call(this,this._value=t)}},{key:"value",get:function(){return this.getValue()}}]),n}(s.a),c=n("HDdC"),h=function(){function t(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return t.prototype=Object.create(Error.prototype),t}(),f=n("z+Ro"),d=n("DH7j"),p=n("l7GE"),g=n("ZUHj"),v=n("yCtX"),m={},y=function(){function t(e){_classCallCheck(this,t),this.resultSelector=e}return _createClass2(t,[{key:"call",value:function(t,e){return e.subscribe(new _(t,this.resultSelector))}}]),t}(),_=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;return _classCallCheck(this,n),(i=e.call(this,t)).resultSelector=r,i.active=0,i.values=[],i.observables=[],i}return _createClass2(n,[{key:"_next",value:function(t){this.values.push(m),this.observables.push(t)}},{key:"_complete",value:function(){var t=this.observables,e=t.length;if(0===e)this.destination.complete();else{this.active=e,this.toRespond=e;for(var n=0;n0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i0&&void 0!==arguments[0]?arguments[0]:P;return function(e){return e.lift(new D(t))}}var D=function(){function t(e){_classCallCheck(this,t),this.errorFactory=e}return _createClass2(t,[{key:"call",value:function(t,e){return e.subscribe(new O(t,this.errorFactory))}}]),t}(),O=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;return _classCallCheck(this,n),(i=e.call(this,t)).errorFactory=r,i.hasValue=!1,i}return _createClass2(n,[{key:"_next",value:function(t){this.hasValue=!0,this.destination.next(t)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}]),n}(C.a);function P(){return new h}function L(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(e){return e.lift(new R(t))}}var R=function(){function t(e){_classCallCheck(this,t),this.defaultValue=e}return _createClass2(t,[{key:"call",value:function(t,e){return e.subscribe(new N(t,this.defaultValue))}}]),t}(),N=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;return _classCallCheck(this,n),(i=e.call(this,t)).defaultValue=r,i.isEmpty=!0,i}return _createClass2(n,[{key:"_next",value:function(t){this.isEmpty=!1,this.destination.next(t)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(C.a),z=n("SpAZ");function F(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Object(S.a)((function(e,n){return t(e,n,r)})):z.a,T(1),n?L(e):I((function(){return new h})))}}var B=n("51Dv");function V(t){return function(e){var n=new j(t),r=e.lift(n);return n.caught=r}}var j=function(){function t(e){_classCallCheck(this,t),this.selector=e}return _createClass2(t,[{key:"call",value:function(t,e){return e.subscribe(new Y(t,this.selector,this.caught))}}]),t}(),Y=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i){var a;return _classCallCheck(this,n),(a=e.call(this,t)).selector=r,a.caught=i,a}return _createClass2(n,[{key:"error",value:function(t){if(!this.isStopped){var e;try{e=this.selector(t,this.caught)}catch(a){return void _get(_getPrototypeOf(n.prototype),"error",this).call(this,a)}this._unsubscribeAndRecycle();var r=new B.a(this,void 0,void 0);this.add(r);var i=Object(g.a)(this,e,void 0,void 0,r);i!==r&&this.add(i)}}}]),n}(p.a),H=n("IzEk");function U(t,e){var n=arguments.length>=2;return function(r){return r.pipe(t?Object(S.a)((function(e,n){return t(e,n,r)})):z.a,Object(H.a)(1),n?L(e):I((function(){return new h})))}}var G=n("5+tZ"),q=function(){function t(e,n,r){_classCallCheck(this,t),this.predicate=e,this.thisArg=n,this.source=r}return _createClass2(t,[{key:"call",value:function(t,e){return e.subscribe(new W(t,this.predicate,this.thisArg,this.source))}}]),t}(),W=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i,a){var o;return _classCallCheck(this,n),(o=e.call(this,t)).predicate=r,o.thisArg=i,o.source=a,o.index=0,o.thisArg=i||_assertThisInitialized(o),o}return _createClass2(n,[{key:"notifyComplete",value:function(t){this.destination.next(t),this.destination.complete()}},{key:"_next",value:function(t){var e=!1;try{e=this.predicate.call(this.thisArg,t,this.index++,this.source)}catch(n){return void this.destination.error(n)}e||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),n}(C.a),Z=n("eIep"),$=n("JX91");function X(t,e){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new K(t,e,n))}}var K=function(){function t(e,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,t),this.accumulator=e,this.seed=n,this.hasSeed=r}return _createClass2(t,[{key:"call",value:function(t,e){return e.subscribe(new Q(t,this.accumulator,this.seed,this.hasSeed))}}]),t}(),Q=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i,a){var o;return _classCallCheck(this,n),(o=e.call(this,t)).accumulator=r,o._seed=i,o.hasSeed=a,o.index=0,o}return _createClass2(n,[{key:"_next",value:function(t){if(this.hasSeed)return this._tryNext(t);this.seed=t,this.destination.next(t)}},{key:"_tryNext",value:function(t){var e,n=this.index++;try{e=this.accumulator(this.seed,t,n)}catch(r){this.destination.error(r)}this.seed=e,this.destination.next(e)}},{key:"seed",get:function(){return this._seed},set:function(t){this.hasSeed=!0,this._seed=t}}]),n}(C.a);function J(t,e){return Object(G.a)(t,e,1)}var tt=n("mCNh"),et=n("vkgz"),nt=n("quSY"),rt=function(){function t(e){_classCallCheck(this,t),this.callback=e}return _createClass2(t,[{key:"call",value:function(t,e){return e.subscribe(new it(t,this.callback))}}]),t}(),it=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;return _classCallCheck(this,n),(i=e.call(this,t)).add(new nt.a(r)),i}return n}(C.a),at=n("bHdf");n.d(e,"a",(function(){return Vn}));var ot,st=function t(e,n){_classCallCheck(this,t),this.id=e,this.url=n},lt=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,n),(i=e.call(this,t,r)).navigationTrigger=a,i.restoredState=o,i}return _createClass2(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(st),ut=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i){var a;return _classCallCheck(this,n),(a=e.call(this,t,r)).urlAfterRedirects=i,a}return _createClass2(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(st),ct=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i){var a;return _classCallCheck(this,n),(a=e.call(this,t,r)).reason=i,a}return _createClass2(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(st),ht=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i){var a;return _classCallCheck(this,n),(a=e.call(this,t,r)).error=i,a}return _createClass2(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(st),ft=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i,a){var o;return _classCallCheck(this,n),(o=e.call(this,t,r)).urlAfterRedirects=i,o.state=a,o}return _createClass2(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(st),dt=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i,a){var o;return _classCallCheck(this,n),(o=e.call(this,t,r)).urlAfterRedirects=i,o.state=a,o}return _createClass2(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(st),pt=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i,a,o){var s;return _classCallCheck(this,n),(s=e.call(this,t,r)).urlAfterRedirects=i,s.state=a,s.shouldActivate=o,s}return _createClass2(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(st),gt=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i,a){var o;return _classCallCheck(this,n),(o=e.call(this,t,r)).urlAfterRedirects=i,o.state=a,o}return _createClass2(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(st),vt=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,i,a){var o;return _classCallCheck(this,n),(o=e.call(this,t,r)).urlAfterRedirects=i,o.state=a,o}return _createClass2(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(st),mt=function(){function t(e){_classCallCheck(this,t),this.route=e}return _createClass2(t,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),t}(),yt=function(){function t(e){_classCallCheck(this,t),this.route=e}return _createClass2(t,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),t}(),_t=function(){function t(e){_classCallCheck(this,t),this.snapshot=e}return _createClass2(t,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),bt=function(){function t(e){_classCallCheck(this,t),this.snapshot=e}return _createClass2(t,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),xt=function(){function t(e){_classCallCheck(this,t),this.snapshot=e}return _createClass2(t,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),wt=function(){function t(e){_classCallCheck(this,t),this.snapshot=e}return _createClass2(t,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),t}(),kt=function(){function t(e,n,r){_classCallCheck(this,t),this.routerEvent=e,this.position=n,this.anchor=r}return _createClass2(t,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),t}(),St=((ot=function t(){_classCallCheck(this,t)}).\u0275fac=function(t){return new(t||ot)},ot.\u0275cmp=i.Ib({type:ot,selectors:[["ng-component"]],decls:1,vars:0,template:function(t,e){1&t&&i.Pb(0,"router-outlet")},directives:function(){return[Mn]},encapsulation:2}),ot),Ct=function(){function t(e){_classCallCheck(this,t),this.params=e||{}}return _createClass2(t,[{key:"has",value:function(t){return this.params.hasOwnProperty(t)}},{key:"get",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e[0]:e}return null}},{key:"getAll",value:function(t){if(this.has(t)){var e=this.params[t];return Array.isArray(e)?e:[e]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),t}();function At(t){return new Ct(t)}function Tt(t){var e=Error("NavigationCancelingError: "+t);return e.ngNavigationCancelingError=!0,e}function Et(t,e,n){var r=n.path.split("/");if(r.length>t.length)return null;if("full"===n.pathMatch&&(e.hasChildren()||r.length1&&void 0!==arguments[1]?arguments[1]:"",n=0;n-1})):t===e}function Nt(t){return Array.prototype.concat.apply([],t)}function zt(t){return t.length>0?t[t.length-1]:null}function Ft(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)}function Bt(t){return Object(i.sb)(t)?t:Object(i.tb)(t)?Object(o.a)(Promise.resolve(t)):Object(a.a)(t)}function Vt(t,e,n){return n?function(t,e){return Lt(t,e)}(t.queryParams,e.queryParams)&&function t(e,n){if(!Ut(e.segments,n.segments))return!1;if(e.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!e.children[r])return!1;if(!t(e.children[r],n.children[r]))return!1}return!0}(t.root,e.root):function(t,e){return Object.keys(e).length<=Object.keys(t).length&&Object.keys(e).every((function(n){return Rt(t[n],e[n])}))}(t.queryParams,e.queryParams)&&function t(e,n){return function e(n,r,i){if(n.segments.length>i.length)return!!Ut(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Ut(n.segments,i))return!1;for(var a in r.children){if(!n.children[a])return!1;if(!t(n.children[a],r.children[a]))return!1}return!0}var o=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!!Ut(n.segments,o)&&!!n.children.primary&&e(n.children.primary,r,s)}(e,n,n.segments)}(t.root,e.root)}var jt=function(){function t(e,n,r){_classCallCheck(this,t),this.root=e,this.queryParams=n,this.fragment=r}return _createClass2(t,[{key:"toString",value:function(){return Zt.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=At(this.queryParams)),this._queryParamMap}}]),t}(),Yt=function(){function t(e,n){var r=this;_classCallCheck(this,t),this.segments=e,this.children=n,this.parent=null,Ft(n,(function(t,e){return t.parent=r}))}return _createClass2(t,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return $t(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),t}(),Ht=function(){function t(e,n){_classCallCheck(this,t),this.path=e,this.parameters=n}return _createClass2(t,[{key:"toString",value:function(){return ee(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=At(this.parameters)),this._parameterMap}}]),t}();function Ut(t,e){return t.length===e.length&&t.every((function(t,n){return t.path===e[n].path}))}function Gt(t,e){var n=[];return Ft(t.children,(function(t,r){"primary"===r&&(n=n.concat(e(t,r)))})),Ft(t.children,(function(t,r){"primary"!==r&&(n=n.concat(e(t,r)))})),n}var qt=function t(){_classCallCheck(this,t)},Wt=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"parse",value:function(t){var e=new oe(t);return new jt(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}},{key:"serialize",value:function(t){return"".concat("/"+function t(e,n){if(!e.hasChildren())return $t(e);if(n){var r=e.children.primary?t(e.children.primary,!1):"",i=[];return Ft(e.children,(function(e,n){"primary"!==n&&i.push("".concat(n,":").concat(t(e,!1)))})),i.length>0?"".concat(r,"(").concat(i.join("//"),")"):r}var a=Gt(e,(function(n,r){return"primary"===r?[t(e.children.primary,!1)]:["".concat(r,":").concat(t(n,!1))]}));return"".concat($t(e),"/(").concat(a.join("//"),")")}(t.root,!0)).concat((e=t.queryParams,n=Object.keys(e).map((function(t){var n=e[t];return Array.isArray(n)?n.map((function(e){return"".concat(Kt(t),"=").concat(Kt(e))})).join("&"):"".concat(Kt(t),"=").concat(Kt(n))})),n.length?"?"+n.join("&"):"")).concat("string"==typeof t.fragment?"#"+encodeURI(t.fragment):"");var e,n}}]),t}(),Zt=new Wt;function $t(t){return t.segments.map((function(t){return ee(t)})).join("/")}function Xt(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Kt(t){return Xt(t).replace(/%3B/gi,";")}function Qt(t){return Xt(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Jt(t){return decodeURIComponent(t)}function te(t){return Jt(t.replace(/\+/g,"%20"))}function ee(t){return"".concat(Qt(t.path)).concat((e=t.parameters,Object.keys(e).map((function(t){return";".concat(Qt(t),"=").concat(Qt(e[t]))})).join("")));var e}var ne=/^[^\/()?;=#]+/;function re(t){var e=t.match(ne);return e?e[0]:""}var ie=/^[^=?&#]+/,ae=/^[^?&#]+/,oe=function(){function t(e){_classCallCheck(this,t),this.url=e,this.remaining=e}return _createClass2(t,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Yt([],{}):new Yt([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var t={};if(this.consumeOptional("?"))do{this.parseQueryParam(t)}while(this.consumeOptional("&"));return t}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var t=[];for(this.peekStartsWith("(")||t.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),t.push(this.parseSegment());var e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(t.length>0||Object.keys(e).length>0)&&(n.primary=new Yt(t,e)),n}},{key:"parseSegment",value:function(){var t=re(this.remaining);if(""===t&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(t),new Ht(Jt(t),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var t={};this.consumeOptional(";");)this.parseParam(t);return t}},{key:"parseParam",value:function(t){var e=re(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=re(this.remaining);r&&(n=r,this.capture(n))}t[Jt(e)]=Jt(n)}}},{key:"parseQueryParam",value:function(t){var e=function(t){var e=t.match(ie);return e?e[0]:""}(this.remaining);if(e){this.capture(e);var n="";if(this.consumeOptional("=")){var r=function(t){var e=t.match(ae);return e?e[0]:""}(this.remaining);r&&(n=r,this.capture(n))}var i=te(e),a=te(n);if(t.hasOwnProperty(i)){var o=t[i];Array.isArray(o)||(o=[o],t[i]=o),o.push(a)}else t[i]=a}}},{key:"parseParens",value:function(t){var e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=re(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '".concat(this.url,"'"));var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):t&&(i="primary");var a=this.parseChildren();e[i]=1===Object.keys(a).length?a.primary:new Yt([],a),this.consumeOptional("//")}return e}},{key:"peekStartsWith",value:function(t){return this.remaining.startsWith(t)}},{key:"consumeOptional",value:function(t){return!!this.peekStartsWith(t)&&(this.remaining=this.remaining.substring(t.length),!0)}},{key:"capture",value:function(t){if(!this.consumeOptional(t))throw new Error('Expected "'.concat(t,'".'))}}]),t}(),se=function(){function t(e){_classCallCheck(this,t),this._root=e}return _createClass2(t,[{key:"parent",value:function(t){var e=this.pathFromRoot(t);return e.length>1?e[e.length-2]:null}},{key:"children",value:function(t){var e=le(t,this._root);return e?e.children.map((function(t){return t.value})):[]}},{key:"firstChild",value:function(t){var e=le(t,this._root);return e&&e.children.length>0?e.children[0].value:null}},{key:"siblings",value:function(t){var e=ue(t,this._root);return e.length<2?[]:e[e.length-2].children.map((function(t){return t.value})).filter((function(e){return e!==t}))}},{key:"pathFromRoot",value:function(t){return ue(t,this._root).map((function(t){return t.value}))}},{key:"root",get:function(){return this._root.value}}]),t}();function le(t,e){if(t===e.value)return e;var n,r=_createForOfIteratorHelper(e.children);try{for(r.s();!(n=r.n()).done;){var i=le(t,n.value);if(i)return i}}catch(a){r.e(a)}finally{r.f()}return null}function ue(t,e){if(t===e.value)return[e];var n,r=_createForOfIteratorHelper(e.children);try{for(r.s();!(n=r.n()).done;){var i=ue(t,n.value);if(i.length)return i.unshift(e),i}}catch(a){r.e(a)}finally{r.f()}return[]}var ce=function(){function t(e,n){_classCallCheck(this,t),this.value=e,this.children=n}return _createClass2(t,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),t}();function he(t){var e={};return t&&t.children.forEach((function(t){return e[t.value.outlet]=t})),e}var fe=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;return _classCallCheck(this,n),(i=e.call(this,t)).snapshot=r,ye(_assertThisInitialized(i),t),i}return _createClass2(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(se);function de(t,e){var n=function(t,e){var n=new ve([],{},{},"",{},"primary",e,null,t.root,-1,{});return new me("",new ce(n,[]))}(t,e),r=new u([new Ht("",{})]),i=new u({}),a=new u({}),o=new u({}),s=new u(""),l=new pe(r,i,o,s,a,"primary",e,n.root);return l.snapshot=n.root,new fe(new ce(l,[]),n)}var pe=function(){function t(e,n,r,i,a,o,s,l){_classCallCheck(this,t),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=a,this.outlet=o,this.component=s,this._futureSnapshot=l}return _createClass2(t,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}},{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(w.a)((function(t){return At(t)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(w.a)((function(t){return At(t)})))),this._queryParamMap}}]),t}();function ge(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=t.pathFromRoot,r=0;if("always"!==e)for(r=n.length-1;r>=1;){var i=n[r],a=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(a.component)break;r--}}return function(t){return t.reduce((function(t,e){return{params:Object.assign(Object.assign({},t.params),e.params),data:Object.assign(Object.assign({},t.data),e.data),resolve:Object.assign(Object.assign({},t.resolve),e._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var ve=function(){function t(e,n,r,i,a,o,s,l,u,c,h){_classCallCheck(this,t),this.url=e,this.params=n,this.queryParams=r,this.fragment=i,this.data=a,this.outlet=o,this.component=s,this.routeConfig=l,this._urlSegment=u,this._lastPathIndex=c,this._resolve=h}return _createClass2(t,[{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(t){return t.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=At(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=At(this.queryParams)),this._queryParamMap}}]),t}(),me=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r){var i;return _classCallCheck(this,n),(i=e.call(this,r)).url=t,ye(_assertThisInitialized(i),r),i}return _createClass2(n,[{key:"toString",value:function(){return _e(this._root)}}]),n}(se);function ye(t,e){e.value._routerState=t,e.children.forEach((function(e){return ye(t,e)}))}function _e(t){var e=t.children.length>0?" { ".concat(t.children.map(_e).join(", ")," } "):"";return"".concat(t.value).concat(e)}function be(t){if(t.snapshot){var e=t.snapshot,n=t._futureSnapshot;t.snapshot=n,Lt(e.queryParams,n.queryParams)||t.queryParams.next(n.queryParams),e.fragment!==n.fragment&&t.fragment.next(n.fragment),Lt(e.params,n.params)||t.params.next(n.params),function(t,e){if(t.length!==e.length)return!1;for(var n=0;n0&&we(r[0]))throw new Error("Root segment cannot have matrix parameters");var i=r.find((function(t){return"object"==typeof t&&null!=t&&t.outlets}));if(i&&i!==zt(r))throw new Error("{outlets:{}} has to be the last command")}return _createClass2(t,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),t}(),Ce=function t(e,n,r){_classCallCheck(this,t),this.segmentGroup=e,this.processChildren=n,this.index=r};function Ae(t){return"object"==typeof t&&null!=t&&t.outlets?t.outlets.primary:""+t}function Te(t,e,n){if(t||(t=new Yt([],{})),0===t.segments.length&&t.hasChildren())return Ee(t,e,n);var r=function(t,e,n){for(var r=0,i=e,a={match:!1,pathIndex:0,commandIndex:0};i=n.length)return a;var o=t.segments[i],s=Ae(n[r]),l=r0&&void 0===s)break;if(s&&l&&"object"==typeof l&&void 0===l.outlets){if(!Oe(s,l,o))return a;r+=2}else{if(!Oe(s,{},o))return a;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(t,e,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex0?new Yt([],{primary:t}):t;return new jt(r,e,n)}},{key:"expandSegmentGroup",value:function(t,e,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(t,e,n).pipe(Object(w.a)((function(t){return new Yt([],t)}))):this.expandSegment(t,n,e,n.segments,r,!0)}},{key:"expandChildren",value:function(t,e,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return Object(a.a)({});var o=[],s=[],l={};return Ft(n,(function(n,i){var a,u,c=(a=i,u=n,r.expandSegmentGroup(t,e,u,a)).pipe(Object(w.a)((function(t){return l[i]=t})));"primary"===i?o.push(c):s.push(c)})),a.a.apply(null,o.concat(s)).pipe(Object(k.a)(),F(),Object(w.a)((function(){return l})))}(n.children)}},{key:"expandSegment",value:function(t,e,n,r,i,o){var s=this;return Object(a.a).apply(void 0,_toConsumableArray(n)).pipe(Object(w.a)((function(l){return s.expandSegmentAgainstRoute(t,e,n,l,r,i,o).pipe(V((function(t){if(t instanceof ze)return Object(a.a)(null);throw t})))})),Object(k.a)(),U((function(t){return!!t})),V((function(t,n){if(t instanceof h||"EmptyError"===t.name){if(s.noLeftoversInUrl(e,r,i))return Object(a.a)(new Yt([],{}));throw new ze(e)}throw t})))}},{key:"noLeftoversInUrl",value:function(t,e,n){return 0===e.length&&!t.children[n]}},{key:"expandSegmentAgainstRoute",value:function(t,e,n,r,i,a,o){return qe(r)!==a?Be(e):void 0===r.redirectTo?this.matchSegmentAgainstRoute(t,e,r,i):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(t,e,n,r,i,a):Be(e)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(t,e,n,r,i,a){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(t,n,r,a):this.expandRegularSegmentAgainstRouteUsingRedirect(t,e,n,r,i,a)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(t,e,n,r){var i=this,a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Ve(a):this.lineralizeSegments(n,a).pipe(Object(G.a)((function(n){var a=new Yt(n,{});return i.expandSegment(t,a,e,n,r,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(t,e,n,r,i,a){var o=this,s=He(e,r,i),l=s.matched,u=s.consumedSegments,c=s.lastChild,h=s.positionalParamSegments;if(!l)return Be(e);var f=this.applyRedirectCommands(u,r.redirectTo,h);return r.redirectTo.startsWith("/")?Ve(f):this.lineralizeSegments(r,f).pipe(Object(G.a)((function(r){return o.expandSegment(t,e,n,r.concat(i.slice(c)),a,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(t,e,n,r){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(t.injector,n).pipe(Object(w.a)((function(t){return n._loadedConfig=t,new Yt(r,{})}))):Object(a.a)(new Yt(r,{}));var o=He(e,n,r),s=o.matched,l=o.consumedSegments,u=o.lastChild;if(!s)return Be(e);var c=r.slice(u);return this.getChildConfig(t,n,r).pipe(Object(G.a)((function(t){var n=t.module,r=t.routes,o=function(t,e,n,r){return n.length>0&&function(t,e,n){return n.some((function(n){return Ge(t,e,n)&&"primary"!==qe(n)}))}(t,n,r)?{segmentGroup:Ue(new Yt(e,function(t,e){var n={};n.primary=e;var r,i=_createForOfIteratorHelper(t);try{for(i.s();!(r=i.n()).done;){var a=r.value;""===a.path&&"primary"!==qe(a)&&(n[qe(a)]=new Yt([],{}))}}catch(o){i.e(o)}finally{i.f()}return n}(r,new Yt(n,t.children)))),slicedSegments:[]}:0===n.length&&function(t,e,n){return n.some((function(n){return Ge(t,e,n)}))}(t,n,r)?{segmentGroup:Ue(new Yt(t.segments,function(t,e,n,r){var i,a={},o=_createForOfIteratorHelper(n);try{for(o.s();!(i=o.n()).done;){var s=i.value;Ge(t,e,s)&&!r[qe(s)]&&(a[qe(s)]=new Yt([],{}))}}catch(l){o.e(l)}finally{o.f()}return Object.assign(Object.assign({},r),a)}(t,n,r,t.children))),slicedSegments:n}:{segmentGroup:t,slicedSegments:n}}(e,l,c,r),s=o.segmentGroup,u=o.slicedSegments;return 0===u.length&&s.hasChildren()?i.expandChildren(n,r,s).pipe(Object(w.a)((function(t){return new Yt(l,t)}))):0===r.length&&0===u.length?Object(a.a)(new Yt(l,{})):i.expandSegment(n,s,r,u,"primary",!0).pipe(Object(w.a)((function(t){return new Yt(l.concat(t.segments),t.children)})))})))}},{key:"getChildConfig",value:function(t,e,n){var r=this;return e.children?Object(a.a)(new Mt(e.children,t)):e.loadChildren?void 0!==e._loadedConfig?Object(a.a)(e._loadedConfig):function(t,e,n){var r,i=e.canLoad;return i&&0!==i.length?Object(o.a)(i).pipe(Object(w.a)((function(r){var i,a=t.get(r);if(function(t){return t&&Re(t.canLoad)}(a))i=a.canLoad(e,n);else{if(!Re(a))throw new Error("Invalid CanLoad guard");i=a(e,n)}return Bt(i)}))).pipe(Object(k.a)(),(r=function(t){return!0===t},function(t){return t.lift(new q(r,void 0,t))})):Object(a.a)(!0)}(t.injector,e,n).pipe(Object(G.a)((function(n){return n?r.configLoader.load(t.injector,e).pipe(Object(w.a)((function(t){return e._loadedConfig=t,t}))):function(t){return new c.a((function(e){return e.error(Tt("Cannot load children because the guard of the route \"path: '".concat(t.path,"'\" returned false")))}))}(e)}))):Object(a.a)(new Mt([],t))}},{key:"lineralizeSegments",value:function(t,e){for(var n=[],r=e.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(a.a)(n);if(r.numberOfChildren>1||!r.children.primary)return je(t.redirectTo);r=r.children.primary}}},{key:"applyRedirectCommands",value:function(t,e,n){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),t,n)}},{key:"applyRedirectCreatreUrlTree",value:function(t,e,n,r){var i=this.createSegmentGroup(t,e.root,n,r);return new jt(i,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}},{key:"createQueryParams",value:function(t,e){var n={};return Ft(t,(function(t,r){if("string"==typeof t&&t.startsWith(":")){var i=t.substring(1);n[r]=e[i]}else n[r]=t})),n}},{key:"createSegmentGroup",value:function(t,e,n,r){var i=this,a=this.createSegments(t,e.segments,n,r),o={};return Ft(e.children,(function(e,a){o[a]=i.createSegmentGroup(t,e,n,r)})),new Yt(a,o)}},{key:"createSegments",value:function(t,e,n,r){var i=this;return e.map((function(e){return e.path.startsWith(":")?i.findPosParam(t,e,r):i.findOrReturn(e,n)}))}},{key:"findPosParam",value:function(t,e,n){var r=n[e.path.substring(1)];if(!r)throw new Error("Cannot redirect to '".concat(t,"'. Cannot find '").concat(e.path,"'."));return r}},{key:"findOrReturn",value:function(t,e){var n,r=0,i=_createForOfIteratorHelper(e);try{for(i.s();!(n=i.n()).done;){var a=n.value;if(a.path===t.path)return e.splice(r),a;r++}}catch(o){i.e(o)}finally{i.f()}return t}}]),t}();function He(t,e,n){if(""===e.path)return"full"===e.pathMatch&&(t.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(e.matcher||Et)(n,t,e);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Ue(t){if(1===t.numberOfChildren&&t.children.primary){var e=t.children.primary;return new Yt(t.segments.concat(e.segments),e.children)}return t}function Ge(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function qe(t){return t.outlet||"primary"}var We=function t(e){_classCallCheck(this,t),this.path=e,this.route=this.path[this.path.length-1]},Ze=function t(e,n){_classCallCheck(this,t),this.component=e,this.route=n};function $e(t,e,n){var r=function(t){if(!t)return null;for(var e=t.parent;e;e=e.parent){var n=e.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(e);return(r?r.module.injector:n).get(t)}function Xe(t,e,n){var r=he(t),i=t.value;Ft(r,(function(t,r){Xe(t,i.component?e?e.children.getContext(r):null:e,n)})),n.canDeactivateChecks.push(new Ze(i.component&&e&&e.outlet&&e.outlet.isActivated?e.outlet.component:null,i))}var Ke=Symbol("INITIAL_VALUE");function Qe(){return Object(Z.a)((function(t){return(function(){for(var t=arguments.length,e=new Array(t),n=0;n0?zt(n).parameters:{};i=new ve(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hn(t),r,t.component,t,on(e),sn(e)+n.length,fn(t))}else{var l=function(t,e,n){if(""===e.path){if("full"===e.pathMatch&&(t.hasChildren()||n.length>0))throw new rn;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(e.matcher||Et)(n,t,e);if(!r)throw new rn;var i={};Ft(r.posParams,(function(t,e){i[e]=t.path}));var a=r.consumed.length>0?Object.assign(Object.assign({},i),r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:a}}(e,t,n);a=l.consumedSegments,o=n.slice(l.lastChild),i=new ve(a,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,hn(t),r,t.component,t,on(e),sn(e)+a.length,fn(t))}var u=function(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(t),c=ln(e,a,o,u,this.relativeLinkResolution),h=c.segmentGroup,f=c.slicedSegments;if(0===f.length&&h.hasChildren()){var d=this.processChildren(u,h);return[new ce(i,d)]}if(0===u.length&&0===f.length)return[new ce(i,[])];var p=this.processSegment(u,h,f,"primary");return[new ce(i,p)]}}]),t}();function on(t){for(var e=t;e._sourceSegment;)e=e._sourceSegment;return e}function sn(t){for(var e=t,n=e._segmentIndexShift?e._segmentIndexShift:0;e._sourceSegment;)n+=(e=e._sourceSegment)._segmentIndexShift?e._segmentIndexShift:0;return n-1}function ln(t,e,n,r,i){if(n.length>0&&function(t,e,n){return n.some((function(n){return un(t,e,n)&&"primary"!==cn(n)}))}(t,n,r)){var a=new Yt(e,function(t,e,n,r){var i={};i.primary=r,r._sourceSegment=t,r._segmentIndexShift=e.length;var a,o=_createForOfIteratorHelper(n);try{for(o.s();!(a=o.n()).done;){var s=a.value;if(""===s.path&&"primary"!==cn(s)){var l=new Yt([],{});l._sourceSegment=t,l._segmentIndexShift=e.length,i[cn(s)]=l}}}catch(u){o.e(u)}finally{o.f()}return i}(t,e,r,new Yt(n,t.children)));return a._sourceSegment=t,a._segmentIndexShift=e.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&function(t,e,n){return n.some((function(n){return un(t,e,n)}))}(t,n,r)){var o=new Yt(t.segments,function(t,e,n,r,i,a){var o,s={},l=_createForOfIteratorHelper(r);try{for(l.s();!(o=l.n()).done;){var u=o.value;if(un(t,n,u)&&!i[cn(u)]){var c=new Yt([],{});c._sourceSegment=t,c._segmentIndexShift="legacy"===a?t.segments.length:e.length,s[cn(u)]=c}}}catch(h){l.e(h)}finally{l.f()}return Object.assign(Object.assign({},i),s)}(t,e,n,r,t.children,i));return o._sourceSegment=t,o._segmentIndexShift=e.length,{segmentGroup:o,slicedSegments:n}}var s=new Yt(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=e.length,{segmentGroup:s,slicedSegments:n}}function un(t,e,n){return(!(t.hasChildren()||e.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function cn(t){return t.outlet||"primary"}function hn(t){return t.data||{}}function fn(t){return t.resolve||{}}function dn(t,e,n,r){var i=$e(t,e,r);return Bt(i.resolve?i.resolve(e,n):i(e,n))}function pn(t){return function(e){return e.pipe(Object(Z.a)((function(e){var n=t(e);return n?Object(o.a)(n).pipe(Object(w.a)((function(){return e}))):Object(o.a)([e])})))}}var gn=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"shouldDetach",value:function(t){return!1}},{key:"store",value:function(t,e){}},{key:"shouldAttach",value:function(t){return!1}},{key:"retrieve",value:function(t){return null}},{key:"shouldReuseRoute",value:function(t,e){return t.routeConfig===e.routeConfig}}]),t}(),vn=new i.q("ROUTES"),mn=function(){function t(e,n,r,i){_classCallCheck(this,t),this.loader=e,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}return _createClass2(t,[{key:"load",value:function(t,e){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(e),this.loadModuleFactory(e.loadChildren).pipe(Object(w.a)((function(r){n.onLoadEndListener&&n.onLoadEndListener(e);var i=r.create(t);return new Mt(Nt(i.injector.get(vn)).map(Pt),i)})))}},{key:"loadModuleFactory",value:function(t){var e=this;return"string"==typeof t?Object(o.a)(this.loader.load(t)):Bt(t()).pipe(Object(G.a)((function(t){return t instanceof i.v?Object(a.a)(t):Object(o.a)(e.compiler.compileModuleAsync(t))})))}}]),t}(),yn=function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"shouldProcessUrl",value:function(t){return!0}},{key:"extract",value:function(t){return t}},{key:"merge",value:function(t,e){return t}}]),t}();function _n(t){throw t}function bn(t,e,n){return e.parse("/")}function xn(t,e){return Object(a.a)(null)}var wn,kn,Sn,Cn,An=((wn=function(){function t(e,n,r,a,o,l,c,h){var f=this;_classCallCheck(this,t),this.rootComponentType=e,this.urlSerializer=n,this.rootContexts=r,this.location=a,this.config=h,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new s.a,this.errorHandler=_n,this.malformedUriErrorHandler=bn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:xn,afterPreactivation:xn},this.urlHandlingStrategy=new yn,this.routeReuseStrategy=new gn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(i.x),this.console=o.get(i.Z);var d=o.get(i.z);this.isNgZoneEnabled=d instanceof i.z,this.resetConfig(h),this.currentUrlTree=new jt(new Yt([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new mn(l,c,(function(t){return f.triggerEvent(new mt(t))}),(function(t){return f.triggerEvent(new yt(t))})),this.routerState=de(this.currentUrlTree,this.rootComponentType),this.transitions=new u({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return _createClass2(t,[{key:"setupNavigations",value:function(t){var e=this,n=this.events;return t.pipe(Object(S.a)((function(t){return 0!==t.id})),Object(w.a)((function(t){return Object.assign(Object.assign({},t),{extractedUrl:e.urlHandlingStrategy.extract(t.rawUrl)})})),Object(Z.a)((function(t){var r,i,s,l,c=!1,h=!1;return Object(a.a)(t).pipe(Object(et.a)((function(t){e.currentNavigation={id:t.id,initialUrl:t.currentRawUrl,extractedUrl:t.extractedUrl,trigger:t.source,extras:t.extras,previousNavigation:e.lastSuccessfulNavigation?Object.assign(Object.assign({},e.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Object(Z.a)((function(t){var r,i,o,s,l=!e.navigated||t.extractedUrl.toString()!==e.browserUrlTree.toString();if(("reload"===e.onSameUrlNavigation||l)&&e.urlHandlingStrategy.shouldProcessUrl(t.rawUrl))return Object(a.a)(t).pipe(Object(Z.a)((function(t){var r=e.transitions.getValue();return n.next(new lt(t.id,e.serializeUrl(t.extractedUrl),t.source,t.restoredState)),r!==e.transitions.getValue()?b.a:[t]})),Object(Z.a)((function(t){return Promise.resolve(t)})),(r=e.ngModule.injector,i=e.configLoader,o=e.urlSerializer,s=e.config,function(t){return t.pipe(Object(Z.a)((function(t){return function(t,e,n,r,i){return new Ye(t,e,n,r,i).apply()}(r,i,o,t.extractedUrl,s).pipe(Object(w.a)((function(e){return Object.assign(Object.assign({},t),{urlAfterRedirects:e})})))})))}),Object(et.a)((function(t){e.currentNavigation=Object.assign(Object.assign({},e.currentNavigation),{finalUrl:t.urlAfterRedirects})})),function(t,n,r,i,a){return function(r){return r.pipe(Object(G.a)((function(r){return function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new an(t,e,n,r,i,a).recognize()}(t,n,r.urlAfterRedirects,(o=r.urlAfterRedirects,e.serializeUrl(o)),i,a).pipe(Object(w.a)((function(t){return Object.assign(Object.assign({},r),{targetSnapshot:t})})));var o})))}}(e.rootComponentType,e.config,0,e.paramsInheritanceStrategy,e.relativeLinkResolution),Object(et.a)((function(t){"eager"===e.urlUpdateStrategy&&(t.extras.skipLocationChange||e.setBrowserUrl(t.urlAfterRedirects,!!t.extras.replaceUrl,t.id,t.extras.state),e.browserUrlTree=t.urlAfterRedirects)})),Object(et.a)((function(t){var r=new ft(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);n.next(r)})));if(l&&e.rawUrlTree&&e.urlHandlingStrategy.shouldProcessUrl(e.rawUrlTree)){var u=t.id,c=t.extractedUrl,h=t.source,f=t.restoredState,d=t.extras,p=new lt(u,e.serializeUrl(c),h,f);n.next(p);var g=de(c,e.rootComponentType).snapshot;return Object(a.a)(Object.assign(Object.assign({},t),{targetSnapshot:g,urlAfterRedirects:c,extras:Object.assign(Object.assign({},d),{skipLocationChange:!1,replaceUrl:!1})}))}return e.rawUrlTree=t.rawUrl,e.browserUrlTree=t.urlAfterRedirects,t.resolve(null),b.a})),pn((function(t){var n=t.targetSnapshot,r=t.id,i=t.extractedUrl,a=t.rawUrl,o=t.extras,s=o.skipLocationChange,l=o.replaceUrl;return e.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!l})})),Object(et.a)((function(t){var n=new dt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),Object(w.a)((function(t){return Object.assign(Object.assign({},t),{guards:(n=t.targetSnapshot,r=t.currentSnapshot,i=e.rootContexts,a=n._root,function t(e,n,r,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=he(n);return e.children.forEach((function(e){!function(e,n,r,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},o=e.value,s=n?n.value:null,l=r?r.getContext(e.value.outlet):null;if(s&&o.routeConfig===s.routeConfig){var u=function(t,e,n){if("function"==typeof n)return n(t,e);switch(n){case"pathParamsChange":return!Ut(t.url,e.url);case"pathParamsOrQueryParamsChange":return!Ut(t.url,e.url)||!Lt(t.queryParams,e.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!xe(t,e)||!Lt(t.queryParams,e.queryParams);case"paramsChange":default:return!xe(t,e)}}(s,o,o.routeConfig.runGuardsAndResolvers);u?a.canActivateChecks.push(new We(i)):(o.data=s.data,o._resolvedData=s._resolvedData),t(e,n,o.component?l?l.children:null:r,i,a),u&&a.canDeactivateChecks.push(new Ze(l&&l.outlet&&l.outlet.component||null,s))}else s&&Xe(n,l,a),a.canActivateChecks.push(new We(i)),t(e,null,o.component?l?l.children:null:r,i,a)}(e,o[e.value.outlet],r,i.concat([e.value]),a),delete o[e.value.outlet]})),Ft(o,(function(t,e){return Xe(t,r.getContext(e),a)})),a}(a,r?r._root:null,i,[a.value]))});var n,r,i,a})),function(t,e){return function(n){return n.pipe(Object(G.a)((function(n){var r=n.targetSnapshot,i=n.currentSnapshot,s=n.guards,l=s.canActivateChecks,u=s.canDeactivateChecks;return 0===u.length&&0===l.length?Object(a.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(t,e,n,r){return Object(o.a)(t).pipe(Object(G.a)((function(t){return function(t,e,n,r,i){var o=e&&e.routeConfig?e.routeConfig.canDeactivate:null;if(!o||0===o.length)return Object(a.a)(!0);var s=o.map((function(a){var o,s=$e(a,e,i);if(function(t){return t&&Re(t.canDeactivate)}(s))o=Bt(s.canDeactivate(t,e,n,r));else{if(!Re(s))throw new Error("Invalid CanDeactivate guard");o=Bt(s(t,e,n,r))}return o.pipe(U())}));return Object(a.a)(s).pipe(Qe())}(t.component,t.route,n,e,r)})),U((function(t){return!0!==t}),!0))}(u,r,i,t).pipe(Object(G.a)((function(n){return n&&"boolean"==typeof n?function(t,e,n,r){return Object(o.a)(e).pipe(J((function(e){return Object(o.a)([tn(e.route.parent,r),Je(e.route,r),nn(t,e.path,n),en(t,e.route,n)]).pipe(Object(k.a)(),U((function(t){return!0!==t}),!0))})),U((function(t){return!0!==t}),!0))}(r,l,t,e):Object(a.a)(n)})),Object(w.a)((function(t){return Object.assign(Object.assign({},n),{guardsResult:t})})))})))}}(e.ngModule.injector,(function(t){return e.triggerEvent(t)})),Object(et.a)((function(t){if(Ne(t.guardsResult)){var n=Tt('Redirecting to "'.concat(e.serializeUrl(t.guardsResult),'"'));throw n.url=t.guardsResult,n}})),Object(et.a)((function(t){var n=new pt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot,!!t.guardsResult);e.triggerEvent(n)})),Object(S.a)((function(t){if(!t.guardsResult){e.resetUrlToCurrentUrlTree();var r=new ct(t.id,e.serializeUrl(t.extractedUrl),"");return n.next(r),t.resolve(!1),!1}return!0})),pn((function(t){if(t.guards.canActivateChecks.length)return Object(a.a)(t).pipe(Object(et.a)((function(t){var n=new gt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})),(n=e.paramsInheritanceStrategy,r=e.ngModule.injector,function(t){return t.pipe(Object(G.a)((function(t){var e=t.targetSnapshot,i=t.guards.canActivateChecks;return i.length?Object(o.a)(i).pipe(J((function(t){return function(t,e,n,r){return function(t,e,n,r){var i=Object.keys(t);if(0===i.length)return Object(a.a)({});if(1===i.length){var s=i[0];return dn(t[s],e,n,r).pipe(Object(w.a)((function(t){return _defineProperty({},s,t)})))}var l={};return Object(o.a)(i).pipe(Object(G.a)((function(i){return dn(t[i],e,n,r).pipe(Object(w.a)((function(t){return l[i]=t,t})))}))).pipe(F(),Object(w.a)((function(){return l})))}(t._resolve,t,e,r).pipe(Object(w.a)((function(e){return t._resolvedData=e,t.data=Object.assign(Object.assign({},t.data),ge(t,n).resolve),null})))}(t.route,e,n,r)})),function(t,e){return arguments.length>=2?function(n){return Object(tt.a)(X(t,e),T(1),L(e))(n)}:function(e){return Object(tt.a)(X((function(e,n,r){return t(e,n,r+1)})),T(1))(e)}}((function(t,e){return t})),Object(w.a)((function(e){return t}))):Object(a.a)(t)})))}),Object(et.a)((function(t){var n=new vt(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(t.urlAfterRedirects),t.targetSnapshot);e.triggerEvent(n)})));var n,r})),pn((function(t){var n=t.targetSnapshot,r=t.id,i=t.extractedUrl,a=t.rawUrl,o=t.extras,s=o.skipLocationChange,l=o.replaceUrl;return e.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:a,skipLocationChange:!!s,replaceUrl:!!l})})),Object(w.a)((function(t){var n=function(t,e,n){var r=function t(e,n,r){if(r&&e.shouldReuseRoute(n.value,r.value.snapshot)){var i=r.value;i._futureSnapshot=n.value;var a=function(e,n,r){return n.children.map((function(n){var i,a=_createForOfIteratorHelper(r.children);try{for(a.s();!(i=a.n()).done;){var o=i.value;if(e.shouldReuseRoute(o.value.snapshot,n.value))return t(e,n,o)}}catch(s){a.e(s)}finally{a.f()}return t(e,n)}))}(e,n,r);return new ce(i,a)}var o=e.retrieve(n.value);if(o){var s=o.route;return function t(e,n){if(e.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=e.value;for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=e.relativeTo,r=e.queryParams,a=e.fragment,o=e.preserveQueryParams,s=e.queryParamsHandling,l=e.preserveFragment;Object(i.W)()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,c=l?this.currentUrlTree.fragment:a,h=null;if(s)switch(s){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=o?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(t,e,n,r,i){if(0===n.length)return ke(e.root,e.root,e,r,i);var a=function(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new Se(!0,0,t);var e=0,n=!1,r=t.reduce((function(t,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var a={};return Ft(r.outlets,(function(t,e){a[e]="string"==typeof t?t.split("/"):t})),[].concat(_toConsumableArray(t),[{outlets:a}])}if(r.segmentPath)return[].concat(_toConsumableArray(t),[r.segmentPath])}return"string"!=typeof r?[].concat(_toConsumableArray(t),[r]):0===i?(r.split("/").forEach((function(r,i){0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?e++:""!=r&&t.push(r))})),t):[].concat(_toConsumableArray(t),[r])}),[]);return new Se(n,e,r)}(n);if(a.toRoot())return ke(e.root,new Yt([],{}),e,r,i);var o=function(t,e,n){if(t.isAbsolute)return new Ce(e.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new Ce(n.snapshot._urlSegment,!0,0);var r=we(t.commands[0])?0:1;return function(t,e,n){for(var r=t,i=e,a=n;a>i;){if(a-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new Ce(r,!1,i-a)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,t.numberOfDoubleDots)}(a,e,t),s=o.processChildren?Ee(o.segmentGroup,o.index,a.commands):Te(o.segmentGroup,o.index,a.commands);return ke(o.segmentGroup,s,e,r,i)}(u,this.currentUrlTree,t,h,c)}},{key:"navigateByUrl",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Object(i.W)()&&this.isNgZoneEnabled&&!i.z.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Ne(t)?t:this.parseUrl(t),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,e)}},{key:"navigate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(t){for(var e=0;e2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,t),this.router=e,this.viewportScroller=n,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}return _createClass2(t,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var t=this;return this.router.events.subscribe((function(e){e instanceof lt?(t.store[t.lastId]=t.viewportScroller.getScrollPosition(),t.lastSource=e.navigationTrigger,t.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ut&&(t.lastId=e.id,t.scheduleScrollEvent(e,t.router.parseUrl(e.urlAfterRedirects).fragment))}))}},{key:"consumeScrollEvents",value:function(){var t=this;return this.router.events.subscribe((function(e){e instanceof kt&&(e.position?"top"===t.options.scrollPositionRestoration?t.viewportScroller.scrollToPosition([0,0]):"enabled"===t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===t.options.anchorScrolling?t.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==t.options.scrollPositionRestoration&&t.viewportScroller.scrollToPosition([0,0]))}))}},{key:"scheduleScrollEvent",value:function(t,e){this.router.triggerEvent(new kt(t,"popstate"===this.lastSource?this.store[this.restoredId]:null,e))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),t}()).\u0275fac=function(t){i.bc()},Sn.\u0275dir=i.Jb({type:Sn}),Sn),Rn=new i.q("ROUTER_CONFIGURATION"),Nn=new i.q("ROUTER_FORROOT_GUARD"),zn=[r.f,{provide:qt,useClass:Wt},{provide:An,useFactory:function(t,e,n,i,a,o,s){var l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,h=new An(null,t,e,n,i,a,o,Nt(s));if(u&&(h.urlHandlingStrategy=u),c&&(h.routeReuseStrategy=c),l.errorHandler&&(h.errorHandler=l.errorHandler),l.malformedUriErrorHandler&&(h.malformedUriErrorHandler=l.malformedUriErrorHandler),l.enableTracing){var f=Object(r.w)();h.events.subscribe((function(t){f.logGroup("Router Event: "+t.constructor.name),f.log(t.toString()),f.log(t),f.logGroupEnd()}))}return l.onSameUrlNavigation&&(h.onSameUrlNavigation=l.onSameUrlNavigation),l.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=l.paramsInheritanceStrategy),l.urlUpdateStrategy&&(h.urlUpdateStrategy=l.urlUpdateStrategy),l.relativeLinkResolution&&(h.relativeLinkResolution=l.relativeLinkResolution),h},deps:[qt,En,r.f,i.r,i.w,i.i,vn,Rn,[function(){return function t(){_classCallCheck(this,t)}}(),new i.A],[function(){return function t(){_classCallCheck(this,t)}}(),new i.A]]},En,{provide:pe,useFactory:function(t){return t.routerState.root},deps:[An]},{provide:i.w,useClass:i.L},Pn,On,function(){function t(){_classCallCheck(this,t)}return _createClass2(t,[{key:"preload",value:function(t,e){return e().pipe(V((function(){return Object(a.a)(null)})))}}]),t}(),{provide:Rn,useValue:{enableTracing:!1}}];function Fn(){return new i.y("Router",An)}var Bn,Vn=((Bn=function(){function t(e,n){_classCallCheck(this,t)}return _createClass2(t,null,[{key:"forRoot",value:function(e,n){return{ngModule:t,providers:[zn,Un(e),{provide:Nn,useFactory:Hn,deps:[[An,new i.A,new i.K]]},{provide:Rn,useValue:n||{}},{provide:r.g,useFactory:Yn,deps:[r.q,[new i.p(r.a),new i.A],Rn]},{provide:Ln,useFactory:jn,deps:[An,r.r,Rn]},{provide:Dn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:On},{provide:i.y,multi:!0,useFactory:Fn},[qn,{provide:i.d,multi:!0,useFactory:Wn,deps:[qn]},{provide:$n,useFactory:Zn,deps:[qn]},{provide:i.b,multi:!0,useExisting:$n}]]}}},{key:"forChild",value:function(e){return{ngModule:t,providers:[Un(e)]}}}]),t}()).\u0275mod=i.Mb({type:Bn}),Bn.\u0275inj=i.Lb({factory:function(t){return new(t||Bn)(i.Yb(Nn,8),i.Yb(An,8))}}),Bn);function jn(t,e,n){return n.scrollOffset&&e.setOffset(n.scrollOffset),new Ln(t,e,n)}function Yn(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new r.d(t,e):new r.p(t,e)}function Hn(t){if(t)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Un(t){return[{provide:i.a,multi:!0,useValue:t},{provide:vn,multi:!0,useValue:t}]}var Gn,qn=((Gn=function(){function t(e){_classCallCheck(this,t),this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new s.a}return _createClass2(t,[{key:"appInitializer",value:function(){var t=this;return this.injector.get(r.e,Promise.resolve(null)).then((function(){var e=null,n=new Promise((function(t){return e=t})),r=t.injector.get(An),i=t.injector.get(Rn);if(t.isLegacyDisabled(i)||t.isLegacyEnabled(i))e(!0);else if("disabled"===i.initialNavigation)r.setUpLocationChangeListener(),e(!0);else{if("enabled"!==i.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(i.initialNavigation,"'"));r.hooks.afterPreactivation=function(){return t.initNavigation?Object(a.a)(null):(t.initNavigation=!0,e(!0),t.resultOfPreactivationDone)},r.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(t){var e=this.injector.get(Rn),n=this.injector.get(Pn),r=this.injector.get(Ln),a=this.injector.get(An),o=this.injector.get(i.g);t===o.components[0]&&(this.isLegacyEnabled(e)?a.initialNavigation():this.isLegacyDisabled(e)&&a.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),a.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(t){return"legacy_enabled"===t.initialNavigation||!0===t.initialNavigation||void 0===t.initialNavigation}},{key:"isLegacyDisabled",value:function(t){return"legacy_disabled"===t.initialNavigation||!1===t.initialNavigation}}]),t}()).\u0275fac=function(t){return new(t||Gn)(i.Yb(i.r))},Gn.\u0275prov=i.Kb({token:Gn,factory:Gn.\u0275fac}),Gn);function Wn(t){return t.appInitializer.bind(t)}function Zn(t){return t.bootstrapListener.bind(t)}var $n=new i.q("Router Initializer")},u3DP:function(t,e,n){var r=n("6GrX"),i=n("OELB").parsePercent,a=Math.PI/180;function o(t,e,n,r,i,a,o,s,l,u){function c(e,n,r,i){for(var a=e;al+o);a++)if(t[a].y+=r,a>e&&a+1t[a].y+t[a].height)return void h(a,r/2);h(n-1,r/2)}function h(e,n){for(var r=e;r>=0&&!(t[r].y-n0&&t[r].y>t[r-1].y+t[r-1].height));r--);}function f(t,e,n,r,i,a){for(var o=e?Number.MAX_VALUE:0,s=0,l=t.length;s=o&&(f=o-10),!e&&f<=o&&(f=o+10),t[s].x=n+f*a,o=f}}t.sort((function(t,e){return t.y-e.y}));for(var d,p=0,g=t.length,v=[],m=[],y=0;y=n?m.push(t[y]):v.push(t[y]);f(v,!1,e,n,r,i),f(m,!0,e,n,r,i)}function s(t){return"center"===t.position}t.exports=function(t,e,n,l,u,c){var h,f,d=t.getData(),p=[],g=!1,v=(t.get("minShowLabelAngle")||0)*a;d.each((function(a){var o=d.getItemLayout(a),s=d.getItemModel(a),l=s.getModel("label"),c=l.get("position")||s.get("emphasis.label.position"),m=l.get("distanceToLabelLine"),y=l.get("alignTo"),_=i(l.get("margin"),n),b=l.get("bleedMargin"),x=l.getFont(),w=s.getModel("labelLine"),k=w.get("length");k=i(k,n);var S=w.get("length2");if(S=i(S,n),!(o.angle0?"right":"left":I>0?"left":"right"}var j=l.get("rotate");O="number"==typeof j?j*(Math.PI/180):j?I<0?-M+Math.PI:-M:0,g=!!O,o.label={x:C,y:A,position:c,height:L.height,len:k,len2:S,linePoints:T,textAlign:E,verticalAlign:"middle",rotation:O,inside:R,labelDistance:m,labelAlignTo:y,labelMargin:_,bleedMargin:b,textRect:L,text:P,font:x},R||p.push(o.label)}})),!g&&t.get("avoidLabelOverlap")&&function(t,e,n,i,a,l,u,c){for(var h=[],f=[],d=Number.MAX_VALUE,p=-Number.MAX_VALUE,g=0;g1?"series.multiple.prefix":"series.single.prefix"),{seriesCount:o}),e.eachSeries((function(t,e){if(e1?"multiple":"single")+".";n=d(n=p(r?s+"withName":s+"withoutName"),{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:(y=t.subType,i.series.typeNames[y]||"\u81ea\u5b9a\u4e49\u56fe")});var u=t.getData();window.data=u,u.count()>l?n+=d(p("data.partialData"),{displayCnt:l}):n+=p("data.allData");for(var h=[],g=0;g0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"}))},vKoX:function(t,e,n){var r=n("SrGk");function i(t,e){r.call(this,t,e,["filter"],"__filter_in_use__","_shadowDom")}function a(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY||t.textShadowBlur||t.textShadowOffsetX||t.textShadowOffsetY)}n("bYtY").inherits(i,r),i.prototype.addWithoutUpdate=function(t,e){if(e&&a(e.style)){var n;e._shadowDom?(n=e._shadowDom,this.getDefs(!0).contains(e._shadowDom)||this.addDom(n)):n=this.add(e),this.markUsed(e);var r=n.getAttribute("id");t.style.filter="url(#"+r+")"}},i.prototype.add=function(t){var e=this.createElement("filter");return t._shadowDomId=t._shadowDomId||this.nextId++,e.setAttribute("id","zr"+this._zrId+"-shadow-"+t._shadowDomId),this.updateDom(t,e),this.addDom(e),e},i.prototype.update=function(t,e){if(a(e.style)){var n=this;r.prototype.update.call(this,e,(function(){n.updateDom(e,e._shadowDom)}))}else this.remove(t,e)},i.prototype.remove=function(t,e){null!=e._shadowDomId&&(this.removeDom(t),t.style.filter="")},i.prototype.updateDom=function(t,e){var n=e.getElementsByTagName("feDropShadow");n=0===n.length?this.createElement("feDropShadow"):n[0];var r,i,a,o,s=t.style,l=t.scale&&t.scale[0]||1,u=t.scale&&t.scale[1]||1;if(s.shadowBlur||s.shadowOffsetX||s.shadowOffsetY)r=s.shadowOffsetX||0,i=s.shadowOffsetY||0,a=s.shadowBlur,o=s.shadowColor;else{if(!s.textShadowBlur)return void this.removeDom(e,s);r=s.textShadowOffsetX||0,i=s.textShadowOffsetY||0,a=s.textShadowBlur,o=s.textShadowColor}n.setAttribute("dx",r/l),n.setAttribute("dy",i/u),n.setAttribute("flood-color",o),n.setAttribute("stdDeviation",a/2/l+" "+a/2/u),e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width",Math.ceil(a/2*200)+"%"),e.setAttribute("height",Math.ceil(a/2*200)+"%"),e.appendChild(n),t._shadowDom=e},i.prototype.markUsed=function(t){t._shadowDom&&r.prototype.markUsed.call(this,t._shadowDom)},t.exports=i},vL6D:function(t,e,n){var r=n("bYtY"),i=n("+rIm"),a=n("IwbS"),o=n("7bkD"),s=n("Znkb"),l=n("WN+l"),u=l.rectCoordAxisBuildSplitArea,c=l.rectCoordAxisHandleRemove,h=["axisLine","axisTickLabel","axisName"],f=["splitArea","splitLine"],d=s.extend({type:"singleAxis",axisPointerClass:"SingleAxisPointer",render:function(t,e,n,s){var l=this.group;l.removeAll();var u=this._axisGroup;this._axisGroup=new a.Group;var c=o.layout(t),p=new i(t,c);r.each(h,p.add,p),l.add(this._axisGroup),l.add(p.getGroup()),r.each(f,(function(e){t.get(e+".show")&&this["_"+e](t)}),this),a.groupTransition(u,this._axisGroup,t),d.superCall(this,"render",t,e,n,s)},remove:function(){c(this)},_splitLine:function(t){var e=t.axis;if(!e.scale.isBlank()){var n=t.getModel("splitLine"),r=n.getModel("lineStyle"),i=r.get("width"),o=r.get("color");o=o instanceof Array?o:[o];for(var s=t.coordinateSystem.getRect(),l=e.isHorizontal(),u=[],c=0,h=e.getTicksCoords({tickModel:n}),f=[],d=[],p=0;p0&&e.animate(n,!1).when(null==a?500:a,c).delay(o||0)}(t,"",t,e,n,r,h);var f=t.animators.slice(),p=f.length;function g(){--p||a&&a()}p||a&&a();for(var v=0;v=0)&&t(a,r,i)}))}var d=f.prototype;function p(t){return t[0]>t[1]&&t.reverse(),t}function g(t,e){return a.parseFinder(t,e,{includeMainTypes:h})}d.setOutputRanges=function(t,e){this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var r=_[t.brushType](0,n,e);t.__rangeOffset={offset:x[t.brushType](r.values,t.range,[1,1]),xyMinMax:r.xyMinMax}}}))},d.matchOutputRanges=function(t,e,n){s(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&r.each(i.coordSyses,(function(r){var i=_[t.brushType](1,r,t.range);n(t,i.values,r,e)}))}),this)},d.setInputRanges=function(t,e){s(t,(function(t){var n,r,i,a,o=this.findTargetInfo(t,e);if(t.range=t.range||[],o&&!0!==o){t.panelId=o.panelId;var s=_[t.brushType](0,o.coordSys,t.coordRange),l=t.__rangeOffset;t.range=l?x[t.brushType](s.values,l.offset,(n=l.xyMinMax,r=k(s.xyMinMax),i=k(n),a=[r[0]/i[0],r[1]/i[1]],isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a)):s.values}}),this)},d.makePanelOpts=function(t,e){return r.map(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e&&e(n),clipPath:o.makeRectPanelClipPath(r),isTargetByCursor:o.makeRectIsTargetByCursor(r,t,n.coordSysModel),getLinearBrushOtherExtent:o.makeLinearBrushOtherExtent(r)}}))},d.controlSeries=function(t,e,n){var r=this.findTargetInfo(t,n);return!0===r||r&&l(r.coordSyses,e.coordinateSystem)>=0},d.findTargetInfo=function(t,e){for(var n=this._targetInfoList,r=g(e,t),i=0;i=0||l(i,t.getAxis("y").model)>=0)&&r.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:r[0],coordSyses:r,getPanelRect:y.grid,xAxisDeclared:u[t.id],yAxisDeclared:c[t.id]})})))},geo:function(t,e){s(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:y.geo})}))}},m=[function(t,e){var n=t.xAxisModel,r=t.yAxisModel,i=t.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],y={grid:function(){return this.coordSys.grid.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(i.getTransform(t)),e}},_={lineX:u(b,0),lineY:u(b,1),rect:function(t,e,n){var r=e[c[t]]([n[0][0],n[1][0]]),i=e[c[t]]([n[0][1],n[1][1]]),a=[p([r[0],i[0]]),p([r[1],i[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n){var i=[[1/0,-1/0],[1/0,-1/0]];return{values:r.map(n,(function(n){var r=e[c[t]](n);return i[0][0]=Math.min(i[0][0],r[0]),i[1][0]=Math.min(i[1][0],r[1]),i[0][1]=Math.max(i[0][1],r[0]),i[1][1]=Math.max(i[1][1],r[1]),r})),xyMinMax:i}}};function b(t,e,n,i){var a=n.getAxis(["x","y"][t]),o=p(r.map([0,1],(function(t){return e?a.coordToData(a.toLocalCoord(i[t])):a.toGlobalCoord(a.dataToCoord(i[t]))}))),s=[];return s[t]=o,s[1-t]=[NaN,NaN],{values:o,xyMinMax:s}}var x={lineX:u(w,0),lineY:u(w,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return r.map(t,(function(t,r){return[t[0]-n[0]*e[r][0],t[1]-n[1]*e[r][1]]}))}};function w(t,e,n,r){return[e[0]-r[t]*n[0],e[1]-r[t]*n[1]]}function k(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}t.exports=f},vZI5:function(t,e,n){var r=n("bYtY"),i=n("T4UG"),a=n("5GhG").seriesModelMixin,o=i.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(t,e,n){var r=e.getItemLayout(t);return r&&n.rect(r.brushRect)}});r.mixin(o,a,!0),t.exports=o},vafp:function(t,e,n){var r=n("bYtY"),i=n("8nly");function a(t,e,n){for(var r=[],i=e[0],a=e[1],o=0;o>1^-(1&s),l=l>>1^-(1&l),i=s+=i,a=l+=a,r.push([s/n,l/n])}return r}t.exports=function(t){return function(t){if(!t.UTF8Encoding)return t;var e=t.UTF8Scale;null==e&&(e=1024);for(var n=t.features,r=0;r0})),(function(t){var e=t.properties,n=t.geometry,a=n.coordinates,o=[];"Polygon"===n.type&&o.push({type:"polygon",exterior:a[0],interiors:a.slice(1)}),"MultiPolygon"===n.type&&r.each(a,(function(t){t[0]&&o.push({type:"polygon",exterior:t[0],interiors:t.slice(1)})}));var s=new i(e.name,o,e.cp);return s.properties=e,s}))}},vcCh:function(t,e,n){var r=n("ProS");n("0qV/"),r.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},vkgz:function(t,e,n){"use strict";var r=n("7o/Q");function i(){}var a=n("n6bG");function o(t,e,n){return function(r){return r.lift(new s(t,e,n))}}n.d(e,"a",(function(){return o}));var s=function(){function t(e,n,r){_classCallCheck(this,t),this.nextOrObserver=e,this.error=n,this.complete=r}return _createClass2(t,[{key:"call",value:function(t,e){return e.subscribe(new l(t,this.nextOrObserver,this.error,this.complete))}}]),t}(),l=function(t){_inherits(n,t);var e=_createSuper(n);function n(t,r,o,s){var l;return _classCallCheck(this,n),(l=e.call(this,t))._tapNext=i,l._tapError=i,l._tapComplete=i,l._tapError=o||i,l._tapComplete=s||i,Object(a.a)(r)?(l._context=_assertThisInitialized(l),l._tapNext=r):r&&(l._context=r,l._tapNext=r.next||i,l._tapError=r.error||i,l._tapComplete=r.complete||i),l}return _createClass2(n,[{key:"_next",value:function(t){try{this._tapNext.call(this._context,t)}catch(e){return void this.destination.error(e)}this.destination.next(t)}},{key:"_error",value:function(t){try{this._tapError.call(this._context,t)}catch(t){return void this.destination.error(t)}this.destination.error(t)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(t){return void this.destination.error(t)}return this.destination.complete()}}]),n}(r.a)},"w/wX":function(t,e,n){var r=n("QqLw"),i=n("ExA7");t.exports=function(t){return i(t)&&"[object Set]"==r(t)}},w802:function(t,e){t.exports="2.1.8"},wCDk:function(t,e){},wDdD:function(t,e,n){var r=n("ProS"),i=n("bYtY");n("98bh"),n("GrNh");var a=n("d4KN"),o=n("mOdp"),s=n("KS52"),l=n("0/Rx");a("pie",[{type:"pieToggleSelect",event:"pieselectchanged",method:"toggleSelected"},{type:"pieSelect",event:"pieselected",method:"select"},{type:"pieUnSelect",event:"pieunselected",method:"unSelect"}]),r.registerVisual(o("pie")),r.registerLayout(i.curry(s,"pie")),r.registerProcessor(l("pie"))},"wF/u":function(t,e,n){var r=n("e5cp"),i=n("ExA7");t.exports=function t(e,n,a,o,s){return e===n||(null==e||null==n||!i(e)&&!i(n)?e!=e&&n!=n:r(e,n,a,o,t,s))}},wJg7:function(t,e){var n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&te.length)return;if(!(S instanceof i)){var C=1;if(y&&w!=n.tail.prev){if(g.lastIndex=k,!(I=g.exec(e)))break;var A=I.index+(m&&I[1]?I[1].length:0),T=I.index+I[0].length,E=k;for(E+=w.value.length;A>=E;)E+=(w=w.next).value.length;if(k=E-=w.value.length,w.value instanceof i)continue;for(var M=w;M!==n.tail&&(E1&&t(e,n,a,w.prev,k,!0,f+","+p),c)break}else if(c)break}}}}}(t,u,e,u.head,0),function(t){for(var e=[],n=t.head.next;n!==t.tail;)e.push(n.value),n=n.next;return e}(u)},hooks:{all:{},add:function(t,e){var n=r.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=r.hooks.all[t];if(n&&n.length)for(var i,a=0;i=n[a++];)i(e)}},Token:i};function i(t,e,n,r,i){this.type=t,this.content=e,this.alias=n,this.length=0|(r||"").length,this.greedy=!!i}function a(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function o(t,e,n){var r=e.next,i={value:n,prev:e,next:r};return e.next=i,r.prev=i,t.length++,i}function s(t,e,n){for(var r=e.next,i=0;i"+a.content+""},!t.document)return t.addEventListener?(r.disableWorkerMessageHandler||t.addEventListener("message",(function(e){var n=JSON.parse(e.data),i=n.language,a=n.immediateClose;t.postMessage(r.highlight(n.code,r.languages[i],i)),a&&t.close()}),!1),r):r;var l=r.util.currentScript();function u(){r.manual||r.highlightAll()}if(l&&(r.filename=l.src,l.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var c=document.readyState;"loading"===c||"interactive"===c&&l&&l.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});t.exports&&(t.exports=r),"undefined"!=typeof global&&(global.Prism=r),r.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:(?!)*\]\s*)?>/i,greedy:!0},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/&#?[\da-z]{1,8};/i},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.hooks.add("wrap",(function(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))})),Object.defineProperty(r.languages.markup.tag,"addInlined",{value:function(t,e){var n={};n["language-"+e]={pattern:/(^$)/i,lookbehind:!0,inside:r.languages[e]},n.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:n}};i["language-"+e]={pattern:/[\s\S]+/,inside:r.languages[e]};var a={};a[t]={pattern:RegExp(/(<__[\s\S]*?>)(?:\s*|[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return t})),"i"),lookbehind:!0,greedy:!0,inside:i},r.languages.insertBefore("markup","cdata",a)}}),r.languages.xml=r.languages.extend("markup",{}),r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,function(t){var e=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+[\s\S]*?(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\((?!\s*\))\s*)(?:[^()]|\((?:[^()]|\([^()]*\))*\))+?(?=\s*\))/,lookbehind:!0,alias:"selector"}}},url:{pattern:RegExp("url\\((?:"+e.source+"|[^\n\r()]*)\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/}},selector:RegExp("[^{}\\s](?:[^{};\"']|"+e.source+")*?(?=\\s*\\{)"),string:{pattern:e,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var n=t.languages.markup;n&&(n.tag.addInlined("style","css"),t.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/\s*style=("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/i,inside:{"attr-name":{pattern:/^\s*style/i,inside:n.tag.inside},punctuation:/^\s*=\s*['"]|['"]\s*$/,"attr-value":{pattern:/.+/i,inside:t.languages.css}},alias:"language-css"}},n.tag))}(r),r.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+\.?\d*|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},r.languages.javascript=r.languages.extend("clike",{"class-name":[r.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])[_$A-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,function:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,operator:/--|\+\+|\*\*=?|=>|&&|\|\||[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?[.?]?|[~:]/}),r.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,r.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s])\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*[\s\S]*?\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0},"function-variable":{pattern:/#?[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*)?\s*\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\))/,lookbehind:!0,inside:r.languages.javascript},{pattern:/[_$a-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*(?=\s*=>)/i,inside:r.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*=>)/,lookbehind:!0,inside:r.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:[_$A-Za-z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\s*)\(\s*)(?!\s)(?:[^()]|\([^()]*\))+?(?=\s*\)\s*\{)/,lookbehind:!0,inside:r.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),r.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:r.languages.javascript}},string:/[\s\S]+/}}}),r.languages.markup&&r.languages.markup.tag.addInlined("script","javascript"),r.languages.js=r.languages.javascript,"undefined"!=typeof self&&self.Prism&&self.document&&document.querySelector&&(self.Prism.fileHighlight=function(t){t=t||document;var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"};Array.prototype.slice.call(t.querySelectorAll("pre[data-src]")).forEach((function(t){if(!t.hasAttribute("data-src-loaded")){for(var n,i=t.getAttribute("data-src"),a=t,o=/\blang(?:uage)?-([\w-]+)\b/i;a&&!o.test(a.className);)a=a.parentNode;if(a&&(n=(t.className.match(o)||[,""])[1]),!n){var s=(i.match(/\.(\w+)$/)||[,""])[1];n=e[s]||s}var l=document.createElement("code");l.className="language-"+n,t.textContent="",l.textContent="Loading\u2026",t.appendChild(l);var u=new XMLHttpRequest;u.open("GET",i,!0),u.onreadystatechange=function(){4==u.readyState&&(u.status<400&&u.responseText?(l.textContent=u.responseText,r.highlightElement(l),t.setAttribute("data-src-loaded","")):l.textContent=u.status>=400?"\u2716 Error "+u.status+" while fetching file: "+u.statusText:"\u2716 Error: File does not exist or is empty")},u.send(null)}}))},document.addEventListener("DOMContentLoaded",(function(){self.Prism.fileHighlight()})))},wclG:function(t,e,n){var r=n("pFRH"),i=n("88Gu")(r);t.exports=i},wr5s:function(t,e,n){var r=(0,n("IwbS").extendShape)({type:"sausage",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:2*Math.PI,clockwise:!0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r0||0,0),a=Math.max(e.r,0),o=.5*(a-i),s=i+o,l=e.startAngle,u=e.endAngle,c=e.clockwise,h=Math.cos(l),f=Math.sin(l),d=Math.cos(u),p=Math.sin(u);(c?u-l<2*Math.PI:l-u<2*Math.PI)&&(t.moveTo(h*i+n,f*i+r),t.arc(h*s+n,f*s+r,o,-Math.PI+l,l,!c)),t.arc(n,r,a,l,u,!c),t.moveTo(d*a+n,p*a+r),t.arc(d*s+n,p*s+r,o,u-2*Math.PI,u-Math.PI,!c),0!==i&&(t.arc(n,r,i,u,l,c),t.moveTo(h*i+n,p*i+r)),t.closePath()}});t.exports=r},wrZu:function(t,e,n){var r=n("+K+b"),i=n("XYm9"),a=n("b2z7"),o=n("otv/"),s=n("yP5f");t.exports=function(t,e,n){var l=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new l(+t);case"[object DataView]":return i(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(t,n);case"[object Map]":return new l;case"[object Number]":case"[object String]":return new l(t);case"[object RegExp]":return a(t);case"[object Set]":return new l;case"[object Symbol]":return o(t)}}},wt3j:function(t,e,n){var r=n("ProS"),i=n("bYtY"),a=n("/IIm"),o=n("EMyp").layoutCovers,s=r.extendComponentView({type:"brush",init:function(t,e){this.ecModel=t,this.api=e,(this._brushController=new a(e.getZr())).on("brush",i.bind(this._onBrush,this)).mount()},render:function(t){return this.model=t,l.apply(this,arguments)},updateTransform:function(t,e){return o(e),l.apply(this,arguments)},updateView:l,dispose:function(){this._brushController.dispose()},_onBrush:function(t,e){var n=this.model.id;this.model.brushTargetManager.setOutputRanges(t,this.ecModel),(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:i.clone(t),$from:n}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:i.clone(t),$from:n})}});function l(t,e,n,r){(!r||r.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())}t.exports=s},x3X8:function(t,e,n){var r=n("KxfA").retrieveRawValue;e.getDefaultLabel=function(t,e){var n=t.mapDimension("defaultedLabel",!0),i=n.length;if(1===i)return r(t,e,n[0]);if(i){for(var a=[],o=0;o=0},this.indexOfName=function(e){return t().indexOfName(e)},this.getItemVisual=function(e,n){return t().getItemVisual(e,n)}}},xRUu:function(t,e,n){n("hJvP"),n("hFmY"),n("sAZ8")},xSat:function(t,e){var n={axisPointer:1,tooltip:1,brush:1};e.onIrrelevantElement=function(t,e,r){var i=e.getComponentByElement(t.topTarget),a=i&&i.coordinateSystem;return i&&i!==r&&!n[i.mainType]&&a&&a.model!==r}},xTNl:function(t,e){var n=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];t.exports={color:n,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],n]}},xYSL:function(t,e){t.exports=function(t,e){return t.has(e)}},xaJk:function(t,e,n){var r=n("asDA"),i=n("SKAX"),a=n("ut/Y"),o=n("WPeF"),s=n("Z0cm");t.exports=function(t,e,n){var l=s(t)?r:o,u=arguments.length<3;return l(t,a(e,4),n,u,i)}},xiyX:function(t,e,n){var r=n("bYtY"),i=n("bLfw"),a=n("nkfE"),o=n("ICMv"),s=i.extend({type:"singleAxis",layoutMode:"box",axis:null,coordinateSystem:null,getCoordSysModel:function(){return this}});r.merge(s.prototype,o),a("single",s,(function(t,e){return e.type||(e.data?"category":"value")}),{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}}}),t.exports=s},xkGU:function(t,e,n){t.exports=n("bNQv")},"xs/l":function(t,e,n){var r=n("TYy9"),i=n("Ioao"),a=n("wclG");t.exports=function(t){return a(i(t,void 0,r),t+"")}},xweI:function(t,e,n){var r=n("XGnz"),i=n("alwl"),a=n("EA7m"),o=n("mv/X"),s=a((function(t,e){if(null==t)return[];var n=e.length;return n>1&&o(t,e[0],e[1])?e=[]:n>2&&o(e[0],e[1],e[2])&&(e=[e[0]]),i(t,r(e,1),[])}));t.exports=s},"y+Vt":function(t,e,n){var r=n("Gev7"),i=n("bYtY"),a=n("IMiH"),o=n("2DNl"),s=n("3C/r").prototype.getCanvasPattern,l=Math.abs,u=new a(!0);function c(t){r.call(this,t),this.path=null}c.prototype={constructor:c,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(t,e){var n,r=this.style,i=this.path||u,a=r.hasStroke(),o=r.hasFill(),l=r.fill,c=r.stroke,h=o&&!!l.colorStops,f=a&&!!c.colorStops,d=o&&!!l.image,p=a&&!!c.image;r.bind(t,this,e),this.setTransform(t),this.__dirty&&(h&&(n=n||this.getBoundingRect(),this._fillGradient=r.getGradient(t,l,n)),f&&(n=n||this.getBoundingRect(),this._strokeGradient=r.getGradient(t,c,n))),h?t.fillStyle=this._fillGradient:d&&(t.fillStyle=s.call(l,t)),f?t.strokeStyle=this._strokeGradient:p&&(t.strokeStyle=s.call(c,t));var g=r.lineDash,v=r.lineDashOffset,m=!!t.setLineDash,y=this.getGlobalScale();if(i.setScale(y[0],y[1],this.segmentIgnoreThreshold),this.__dirtyPath||g&&!m&&a?(i.beginPath(t),g&&!m&&(i.setLineDash(g),i.setLineDashOffset(v)),this.buildPath(i,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(t.beginPath(),this.path.rebuildPath(t)),o)if(null!=r.fillOpacity){var _=t.globalAlpha;t.globalAlpha=r.fillOpacity*r.opacity,i.fill(t),t.globalAlpha=_}else i.fill(t);g&&m&&(t.setLineDash(g),t.lineDashOffset=v),a&&(null!=r.strokeOpacity?(_=t.globalAlpha,t.globalAlpha=r.strokeOpacity*r.opacity,i.stroke(t),t.globalAlpha=_):i.stroke(t)),g&&m&&t.setLineDash([]),null!=r.text&&(this.restoreTransform(t),this.drawRectText(t,this.getBoundingRect()))},buildPath:function(t,e,n){},createPathProxy:function(){this.path=new a},getBoundingRect:function(){var t=this._rect,e=this.style,n=!t;if(n){var r=this.path;r||(r=this.path=new a),this.__dirtyPath&&(r.beginPath(),this.buildPath(r,this.shape,!1)),t=r.getBoundingRect()}if(this._rect=t,e.hasStroke()){var i=this._rectWithStroke||(this._rectWithStroke=t.clone());if(this.__dirty||n){i.copy(t);var o=e.lineWidth,s=e.strokeNoScale?this.getLineScale():1;e.hasFill()||(o=Math.max(o,this.strokeContainThreshold||4)),s>1e-10&&(i.width+=o/s,i.height+=o/s,i.x-=o/s/2,i.y-=o/s/2)}return i}return t},contain:function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),i=this.style;if(r.contain(t=n[0],e=n[1])){var a=this.path.data;if(i.hasStroke()){var s=i.lineWidth,l=i.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(i.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),o.containStroke(a,s/l,t,e)))return!0}if(i.hasFill())return o.contain(a,t,e)}return!1},dirty:function(t){null==t&&(t=!0),t&&(this.__dirtyPath=t,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(t){return this.animate("shape",t)},attrKV:function(t,e){"shape"===t?(this.setShape(e),this.__dirtyPath=!0,this._rect=null):r.prototype.attrKV.call(this,t,e)},setShape:function(t,e){var n=this.shape;if(n){if(i.isObject(t))for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);else n[t]=e;this.dirty(!0)}return this},getLineScale:function(){var t=this.transform;return t&&l(t[0]-1)>1e-10&&l(t[3]-1)>1e-10?Math.sqrt(l(t[0]*t[3]-t[2]*t[1])):1}},c.extend=function(t){var e=function(e){c.call(this,e),t.style&&this.style.extendFrom(t.style,!1);var n=t.shape;if(n){this.shape=this.shape||{};var r=this.shape;for(var i in n)!r.hasOwnProperty(i)&&n.hasOwnProperty(i)&&(r[i]=n[i])}t.init&&t.init.call(this,e)};for(var n in i.inherits(e,c),t)"style"!==n&&"shape"!==n&&(e.prototype[n]=t[n]);return e},i.inherits(c,r),t.exports=c},"y+lR":function(t,e,n){var r=n("bYtY"),i=n("mFDi"),a=n("z35g");function o(t){a.call(this,t)}o.prototype={constructor:o,type:"cartesian2d",dimensions:["x","y"],getBaseAxis:function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},containPoint:function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},containData:function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},dataToPoint:function(t,e,n){var r=this.getAxis("x"),i=this.getAxis("y");return(n=n||[])[0]=r.toGlobalCoord(r.dataToCoord(t[0])),n[1]=i.toGlobalCoord(i.dataToCoord(t[1])),n},clampData:function(t,e){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),a=r.getExtent(),o=n.parse(t[0]),s=r.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),o),Math.max(i[0],i[1])),e[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),e},pointToData:function(t,e){var n=this.getAxis("x"),r=this.getAxis("y");return(e=e||[])[0]=n.coordToData(n.toLocalCoord(t[0])),e[1]=r.coordToData(r.toLocalCoord(t[1])),e},getOtherAxis:function(t){return this.getAxis("x"===t.dim?"y":"x")},getArea:function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),r=Math.min(e[0],e[1]),a=Math.max(t[0],t[1])-n,o=Math.max(e[0],e[1])-r;return new i(n,r,a,o)}},r.inherits(o,a),t.exports=o},y1pI:function(t,e,n){var r=n("ljhN");t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},y23F:function(t,e){function n(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}function r(t,e){return{target:t,topTarget:e&&e.topTarget}}n.prototype={constructor:n,_dragStart:function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.dispatchToElement(r(e,t),"dragstart",t.event))},_drag:function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,a=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(a,o,t),this.dispatchToElement(r(e,t),"drag",t.event);var s=this.findHover(n,i,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.dispatchToElement(r(l,t),"dragleave",t.event),s&&s!==l&&this.dispatchToElement(r(s,t),"dragenter",t.event))}},_dragEnd:function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.dispatchToElement(r(e,t),"dragend",t.event),this._dropTarget&&this.dispatchToElement(r(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null}},t.exports=n},y2l5:function(t,e,n){var r=n("MwEJ"),i=n("T4UG").extend({type:"series.scatter",dependencies:["grid","polar","geo","singleAxis","calendar"],getInitialData:function(t,e){return r(this.getSource(),this,{useEncodeDefaulter:!0})},brushSelector:"point",getProgressive:function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},getProgressiveThreshold:function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},defaultOption:{coordinateSystem:"cartesian2d",zlevel:0,z:2,legendHoverLink:!0,hoverAnimation:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},clip:!0}});t.exports=i},y3NT:function(t,e,n){var r=n("OELB").parsePercent,i=n("bYtY"),a=Math.PI/180;t.exports=function(t,e,n,o){e.eachSeriesByType(t,(function(t){var e=t.get("center"),o=t.get("radius");i.isArray(o)||(o=[0,o]),i.isArray(e)||(e=[e,e]);var s=n.getWidth(),l=n.getHeight(),u=Math.min(s,l),c=r(e[0],s),h=r(e[1],l),f=r(o[0],u/2),d=r(o[1],u/2),p=-t.get("startAngle")*a,g=t.get("minAngle")*a,v=t.getData().tree.root,m=t.getViewRoot(),y=m.depth,_=t.get("sort");null!=_&&function t(e,n){var r=e.children||[];e.children=function(t,e){if("function"==typeof e)return t.sort(e);var n="asc"===e;return t.sort((function(t,e){var r=(t.getValue()-e.getValue())*(n?1:-1);return 0===r?(t.dataIndex-e.dataIndex)*(n?-1:1):r}))}(r,n),r.length&&i.each(e.children,(function(e){t(e,n)}))}(m,_);var b=0;i.each(m.children,(function(t){!isNaN(t.getValue())&&b++}));var x=m.getValue(),w=Math.PI/(x||b)*2,k=m.depth>0,S=(d-f)/(m.height-(k?-1:1)||1),C=t.get("clockwise"),A=t.get("stillShowZeroSum"),T=C?1:-1;if(k){var E=2*Math.PI;v.setLayout({angle:E,startAngle:p,endAngle:p+E,clockwise:C,cx:c,cy:h,r0:f,r:f+S})}!function t(e,n){if(e){var a=n;if(e!==v){var o=e.getValue(),s=0===x&&A?w:o*w;s=0;s--){var l=2*s,u=r[l]-a/2,c=r[l+1]-o/2;if(t>=u&&e>=c&&t<=u+a&&e<=c+o)return s}return-1}});function s(){this.group=new r.Group}var l=s.prototype;l.isPersistent=function(){return!this._incremental},l.updateData=function(t,e){this.group.removeAll();var n=new o({rectHover:!0,cursor:"default"});n.setShape({points:t.getLayout("symbolPoints")}),this._setCommon(n,t,!1,e),this.group.add(n),this._incremental=null},l.updateLayout=function(t){if(!this._incremental){var e=t.getLayout("symbolPoints");this.group.eachChild((function(t){null!=t.startIndex&&(e=new Float32Array(e.buffer,4*t.startIndex*2,2*(t.endIndex-t.startIndex))),t.setShape("points",e)}))}},l.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clearIncremental(),t.count()>2e6?(this._incremental||(this._incremental=new a({silent:!0})),this.group.add(this._incremental)):this._incremental=null},l.incrementalUpdate=function(t,e,n){var r;this._incremental?(r=new o,this._incremental.addDisplayable(r,!0)):((r=new o({rectHover:!0,cursor:"default",startIndex:t.start,endIndex:t.end})).incremental=!0,this.group.add(r)),r.setShape({points:e.getLayout("symbolPoints")}),this._setCommon(r,e,!!this._incremental,n)},l._setCommon=function(t,e,n,r){var a=e.hostModel;r=r||{};var o=e.getVisual("symbolSize");t.setShape("size",o instanceof Array?o:[o,o]),t.softClipShape=r.clipShape||null,t.symbolProxy=i(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var s=t.shape.size[0]<4;t.useStyle(a.getModel("itemStyle").getItemStyle(s?["color","shadowBlur","shadowColor"]:["color"]));var l=e.getVisual("color");l&&t.setColor(l),n||(t.seriesIndex=a.seriesIndex,t.on("mousemove",(function(e){t.dataIndex=null;var n=t.findDataIndex(e.offsetX,e.offsetY);n>=0&&(t.dataIndex=n+(t.startIndex||0))})))},l.remove=function(){this._clearIncremental(),this._incremental=null,this.group.removeAll()},l._clearIncremental=function(){var t=this._incremental;t&&t.clearDisplaybles()},t.exports=s},ycre:function(t,e,n){var r=n("711d")("length");t.exports=r},yik8:function(t,e,n){var r=n("bZqE"),i=r.eachAfter,a=r.eachBefore,o=n("Itpr"),s=o.init,l=o.firstWalk,u=o.secondWalk,c=o.separation,h=o.radialCoordinate,f=o.getViewRect;t.exports=function(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=f(t,e);t.layoutInfo=n;var r=t.get("layout"),o=0,d=0,p=null;"radial"===r?(o=2*Math.PI,d=Math.min(n.height,n.width)/2,p=c((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(o=n.width,d=n.height,p=c());var g=t.getData().tree.root,v=g.children[0];if(v){s(g),i(v,l,p),g.hierNode.modifier=-v.hierNode.prelim,a(v,u);var m=v,y=v,_=v;a(v,(function(t){var e=t.getLayout().x;ey.getLayout().x&&(y=t),t.depth>_.depth&&(_=t)}));var b=m===y?1:p(m,y)/2,x=b-m.getLayout().x,w=0,k=0,S=0,C=0;if("radial"===r)w=o/(y.getLayout().x+b+x),k=d/(_.depth-1||1),a(v,(function(t){S=(t.getLayout().x+x)*w;var e=h(S,C=(t.depth-1)*k);t.setLayout({x:e.x,y:e.y,rawX:S,rawY:C},!0)}));else{var A=t.getOrient();"RL"===A||"LR"===A?(k=d/(y.getLayout().x+b+x),w=o/(_.depth-1||1),a(v,(function(t){C=(t.getLayout().x+x)*k,t.setLayout({x:S="LR"===A?(t.depth-1)*w:o-(t.depth-1)*w,y:C},!0)}))):"TB"!==A&&"BT"!==A||(w=o/(y.getLayout().x+b+x),k=d/(_.depth-1||1),a(v,(function(t){S=(t.getLayout().x+x)*w,t.setLayout({x:S,y:C="TB"===A?(t.depth-1)*k:d-(t.depth-1)*k},!0)})))}}}(t,e)}))}},ypgQ:function(t,e,n){var r=n("bYtY"),i=n("4NO4"),a=n("bLfw"),o=r.each,s=r.clone,l=r.map,u=r.merge,c=/^(min|max)?(.+)$/;function h(t){this._api=t,this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[]}function f(t,e,n){var i,a,s=[],l=[],u=t.timeline;return t.baseOption&&(a=t.baseOption),(u||t.options)&&(a=a||{},s=(t.options||[]).slice()),t.media&&(a=a||{},o(t.media,(function(t){t&&t.option&&(t.query?l.push(t):i||(i=t))}))),a||(a=t),a.timeline||(a.timeline=u),o([a].concat(s).concat(r.map(l,(function(t){return t.option}))),(function(t){o(e,(function(e){e(t,n)}))})),{baseOption:a,timelineOptions:s,mediaDefault:i,mediaList:l}}function d(t,e,n){var i={width:e,height:n,aspectratio:e/n},a=!0;return r.each(t,(function(t,e){var n=e.match(c);if(n&&n[1]&&n[2]){var r=n[1],o=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(i[o],t,r)||(a=!1)}})),a}h.prototype={constructor:h,setOption:function(t,e){t&&r.each(i.normalizeToArray(t.series),(function(t){t&&t.data&&r.isTypedArray(t.data)&&r.setAsPrimitive(t.data)})),t=s(t);var n,c=this._optionBackup,h=f.call(this,t,e,!c);this._newBaseOption=h.baseOption,c?(n=c.baseOption,o(h.baseOption||{},(function(t,e){if(null!=t){var r=n[e];if(a.hasClass(e)){t=i.normalizeToArray(t),r=i.normalizeToArray(r);var o=i.mappingToExists(r,t);n[e]=l(o,(function(t){return t.option&&t.exist?u(t.exist,t.option,!0):t.exist||t.option}))}else n[e]=u(r,t,!0)}})),h.timelineOptions.length&&(c.timelineOptions=h.timelineOptions),h.mediaList.length&&(c.mediaList=h.mediaList),h.mediaDefault&&(c.mediaDefault=h.mediaDefault)):this._optionBackup=h},mountOption:function(t){var e=this._optionBackup;return this._timelineOptions=l(e.timelineOptions,s),this._mediaList=l(e.mediaList,s),this._mediaDefault=s(e.mediaDefault),this._currentMediaIndices=[],s(t?e.baseOption:this._newBaseOption)},getTimelineOption:function(t){var e,n=this._timelineOptions;if(n.length){var r=t.getComponent("timeline");r&&(e=s(n[r.getCurrentIndex()],!0))}return e},getMediaOption:function(t){var e,n=this._api.getWidth(),r=this._api.getHeight(),i=this._mediaList,a=this._mediaDefault,o=[],u=[];if(!i.length&&!a)return u;for(var c=0,h=i.length;c-1}(n)?n:(e=n.match(a))?r.test(e[0])?"about:blank":n:"about:blank"}}},yue5:function(t,e,n){var r=n("/9aa");t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,a=t==t,o=r(t),s=void 0!==e,l=null===e,u=e==e,c=r(e);if(!l&&!c&&!o&&t>e||o&&s&&u&&!l&&!c||i&&s&&u||!n&&u||!a)return 1;if(!i&&!o&&!c&&ta[1]&&(a[1]=n[1])}))})),a[1]0?0:NaN);var o=n.getMax(!0);null!=o&&"dataMax"!==o&&"function"!=typeof o?e[1]=o:i&&(e[1]=a>0?a-1:NaN),n.get("scale",!0)||(e[0]>0&&(e[0]=0),e[1]<0&&(e[1]=0))}(this,a),a),function(t){var e=t._minMaxSpan={},n=t._dataZoomModel,r=t._dataExtent;s(["min","max"],(function(a){var o=n.get(a+"Span"),s=n.get(a+"ValueSpan");null!=s&&(s=t.getAxisModel().axis.scale.parse(s)),null!=s?o=i.linearMap(r[0]+s,r,[0,100],!0):null!=o&&(s=i.linearMap(o,[0,100],r,!0)-r[0]),e[a+"Span"]=o,e[a+"ValueSpan"]=s}))}(this);var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,c(this)}var r,a},restore:function(t){t===this._dataZoomModel&&(this._valueWindow=this._percentWindow=null,c(this,!0))},filterData:function(t,e){if(t===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),i=t.get("filterMode"),a=this._valueWindow;"none"!==i&&s(r,(function(t){var e=t.getData(),r=e.mapDimension(n,!0);r.length&&("weakFilter"===i?e.filterSelf((function(t){for(var n,i,o,s=0;sa[1];if(u&&!c&&!h)return!0;u&&(o=!0),c&&(n=!0),h&&(i=!0)}return o&&n&&i})):s(r,(function(n){if("empty"===i)t.setData(e=e.map(n,(function(t){return function(t){return t>=a[0]&&t<=a[1]}(t)?t:NaN})));else{var r={};r[n]=a,e.selectRange(r)}})),s(r,(function(t){e.setApproximateExtent(a,t)})))}))}}},t.exports=u},zEVN:function(t,e,n){var r=n("Gi0A"),i=n("sEf8"),a=n("mdPL"),o=a&&a.isMap,s=o?i(o):r;t.exports=s},zM3Q:function(t,e,n){var r=n("4NO4").makeInner;t.exports=function(){var t=r();return function(e){var n=t(e),r=e.pipelineContext,i=n.large,a=n.progressiveRender,o=n.large=r&&r.large,s=n.progressiveRender=r&&r.progressiveRender;return!!(i^o||a^s)&&"reset"}}},zRKj:function(t,e,n){n("Ae16"),n("Sp2Z"),n("y4/Y")},zTMp:function(t,e,n){var r=n("bYtY"),i=n("Qxkt"),a=r.each,o=r.curry;function s(t,e){return"all"===t||r.isArray(t)&&r.indexOf(t,e)>=0||t===e}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){return!!t.get("handle.show")}function c(t){return t.type+"||"+t.id}e.collect=function(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var l=e.getComponent("tooltip"),h=e.getComponent("axisPointer"),f=h.get("link",!0)||[],d=[];a(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var p=c(n.model),g=t.coordSysAxesInfo[p]={};t.coordSysMap[p]=n;var v=n.model.getModel("tooltip",l);if(a(n.getAxes(),o(b,!1,null)),n.getTooltipAxes&&l&&v.get("show")){var m="axis"===v.get("trigger"),y="cross"===v.get("axisPointer.type"),_=n.getTooltipAxes(v.get("axisPointer.axis"));(m||y)&&a(_.baseAxes,o(b,!y||"cross",m)),y&&a(_.otherAxes,o(b,"cross",!1))}}function b(o,l,p){var m=p.model.getModel("axisPointer",h),y=m.get("show");if(y&&("auto"!==y||o||u(m))){null==l&&(l=m.get("triggerTooltip"));var _=(m=o?function(t,e,n,o,s,l){var u=e.getModel("axisPointer"),c={};a(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){c[t]=r.clone(u.get(t))})),c.snap="category"!==t.type&&!!l,"cross"===u.get("type")&&(c.type="line");var h=c.label||(c.label={});if(null==h.show&&(h.show=!1),"cross"===s){var f=u.get("label.show");if(h.show=null==f||f,!l){var d=c.lineStyle=u.get("crossStyle");d&&r.defaults(h,d.textStyle)}}return t.model.getModel("axisPointer",new i(c,n,o))}(p,v,h,e,o,l):m).get("snap"),b=c(p.model),x=l||_||"category"===p.type,w=t.axesInfo[b]={key:b,axis:p,coordSys:n,axisPointerModel:m,triggerTooltip:l,involveSeries:x,snap:_,useHandle:u(m),seriesModels:[]};g[b]=w,t.seriesInvolved|=x;var k=function(t,e){for(var n=e.model,r=e.dim,i=0;ic[1]&&c.reverse(),(null==o||o>c[1])&&(o=c[1]),o0){var C=a(m)?s:l;m>0&&(m=m*k+w),_[b++]=C[S],_[b++]=C[S+1],_[b++]=C[S+2],_[b++]=C[S+3]*m*256}else b+=4}return h.putImageData(y,0,0),c},_getBrush:function(){var t=this._brushCanvas||(this._brushCanvas=r.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},_getGradient:function(t,e,n){for(var r=this._gradientPixels,i=r[n]||(r[n]=new Uint8ClampedArray(1024)),a=[0,0,0,0],o=0,s=0;s<256;s++)e[n](s/255,!0,a),i[o++]=a[0],i[o++]=a[1],i[o++]=a[2],i[o++]=a[3];return i}},t.exports=i},zZ0H:function(t,e){t.exports=function(t){return t}},zarK:function(t,e,n){var r,i,a=n("YH21"),o=a.addEventListener,s=a.removeEventListener,l=a.normalizeEvent,u=a.getNativeEvent,c=n("bYtY"),h=n("H6uX"),f=n("ItGF"),d=f.domSupported,p=(i={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:r=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:c.map(r,(function(t){var e=t.replace("mouse","pointer");return i.hasOwnProperty(e)?e:t}))}),g=["mousemove","mouseup"],v=["pointermove","pointerup"];function m(t){return"mousewheel"===t&&f.browser.firefox?"DOMMouseScroll":t}function y(t){var e=t.pointerType;return"pen"===e||"touch"===e}function _(t){t&&(t.zrByTouch=!0)}function b(t,e){for(var n=e,r=!1;n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return r}function x(t,e){this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}var w=x.prototype;w.stopPropagation=w.stopImmediatePropagation=w.preventDefault=c.noop;var k={mousedown:function(t){t=l(this.dom,t),this._mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=l(this.dom,t);var e=this._mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||T(this,!0),this.trigger("mousemove",t)},mouseup:function(t){t=l(this.dom,t),T(this,!1),this.trigger("mouseup",t)},mouseout:function(t){t=l(this.dom,t),this._pointerCapturing&&(t.zrEventControl="no_globalout"),t.zrIsToLocalDOM=b(this,t.toElement||t.relatedTarget),this.trigger("mouseout",t)},touchstart:function(t){_(t=l(this.dom,t)),this._lastTouchMoment=new Date,this.handler.processGesture(t,"start"),k.mousemove.call(this,t),k.mousedown.call(this,t)},touchmove:function(t){_(t=l(this.dom,t)),this.handler.processGesture(t,"change"),k.mousemove.call(this,t)},touchend:function(t){_(t=l(this.dom,t)),this.handler.processGesture(t,"end"),k.mouseup.call(this,t),+new Date-this._lastTouchMoment<300&&k.click.call(this,t)},pointerdown:function(t){k.mousedown.call(this,t)},pointermove:function(t){y(t)||k.mousemove.call(this,t)},pointerup:function(t){k.mouseup.call(this,t)},pointerout:function(t){y(t)||k.mouseout.call(this,t)}};c.each(["click","mousewheel","dblclick","contextmenu"],(function(t){k[t]=function(e){e=l(this.dom,e),this.trigger(t,e)}}));var S={pointermove:function(t){y(t)||S.mousemove.call(this,t)},pointerup:function(t){S.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this._pointerCapturing;T(this,!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function C(t,e,n,r){t.mounted[e]=n,t.listenerOpts[e]=r,o(t.domTarget,m(e),n,r)}function A(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&s(t.domTarget,m(n),e[n],t.listenerOpts[n]);t.mounted={}}function T(t,e){if(t._mayPointerCapture=null,d&&t._pointerCapturing^e){t._pointerCapturing=e;var n=t._globalHandlerScope;e?function(t,e){function n(n){C(e,n,(function(r){r=u(r),b(t,r.target)||(r=function(t,e){return l(t.dom,new x(t,e),!0)}(t,r),e.domHandlers[n].call(t,r))}),{capture:!0})}f.pointerEventsSupported?c.each(v,n):f.touchEventsSupported||c.each(g,n)}(t,n):A(n)}}function E(t,e){this.domTarget=t,this.domHandlers=e,this.mounted={},this.listenerOpts={},this.touchTimer=null,this.touching=!1}function M(t,e){var n,r,i;h.call(this),this.dom=t,this.painterRoot=e,this._localHandlerScope=new E(t,k),d&&(this._globalHandlerScope=new E(document,S)),this._pointerCapturing=!1,this._mayPointerCapture=null,n=this,i=(r=this._localHandlerScope).domHandlers,f.pointerEventsSupported?c.each(p.pointer,(function(t){C(r,t,(function(e){i[t].call(n,e)}))})):(f.touchEventsSupported&&c.each(p.touch,(function(t){C(r,t,(function(e){i[t].call(n,e),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(r)}))})),c.each(p.mouse,(function(t){C(r,t,(function(e){e=u(e),r.touching||i[t].call(n,e)}))})))}var I=M.prototype;I.dispose=function(){A(this._localHandlerScope),d&&A(this._globalHandlerScope)},I.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},c.mixin(M,h),t.exports=M},zdSs:function(t,e,n){var r=n("S0uN"),i=n("nQNo"),a=n("CKtW"),o=n("DqMY");t.exports={graphlib:n("5VIG"),read:r,readMany:i,write:a,version:o,type:"dot",buffer:!1}},zn8P:function(t,e){function n(t){return Promise.resolve().then((function(){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}))}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="zn8P"},zoYe:function(t,e,n){var r=n("nmnc"),i=n("eUgh"),a=n("Z0cm"),o=n("/9aa"),s=r?r.prototype:void 0,l=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(a(e))return i(e,t)+"";if(o(e))return l?l.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n}},zuHt:function(t,e,n){var r=n("bYtY");t.exports=function(t){var e={};t.eachSeriesByType("map",(function(n){var i=n.getMapType();if(!n.getHostGeoModel()&&!e[i]){var a={};r.each(n.seriesGroup,(function(e){var n=e.coordinateSystem,r=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&r.each(r.mapDimension("value"),(function(t,e){var i=r.getName(e),o=n.getRegion(i);if(o&&!isNaN(t)){var s=a[i]||0,l=n.dataToPoint(o.center);a[i]=s+1,r.setItemLayout(e,{point:l,offset:s})}}))}));var o=n.getData();o.each((function(t){var e=o.getName(t),n=o.getItemLayout(t)||{};n.showLabel=!a[e],o.setItemLayout(t,n)})),e[i]=!0}}))}}},[[0,0]]]); \ No newline at end of file diff --git a/polyfills-es2015.js b/polyfills-es2015.js deleted file mode 100644 index b6241e7..0000000 --- a/polyfills-es2015.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{3:function(e,t,n){e.exports=n("hN/g")},KJ4T:function(e,t){!function(e,t){"use strict";function n(){var e=L.splice(0,L.length);for(Ke=0;e.length;)e.shift().call(null,e.shift())}function o(e,t){for(var n=0,o=e.length;n1)&&v(this)}}}),ze(a,V,{value:function(e){-1>0,A="__"+N+z,I="addEventListener",j="attached",R="Callback",x="detached",F="extends",V="attributeChanged"+R,U=j+R,q="connected"+R,B="disconnected"+R,G="created"+R,W=x+R,$="ADDITION",X="REMOVAL",J="DOMAttrModified",K="DOMContentLoaded",Y="DOMSubtreeModified",Q="<",ee="=",te=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,ne=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],oe=[],re=[],ae="",ie=E.documentElement,se=oe.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},le=b.prototype,ce=le.hasOwnProperty,ue=le.isPrototypeOf,he=b.defineProperty,pe=[],fe=b.getOwnPropertyDescriptor,de=b.getOwnPropertyNames,me=b.getPrototypeOf,ge=b.setPrototypeOf,Te=!!b.__proto__,ye="__dreCEv1",ve=e.customElements,_e=!/^force/.test(t.type)&&!!(ve&&ve.define&&ve.get&&ve.whenDefined),ke=b.create||b,Ee=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[se.call(t,e)]},set:function(o,r){(e=se.call(t,o))<0?n[t.push(o)-1]=r:n[e]=r}}},be=e.Promise||function(e){function t(e){for(o=!0;n.length;)n.shift()(e)}var n=[],o=!1,r={catch:function(){return r},then:function(e){return n.push(e),o&&setTimeout(t,1),r}};return e(t),r},we=!1,Le=ke(null),Me=ke(null),Ce=new Ee,Se=function(e){return e.toLowerCase()},De=b.create||function e(t){return t?(e.prototype=t,new e):this},He=ge||(Te?function(e,t){return e.__proto__=t,e}:de&&fe?function(){function e(e,t){for(var n,o=de(t),r=0,a=o.length;r

    ",new Oe((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(P=fe(Pe,"innerHTML"))&&P.set;n&&he(Pe,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),P=null})).observe(P,{childList:!0,subtree:!0}),P.innerHTML=""),Ye||(ge||Te?(O=function(e,t){ue.call(t,e)||p(e,t)},Z=p):Z=O=function(e,t){e[A]||(e[A]=b(!0),p(e,t))},Ne?(tt=!1,function(){var e=fe(Pe,I),t=e.value,n=function(e){var t=new CustomEvent(J,{bubbles:!0});t.attrName=e,t.prevValue=Ve.call(this,e),t.newValue=null,t[X]=t.attrChange=2,qe.call(this,e),Fe.call(this,t)},o=function(e,t){var n=Ue.call(this,e),o=n&&Ve.call(this,e),r=new CustomEvent(J,{bubbles:!0});Be.call(this,e,t),r.attrName=e,r.prevValue=n?o:null,r.newValue=t,n?r.MODIFICATION=r.attrChange=1:r[$]=r.attrChange=0,Fe.call(this,r)},r=function(e){var t,n=e.currentTarget,o=n[A],r=e.propertyName;o.hasOwnProperty(r)&&(o=o[r],(t=new CustomEvent(J,{bubbles:!0})).attrName=o.name,t.prevValue=o.value||null,t.newValue=o.value=n[r]||null,null==t.prevValue?t[$]=t.attrChange=0:t.MODIFICATION=t.attrChange=1,Fe.call(n,t))};e.value=function(e,a,i){e===J&&this[V]&&this.setAttribute!==o&&(this[A]={className:{name:"class",value:this.className}},this.setAttribute=o,this.removeAttribute=n,t.call(this,"propertychange",r)),t.call(this,e,a,i)},he(Pe,I,e)}()):Oe||(ie[I](J,Je),ie.setAttribute(A,1),ie.removeAttribute(A),tt&&(M=function(e){var t,n,o,r=this;if(r===e.target){for(o in t=r[A],r[A]=n=S(r),n){if(!(o in t))return C(0,r,o,t[o],n[o],$);if(n[o]!==t[o])return C(1,r,o,t[o],n[o],"MODIFICATION")}for(o in t)if(!(o in n))return C(2,r,o,t[o],n[o],X)}},C=function(e,t,n,o,r,a){var i={attrChange:e,currentTarget:t,attrName:n,prevValue:o,newValue:r};i[a]=e,s(i)},S=function(e){for(var t,n,o={},r=e.attributes,a=0,i=r.length;a
    $");if(n[F]="a",(t.prototype=De(Ze.prototype)).constructor=t,e.customElements.define(o,t,n),!r.test(E.createElement("a",{is:o}).outerHTML)||!r.test((new t).outerHTML))throw n}((function e(){return Reflect.construct(Ze,[],e)}),{},"document-register-element-a"+z)}catch(rt){k()}if(!t.noBuiltIn)try{if(Ge.call(E,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(at){Se=function(e){return{is:e.toLowerCase()}}}}(window)},"hN/g":function(e,t,n){"use strict";n.r(t),n("pDpN"),n("KJ4T")},pDpN:function(e,t,n){var o,r;void 0===(r="function"==typeof(o=function(){"use strict";!function(e){const t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function o(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");const r=e.__Zone_symbol_prefix||"__zone_symbol__";function a(e){return r+e}const i=!0===e[a("forceDuplicateZoneCheck")];if(e.Zone){if(i||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}class s{constructor(e,t){this._parent=e,this._name=t?t.name||"unnamed":"",this._properties=t&&t.properties||{},this._zoneDelegate=new c(this,this._parent&&this._parent._zoneDelegate,t)}static assertZonePatched(){if(e.Promise!==D.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let e=s.current;for(;e.parent;)e=e.parent;return e}static get current(){return O.zone}static get currentTask(){return Z}static __load_patch(t,r){if(D.hasOwnProperty(t)){if(i)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const a="Zone:"+t;n(a),D[t]=r(e,s,H),o(a,a)}}get parent(){return this._parent}get name(){return this._name}get(e){const t=this.getZoneWith(e);if(t)return t._properties[e]}getZoneWith(e){let t=this;for(;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}fork(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}wrap(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);const n=this._zoneDelegate.intercept(this,e,t),o=this;return function(){return o.runGuarded(n,this,arguments,t)}}run(e,t,n,o){O={parent:O,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,o)}finally{O=O.parent}}runGuarded(e,t=null,n,o){O={parent:O,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,o)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{O=O.parent}}runTask(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||v).name+"; Execution: "+this.name+")");if(e.state===_&&(e.type===S||e.type===C))return;const o=e.state!=b;o&&e._transitionTo(b,E),e.runCount++;const r=Z;Z=e,O={parent:O,zone:this};try{e.type==C&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{e.state!==_&&e.state!==L&&(e.type==S||e.data&&e.data.isPeriodic?o&&e._transitionTo(E,b):(e.runCount=0,this._updateTaskCount(e,-1),o&&e._transitionTo(_,b,_))),O=O.parent,Z=r}}scheduleTask(e){if(e.zone&&e.zone!==this){let t=this;for(;t;){if(t===e.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${e.zone.name}`);t=t.parent}}e._transitionTo(k,_);const t=[];e._zoneDelegates=t,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(n){throw e._transitionTo(L,k,_),this._zoneDelegate.handleError(this,n),n}return e._zoneDelegates===t&&this._updateTaskCount(e,1),e.state==k&&e._transitionTo(E,k),e}scheduleMicroTask(e,t,n,o){return this.scheduleTask(new u(M,e,t,n,o,void 0))}scheduleMacroTask(e,t,n,o,r){return this.scheduleTask(new u(C,e,t,n,o,r))}scheduleEventTask(e,t,n,o,r){return this.scheduleTask(new u(S,e,t,n,o,r))}cancelTask(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||v).name+"; Execution: "+this.name+")");e._transitionTo(w,E,b);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(L,w),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(_,w),e.runCount=0,e}_updateTaskCount(e,t){const n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(let o=0;oe.hasTask(n,o),onScheduleTask:(e,t,n,o)=>e.scheduleTask(n,o),onInvokeTask:(e,t,n,o,r,a)=>e.invokeTask(n,o,r,a),onCancelTask:(e,t,n,o)=>e.cancelTask(n,o)};class c{constructor(e,t,n){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=e,this._parentDelegate=t,this._forkZS=n&&(n&&n.onFork?n:t._forkZS),this._forkDlgt=n&&(n.onFork?t:t._forkDlgt),this._forkCurrZone=n&&(n.onFork?this.zone:t._forkCurrZone),this._interceptZS=n&&(n.onIntercept?n:t._interceptZS),this._interceptDlgt=n&&(n.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=n&&(n.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=n&&(n.onInvoke?n:t._invokeZS),this._invokeDlgt=n&&(n.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=n&&(n.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=n&&(n.onHandleError?n:t._handleErrorZS),this._handleErrorDlgt=n&&(n.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=n&&(n.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=n&&(n.onScheduleTask?n:t._scheduleTaskZS),this._scheduleTaskDlgt=n&&(n.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=n&&(n.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=n&&(n.onInvokeTask?n:t._invokeTaskZS),this._invokeTaskDlgt=n&&(n.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=n&&(n.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=n&&(n.onCancelTask?n:t._cancelTaskZS),this._cancelTaskDlgt=n&&(n.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=n&&(n.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const o=n&&n.onHasTask;(o||t&&t._hasTaskZS)&&(this._hasTaskZS=o?n:l,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=e,n.onScheduleTask||(this._scheduleTaskZS=l,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),n.onInvokeTask||(this._invokeTaskZS=l,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),n.onCancelTask||(this._cancelTaskZS=l,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new s(e,t)}intercept(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}invoke(e,t,n,o,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,o,r):t.apply(n,o)}handleError(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}scheduleTask(e,t){let n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t),n||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=M)throw new Error("Task is missing scheduleFn.");T(t)}return n}invokeTask(e,t,n,o){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,o):t.callback.apply(n,o)}cancelTask(e,t){let n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}hasTask(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}_updateTaskCount(e,t){const n=this._taskCounts,o=n[e],r=n[e]=o+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=o&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}class u{constructor(t,n,o,r,a,i){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=t,this.source=n,this.data=r,this.scheduleFn=a,this.cancelFn=i,!o)throw new Error("callback is not defined");this.callback=o;const s=this;this.invoke=t===S&&r&&r.useG?u.invokeTask:function(){return u.invokeTask.call(e,s,this,arguments)}}static invokeTask(e,t,n){e||(e=this),P++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==P&&y(),P--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(_,k)}_transitionTo(e,t,n){if(this._state!==t&&this._state!==n)throw new Error(`${this.type} '${this.source}': can not transition to '${e}', expecting state '${t}'${n?" or '"+n+"'":""}, was '${this._state}'.`);this._state=e,e==_&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const h=a("setTimeout"),p=a("Promise"),f=a("then");let d,m=[],g=!1;function T(t){if(0===P&&0===m.length)if(d||e[p]&&(d=e[p].resolve(0)),d){let e=d[f];e||(e=d.then),e.call(d,y)}else e[h](y,0);t&&m.push(t)}function y(){if(!g){for(g=!0;m.length;){const t=m;m=[];for(let n=0;nO,onUnhandledError:N,microtaskDrainDone:N,scheduleMicroTask:T,showUncaughtError:()=>!s[a("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:N,patchMethod:()=>N,bindArguments:()=>[],patchThen:()=>N,patchMacroTask:()=>N,setNativePromise:e=>{e&&"function"==typeof e.resolve&&(d=e.resolve(0))},patchEventPrototype:()=>N,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>N,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>N,wrapWithCurrentZone:()=>N,filterProperties:()=>[],attachOriginToPatched:()=>N,_redefineProperty:()=>N,patchCallbacks:()=>N};let O={parent:null,zone:new s(null,null)},Z=null,P=0;function N(){}o("Zone","Zone"),e.Zone=s}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Zone.__load_patch("ZoneAwarePromise",(e,t,n)=>{const o=Object.getOwnPropertyDescriptor,r=Object.defineProperty,a=n.symbol,i=[],s=!0===e[a("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],l=a("Promise"),c=a("then");n.onUnhandledError=e=>{if(n.showUncaughtError()){const t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=()=>{for(;i.length;){const t=i.shift();try{t.zone.runGuarded(()=>{throw t})}catch(e){h(e)}}};const u=a("unhandledPromiseRejectionHandler");function h(e){n.onUnhandledError(e);try{const n=t[u];"function"==typeof n&&n.call(this,e)}catch(o){}}function p(e){return e&&e.then}function f(e){return e}function d(e){return C.reject(e)}const m=a("state"),g=a("value"),T=a("finally"),y=a("parentPromiseValue"),v=a("parentPromiseState");function _(e,t){return n=>{try{E(e,t,n)}catch(o){E(e,!1,o)}}}const k=a("currentTaskTrace");function E(e,o,a){const l=function(){let e=!1;return function(t){return function(){e||(e=!0,t.apply(null,arguments))}}}();if(e===a)throw new TypeError("Promise resolved with itself");if(null===e[m]){let h=null;try{"object"!=typeof a&&"function"!=typeof a||(h=a&&a.then)}catch(u){return l(()=>{E(e,!1,u)})(),e}if(!1!==o&&a instanceof C&&a.hasOwnProperty(m)&&a.hasOwnProperty(g)&&null!==a[m])w(a),E(e,a[m],a[g]);else if(!1!==o&&"function"==typeof h)try{h.call(a,l(_(e,o)),l(_(e,!1)))}catch(u){l(()=>{E(e,!1,u)})()}else{e[m]=o;const l=e[g];if(e[g]=a,e[T]===T&&!0===o&&(e[m]=e[v],e[g]=e[y]),!1===o&&a instanceof Error){const e=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;e&&r(a,k,{configurable:!0,enumerable:!1,writable:!0,value:e})}for(let t=0;t{try{const o=e[g],r=!!n&&T===n[T];r&&(n[y]=o,n[v]=a);const s=t.run(i,void 0,r&&i!==d&&i!==f?[]:[o]);E(n,!0,s)}catch(o){E(n,!1,o)}},n)}const M=function(){};class C{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(e){return E(new this(null),!0,e)}static reject(e){return E(new this(null),!1,e)}static race(e){let t,n,o=new this((e,o)=>{t=e,n=o});function r(e){t(e)}function a(e){n(e)}for(let i of e)p(i)||(i=this.resolve(i)),i.then(r,a);return o}static all(e){return C.allWithCallback(e)}static allSettled(e){return(this&&this.prototype instanceof C?this:C).allWithCallback(e,{thenCallback:e=>({status:"fulfilled",value:e}),errorCallback:e=>({status:"rejected",reason:e})})}static allWithCallback(e,t){let n,o,r=new this((e,t)=>{n=e,o=t}),a=2,i=0;const s=[];for(let c of e){p(c)||(c=this.resolve(c));const e=i;try{c.then(o=>{s[e]=t?t.thenCallback(o):o,a--,0===a&&n(s)},r=>{t?(s[e]=t.errorCallback(r),a--,0===a&&n(s)):o(r)})}catch(l){o(l)}a++,i++}return a-=2,0===a&&n(s),r}constructor(e){const t=this;if(!(t instanceof C))throw new Error("Must be an instanceof Promise.");t[m]=null,t[g]=[];try{e&&e(_(t,!0),_(t,!1))}catch(n){E(t,!1,n)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return C}then(e,n){let o=this.constructor[Symbol.species];o&&"function"==typeof o||(o=this.constructor||C);const r=new o(M),a=t.current;return null==this[m]?this[g].push(a,r,e,n):L(this,a,r,e,n),r}catch(e){return this.then(null,e)}finally(e){let n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=C);const o=new n(M);o[T]=T;const r=t.current;return null==this[m]?this[g].push(r,o,e,e):L(this,r,o,e,e),o}}C.resolve=C.resolve,C.reject=C.reject,C.race=C.race,C.all=C.all;const S=e[l]=e.Promise,D=t.__symbol__("ZoneAwarePromise");let H=o(e,"Promise");H&&!H.configurable||(H&&delete H.writable,H&&delete H.value,H||(H={configurable:!0,enumerable:!0}),H.get=function(){return e[D]?e[D]:e[l]},H.set=function(t){t===C?e[D]=t:(e[l]=t,t.prototype[c]||Z(t),n.setNativePromise(t))},r(e,"Promise",H)),e.Promise=C;const O=a("thenPatched");function Z(e){const t=e.prototype,n=o(t,"then");if(n&&(!1===n.writable||!n.configurable))return;const r=t.then;t[c]=r,e.prototype.then=function(e,t){return new C((e,t)=>{r.call(this,e,t)}).then(e,t)},e[O]=!0}if(n.patchThen=Z,S){Z(S);const t=e.fetch;"function"==typeof t&&(e[n.symbol("fetch")]=t,e.fetch=(P=t,function(){let e=P.apply(this,arguments);if(e instanceof C)return e;let t=e.constructor;return t[O]||Z(t),e}))}var P;return Promise[t.__symbol__("uncaughtPromiseErrors")]=i,C});const e=Object.getOwnPropertyDescriptor,t=Object.defineProperty,n=Object.getPrototypeOf,o=Object.create,r=Array.prototype.slice,a=Zone.__symbol__("addEventListener"),i=Zone.__symbol__("removeEventListener"),s=Zone.__symbol__("");function l(e,t){return Zone.current.wrap(e,t)}function c(e,t,n,o,r){return Zone.current.scheduleMacroTask(e,t,n,o,r)}const u=Zone.__symbol__,h="undefined"!=typeof window,p=h?window:void 0,f=h&&p||"object"==typeof self&&self||global,d=[null];function m(e,t){for(let n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=l(e[n],t+"_"+n));return e}function g(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const T="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,y=!("nw"in f)&&void 0!==f.process&&"[object process]"==={}.toString.call(f.process),v=!y&&!T&&!(!h||!p.HTMLElement),_=void 0!==f.process&&"[object process]"==={}.toString.call(f.process)&&!T&&!(!h||!p.HTMLElement),k={},E=function(e){if(!(e=e||f.event))return;let t=k[e.type];t||(t=k[e.type]=u("ON_PROPERTY"+e.type));const n=this||e.target||f,o=n[t];let r;if(v&&n===p&&"error"===e.type){const t=e;r=o&&o.call(this,t.message,t.filename,t.lineno,t.colno,t.error),!0===r&&e.preventDefault()}else r=o&&o.apply(this,arguments),null==r||r||e.preventDefault();return r};function b(n,o,r){let a=e(n,o);if(!a&&r&&e(r,o)&&(a={enumerable:!0,configurable:!0}),!a||!a.configurable)return;const i=u("on"+o+"patched");if(n.hasOwnProperty(i)&&n[i])return;delete a.writable,delete a.value;const s=a.get,l=a.set,c=o.substr(2);let h=k[c];h||(h=k[c]=u("ON_PROPERTY"+c)),a.set=function(e){let t=this;t||n!==f||(t=f),t&&(t[h]&&t.removeEventListener(c,E),l&&l.apply(t,d),"function"==typeof e?(t[h]=e,t.addEventListener(c,E,!1)):t[h]=null)},a.get=function(){let e=this;if(e||n!==f||(e=f),!e)return null;const t=e[h];if(t)return t;if(s){let t=s&&s.call(this);if(t)return a.set.call(this,t),"function"==typeof e.removeAttribute&&e.removeAttribute(o),t}return null},t(n,o,a),n[i]=!0}function w(e,t,n){if(t)for(let o=0;ofunction(t,o){const a=n(t,o);return a.cbIdx>=0&&"function"==typeof o[a.cbIdx]?c(a.name,o[a.cbIdx],a,r):e.apply(t,o)})}function D(e,t){e[u("OriginalDelegate")]=t}let H=!1,O=!1;function Z(){try{const e=p.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}function P(){if(H)return O;H=!0;try{const e=p.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(O=!0)}catch(e){}return O}Zone.__load_patch("toString",e=>{const t=Function.prototype.toString,n=u("OriginalDelegate"),o=u("Promise"),r=u("Error"),a=function(){if("function"==typeof this){const a=this[n];if(a)return"function"==typeof a?t.call(a):Object.prototype.toString.call(a);if(this===Promise){const n=e[o];if(n)return t.call(n)}if(this===Error){const n=e[r];if(n)return t.call(n)}}return t.call(this)};a[n]=t,Function.prototype.toString=a;const i=Object.prototype.toString;Object.prototype.toString=function(){return this instanceof Promise?"[object Promise]":i.call(this)}});let N=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){N=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(se){N=!1}const z={useG:!0},A={},I={},j=new RegExp("^"+s+"(\\w+)(true|false)$"),R=u("propagationStopped");function x(e,t){const n=(t?t(e):e)+"false",o=(t?t(e):e)+"true",r=s+n,a=s+o;A[e]={},A[e].false=r,A[e].true=a}function F(e,t,o){const r=o&&o.add||"addEventListener",a=o&&o.rm||"removeEventListener",i=o&&o.listeners||"eventListeners",l=o&&o.rmAll||"removeAllListeners",c=u(r),h="."+r+":",p=function(e,t,n){if(e.isRemoved)return;const o=e.callback;"object"==typeof o&&o.handleEvent&&(e.callback=e=>o.handleEvent(e),e.originalDelegate=o),e.invoke(e,t,[n]);const r=e.options;r&&"object"==typeof r&&r.once&&t[a].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,r)},f=function(t){if(!(t=t||e.event))return;const n=this||t.target||e,o=n[A[t.type].false];if(o)if(1===o.length)p(o[0],n,t);else{const e=o.slice();for(let o=0;ofunction(t,n){t[R]=!0,e&&e.apply(t,n)})}function q(e,t,n,o,r){const a=Zone.__symbol__(o);if(t[a])return;const i=t[a]=t[o];t[o]=function(a,s,l){return s&&s.prototype&&r.forEach((function(t){const r=`${n}.${o}::`+t,a=s.prototype;if(a.hasOwnProperty(t)){const n=e.ObjectGetOwnPropertyDescriptor(a,t);n&&n.value?(n.value=e.wrapWithCurrentZone(n.value,r),e._redefineProperty(s.prototype,t,n)):a[t]&&(a[t]=e.wrapWithCurrentZone(a[t],r))}else a[t]&&(a[t]=e.wrapWithCurrentZone(a[t],r))})),i.call(t,a,s,l)},e.attachOriginToPatched(t[o],i)}const B=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],G=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],W=["load"],$=["blur","error","focus","load","resize","scroll","messageerror"],X=["bounce","finish","start"],J=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],K=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],Y=["close","error","open","message"],Q=["error","message"],ee=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],B,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function te(e,t,n){if(!n||0===n.length)return t;const o=n.filter(t=>t.target===e);if(!o||0===o.length)return t;const r=o[0].ignoreProperties;return t.filter(e=>-1===r.indexOf(e))}function ne(e,t,n,o){e&&w(e,te(e,t,n),o)}function oe(e,t){if(y&&!_)return;if(Zone[e.symbol("patchEvents")])return;const o="undefined"!=typeof WebSocket,r=t.__Zone_ignore_on_properties;if(v){const e=window,t=Z?[{target:e,ignoreProperties:["error"]}]:[];ne(e,ee.concat(["messageerror"]),r?r.concat(t):r,n(e)),ne(Document.prototype,ee,r),void 0!==e.SVGElement&&ne(e.SVGElement.prototype,ee,r),ne(Element.prototype,ee,r),ne(HTMLElement.prototype,ee,r),ne(HTMLMediaElement.prototype,G,r),ne(HTMLFrameSetElement.prototype,B.concat($),r),ne(HTMLBodyElement.prototype,B.concat($),r),ne(HTMLFrameElement.prototype,W,r),ne(HTMLIFrameElement.prototype,W,r);const o=e.HTMLMarqueeElement;o&&ne(o.prototype,X,r);const a=e.Worker;a&&ne(a.prototype,Q,r)}const a=t.XMLHttpRequest;a&&ne(a.prototype,J,r);const i=t.XMLHttpRequestEventTarget;i&&ne(i&&i.prototype,J,r),"undefined"!=typeof IDBIndex&&(ne(IDBIndex.prototype,K,r),ne(IDBRequest.prototype,K,r),ne(IDBOpenDBRequest.prototype,K,r),ne(IDBDatabase.prototype,K,r),ne(IDBTransaction.prototype,K,r),ne(IDBCursor.prototype,K,r)),o&&ne(WebSocket.prototype,Y,r)}Zone.__load_patch("util",(n,a,i)=>{i.patchOnProperties=w,i.patchMethod=C,i.bindArguments=m,i.patchMacroTask=S;const c=a.__symbol__("BLACK_LISTED_EVENTS"),u=a.__symbol__("UNPATCHED_EVENTS");n[u]&&(n[c]=n[u]),n[c]&&(a[c]=a[u]=n[c]),i.patchEventPrototype=U,i.patchEventTarget=F,i.isIEOrEdge=P,i.ObjectDefineProperty=t,i.ObjectGetOwnPropertyDescriptor=e,i.ObjectCreate=o,i.ArraySlice=r,i.patchClass=M,i.wrapWithCurrentZone=l,i.filterProperties=te,i.attachOriginToPatched=D,i._redefineProperty=Object.defineProperty,i.patchCallbacks=q,i.getGlobalObjects=()=>({globalSources:I,zoneSymbolEventNames:A,eventNames:ee,isBrowser:v,isMix:_,isNode:y,TRUE_STR:"true",FALSE_STR:"false",ZONE_SYMBOL_PREFIX:s,ADD_EVENT_LISTENER_STR:"addEventListener",REMOVE_EVENT_LISTENER_STR:"removeEventListener"})});const re=u("zoneTask");function ae(e,t,n,o){let r=null,a=null;n+=o;const i={};function s(t){const n=t.data;return n.args[0]=function(){try{t.invoke.apply(this,arguments)}finally{t.data&&t.data.isPeriodic||("number"==typeof n.handleId?delete i[n.handleId]:n.handleId&&(n.handleId[re]=null))}},n.handleId=r.apply(e,n.args),t}function l(e){return a(e.data.handleId)}r=C(e,t+=o,n=>function(r,a){if("function"==typeof a[0]){const e=c(t,a[0],{isPeriodic:"Interval"===o,delay:"Timeout"===o||"Interval"===o?a[1]||0:void 0,args:a},s,l);if(!e)return e;const n=e.data.handleId;return"number"==typeof n?i[n]=e:n&&(n[re]=e),n&&n.ref&&n.unref&&"function"==typeof n.ref&&"function"==typeof n.unref&&(e.ref=n.ref.bind(n),e.unref=n.unref.bind(n)),"number"==typeof n||n?n:e}return n.apply(e,a)}),a=C(e,n,t=>function(n,o){const r=o[0];let a;"number"==typeof r?a=i[r]:(a=r&&r[re],a||(a=r)),a&&"string"==typeof a.type?"notScheduled"!==a.state&&(a.cancelFn&&a.data.isPeriodic||0===a.runCount)&&("number"==typeof r?delete i[r]:r&&(r[re]=null),a.zone.cancelTask(a)):t.apply(e,o)})}function ie(e,t){if(Zone[t.symbol("patchEventTarget")])return;const{eventNames:n,zoneSymbolEventNames:o,TRUE_STR:r,FALSE_STR:a,ZONE_SYMBOL_PREFIX:i}=t.getGlobalObjects();for(let l=0;l{const t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("timers",e=>{ae(e,"set","clear","Timeout"),ae(e,"set","clear","Interval"),ae(e,"set","clear","Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{ae(e,"request","cancel","AnimationFrame"),ae(e,"mozRequest","mozCancel","AnimationFrame"),ae(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,t)=>{const n=["alert","prompt","confirm"];for(let o=0;ofunction(o,a){return t.current.run(n,e,a,r)})}),Zone.__load_patch("EventTarget",(e,t,n)=>{!function(e,t){t.patchEventPrototype(e,t)}(e,n),ie(e,n);const o=e.XMLHttpRequestEventTarget;o&&o.prototype&&n.patchEventTarget(e,[o.prototype]),M("MutationObserver"),M("WebKitMutationObserver"),M("IntersectionObserver"),M("FileReader")}),Zone.__load_patch("on_property",(e,t,n)=>{oe(n,e)}),Zone.__load_patch("customElements",(e,t,n)=>{!function(e,t){const{isBrowser:n,isMix:o}=t.getGlobalObjects();(n||o)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",(e,t)=>{!function(e){const p=e.XMLHttpRequest;if(!p)return;const f=p.prototype;let d=f[a],m=f[i];if(!d){const t=e.XMLHttpRequestEventTarget;if(t){const e=t.prototype;d=e[a],m=e[i]}}function g(e){const o=e.data,l=o.target;l[s]=!1,l[h]=!1;const c=l[r];d||(d=l[a],m=l[i]),c&&m.call(l,"readystatechange",c);const u=l[r]=()=>{if(l.readyState===l.DONE)if(!o.aborted&&l[s]&&"scheduled"===e.state){const n=l[t.__symbol__("loadfalse")];if(n&&n.length>0){const r=e.invoke;e.invoke=function(){const n=l[t.__symbol__("loadfalse")];for(let t=0;tfunction(e,t){return e[o]=0==t[2],e[l]=t[1],v.apply(e,t)}),_=u("fetchTaskAborting"),k=u("fetchTaskScheduling"),E=C(f,"send",()=>function(e,n){if(!0===t.current[k])return E.apply(e,n);if(e[o])return E.apply(e,n);{const t={target:e,url:e[l],isPeriodic:!1,args:n,aborted:!1},o=c("XMLHttpRequest.send",T,t,g,y);e&&!0===e[h]&&!t.aborted&&"scheduled"===o.state&&o.invoke()}}),b=C(f,"abort",()=>function(e,o){const r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[_])return b.apply(e,o)})}(e);const n=u("xhrTask"),o=u("xhrSync"),r=u("xhrListener"),s=u("xhrScheduled"),l=u("xhrURL"),h=u("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",t=>{t.navigator&&t.navigator.geolocation&&function(t,n){const o=t.constructor.name;for(let r=0;r{const t=function(){return e.apply(this,m(arguments,o+"."+a))};return D(t,e),t})(i)}}}(t.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,t)=>{function n(t){return function(n){V(e,t).forEach(o=>{const r=e.PromiseRejectionEvent;if(r){const e=new r(t,{promise:n.promise,reason:n.rejection});o.invoke(e)}})}}e.PromiseRejectionEvent&&(t[u("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[u("rejectionHandledHandler")]=n("rejectionhandled"))})})?o.call(t,n,t,e):o)||(e.exports=r)}},[[3,0]]]); \ No newline at end of file diff --git a/polyfills-es5.js b/polyfills-es5.js deleted file mode 100644 index 3e8f4b1..0000000 --- a/polyfills-es5.js +++ /dev/null @@ -1 +0,0 @@ -function _createForOfIteratorHelper(t){if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(t=_unsupportedIterableToArray(t))){var e=0,n=function(){};return{s:n,n:function(){return e>=t.length?{done:!0}:{done:!1,value:t[e++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=t[Symbol.iterator]()},n:function(){var t=r.next();return i=t.done,t},e:function(t){a=!0,o=t},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n")})),l="$0"==="a".replace(/./,"$0"),f=i("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),h=!o((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,f){var v=i(t),d=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),g=d&&!o((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[v]=/./[v]),n.exec=function(){return e=!0,null},n[v](""),!e}));if(!d||!g||"replace"===t&&(!s||!l||p)||"split"===t&&!h){var y=/./[v],m=n(v,""[t],(function(t,e,n,r,o){return e.exec===a?d&&!o?{done:!0,value:y.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=m[1];r(String.prototype,t,m[0]),r(RegExp.prototype,v,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}f&&c(RegExp.prototype[v],"sham",!0)}},"1E5z":function(t,e,n){var r=n("m/L8").f,o=n("UTVS"),i=n("tiKp")("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},"1Y/n":function(t,e,n){var r=n("HAuM"),o=n("ewvW"),i=n("RK3t"),a=n("UMSQ"),c=function(t){return function(e,n,c,u){r(n);var s=o(e),l=i(s),f=a(s.length),p=t?f-1:0,h=t?-1:1;if(c<2)for(;;){if(p in l){u=l[p],p+=h;break}if(p+=h,t?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:f>p;p+=h)p in l&&(u=n(u,l[p],p,s));return u}};t.exports={left:c(!1),right:c(!0)}},2:function(t,e,n){n("mRIq"),n("R0gw"),t.exports=n("hN/g")},"2A+d":function(t,e,n){var r=n("I+eb"),o=n("/GqU"),i=n("UMSQ");r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],c=0;n>c;)a.push(String(e[c++])),c1?arguments[1]:void 0)}})},"2oRo":function(t,e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof global&&global)||Function("return this")()},"33Wh":function(t,e,n){var r=n("yoRg"),o=n("eDl+");t.exports=Object.keys||function(t){return r(t,o)}},"3I1R":function(t,e,n){n("dG/n")("hasInstance")},"3KgV":function(t,e,n){var r=n("I+eb"),o=n("uy83"),i=n("0Dky"),a=n("hh1v"),c=n("8YOa").onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){u(1)})),sham:!o},{freeze:function(t){return u&&a(t)?u(c(t)):t}})},"3bBZ":function(t,e,n){var r=n("2oRo"),o=n("/byt"),i=n("4mDm"),a=n("kRJp"),c=n("tiKp"),u=c("iterator"),s=c("toStringTag"),l=i.values;for(var f in o){var p=r[f],h=p&&p.prototype;if(h){if(h[u]!==l)try{a(h,u,l)}catch(d){h[u]=l}if(h[s]||a(h,s,f),o[f])for(var v in i)if(h[v]!==i[v])try{a(h,v,i[v])}catch(d){h[v]=i[v]}}}},"4Brf":function(t,e,n){"use strict";var r=n("I+eb"),o=n("g6v/"),i=n("2oRo"),a=n("UTVS"),c=n("hh1v"),u=n("m/L8").f,s=n("6JNq"),l=i.Symbol;if(o&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},p=function t(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),n=this instanceof t?new l(e):void 0===e?l():l(e);return""===e&&(f[n]=!0),n};s(p,l);var h=p.prototype=l.prototype;h.constructor=p;var v=h.toString,d="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;u(h,"description",{configurable:!0,get:function(){var t=c(this)?this.valueOf():this,e=v.call(t);if(a(f,t))return"";var n=d?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},"4WOD":function(t,e,n){var r=n("UTVS"),o=n("ewvW"),i=n("93I0"),a=n("4Xet"),c=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,c)?t[c]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},"4Xet":function(t,e,n){var r=n("0Dky");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},"4h0Y":function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("hh1v"),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(t){return!i(t)||!!a&&a(t)}})},"4l63":function(t,e,n){var r=n("I+eb"),o=n("wg0c");r({global:!0,forced:parseInt!=o},{parseInt:o})},"4mDm":function(t,e,n){"use strict";var r=n("/GqU"),o=n("RNIs"),i=n("P4y1"),a=n("afO8"),c=n("fdAy"),u=a.set,s=a.getterFor("Array Iterator");t.exports=c(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=s(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},"4oU/":function(t,e,n){var r=n("2oRo").isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},"4syw":function(t,e,n){var r=n("busE");t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},"5D5o":function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("hh1v"),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},"5DmW":function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("/GqU"),a=n("Bs8V").f,c=n("g6v/"),u=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!c||u,sham:!c},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},"5Tg+":function(t,e,n){var r=n("tiKp");e.f=r},"5Yz+":function(t,e,n){"use strict";var r=n("/GqU"),o=n("ppGB"),i=n("UMSQ"),a=n("pkCn"),c=n("rkAj"),u=Math.min,s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf"),p=c("indexOf",{ACCESSORS:!0,1:0});t.exports=!l&&f&&p?s:function(t){if(l)return s.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=u(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}},"5mdu":function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},"5s+n":function(t,e,n){"use strict";var r,o,i,a,c=n("I+eb"),u=n("xDBR"),s=n("2oRo"),l=n("0GbY"),f=n("/qmn"),p=n("busE"),h=n("4syw"),v=n("1E5z"),d=n("JiZb"),g=n("hh1v"),y=n("HAuM"),m=n("GarU"),b=n("xrYK"),k=n("iSVu"),E=n("ImZN"),T=n("HH4o"),w=n("SEBh"),S=n("LPSS").set,x=n("tXUg"),_=n("zfnd"),O=n("RN6c"),M=n("8GlL"),I=n("5mdu"),L=n("afO8"),D=n("lMq5"),A=n("tiKp"),P=n("LQDL"),R=A("species"),j="Promise",C=L.get,N=L.set,H=L.getterFor(j),F=f,Z=s.TypeError,z=s.document,U=s.process,W=l("fetch"),G=M.f,B=G,V="process"==b(U),K=!!(z&&z.createEvent&&s.dispatchEvent),Y=D(j,(function(){if(k(F)===String(F)){if(66===P)return!0;if(!V&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!F.prototype.finally)return!0;if(P>=51&&/native code/.test(F))return!1;var t=F.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[R]=e,!(t.then((function(){}))instanceof e)})),q=Y||!T((function(t){F.all(t).catch((function(){}))})),X=function(t){var e;return!(!g(t)||"function"!=typeof(e=t.then))&&e},J=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;x((function(){for(var o=e.value,i=1==e.state,a=0;r.length>a;){var c,u,s,l=r[a++],f=i?l.ok:l.fail,p=l.resolve,h=l.reject,v=l.domain;try{f?(i||(2===e.rejection&&et(t,e),e.rejection=1),!0===f?c=o:(v&&v.enter(),c=f(o),v&&(v.exit(),s=!0)),c===l.promise?h(Z("Promise-chain cycle")):(u=X(c))?u.call(c,p,h):p(c)):h(o)}catch(d){v&&!s&&v.exit(),h(d)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&$(t,e)}))}},Q=function(t,e,n){var r,o;K?((r=z.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},(o=s["on"+t])?o(r):"unhandledrejection"===t&&O("Unhandled promise rejection",n)},$=function(t,e){S.call(s,(function(){var n,r=e.value;if(tt(e)&&(n=I((function(){V?U.emit("unhandledRejection",r,t):Q("unhandledrejection",t,r)})),e.rejection=V||tt(e)?2:1,n.error))throw n.value}))},tt=function(t){return 1!==t.rejection&&!t.parent},et=function(t,e){S.call(s,(function(){V?U.emit("rejectionHandled",t):Q("rejectionhandled",t,e.value)}))},nt=function(t,e,n,r){return function(o){t(e,n,o,r)}},rt=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,J(t,e,!0))},ot=function t(e,n,r,o){if(!n.done){n.done=!0,o&&(n=o);try{if(e===r)throw Z("Promise can't be resolved itself");var i=X(r);i?x((function(){var o={done:!1};try{i.call(r,nt(t,e,o,n),nt(rt,e,o,n))}catch(a){rt(e,o,a,n)}})):(n.value=r,n.state=1,J(e,n,!1))}catch(a){rt(e,{done:!1},a,n)}}};Y&&(F=function(t){m(this,F,j),y(t),r.call(this);var e=C(this);try{t(nt(ot,this,e),nt(rt,this,e))}catch(n){rt(this,e,n)}},(r=function(t){N(this,{type:j,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(F.prototype,{then:function(t,e){var n=H(this),r=G(w(this,F));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=V?U.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=C(t);this.promise=t,this.resolve=nt(ot,t,e),this.reject=nt(rt,t,e)},M.f=G=function(t){return t===F||t===i?new o(t):B(t)},u||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(t,e){var n=this;return new F((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof W&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return _(F,W.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:Y},{Promise:F}),v(F,j,!1,!0),d(j),i=l(j),c({target:j,stat:!0,forced:Y},{reject:function(t){var e=G(this);return e.reject.call(void 0,t),e.promise}}),c({target:j,stat:!0,forced:u||Y},{resolve:function(t){return _(u&&this===i?F:this,t)}}),c({target:j,stat:!0,forced:q},{all:function(t){var e=this,n=G(e),r=n.resolve,o=n.reject,i=I((function(){var n=y(e.resolve),i=[],a=0,c=1;E(t,(function(t){var u=a++,s=!1;i.push(void 0),c++,n.call(e,t).then((function(t){s||(s=!0,i[u]=t,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=G(e),r=n.reject,o=I((function(){var o=y(e.resolve);E(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},"5uH8":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},"6JNq":function(t,e,n){var r=n("UTVS"),o=n("Vu81"),i=n("Bs8V"),a=n("m/L8");t.exports=function(t,e){for(var n=o(e),c=a.f,u=i.f,s=0;s1?arguments[1]:void 0)}})},"9bJ7":function(t,e,n){"use strict";var r=n("I+eb"),o=n("ZUd8").codeAt;r({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},"9d/t":function(t,e,n){var r=n("AO7/"),o=n("xrYK"),i=n("tiKp")("toStringTag"),a="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),i))?n:a?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},"9mRW":function(t,e,n){n("I+eb")({target:"Math",stat:!0},{fround:n("vo4V")})},"9tb/":function(t,e,n){var r=n("I+eb"),o=n("I8vh"),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},A2ZE:function(t,e,n){var r=n("HAuM");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},"AO7/":function(t,e,n){var r={};r[n("tiKp")("toStringTag")]="z",t.exports="[object z]"===String(r)},AmFO:function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("jrUv"),a=Math.abs,c=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(c(t-1)-c(-t-1))*(u/2)}})},BNMt:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("blink")},{blink:function(){return o(this,"blink","","")}})},BTho:function(t,e,n){"use strict";var r=n("HAuM"),o=n("hh1v"),i=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],o=0;ou&&(s=s.slice(0,u)),t?l+s:s+l)}};t.exports={start:c(!1),end:c(!0)}},DPsx:function(t,e,n){var r=n("g6v/"),o=n("0Dky"),i=n("zBJ4");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},DQNa:function(t,e,n){var r=n("busE"),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",(function(){var t=a.call(this);return t==t?i.call(this):"Invalid Date"}))},E5NM:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("big")},{big:function(){return o(this,"big","","")}})},E9XD:function(t,e,n){"use strict";var r=n("I+eb"),o=n("1Y/n").left,i=n("pkCn"),a=n("rkAj"),c=i("reduce"),u=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!c||!u},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},ENF9:function(t,e,n){"use strict";var r,o=n("2oRo"),i=n("4syw"),a=n("8YOa"),c=n("bWFh"),u=n("rKzb"),s=n("hh1v"),l=n("afO8").enforce,f=n("f5p1"),p=!o.ActiveXObject&&"ActiveXObject"in o,h=Object.isExtensible,v=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},d=t.exports=c("WeakMap",v,u);if(f&&p){r=u.getConstructor(v,"WeakMap",!0),a.REQUIRED=!0;var g=d.prototype,y=g.delete,m=g.has,b=g.get,k=g.set;i(g,{delete:function(t){if(s(t)&&!h(t)){var e=l(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(s(t)&&!h(t)){var e=l(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(s(t)&&!h(t)){var e=l(this);return e.frozen||(e.frozen=new r),m.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(s(t)&&!h(t)){var n=l(this);n.frozen||(n.frozen=new r),m.call(this,t)?k.call(this,t,e):n.frozen.set(t,e)}else k.call(this,t,e);return this}})}},EUja:function(t,e,n){"use strict";var r=n("ppGB"),o=n("HYAF");t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},EnZy:function(t,e,n){"use strict";var r=n("14Sl"),o=n("ROdP"),i=n("glrk"),a=n("HYAF"),c=n("SEBh"),u=n("iqWW"),s=n("UMSQ"),l=n("FMNM"),f=n("kmMV"),p=n("0Dky"),h=[].push,v=Math.min,d=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!o(t))return e.call(r,t,i);for(var c,u,s,l=[],p=0,v=new RegExp(t.source,(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":"")+"g");(c=f.call(v,r))&&!((u=v.lastIndex)>p&&(l.push(r.slice(p,c.index)),c.length>1&&c.index=i));)v.lastIndex===c.index&&v.lastIndex++;return p===r.length?!s&&v.test("")||l.push(""):l.push(r.slice(p)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var a=n(r,t,this,o,r!==e);if(a.done)return a.value;var f=i(t),p=String(this),h=c(f,RegExp),g=f.unicode,y=new h(d?f:"^(?:"+f.source+")",(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(d?"y":"g")),m=void 0===o?4294967295:o>>>0;if(0===m)return[];if(0===p.length)return null===l(y,p)?[p]:[];for(var b=0,k=0,E=[];k1?arguments[1]:void 0)}},FF6l:function(t,e,n){"use strict";var r=n("ewvW"),o=n("I8vh"),i=n("UMSQ"),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),c=i(n.length),u=o(t,c),s=o(e,c),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?c:o(l,c))-s,c-u),p=1;for(s0;)s in n?n[u]=n[s]:delete n[u],u+=p,s+=p;return n}},FMNM:function(t,e,n){var r=n("xrYK"),o=n("kmMV");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},FZtP:function(t,e,n){var r=n("2oRo"),o=n("/byt"),i=n("F8JR"),a=n("kRJp");for(var c in o){var u=r[c],s=u&&u.prototype;if(s&&s.forEach!==i)try{a(s,"forEach",i)}catch(l){s.forEach=i}}},"G+Rx":function(t,e,n){var r=n("0GbY");t.exports=r("document","documentElement")},GKVU:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},GRPF:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},GXvd:function(t,e,n){n("dG/n")("species")},GarU:function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},H0pb:function(t,e,n){n("ma9I"),n("07d7"),n("pNMO"),n("tjZM"),n("4Brf"),n("3I1R"),n("7+kd"),n("0oug"),n("KhsS"),n("jt2F"),n("gOCb"),n("a57n"),n("GXvd"),n("I1Gw"),n("gXIK"),n("lEou"),n("gbiT"),n("I9xj"),n("DEfu");var r=n("Qo9l");t.exports=r.Symbol},HAuM:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},HH4o:function(t,e,n){var r=n("tiKp")("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(c){}return n}},HNyW:function(t,e,n){var r=n("NC/Y");t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},HRxU:function(t,e,n){var r=n("I+eb"),o=n("g6v/");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n("N+g0")})},HYAF:function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},Hd5f:function(t,e,n){var r=n("0Dky"),o=n("tiKp"),i=n("LQDL"),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},HsHA:function(t,e){var n=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:n(1+t)}},"I+eb":function(t,e,n){var r=n("2oRo"),o=n("Bs8V").f,i=n("kRJp"),a=n("busE"),c=n("zk60"),u=n("6JNq"),s=n("lMq5");t.exports=function(t,e){var n,l,f,p,h,v=t.target,d=t.global,g=t.stat;if(n=d?r:g?r[v]||c(v,{}):(r[v]||{}).prototype)for(l in e){if(p=e[l],f=t.noTargetGet?(h=o(n,l))&&h.value:n[l],!s(d?l:v+(g?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(t.sham||f&&f.sham)&&i(p,"sham",!0),a(n,l,p,t)}}},I1Gw:function(t,e,n){n("dG/n")("split")},I8vh:function(t,e,n){var r=n("ppGB"),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},I9xj:function(t,e,n){n("1E5z")(Math,"Math",!0)},ImZN:function(t,e,n){var r=n("glrk"),o=n("6VoE"),i=n("UMSQ"),a=n("A2ZE"),c=n("NaFW"),u=n("m92n"),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,l,f){var p,h,v,d,g,y,m,b=a(e,n,l?2:1);if(f)p=t;else{if("function"!=typeof(h=c(t)))throw TypeError("Target is not iterable");if(o(h)){for(v=0,d=i(t.length);d>v;v++)if((g=l?b(r(m=t[v])[0],m[1]):b(t[v]))&&g instanceof s)return g;return new s(!1)}p=h.call(t)}for(y=p.next;!(m=y.call(p)).done;)if("object"==typeof(g=u(p,b,m.value,l))&&g&&g instanceof s)return g;return new s(!1)}).stop=function(t){return new s(!0,t)}},IxXR:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("strike")},{strike:function(){return o(this,"strike","","")}})},J30X:function(t,e,n){n("I+eb")({target:"Array",stat:!0},{isArray:n("6LWA")})},JBy8:function(t,e,n){var r=n("yoRg"),o=n("eDl+").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},JTJg:function(t,e,n){"use strict";var r=n("I+eb"),o=n("WjRb"),i=n("HYAF");r({target:"String",proto:!0,forced:!n("qxPZ")("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},JevA:function(t,e,n){var r=n("I+eb"),o=n("wg0c");r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},JfAA:function(t,e,n){"use strict";var r=n("busE"),o=n("glrk"),i=n("0Dky"),a=n("rW0t"),c=RegExp.prototype,u=c.toString;(i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))||"toString"!=u.name)&&r(RegExp.prototype,"toString",(function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in c)?a.call(t):n)}),{unsafe:!0})},JiZb:function(t,e,n){"use strict";var r=n("0GbY"),o=n("m/L8"),i=n("tiKp"),a=n("g6v/"),c=i("species");t.exports=function(t){var e=r(t);a&&e&&!e[c]&&(0,o.f)(e,c,{configurable:!0,get:function(){return this}})}},KJ4T:function(t,e){!function(t,e){"use strict";function n(){var t=x.splice(0,x.length);for(Jt=0;t.length;)t.shift().call(null,t.shift())}function r(t,e){for(var n=0,r=t.length;n1)&&b(this)}}}),jt(i,U,{value:function(t){-1>0,C="__"+R+j,N="addEventListener",H="attached",F="Callback",Z="detached",z="extends",U="attributeChanged"+F,W=H+F,G="connected"+F,B="disconnected"+F,V="created"+F,K=Z+F,Y="ADDITION",q="REMOVAL",X="DOMAttrModified",J="DOMContentLoaded",Q="DOMSubtreeModified",$="<",tt="=",et=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,nt=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],rt=[],ot=[],it="",at=T.documentElement,ct=rt.indexOf||function(t){for(var e=this.length;e--&&this[e]!==t;);return e},ut=w.prototype,st=ut.hasOwnProperty,lt=ut.isPrototypeOf,ft=w.defineProperty,pt=[],ht=w.getOwnPropertyDescriptor,vt=w.getOwnPropertyNames,dt=w.getPrototypeOf,gt=w.setPrototypeOf,yt=!!w.__proto__,mt="__dreCEv1",bt=t.customElements,kt=!/^force/.test(e.type)&&!!(bt&&bt.define&&bt.get&&bt.whenDefined),Et=w.create||w,Tt=t.Map||function(){var t,e=[],n=[];return{get:function(t){return n[ct.call(e,t)]},set:function(r,o){(t=ct.call(e,r))<0?n[e.push(r)-1]=o:n[t]=o}}},wt=t.Promise||function(t){function e(t){for(r=!0;n.length;)n.shift()(t)}var n=[],r=!1,o={catch:function(){return o},then:function(t){return n.push(t),r&&setTimeout(e,1),o}};return t(e),o},St=!1,xt=Et(null),_t=Et(null),Ot=new Tt,Mt=function(t){return t.toLowerCase()},It=w.create||function t(e){return e?(t.prototype=e,new t):this},Lt=gt||(yt?function(t,e){return t.__proto__=e,t}:vt&&ht?function(){function t(t,e){for(var n,r=vt(e),o=0,i=r.length;o
    ",new Dt((function(t,e){if(t[0]&&"childList"==t[0].type&&!t[0].removedNodes[0].childNodes.length){var n=(P=ht(Pt,"innerHTML"))&&P.set;n&&ft(Pt,"innerHTML",{set:function(t){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,t)}})}e.disconnect(),P=null})).observe(P,{childList:!0,subtree:!0}),P.innerHTML=""),Qt||(gt||yt?(D=function(t,e){lt.call(e,t)||p(t,e)},A=p):A=D=function(t,e){t[C]||(t[C]=w(!0),p(t,e))},Rt?(ee=!1,function(){var t=ht(Pt,N),e=t.value,n=function(t){var e=new CustomEvent(X,{bubbles:!0});e.attrName=t,e.prevValue=Ut.call(this,t),e.newValue=null,e[q]=e.attrChange=2,Gt.call(this,t),zt.call(this,e)},r=function(t,e){var n=Wt.call(this,t),r=n&&Ut.call(this,t),o=new CustomEvent(X,{bubbles:!0});Bt.call(this,t,e),o.attrName=t,o.prevValue=n?r:null,o.newValue=e,n?o.MODIFICATION=o.attrChange=1:o[Y]=o.attrChange=0,zt.call(this,o)},o=function(t){var e,n=t.currentTarget,r=n[C],o=t.propertyName;r.hasOwnProperty(o)&&(r=r[o],(e=new CustomEvent(X,{bubbles:!0})).attrName=r.name,e.prevValue=r.value||null,e.newValue=r.value=n[o]||null,null==e.prevValue?e[Y]=e.attrChange=0:e.MODIFICATION=e.attrChange=1,zt.call(n,e))};t.value=function(t,i,a){t===X&&this[U]&&this.setAttribute!==r&&(this[C]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,e.call(this,"propertychange",o)),e.call(this,t,i,a)},ft(Pt,N,t)}()):Dt||(at[N](X,Xt),at.setAttribute(C,1),at.removeAttribute(C),ee&&(_=function(t){var e,n,r,o=this;if(o===t.target){for(r in e=o[C],o[C]=n=M(o),n){if(!(r in e))return O(0,o,r,e[r],n[r],Y);if(n[r]!==e[r])return O(1,o,r,e[r],n[r],"MODIFICATION")}for(r in e)if(!(r in n))return O(2,o,r,e[r],n[r],q)}},O=function(t,e,n,r,o,i){var a={attrChange:t,currentTarget:e,attrName:n,prevValue:r,newValue:o};a[i]=t,c(a)},M=function(t){for(var e,n,r={},o=t.attributes,i=0,a=o.length;i$");if(n[z]="a",(e.prototype=It(At.prototype)).constructor=e,t.customElements.define(r,e,n),!o.test(T.createElement("a",{is:r}).outerHTML)||!o.test((new e).outerHTML))throw n}((function t(){return Reflect.construct(At,[],t)}),{},"document-register-element-a"+j)}catch(oe){E()}if(!e.noBuiltIn)try{if(Vt.call(T,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(ie){Mt=function(t){return{is:t.toLowerCase()}}}}(window)},KhsS:function(t,e,n){n("dG/n")("match")},KvGi:function(t,e,n){n("I+eb")({target:"Math",stat:!0},{sign:n("90hW")})},Kxld:function(t,e,n){n("I+eb")({target:"Object",stat:!0},{is:n("Ep9I")})},LKBx:function(t,e,n){"use strict";var r,o=n("I+eb"),i=n("Bs8V").f,a=n("UMSQ"),c=n("WjRb"),u=n("HYAF"),s=n("qxPZ"),l=n("xDBR"),f="".startsWith,p=Math.min,h=s("startsWith");o({target:"String",proto:!0,forced:!(!l&&!h&&(r=i(String.prototype,"startsWith"),r&&!r.writable)||h)},{startsWith:function(t){var e=String(u(this));c(t);var n=a(p(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return f?f.call(e,r,n):e.slice(n,n+r.length)===r}})},LPSS:function(t,e,n){var r,o,i,a=n("2oRo"),c=n("0Dky"),u=n("xrYK"),s=n("A2ZE"),l=n("G+Rx"),f=n("zBJ4"),p=n("HNyW"),h=a.location,v=a.setImmediate,d=a.clearImmediate,g=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,k={},E=function(t){if(k.hasOwnProperty(t)){var e=k[t];delete k[t],e()}},T=function(t){return function(){E(t)}},w=function(t){E(t.data)},S=function(t){a.postMessage(t+"",h.protocol+"//"+h.host)};v&&d||(v=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return k[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},d=function(t){delete k[t]},"process"==u(g)?r=function(t){g.nextTick(T(t))}:m&&m.now?r=function(t){m.now(T(t))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=w,r=s(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(S)?r="onreadystatechange"in f("script")?function(t){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),E(t)}}:function(t){setTimeout(T(t),0)}:(r=S,a.addEventListener("message",w,!1))),t.exports={set:v,clear:d}},LQDL:function(t,e,n){var r,o,i=n("2oRo"),a=n("NC/Y"),c=i.process,u=c&&c.versions,s=u&&u.v8;s?o=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},"N+g0":function(t,e,n){var r=n("g6v/"),o=n("m/L8"),i=n("glrk"),a=n("33Wh");t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),c=r.length,u=0;c>u;)o.f(t,n=r[u++],e[n]);return t}},NBAS:function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("ewvW"),a=n("4WOD"),c=n("4Xet");r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(t){return a(i(t))}})},"NC/Y":function(t,e,n){var r=n("0GbY");t.exports=r("navigator","userAgent")||""},NaFW:function(t,e,n){var r=n("9d/t"),o=n("P4y1"),i=n("tiKp")("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},"NbN+":function(t,e,n){n("I+eb")({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},O741:function(t,e,n){var r=n("hh1v");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},OM9Z:function(t,e,n){n("I+eb")({target:"String",proto:!0},{repeat:n("EUja")})},P4y1:function(t,e){t.exports={}},PKPk:function(t,e,n){"use strict";var r=n("ZUd8").charAt,o=n("afO8"),i=n("fdAy"),a=o.set,c=o.getterFor("String Iterator");i(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=c(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},PqOI:function(t,e,n){var r=n("I+eb"),o=n("90hW"),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},QFcT:function(t,e,n){var r=n("I+eb"),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,c=0,u=arguments.length,s=0;c0?(r=n/s)*r:n;return s===1/0?1/0:s*a(o)}})},QIpd:function(t,e,n){var r=n("xrYK");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},QNnp:function(t,e,n){var r=n("I+eb"),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},QWBl:function(t,e,n){"use strict";var r=n("I+eb"),o=n("F8JR");r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},Qo9l:function(t,e,n){var r=n("2oRo");t.exports=r},R0gw:function(t,e,n){var r,o;void 0===(o="function"==typeof(r=function(){"use strict";var t,e,n,r,o,i;function a(){t=Zone.__symbol__,e=Object[t("defineProperty")]=Object.defineProperty,n=Object[t("getOwnPropertyDescriptor")]=Object.getOwnPropertyDescriptor,r=Object.create,o=t("unconfigurables"),Object.defineProperty=function(t,e,n){if(u(t,e))throw new TypeError("Cannot assign to read only property '"+e+"' of "+t);var r=n.configurable;return"prototype"!==e&&(n=s(t,e,n)),l(t,e,n,r)},Object.defineProperties=function(t,e){return Object.keys(e).forEach((function(n){Object.defineProperty(t,n,e[n])})),t},Object.create=function(t,e){return"object"!=typeof e||Object.isFrozen(e)||Object.keys(e).forEach((function(n){e[n]=s(t,n,e[n])})),r(t,e)},Object.getOwnPropertyDescriptor=function(t,e){var r=n(t,e);return r&&u(t,e)&&(r.configurable=!1),r}}function c(t,e,n){var r=n.configurable;return l(t,e,n=s(t,e,n),r)}function u(t,e){return t&&t[o]&&t[o][e]}function s(t,n,r){return Object.isFrozen(r)||(r.configurable=!0),r.configurable||(t[o]||Object.isFrozen(t)||e(t,o,{writable:!0,value:{}}),t[o]&&(t[o][n]=!0)),r}function l(t,n,r,o){try{return e(t,n,r)}catch(a){if(!r.configurable)throw a;void 0===o?delete r.configurable:r.configurable=o;try{return e(t,n,r)}catch(a){var i=null;try{i=JSON.stringify(r)}catch(a){i=r.toString()}console.log("Attempting to configure '"+n+"' with descriptor '"+i+"' on object '"+t+"' and got error, giving up: "+a)}}}function f(t,e){var n=e.getGlobalObjects(),r=n.eventNames,o=n.globalSources,i=n.zoneSymbolEventNames,a=n.TRUE_STR,c=n.FALSE_STR,u=n.ZONE_SYMBOL_PREFIX,s="ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex,WebSocket".split(","),l=[],f=t.wtf,p="Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video".split(",");f?l=p.map((function(t){return"HTML"+t+"Element"})).concat(s):t.EventTarget?l.push("EventTarget"):l=s;for(var h=t.__Zone_disable_IE_check||!1,v=t.__Zone_enable_cross_context_check||!1,d=e.isIEOrEdge(),g="function __BROWSERTOOLS_CONSOLE_SAFEFUNC() { [native code] }",y={MSPointerCancel:"pointercancel",MSPointerDown:"pointerdown",MSPointerEnter:"pointerenter",MSPointerHover:"pointerhover",MSPointerLeave:"pointerleave",MSPointerMove:"pointermove",MSPointerOut:"pointerout",MSPointerOver:"pointerover",MSPointerUp:"pointerup"},m=0;m1?new i(e,n):new i(e),s=t.ObjectGetOwnPropertyDescriptor(u,"onmessage");return s&&!1===s.configurable?(a=t.ObjectCreate(u),c=u,[r,o,"send","close"].forEach((function(e){a[e]=function(){var n=t.ArraySlice.call(arguments);if(e===r||e===o){var i=n.length>0?n[0]:void 0;if(i){var c=Zone.__symbol__("ON_PROPERTY"+i);u[c]=a[c]}}return u[e].apply(u,n)}}))):a=u,t.patchOnProperties(a,["close","error","message","open"],c),a};var a=e.WebSocket;for(var c in i)a[c]=i[c]}(t,e),Zone[t.symbol("patchEvents")]=!0}}(i="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{})[(i.__Zone_symbol_prefix||"__zone_symbol__")+"legacyPatch"]=function(){var t=i.Zone;t.__load_patch("defineProperty",(function(t,e,n){n._redefineProperty=c,a()})),t.__load_patch("registerElement",(function(t,e,n){!function(t,e){var n=e.getGlobalObjects();(n.isBrowser||n.isMix)&&"registerElement"in t.document&&e.patchCallbacks(e,document,"Document","registerElement",["createdCallback","attachedCallback","detachedCallback","attributeChangedCallback"])}(t,n)})),t.__load_patch("EventTargetLegacy",(function(t,e,n){f(t,n),p(n,t)}))}})?r.call(e,n,e,t):r)||(t.exports=o)},RK3t:function(t,e,n){var r=n("0Dky"),o=n("xrYK"),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},RN6c:function(t,e,n){var r=n("2oRo");t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},RNIs:function(t,e,n){var r=n("tiKp"),o=n("fHMY"),i=n("m/L8"),a=r("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),t.exports=function(t){c[a][t]=!0}},ROdP:function(t,e,n){var r=n("hh1v"),o=n("xrYK"),i=n("tiKp")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},Rfxz:function(t,e,n){"use strict";var r=n("I+eb"),o=n("tycR").some,i=n("pkCn"),a=n("rkAj"),c=i("some"),u=a("some");r({target:"Array",proto:!0,forced:!c||!u},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},Rm1S:function(t,e,n){"use strict";var r=n("14Sl"),o=n("glrk"),i=n("UMSQ"),a=n("HYAF"),c=n("iqWW"),u=n("FMNM");r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),s=String(this);if(!a.global)return u(a,s);var l=a.unicode;a.lastIndex=0;for(var f,p=[],h=0;null!==(f=u(a,s));){var v=String(f[0]);p[h]=v,""===v&&(a.lastIndex=c(s,i(a.lastIndex),l)),h++}return 0===h?null:p}]}))},SEBh:function(t,e,n){var r=n("glrk"),o=n("HAuM"),i=n("tiKp")("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},STAE:function(t,e,n){var r=n("0Dky");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},SYor:function(t,e,n){"use strict";var r=n("I+eb"),o=n("WKiH").trim;r({target:"String",proto:!0,forced:n("yNLB")("trim")},{trim:function(){return o(this)}})},TFPT:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("sub")},{sub:function(){return o(this,"sub","","")}})},TWNs:function(t,e,n){var r=n("g6v/"),o=n("2oRo"),i=n("lMq5"),a=n("cVYH"),c=n("m/L8").f,u=n("JBy8").f,s=n("ROdP"),l=n("rW0t"),f=n("n3/R"),p=n("busE"),h=n("0Dky"),v=n("afO8").set,d=n("JiZb"),g=n("tiKp")("match"),y=o.RegExp,m=y.prototype,b=/a/g,k=/a/g,E=new y(b)!==b,T=f.UNSUPPORTED_Y;if(r&&i("RegExp",!E||T||h((function(){return k[g]=!1,y(b)!=b||y(k)==k||"/a/i"!=y(b,"i")})))){for(var w=function t(e,n){var r,o=this instanceof t,i=s(e),c=void 0===n;if(!o&&i&&e.constructor===t&&c)return e;E?i&&!c&&(e=e.source):e instanceof t&&(c&&(n=l.call(e)),e=e.source),T&&(r=!!n&&n.indexOf("y")>-1)&&(n=n.replace(/y/g,""));var u=a(E?new y(e,n):y(e,n),o?this:m,t);return T&&r&&v(u,{sticky:r}),u},S=function(t){t in w||c(w,t,{configurable:!0,get:function(){return y[t]},set:function(e){y[t]=e}})},x=u(y),_=0;x.length>_;)S(x[_++]);m.constructor=w,w.prototype=m,p(o,"RegExp",w)}d("RegExp")},TWQb:function(t,e,n){var r=n("/GqU"),o=n("UMSQ"),i=n("I8vh"),a=function(t){return function(e,n,a){var c,u=r(e),s=o(u.length),l=i(a,s);if(t&&n!=n){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},TeQF:function(t,e,n){"use strict";var r=n("I+eb"),o=n("tycR").filter,i=n("Hd5f"),a=n("rkAj"),c=i("filter"),u=a("filter");r({target:"Array",proto:!0,forced:!c||!u},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},TfTi:function(t,e,n){"use strict";var r=n("A2ZE"),o=n("ewvW"),i=n("m92n"),a=n("6VoE"),c=n("UMSQ"),u=n("hBjN"),s=n("NaFW");t.exports=function(t){var e,n,l,f,p,h,v=o(t),d="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,m=void 0!==y,b=s(v),k=0;if(m&&(y=r(y,g>2?arguments[2]:void 0,2)),null==b||d==Array&&a(b))for(n=new d(e=c(v.length));e>k;k++)h=m?y(v[k],k):v[k],u(n,k,h);else for(p=(f=b.call(v)).next,n=new d;!(l=p.call(f)).done;k++)h=m?i(f,y,[l.value,k],!0):l.value,u(n,k,h);return n.length=k,n}},ToJy:function(t,e,n){"use strict";var r=n("I+eb"),o=n("HAuM"),i=n("ewvW"),a=n("0Dky"),c=n("pkCn"),u=[],s=u.sort,l=a((function(){u.sort(void 0)})),f=a((function(){u.sort(null)})),p=c("sort");r({target:"Array",proto:!0,forced:l||!f||!p},{sort:function(t){return void 0===t?s.call(i(this)):s.call(i(this),o(t))}})},Tskq:function(t,e,n){"use strict";var r=n("bWFh"),o=n("ZWaQ");t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},U3f4:function(t,e,n){var r=n("g6v/"),o=n("m/L8"),i=n("rW0t"),a=n("n3/R").UNSUPPORTED_Y;r&&("g"!=/./g.flags||a)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},UMSQ:function(t,e,n){var r=n("ppGB"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},UTVS:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},UesL:function(t,e,n){"use strict";var r=n("glrk"),o=n("wE6v");t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},UxlC:function(t,e,n){"use strict";var r=n("14Sl"),o=n("glrk"),i=n("ewvW"),a=n("UMSQ"),c=n("ppGB"),u=n("HYAF"),s=n("iqWW"),l=n("FMNM"),f=Math.max,p=Math.min,h=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,d=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,e,n,r){var g=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,m=g?"$":"$0";return[function(n,r){var o=u(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,r){if(!g&&y||"string"==typeof r&&-1===r.indexOf(m)){var i=n(e,t,this,r);if(i.done)return i.value}var u=o(t),h=String(this),v="function"==typeof r;v||(r=String(r));var d=u.global;if(d){var k=u.unicode;u.lastIndex=0}for(var E=[];;){var T=l(u,h);if(null===T)break;if(E.push(T),!d)break;""===String(T[0])&&(u.lastIndex=s(h,a(u.lastIndex),k))}for(var w,S="",x=0,_=0;_=x&&(S+=h.slice(x,M)+P,x=M+O.length)}return S+h.slice(x)}];function b(t,n,r,o,a,c){var u=r+t.length,s=o.length,l=d;return void 0!==a&&(a=i(a),l=v),e.call(c,l,(function(e,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return e;if(l>s){var f=h(l/10);return 0===f?e:f<=s?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):e}c=o[l-1]}return void 0===c?"":c}))}}))},Uydy:function(t,e,n){var r=n("I+eb"),o=n("HsHA"),i=Math.acosh,a=Math.log,c=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+c(t-1)*c(t+1))}})},VC3L:function(t,e,n){"use strict";var r=n("I+eb"),o=n("0Dky"),i=n("QIpd"),a=1..toPrecision;r({target:"Number",proto:!0,forced:o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))},{toPrecision:function(t){return void 0===t?a.call(i(this)):a.call(i(this),t)}})},VpIT:function(t,e,n){var r=n("xDBR"),o=n("xs3f");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"\xa9 2020 Denis Pushkarev (zloirock.ru)"})},Vu81:function(t,e,n){var r=n("0GbY"),o=n("JBy8"),i=n("dBg+"),a=n("glrk");t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},WDsR:function(t,e,n){var r=n("I+eb"),o=n("Xol8"),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},WJkJ:function(t,e){t.exports="\t\n\v\f\r \xa0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff"},WKiH:function(t,e,n){var r=n("HYAF"),o="["+n("WJkJ")+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:c(1),end:c(2),trim:c(3)}},WjRb:function(t,e,n){var r=n("ROdP");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},XGwC:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},Xe3L:function(t,e,n){"use strict";var r=n("I+eb"),o=n("0Dky"),i=n("hBjN");r({target:"Array",stat:!0,forced:o((function(){function t(){}return!(Array.of.call(t)instanceof t)}))},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},Xol8:function(t,e,n){var r=n("hh1v"),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},YGK4:function(t,e,n){"use strict";var r=n("bWFh"),o=n("ZWaQ");t.exports=r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},YNrV:function(t,e,n){"use strict";var r=n("g6v/"),o=n("0Dky"),i=n("33Wh"),a=n("dBg+"),c=n("0eef"),u=n("ewvW"),s=n("RK3t"),l=Object.assign,f=Object.defineProperty;t.exports=!l||o((function(){if(r&&1!==l({b:1},l(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||"abcdefghijklmnopqrst"!=i(l({},e)).join("")}))?function(t,e){for(var n=u(t),o=arguments.length,l=1,f=a.f,p=c.f;o>l;)for(var h,v=s(arguments[l++]),d=f?i(v).concat(f(v)):i(v),g=d.length,y=0;g>y;)h=d[y++],r&&!p.call(v,h)||(n[h]=v[h]);return n}:l},ZOXb:function(t,e,n){"use strict";var r=n("0Dky"),o=n("DMt2").start,i=Math.abs,a=Date.prototype,c=a.getTime,u=a.toISOString;t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-50000000000001))}))||!r((function(){u.call(new Date(NaN))}))?function(){if(!isFinite(c.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+o(i(t),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(e,3,0)+"Z"}:u},ZUd8:function(t,e,n){var r=n("ppGB"),o=n("HYAF"),i=function(t){return function(e,n){var i,a,c=String(o(e)),u=r(n),s=c.length;return u<0||u>=s?t?"":void 0:(i=c.charCodeAt(u))<55296||i>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):i:t?c.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},ZWaQ:function(t,e,n){"use strict";var r=n("m/L8").f,o=n("fHMY"),i=n("4syw"),a=n("A2ZE"),c=n("GarU"),u=n("ImZN"),s=n("fdAy"),l=n("JiZb"),f=n("g6v/"),p=n("8YOa").fastKey,h=n("afO8"),v=h.set,d=h.getterFor;t.exports={getConstructor:function(t,e,n,s){var l=t((function(t,r){c(t,l,e),v(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),f||(t.size=0),null!=r&&u(r,t[s],t,n)})),h=d(e),g=function(t,e,n){var r,o,i=h(t),a=y(t,e);return a?a.value=n:(i.last=a={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var n,r=h(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(l.prototype,{clear:function(){for(var t=h(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,f?t.size=0:this.size=0},delete:function(t){var e=h(this),n=y(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),f?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=h(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(l.prototype,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),f&&r(l.prototype,"size",{get:function(){return h(this).size}}),l},setStrong:function(t,e,n){var r=e+" Iterator",o=d(e),i=d(r);s(t,e,(function(t,e){v(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(e)}}},ZfDv:function(t,e,n){var r=n("hh1v"),o=n("6LWA"),i=n("tiKp")("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},Zk8X:function(t,e,n){"use strict";var r=n("I+eb"),o=n("hXpO");r({target:"String",proto:!0,forced:n("rwPt")("sup")},{sup:function(){return o(this,"sup","","")}})},a57n:function(t,e,n){n("dG/n")("search")},a5NK:function(t,e,n){var r=n("I+eb"),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(t){return o(t)*i}})},afO8:function(t,e,n){var r,o,i,a=n("f5p1"),c=n("2oRo"),u=n("hh1v"),s=n("kRJp"),l=n("UTVS"),f=n("93I0"),p=n("0BK2");if(a){var h=new(0,c.WeakMap),v=h.get,d=h.has,g=h.set;r=function(t,e){return g.call(h,t,e),e},o=function(t){return v.call(h,t)||{}},i=function(t){return d.call(h,t)}}else{var y=f("state");p[y]=!0,r=function(t,e){return s(t,y,e),e},o=function(t){return l(t,y)?t[y]:{}},i=function(t){return l(t,y)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},bWFh:function(t,e,n){"use strict";var r=n("I+eb"),o=n("2oRo"),i=n("lMq5"),a=n("busE"),c=n("8YOa"),u=n("ImZN"),s=n("GarU"),l=n("hh1v"),f=n("0Dky"),p=n("HH4o"),h=n("1E5z"),v=n("cVYH");t.exports=function(t,e,n){var d=-1!==t.indexOf("Map"),g=-1!==t.indexOf("Weak"),y=d?"set":"add",m=o[t],b=m&&m.prototype,k=m,E={},T=function(t){var e=b[t];a(b,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof m||!(g||b.forEach&&!f((function(){(new m).entries().next()})))))k=n.getConstructor(e,t,d,y),c.REQUIRED=!0;else if(i(t,!0)){var w=new k,S=w[y](g?{}:-0,1)!=w,x=f((function(){w.has(1)})),_=p((function(t){new m(t)})),O=!g&&f((function(){for(var t=new m,e=5;e--;)t[y](e,e);return!t.has(-0)}));_||((k=e((function(e,n){s(e,k,t);var r=v(new m,e,k);return null!=n&&u(n,r[y],r,d),r}))).prototype=b,b.constructor=k),(x||O)&&(T("delete"),T("has"),d&&T("get")),(O||S)&&T(y),g&&b.clear&&delete b.clear}return E[t]=k,r({global:!0,forced:k!=m},E),h(k,t),g||n.setStrong(k,t,d),k}},brp2:function(t,e,n){n("I+eb")({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},busE:function(t,e,n){var r=n("2oRo"),o=n("kRJp"),i=n("UTVS"),a=n("zk60"),c=n("iSVu"),u=n("afO8"),s=u.get,l=u.enforce,f=String(String).split("String");(t.exports=function(t,e,n,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||i(n,"name")||o(n,"name",e),l(n).source=f.join("string"==typeof e?e:"")),t!==r?(u?!p&&t[e]&&(s=!0):delete t[e],s?t[e]=n:o(t,e,n)):s?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},cDke:function(t,e,n){var r=n("I+eb"),o=n("0Dky"),i=n("BX/b").f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},cVYH:function(t,e,n){var r=n("hh1v"),o=n("0rvr");t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},"dBg+":function(t,e){e.f=Object.getOwnPropertySymbols},"dG/n":function(t,e,n){var r=n("Qo9l"),o=n("UTVS"),i=n("5Tg+"),a=n("m/L8").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},"eDl+":function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},eJiR:function(t,e,n){var r=n("I+eb"),o=n("jrUv"),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},eajv:function(t,e,n){var r=n("I+eb"),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},eoL8:function(t,e,n){var r=n("I+eb"),o=n("g6v/");r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n("m/L8").f})},ewvW:function(t,e,n){var r=n("HYAF");t.exports=function(t){return Object(r(t))}},f5p1:function(t,e,n){var r=n("2oRo"),o=n("iSVu"),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},fHMY:function(t,e,n){var r,o=n("glrk"),i=n("N+g0"),a=n("eDl+"),c=n("0BK2"),u=n("G+Rx"),s=n("zBJ4"),l=n("93I0")("IE_PROTO"),f=function(){},p=function(t){return"